产品规格不必传处理

This commit is contained in:
2026-01-07 09:42:08 +08:00
parent c38a53f053
commit 139acd9e70
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ class InvItemService
$data['spec_model'] = '';
$data['unit'] = '件';
$data['is_consumable'] = 0;
$data['stock_qty'] = 1;
$data['stock_qty'] = $data['stock_qty']??1;
$data['location'] = '';
return $data;
}