Commit 1ddd7464c0e652b27bdcdadb2c1a8b80c02543cc
Merge branch 'main' of http://git.xlyprint.cn/zhangz/xlyUmi
Showing
1 changed file
with
11 additions
and
0 deletions
src/components/QuickQuote/index.jsx
| ... | ... | @@ -764,6 +764,17 @@ const QuickQuoteEvent = props => { |
| 764 | 764 | processAfterDataRow.sId = commonUtils.createSid(); |
| 765 | 765 | processAfterDataRow.sParentId = masterData.sId; |
| 766 | 766 | processAfterDataRow.sControlId = partsDataRow.sId; |
| 767 | + | |
| 768 | + const sBackendParams = process.sBackendParams || []; | |
| 769 | + if (sBackendParams.length) { | |
| 770 | + const sQuoParams = sBackendParams.map(item => ({ | |
| 771 | + sParamName: item.sParam, | |
| 772 | + sParamValue: item.value !== undefined ? item.value : "", | |
| 773 | + bSelfCbx: !(item.value === "" || item.value === undefined), | |
| 774 | + })); | |
| 775 | + processAfterDataRow.sQuoParams = JSON.stringify(sQuoParams); | |
| 776 | + } | |
| 777 | + | |
| 767 | 778 | // processAfterDataRow.sSlaveId = ' '; |
| 768 | 779 | processData.push(processAfterDataRow); |
| 769 | 780 | // 配套工序 | ... | ... |