|
@@ -25,7 +25,7 @@ class Sale extends BaseController
|
|
|
$orderCode=makeNo("CX");
|
|
|
$customer_code= isset($this->post['customer_code'])&& $this->post['customer_code'] !=="" ? trim($this->post['customer_code']) :"";
|
|
|
if($customer_code==""){
|
|
|
- return error_show(1002,"客户code不能为空");
|
|
|
+ return error_show(1002,"客户customer_code不能为空");
|
|
|
}
|
|
|
|
|
|
$customer=Db::name("customer_info")->where(["companyNo"=>$customer_code])->find();
|
|
@@ -157,7 +157,7 @@ class Sale extends BaseController
|
|
|
"good_code"=>$good_code,
|
|
|
"customer_code"=>$customer_code,
|
|
|
"good_name"=>isset($good['good_name'])&&$good['good_name']!==''?$good['good_name']:'',
|
|
|
- "good_num/"=>$good_num,
|
|
|
+ "good_num"=>$good_num,
|
|
|
"cat_id"=>$goodinfo['cat_id'],
|
|
|
"apply_id"=>$rm,
|
|
|
"apply_name"=>$ri,
|