Commit fc0a216f authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复添加商品报错的问题

parent 1226aa42
...@@ -482,6 +482,11 @@ const RepairForm: React.FC<BillsFormProps> = ({ ...@@ -482,6 +482,11 @@ const RepairForm: React.FC<BillsFormProps> = ({
unit: item.unit, unit: item.unit,
purchaseCount: item.purchaseCount, purchaseCount: item.purchaseCount,
repairReason: '', repairReason: '',
extraData: {
id: item.id,
orderId: item.orderId,
remaining: item.purchaseCount - (item.repairCount || 0), // 可维修数量
},
isHasTax: item.taxInclusive, isHasTax: item.taxInclusive,
taxRate: item.taxRate, taxRate: item.taxRate,
contractId: item.contractId, contractId: item.contractId,
......
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