Commit ee61d7ba3e30a51e25bd913f96fbf7e12ff12f97

Authored by zhangzzzz
1 parent 0e4bf461

处理快速报价多次核价报错问题;

src/components/Common/CommonBillEvent.js
... ... @@ -764,8 +764,8 @@ export default (ChildComponent) => {
764 764  
765 765 /** 获取主表、从表、审核表数据 */
766 766 handleGetData = async (masterConfig, slaveConfig, checkConfig, bEditClick) => {
767   - const { currentId } = this.props; /* 当前页签数据 */
768   - const sId = currentId !== undefined ? currentId : '';
  767 + const { currentId, masterData = {} } = this.props; /* 当前页签数据 */
  768 + const sId = currentId || masterData.sId || '';
769 769 this.props.handleGetDataOne({ name: 'master', configData: masterConfig, condition: { sId, pageSize: '', pageNum: '' }, bEditClick, slaveConfig });
770 770 // commonUtils.setStoreDropDownData(sModelsId, 'slave', 'sProductId', []);
771 771 // commonUtils.setStoreDropDownData(sModelsId, 'slave', 'sProductNo', []);
... ...