|
|
@@ -246,7 +246,7 @@ class QcodeAdd extends Backend
|
|
|
// //小件码循环插入
|
|
|
for ($j=0;$j<$tray_num and ($j+$i*$tray_num)<$batchList['small_num'];$j++){
|
|
|
$small = new QcodeSmall();
|
|
|
- $s_flow = $this->intTochar($batchList['s_flow']+$j+$i*$batchList['tray_num']+$lastNum['last_num'],6);//小件码序号从1开始
|
|
|
+ $s_flow = $this->intTochar($batchList['s_flow']+$j+$i*$tray_num+$lastNum['last_num'],6);//小件码序号从1开始
|
|
|
$s_weight = $this->intTochar($batchList['s_weight'],6);
|
|
|
$small_sign = '000';
|
|
|
$s_reservation = $this->intTochar($batchList['bach_num'],10);
|