From 635583826fa4aba6b3831c3b1e49126570558d2f Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Mon, 19 Feb 2024 17:23:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=B5=81=E5=A4=84bug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_bf_connect/models/jd_eclp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sf_bf_connect/models/jd_eclp.py b/sf_bf_connect/models/jd_eclp.py index 49337083..45fae2d8 100644 --- a/sf_bf_connect/models/jd_eclp.py +++ b/sf_bf_connect/models/jd_eclp.py @@ -57,7 +57,7 @@ class JdEclp(models.Model): res = super(JdEclp, self).button_validate() if self.check_out == 'OUT': if self.logistics_way != '自提': - if self.logistics_status != '3': + if self.logistics_status != '2': raise ValidationError('非自提订单,必须先下物流单,并获取物流面单后才可出库!') return res