|
@@ -479,6 +479,7 @@ class Sale extends BaseController
|
|
|
if ($zxinfo == false) {
|
|
|
return error_show(1004, "未找到咨询单数据");
|
|
|
}
|
|
|
+ $gold['price']=0;
|
|
|
if ($zxinfo['zx_type'] == 2) {
|
|
|
if ($zxinfo['metals'] == "") {
|
|
|
return error_show(1004, "未找到咨询单贵金属类型数据");
|
|
@@ -488,12 +489,13 @@ class Sale extends BaseController
|
|
|
if (empty($gold)) {
|
|
|
return error_show(1004, "未找到咨询单贵金属类型数据");
|
|
|
}
|
|
|
+ $dio['gold_price']=$gold['price'];
|
|
|
}
|
|
|
$wsm = Db::name("warehouse_info")->where(["supplierNo" => $zxinfo['gysNo'], "wsm_type" => 2])->find();
|
|
|
if (empty($wsm)) {
|
|
|
return error_show(1002, "供应商仓库未找到");
|
|
|
}
|
|
|
- $dio['gold_price']=$gold['price'];
|
|
|
+
|
|
|
}
|
|
|
$apply_id =GetUserInfo($token);
|
|
|
if(empty($apply_id)||$apply_id['code']!=0){
|