|
@@ -45,6 +45,9 @@ class MakeSeal extends Command
|
|
|
(new ProductFz)->save($item);
|
|
|
};
|
|
|
(new ProductSeal)->saveAll($this->getProductLog($item,$ist->id));
|
|
|
+ $item['status']=2;
|
|
|
+ $item['remark']='';
|
|
|
+ (new ProductFz)->save($item);
|
|
|
}
|
|
|
|
|
|
public function getProductLog($item,$lastId){
|
|
@@ -66,7 +69,7 @@ class MakeSeal extends Command
|
|
|
'in_num'=>"0",
|
|
|
'out_num'=>"0",
|
|
|
'balance_num'=>$balance[$item['product_id']]??"0",
|
|
|
- 'fz_id'=>$item['fz_id'],
|
|
|
+ 'fz_id'=>$item['fz_id'],
|
|
|
];
|
|
|
}
|
|
|
if($item['type']==3|| $item['type']==1){
|