Commit 1ace2298 authored by hj's avatar hj

更新提交

parent 95db1d6e
...@@ -207,9 +207,9 @@ class InvoiceService ...@@ -207,9 +207,9 @@ class InvoiceService
$applyInvoiceItems['hsbz'] = 1; //默认含税 $applyInvoiceItems['hsbz'] = 1; //默认含税
$replaceNameKeywords = ['镧','铈','镨','钕','钷','钐','铕','钆','铽','镝','钬','铒','铥','镱','镥','钪','钇','石油醚']; $replaceNameKeywords = ['镧','铈','镨','钕','钷','钐','铕','钆','铽','镝','钬','铒','铥','镱','镥','钪','钇','石油醚'];
foreach($replaceNameKeywords as $keyword){ foreach($replaceNameKeywords as $keyword){
if(strpos($item['item_name'],$keyword)){ //if(strpos($item['item_name'],$keyword)){
$item['item_name'] = str_replace($keyword, '试剂', $item['item_name']); $item['item_name'] = str_replace($keyword, '试剂', $item['item_name']);
} //}
} }
$applyInvoiceItems['spmc'] = $item['item_name'];//$this->charsetToGBK($item['item_name']); $applyInvoiceItems['spmc'] = $item['item_name'];//$this->charsetToGBK($item['item_name']);
$applyInvoiceItems['spbm'] = $item['spbm'] ?? '1070214010000000000';//$item['p_code']; $applyInvoiceItems['spbm'] = $item['spbm'] ?? '1070214010000000000';//$item['p_code'];
......
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 to comment