Commit d9d3a3d3 by hcy001

1

parent 7764861f
...@@ -285,6 +285,7 @@ class InquiryItemsModel extends Model ...@@ -285,6 +285,7 @@ class InquiryItemsModel extends Model
"batch"=>@$b["batch"] ? $b["batch"] : "" , "batch"=>@$b["batch"] ? $b["batch"] : "" ,
"assign_type"=>@$b["assign_type"] ? $b["assign_type"] : 2, "assign_type"=>@$b["assign_type"] ? $b["assign_type"] : 2,
"remark"=>@$b["remark"] ? $b["remark"] : "", "remark"=>@$b["remark"] ? $b["remark"] : "",
"flag"=>0, #重新自动报价
"create_time"=>time() , "create_time"=>time() ,
"update_time"=>time() , "update_time"=>time() ,
]; ];
......
...@@ -41,6 +41,9 @@ class QuoteModel extends Model ...@@ -41,6 +41,9 @@ class QuoteModel extends Model
if (!$list) return [20001, '没有数据']; if (!$list) return [20001, '没有数据'];
foreach ($list['data'] as $k=>&$v){ foreach ($list['data'] as $k=>&$v){
$v['status'] = QuoteMap::$status[$v["status"]]; $v['status'] = QuoteMap::$status[$v["status"]];
if ($v["create_name"] == "digikey"){
$v["create_name"] = "digikey(包装:".$v["raw_goods_packing"].")";
}
} }
return [0, '成功', $list['data'], $list['total']]; return [0, '成功', $list['data'], $list['total']];
} }
......
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