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