创建分类

main
ztt 10 months ago
parent e054ade5db
commit a012749acb
  1. 2
      addons/shopro/service/order/OrderCreate.php

@ -277,7 +277,7 @@ class OrderCreate
$this->exception("请选择正确的收货地址"); $this->exception("请选择正确的收货地址");
} }
} elseif(in_array('shopZt', $dispatchTypes)) { } elseif(in_array('shopZt', $dispatchTypes)) {
if (!$this->warehouse_id) { if (empty($this->warehouse_id) && $this->calc_type == 'create') {
$this->exception("请选择正确的自提地址"); $this->exception("请选择正确的自提地址");
} }
} { } {

Loading…
Cancel
Save