diff --git a/src/components/QuickQuote/index.jsx b/src/components/QuickQuote/index.jsx index bea684d..e20e894 100644 --- a/src/components/QuickQuote/index.jsx +++ b/src/components/QuickQuote/index.jsx @@ -764,6 +764,17 @@ const QuickQuoteEvent = props => { processAfterDataRow.sId = commonUtils.createSid(); processAfterDataRow.sParentId = masterData.sId; processAfterDataRow.sControlId = partsDataRow.sId; + + const sBackendParams = process.sBackendParams || []; + if (sBackendParams.length) { + const sQuoParams = sBackendParams.map(item => ({ + sParamName: item.sParam, + sParamValue: item.value !== undefined ? item.value : "", + bSelfCbx: !(item.value === "" || item.value === undefined), + })); + processAfterDataRow.sQuoParams = JSON.stringify(sQuoParams); + } + // processAfterDataRow.sSlaveId = ' '; processData.push(processAfterDataRow); // 配套工序