瀏覽代碼

tt的修改

lvhao 9 小時之前
父節點
當前提交
a8518a4c24
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/CoreApp/controllers/Fullordertt.php

+ 2 - 1
core/CoreApp/controllers/Fullordertt.php

@@ -957,7 +957,7 @@ class Fullordertt extends Start_Controller {
 		if(isset($post['id']))
 		if(isset($post['id']))
 		{
 		{
 			$id = $this->input->post('id',true);
 			$id = $this->input->post('id',true);
-			$data = $this->fullordertt->read($id);
+			$ud = $data = $this->fullordertt->read($id);
 			$post['type'] = $this->input->post('warehouse',true);
 			$post['type'] = $this->input->post('warehouse',true);
 			$post['country'] = $this->input->post('country',true);
 			$post['country'] = $this->input->post('country',true);
 			$currency = $this->country->read($post['country']);
 			$currency = $this->country->read($post['country']);
@@ -1058,6 +1058,7 @@ class Fullordertt extends Start_Controller {
 			// }
 			// }
 			//减少代码复用吧
 			//减少代码复用吧
 			if($post['type'] != 34){
 			if($post['type'] != 34){
+				$post['library'] = $ud['library'];
 				$lo_ret = $this->logic_order->checkEditExpress($post);
 				$lo_ret = $this->logic_order->checkEditExpress($post);
 				if($lo_ret['code'] != 1){
 				if($lo_ret['code'] != 1){
 					echo json_encode(array('msg'=>$lo_ret['msg'],'success'=>false));exit;
 					echo json_encode(array('msg'=>$lo_ret['msg'],'success'=>false));exit;