Commit d8f93c3e authored by XieZhiXiong's avatar XieZhiXiong

chore: 补充接口 type 参数

parent 9c278f8d
......@@ -672,6 +672,7 @@ const ExchangeForm: React.FC<BillsFormProps> = ({
purchasePrice: item.price,
purchaseCount: item.quantity,
purchaseAmount: +(item.price * item.quantity).toFixed(2),
type: item.spec,
replaceCount: '',
replaceReason: '',
extraData: {
......
......@@ -536,7 +536,7 @@ const RepairForm: React.FC<BillsFormProps> = ({
brand: item.brand,
unit: item.unit,
purchaseCount: item.quantity,
type: item.type,
type: item.spec,
repairReason: '',
extraData: {
id: item.id,
......
......@@ -697,7 +697,7 @@ const ReturnForm: React.FC<BillsFormProps> = ({
purchaseCount: item.quantity,
purchaseAmount: +(item.price * item.quantity).toFixed(2),
payAmount: item.paidAmount,
type: item.type,
type: item.spec,
returnCount: '',
refundAmount: undefined,
extraData: {
......
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