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; }