lvhao hai 2 semanas
pai
achega
220eedfc31
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      core/CoreApp/controllers/Fullordersmt.php

+ 6 - 0
core/CoreApp/controllers/Fullordersmt.php

@@ -3605,6 +3605,12 @@ class Fullordersmt extends Start_Controller {
 			{
 				echo json_encode(array('msg'=>'仓库选择错误!','success'=>false));exit;
 			}
+
+			//减少代码复用吧
+			$lo_ret = $this->logic_order->checkEditExpress($post);
+			if($lo_ret['code'] != 1){
+				echo json_encode(array('msg'=>$lo_ret['msg'],'success'=>false));exit;
+			}
 			/**
 			if($warehousenew['zd'] == '1' && $editstate != $thisdata['state'] && $thisdata['library'] == '1')//如果提交的仓库开启库存模式并且更改订单状态并且未出库,那么拒绝
 			{