Commit deac4479 by hcy001

1

parent 924de079
Showing with 2 additions and 2 deletions
......@@ -144,7 +144,7 @@ class InquiryItemsReportModel extends Model
$mainCurrency = $inquiry["currency"]; #询价主单币种
$rate = (new CommonModel())->getRate($mainCurrency); #获取汇率
$itemInfo = $InquiryItemsModel->select("status")->where("id",$inquiry_items_id)->first()->toArray(); #询价明细
$itemInfo = $InquiryItemsModel->select("status","goods_name")->where("id",$inquiry_items_id)->first()->toArray(); #询价明细
if ($status == 1){ #撤销
$InquiryItemsModel->where("id",$inquiry_items_id)->update(["status"=>1]); #更新报价待报价
......@@ -167,7 +167,7 @@ class InquiryItemsReportModel extends Model
$temp = [
"currency"=>$mainCurrency,
"goods_name"=>$quoteItem["goods_name"],
"goods_name"=>$itemInfo["goods_name"],
"goods_name_pro"=>$quoteItem["goods_name"],
"brand_id"=>$quoteItem["brand_id"],
"brand_name"=>$quoteItem["brand_name"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment