Commit 1cb6aef0 authored by shenshaokai's avatar shenshaokai

fix: 新增合同-采购物料-交货日期bug修改

parent 814e6b6f
......@@ -576,7 +576,8 @@ const FormList = (props: any) => {
// i.isHasTax = form.getFieldValue('isHasTax' + i.newId) || undefined
// i.taxRate = form.getFieldValue('taxRate' + i.newId) || ''
// i.price = form.getFieldValue('price' + i.newId) || ''
i.bidAmount = (i.bidCount && i.price) ? new BigNumber(+i.bidCount).multipliedBy(i.price).toNumber().toFixed(2) : ''
i.bidAmount = (i.bidCount && i.price) ? new BigNumber(+i.bidCount).multipliedBy(i.price).toNumber().toFixed(2) : '';
form.setFieldsValue({ [`advanceDeliveryDate${k}`]: i.advanceDeliveryDate ? moment(i.advanceDeliveryDate) : null })
})
......
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