Commit 7deca896 by hcy001

1

parent ad97e92c
Showing with 4 additions and 2 deletions
......@@ -348,7 +348,7 @@ class InquiryItemsModel extends Model
foreach ($goodsData[1] as $k=>&$b){
$insertArr= [
"inquiry_id"=>$b["inquiry_id"] ,
"inquiry_id"=>$inquiry_id,
"goods_name"=>@$b["goods_name"] ? $b["goods_name"] : "" ,
"brand_id"=>@$b["brand_id"] ? $b["brand_id"] : 0,
"brand_name"=>@$b["brand_name"] ? $b["brand_name"] : "",
......@@ -381,7 +381,7 @@ class InquiryItemsModel extends Model
#插入销售报价表
(new InquiryItemsReportModel())->insert([
"inquiry_id"=>$b["inquiry_id"] ,
"inquiry_id"=>$inquiry_id ,
"inquiry_items_id"=>$inquiryItemsId ,
]);
}
......@@ -430,6 +430,8 @@ class InquiryItemsModel extends Model
];
#转换字段
$goodsInfo = [];
foreach ($excel as $k=>$v) {
if ($k == 0 ) continue; //排除第一行表头
$temp = [];
......
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