Commit d8f93c3e authored by XieZhiXiong's avatar XieZhiXiong

chore: 补充接口 type 参数

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