Commit 6af0f3c3 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

🐞 fix: 修改采购报价BUG

parent 9fad4ebf
......@@ -220,6 +220,7 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
}
const setFieldsValueFn = (params: any) => {
console.log(params, 123)
params.forEach((it: any, i: number) => {
form.setFieldsValue({
['isTax' + i]: it.isTax ? it.isTax : 1,
......@@ -298,7 +299,7 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
detailss.push({
purchaseInquiryDetailsId: name === 'quote' ? item.id : item.purchaseInquiryDetailsId,
taxUnitPrice: item.taxUnitPrice,
isTax: item.isTax,
isTax: item.isTax ? item.isTax : 1,
taxProbability: item.taxProbability,
productName: item.productName,
productId: item.productId,
......
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