|
@@ -276,10 +276,10 @@ class Allot extends BaseController
|
|
|
return error_show(1002,"入库仓库不能为空");
|
|
|
}
|
|
|
$post_fee= isset($this->post['post_fee']) && $this->post['post_fee'] !=="" ? trim($this->post['post_fee']) :"" ;
|
|
|
- $status= isset($this->post['status']) && $this->post['status'] !=="" ? trim($this->post['status']) :"" ;
|
|
|
- if($status==""){
|
|
|
- return error_show(1002,"状态不能为空");
|
|
|
- }
|
|
|
+// $status= isset($this->post['status']) && $this->post['status'] !=="" ? trim($this->post['status']) :"" ;
|
|
|
+// if($status==""){
|
|
|
+// return error_show(1002,"状态不能为空");
|
|
|
+// }
|
|
|
$dain = isset($this->post['good']) && $this->post['good'] !=="" ? $this->post['good']:"";
|
|
|
if($dain==""){
|
|
|
return error_show(1002,"商品不能为空");
|
|
@@ -295,7 +295,7 @@ class Allot extends BaseController
|
|
|
"post_fee"=>$post_fee,
|
|
|
"post_name"=>$post_name,
|
|
|
"post_code"=>$post_code,
|
|
|
- "status"=>$status,
|
|
|
+// "status"=>$status,
|
|
|
"updatetime"=>date('Y-m-d H:i:s'),
|
|
|
];
|
|
|
$da = Db::name('allot_stock')->where(["id"=>$id,"is_del"=>0])->save($data);
|