|
@@ -359,7 +359,7 @@ class Allot extends BaseController
|
|
|
->join("warehouse_info v","v.wsm_code=c.wsm_code","left")
|
|
|
->join("supplier n","n.code=v.supplierNo","left")
|
|
|
->where(['c.wsm_code' => $wsm_out,"v.wsm_type"=>1, 'b.spuCode' => $value['spuCode'], 'b.is_del' => 0, 'a.is_del' => 0])->where("c.is_del=0 or c.is_del is null")
|
|
|
- ->field("b.spuCode,b.good_name,b.unit,c.wsm_code,c.usable_stock,c.good_type_code,c.wait_out_stock,c.wait_in_stock,n.name")->find();
|
|
|
+ ->field("b.spuCode,b.good_name,b.good_unit,c.wsm_code,c.usable_stock,c.good_type_code,c.wait_out_stock,c.wait_in_stock,n.name")->find();
|
|
|
if (empty($st)) {
|
|
|
Db::rollback();
|
|
|
return error_show(1003, "商品不能为空");
|