Commit 68ccca3ed646acdea8e11f460b432a0c5d02797f

Authored by zhangzzzz
1 parent b3ddd4a4

优化额外参数;

src/components/QuickQuote/index.jsx
... ... @@ -3107,6 +3107,7 @@ const BackendParamsExtraComponent = props => {
3107 3107 })),
3108 3108 tableConfig: { ...slaveConfig, gdsconfigformslave: viewConfigs },
3109 3109 iColValueView: 24,
  3110 + viewRow: { sId: slaveRowData.sId },
3110 3111 getViewRow: config => {
3111 3112 if (sParentFieldsName === "sPrint") {
3112 3113 return [slaveRowData, ...sBackProcessData].find(item => item.sId === printParamsId);
... ... @@ -3163,6 +3164,7 @@ const BackendParamsExtraComponent = props => {
3163 3164 sParam: showConfig.sParam,
3164 3165 sParamKey: sFieldName,
3165 3166 };
  3167 + if (!dropDownDataSelected) return;
3166 3168 dropDownDataSelected[sFieldName] = dropDownDataSelected.value;
3167 3169 const { sParam } = dropDownDataSelected;
3168 3170 const { sBackendParams = [] } = slaveData[iIndex].sBackProcessData[iIndex1];
... ...