From bca4669a084502bc8fe3b7075fddb59c03c429fb Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Thu, 30 Oct 2025 15:11:19 +0800 Subject: [PATCH] 1.单据保存去掉表格内容不能为空![dTotalMoney或dRoundingMoney必须大于0] --- src/components/Common/CommonBillEvent.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/Common/CommonBillEvent.js b/src/components/Common/CommonBillEvent.js index 4844729..fbf88af 100644 --- a/src/components/Common/CommonBillEvent.js +++ b/src/components/Common/CommonBillEvent.js @@ -2529,13 +2529,13 @@ export default (ChildComponent) => { } } } - if (commonUtils.isNotEmptyArr(slaveData) && slaveData.length > 0 && flagCheckSave) { - message.warning('表格内容不能为空![dTotalMoney或dRoundingMoney必须大于0]'); - this.props.onSaveState({ - loading: false, - }); - return; - } + // if (commonUtils.isNotEmptyArr(slaveData) && slaveData.length > 0 && flagCheckSave) { + // message.warning('表格内容不能为空![dTotalMoney或dRoundingMoney必须大于0]'); + // this.props.onSaveState({ + // loading: false, + // }); + // return; + // } const dPmoney = this.props.getFloatNum('dProductMoney'); dslaveTotalMoney = commonUtils.convertFixNum(dslaveTotalMoney, dPmoney);/* 取系统设定小数位 */ if (commonUtils.isNotEmptyArr(slaveData) && commonUtils.isNotEmptyNumber(masterData.dTotalMoney) && commonUtils.isNotEmptyNumber(masterData.dAdvanceMoney) && commonUtils.convertFixNum(masterData.dTotalMoney - masterData.dAdvanceMoney, dPmoney) !== dslaveTotalMoney) { -- libgit2 0.22.2