wugg 2 years ago
parent
commit
2b56482c85
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/admin/controller/Check.php

+ 2 - 2
app/admin/controller/Check.php

@@ -593,10 +593,10 @@ public function edit()
         }
         $insert=[];
         foreach ($data as $value){
-            if($value["value1"]==""){
+            if($value["value0"]==""){
                 return error_show(1003,"商品编号不能为空");
             }
-            if($value["value15"]===""){
+            if($value["value14"]===""){
                 continue;
             }
             $stock = Db::name("good_stock")->where(["spuCode"=>$value["value1"],"wsm_code"=>$fo['wsm_code'],