From 3ad2d266793b2f7dd181842527cc8d402a8858c9 Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Wed, 8 Apr 2026 15:16:55 +0800 Subject: [PATCH] 1.五彩:票据校验去掉银行 --- src/components/Common/CommonBillEvent.js | 2 +- src/components/Common/CommonGroupBillEvent.js | 2 +- src/components/Common/CommonNewBillEvent.js | 2 +- src/components/Common/CommonSubBillEvent.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Common/CommonBillEvent.js b/src/components/Common/CommonBillEvent.js index 6ac0464..3121020 100644 --- a/src/components/Common/CommonBillEvent.js +++ b/src/components/Common/CommonBillEvent.js @@ -2484,7 +2484,7 @@ export default (ChildComponent) => { } } if (masterData.sSettlementId === 'bill') { - if (commonUtils.isEmptyStr(masterData.sBankId) || commonUtils.isEmptyStr(masterData.sInvoiceNo)) { + if (commonUtils.isEmptyStr(masterData.sInvoiceNo)) { message.error(commonFunc.showMessage(app.commonConst, 'requiredsInvoiceNo'));/* 收/付款条件为票据时,银行、票据号码为必填项 */ flag = false; } diff --git a/src/components/Common/CommonGroupBillEvent.js b/src/components/Common/CommonGroupBillEvent.js index 5455dcc..1ad4ad6 100644 --- a/src/components/Common/CommonGroupBillEvent.js +++ b/src/components/Common/CommonGroupBillEvent.js @@ -1498,7 +1498,7 @@ export default (ChildComponent) => { } } if (masterData.sSettlementId === 'bill') { - if (commonUtils.isEmptyStr(masterData.sBankId) || commonUtils.isEmptyStr(masterData.sInvoiceNo)) { + if (commonUtils.isEmptyStr(masterData.sInvoiceNo)) { message.error(commonFunc.showMessage(app.commonConst, 'requiredsInvoiceNo'));/* 收/付款条件为票据时,银行、票据号码为必填项 */ flag = false; } diff --git a/src/components/Common/CommonNewBillEvent.js b/src/components/Common/CommonNewBillEvent.js index f998022..18e0583 100644 --- a/src/components/Common/CommonNewBillEvent.js +++ b/src/components/Common/CommonNewBillEvent.js @@ -1925,7 +1925,7 @@ export default ChildComponent => { } } if (masterData.sSettlementId === "bill") { - if (commonUtils.isEmptyStr(masterData.sBankId) || commonUtils.isEmptyStr(masterData.sInvoiceNo)) { + if (commonUtils.isEmptyStr(masterData.sInvoiceNo)) { message.error(commonFunc.showMessage(app.commonConst, "requiredsInvoiceNo")); /* 收/付款条件为票据时,银行、票据号码为必填项 */ flag = false; } diff --git a/src/components/Common/CommonSubBillEvent.js b/src/components/Common/CommonSubBillEvent.js index 241725e..aaff444 100644 --- a/src/components/Common/CommonSubBillEvent.js +++ b/src/components/Common/CommonSubBillEvent.js @@ -2270,7 +2270,7 @@ export default (ChildComponent) => { } } if (masterData.sSettlementId === 'bill') { - if (commonUtils.isEmptyStr(masterData.sBankId) || commonUtils.isEmptyStr(masterData.sInvoiceNo)) { + if (commonUtils.isEmptyStr(masterData.sInvoiceNo)) { message.error(commonFunc.showMessage(app.commonConst, 'requiredsInvoiceNo'));/* 收/付款条件为票据时,银行、票据号码为必填项 */ flag = false; } -- libgit2 0.22.2