Commit f6b88b57 by hcy001

1

parent 6f1500da
Showing with 3 additions and 1 deletions
...@@ -118,6 +118,7 @@ class InquiryItemsReportModel extends Model ...@@ -118,6 +118,7 @@ class InquiryItemsReportModel extends Model
$inquiry_items_id = $data["inquiry_items_id"]; #询价明细id $inquiry_items_id = $data["inquiry_items_id"]; #询价明细id
$quote_id = $data["quote_id"]; #报价id $quote_id = $data["quote_id"]; #报价id
$status = $data["status"]; #状态: 2 选中 3 确定 $status = $data["status"]; #状态: 2 选中 3 确定
$delivery_time = $data["delivery_time"]; #货期
$price = @$data["price"] ? $data["price"] : 0; #销售报价 $price = @$data["price"] ? $data["price"] : 0; #销售报价
if ($inquiry_items_id <= 0) return [1001,"询价明细ID不得为空"]; if ($inquiry_items_id <= 0) return [1001,"询价明细ID不得为空"];
...@@ -163,8 +164,9 @@ class InquiryItemsReportModel extends Model ...@@ -163,8 +164,9 @@ class InquiryItemsReportModel extends Model
"class_id2_name"=>$quoteItem["class_id2_name"], "class_id2_name"=>$quoteItem["class_id2_name"],
"price_rmb"=>$price_rmb, "price_rmb"=>$price_rmb,
"price_origin"=>$price_origin, "price_origin"=>$price_origin,
"price_profile"=>$price,
"inquiry_number"=>$quoteItem["quote_number"], "inquiry_number"=>$quoteItem["quote_number"],
"delivery_time"=>$quoteItem["delivery_time"], "delivery_time"=>$delivery_time,
"batch"=>$quoteItem["batch"], "batch"=>$quoteItem["batch"],
"create_time"=>time() , "create_time"=>time() ,
]; ];
......
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