|
@@ -3605,6 +3605,12 @@ class Fullordersmt extends Start_Controller {
|
|
{
|
|
{
|
|
echo json_encode(array('msg'=>'仓库选择错误!','success'=>false));exit;
|
|
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')//如果提交的仓库开启库存模式并且更改订单状态并且未出库,那么拒绝
|
|
if($warehousenew['zd'] == '1' && $editstate != $thisdata['state'] && $thisdata['library'] == '1')//如果提交的仓库开启库存模式并且更改订单状态并且未出库,那么拒绝
|
|
{
|
|
{
|