Browse Source

fix:[模板管理]优化

zhangteng
15881625488@163.com 4 days ago
parent
commit
51b73ac8bc
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      src/views/business/comps/template/comps/gsp/GSP002.vue

+ 5
- 3
src/views/business/comps/template/comps/gsp/GSP002.vue View File

@ -403,7 +403,7 @@ export default {
prop: 'actStartSolutionCode', prop: 'actStartSolutionCode',
width: 280, width: 280,
showWidth: 180, showWidth: 180,
bodyType: 'sj',
bodyType: 'mix',
bodyFillType: 'actFill', bodyFillType: 'actFill',
compareTo: 'startSolutionCode', // compareTo: 'startSolutionCode', //
}, },
@ -742,8 +742,9 @@ export default {
}, },
// table // table
onTableRegentSubmit(type, configIndex, data) { onTableRegentSubmit(type, configIndex, data) {
debugger
const { selectInfo, rowIndex, key, rowData } = data; const { selectInfo, rowIndex, key, rowData } = data;
const { row, selectedId } = selectInfo;
const { row, selectedId,selectType } = selectInfo;
if (key === "actStartSolutionCode") {// if (key === "actStartSolutionCode") {//
const tableRef = this.$refs[`paralleStepTableRef_${configIndex}`][0]; const tableRef = this.$refs[`paralleStepTableRef_${configIndex}`][0];
// //
@ -758,6 +759,7 @@ export default {
//code //code
tableRef.updateDataSourceByRowIndex(rowIndex, { tableRef.updateDataSourceByRowIndex(rowIndex, {
actStartSolutionCode: selectedId, actStartSolutionCode: selectedId,
actStartSolutionCodeType: selectType, //
targetAcSolution: row.nd, targetAcSolution: row.nd,
}) })
if (!volResult) { if (!volResult) {
@ -923,7 +925,7 @@ export default {
sxrq: null, sxrq: null,
kc: null, kc: null,
kcdw: null, kcdw: null,
type: 1,
type: stepTableFormData[j].actStartSolutionCodeType,
syl: stepTableFormData[j].actStartSolutionVolume, syl: stepTableFormData[j].actStartSolutionVolume,
syldw: paralleConfigs.headerSelectFields.actStartSolutionVolumeUnit, syldw: paralleConfigs.headerSelectFields.actStartSolutionVolumeUnit,
yxzq: null, yxzq: null,

Loading…
Cancel
Save