Commit a0906b45 authored by Bill's avatar Bill
parents 9d8a83bd d35603ab
......@@ -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