From ee61d7ba3e30a51e25bd913f96fbf7e12ff12f97 Mon Sep 17 00:00:00 2001 From: zhangzhen <525765282@qq.com> Date: Tue, 17 Jun 2025 11:28:34 +0800 Subject: [PATCH] 处理快速报价多次核价报错问题; --- src/components/Common/CommonBillEvent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Common/CommonBillEvent.js b/src/components/Common/CommonBillEvent.js index 627ab8c..080628b 100644 --- a/src/components/Common/CommonBillEvent.js +++ b/src/components/Common/CommonBillEvent.js @@ -764,8 +764,8 @@ export default (ChildComponent) => { /** 获取主表、从表、审核表数据 */ handleGetData = async (masterConfig, slaveConfig, checkConfig, bEditClick) => { - const { currentId } = this.props; /* 当前页签数据 */ - const sId = currentId !== undefined ? currentId : ''; + const { currentId, masterData = {} } = this.props; /* 当前页签数据 */ + const sId = currentId || masterData.sId || ''; this.props.handleGetDataOne({ name: 'master', configData: masterConfig, condition: { sId, pageSize: '', pageNum: '' }, bEditClick, slaveConfig }); // commonUtils.setStoreDropDownData(sModelsId, 'slave', 'sProductId', []); // commonUtils.setStoreDropDownData(sModelsId, 'slave', 'sProductNo', []); -- libgit2 0.22.2