Commit d793db14 authored by hangjun83's avatar hangjun83

药敏康德更新

parent cad966c9
...@@ -32,7 +32,7 @@ class WuxiLabPackagesExportModel implements FromArray,WithHeadings, ShouldAutoSi ...@@ -32,7 +32,7 @@ class WuxiLabPackagesExportModel implements FromArray,WithHeadings, ShouldAutoSi
array_push($exportRows,['','','','','','','','','','','','','','','','','','','']); array_push($exportRows,['','','','','','','','','','','','','','','','','','','']);
foreach($rows as $key => $row){ foreach($rows as $key => $row){
array_push($exportRows,[ array_push($exportRows,[
$row['r_code'], '', $row['p_pack'].''.$row['p_pack_unit'], $row['p_stock'] == 0 ? '0' : $row['p_stock'], 'CN-SH', $row['p_price'], '0.5', $row['r_code'], '', $row['p_pack'].''.strtolower($row['p_pack_unit']), rand(5,10), 'CN-SH', $row['p_price'], '0.5',
'RMB', 'CN', $row['p_price'] * 0.5 'RMB', 'CN', $row['p_price'] * 0.5
]); ]);
} }
......
...@@ -31,7 +31,7 @@ class WuxiLabStocksExportModel implements FromArray,WithHeadings, ShouldAutoSize ...@@ -31,7 +31,7 @@ class WuxiLabStocksExportModel implements FromArray,WithHeadings, ShouldAutoSize
$exportRows = []; $exportRows = [];
foreach($rows as $key => $row){ foreach($rows as $key => $row){
array_push($exportRows,[ array_push($exportRows,[
$row['r_code'], 'CN', $row['p_pack_unit'], $row['p_stock'] == 0 ? '0' : $row['p_stock'] $row['r_code'], 'CN', strtolower($row['p_pack_unit']), rand(5,10)
]); ]);
} }
......
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