|
|
@ -56,31 +56,36 @@ |
|
|
</CustomTable> |
|
|
</CustomTable> |
|
|
|
|
|
|
|
|
<LineLabel label="template.dl.dl010.sjxx" /> |
|
|
<LineLabel label="template.dl.dl010.sjxx" /> |
|
|
<div class="sj-operation-btns"> |
|
|
|
|
|
<el-button size="small" type="primary">{{ |
|
|
|
|
|
$t('template.dl.dl010.xzmb') |
|
|
|
|
|
}}</el-button> |
|
|
|
|
|
<el-button size="small" type="success">{{ |
|
|
|
|
|
$t('template.dl.dl010.dr') |
|
|
|
|
|
}}</el-button> |
|
|
|
|
|
|
|
|
<div class="template-form-item"> |
|
|
|
|
|
<div class="sj-operation-btns"> |
|
|
|
|
|
<el-button size="small" type="primary">{{ |
|
|
|
|
|
$t('template.dl.dl010.xzmb') |
|
|
|
|
|
}}</el-button> |
|
|
|
|
|
<el-button size="small" type="success">{{ |
|
|
|
|
|
$t('template.dl.dl010.dr') |
|
|
|
|
|
}}</el-button> |
|
|
|
|
|
</div> |
|
|
|
|
|
<CustomTable |
|
|
|
|
|
:columns="sjxxColumns" |
|
|
|
|
|
:ref="refConf.sjxx" |
|
|
|
|
|
:showOperation="fillType === 'preFill'" |
|
|
|
|
|
:showAddRow="fillType === 'preFill'" |
|
|
|
|
|
:formData="formData" |
|
|
|
|
|
:prefixKey="`sjxxTable`" |
|
|
|
|
|
> |
|
|
|
|
|
<template |
|
|
|
|
|
slot="operation" |
|
|
|
|
|
slot-scope="{ row, rowIndex, columns }" |
|
|
|
|
|
> |
|
|
|
|
|
<TableOpertaionDelete |
|
|
|
|
|
:row="row" |
|
|
|
|
|
:rowIndex="rowIndex" |
|
|
|
|
|
:columns="columns" |
|
|
|
|
|
@deleteRow="() => deleteTableRow(rowIndex, 'sjxxTableRef')" |
|
|
|
|
|
></TableOpertaionDelete> |
|
|
|
|
|
</template> |
|
|
|
|
|
</CustomTable> |
|
|
</div> |
|
|
</div> |
|
|
<CustomTable |
|
|
|
|
|
:columns="sjxxColumns" |
|
|
|
|
|
:ref="refConf.sjxx" |
|
|
|
|
|
:showOperation="fillType === 'actFill'" |
|
|
|
|
|
:showAddRow="fillType === 'actFill'" |
|
|
|
|
|
:formData="formData" |
|
|
|
|
|
:prefixKey="`sjxxTable`" |
|
|
|
|
|
> |
|
|
|
|
|
<template slot="operation" slot-scope="{ row, rowIndex, columns }"> |
|
|
|
|
|
<TableOpertaionDelete |
|
|
|
|
|
:row="row" |
|
|
|
|
|
:rowIndex="rowIndex" |
|
|
|
|
|
:columns="columns" |
|
|
|
|
|
@deleteRow="() => deleteTableRow(rowIndex, 'sjxxTableRef')" |
|
|
|
|
|
></TableOpertaionDelete> |
|
|
|
|
|
</template> |
|
|
|
|
|
</CustomTable> |
|
|
|
|
|
|
|
|
|
|
|
<BaseInfoFormPackage |
|
|
<BaseInfoFormPackage |
|
|
fieldItemLabel="template.dl.dl007.bz" |
|
|
fieldItemLabel="template.dl.dl007.bz" |
|
|
@ -285,40 +290,34 @@ export default { |
|
|
yqsyColumns() { |
|
|
yqsyColumns() { |
|
|
return [ |
|
|
return [ |
|
|
{ |
|
|
{ |
|
|
label: 'template.dl.dl010.yqsybh', |
|
|
|
|
|
|
|
|
label: 'template.dl.dl010.yqbh', |
|
|
prop: 'yqbh', |
|
|
prop: 'yqbh', |
|
|
bodyType: 'yq', |
|
|
bodyType: 'yq', |
|
|
bodyFillType: 'actFill' |
|
|
bodyFillType: 'actFill' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: 'template.dl.dl010.mc', |
|
|
|
|
|
prop: 'mc', |
|
|
|
|
|
|
|
|
label: 'template.dl.dl010.yqmc', |
|
|
|
|
|
prop: 'yqmc', |
|
|
bodyType: 'input', |
|
|
bodyType: 'input', |
|
|
bodyDisabled: true, |
|
|
bodyDisabled: true, |
|
|
bodyFillType: 'actFill', |
|
|
bodyFillType: 'actFill', |
|
|
disabled: true |
|
|
disabled: true |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: 'template.dl.dl010.bh', |
|
|
|
|
|
prop: 'bh', |
|
|
|
|
|
|
|
|
label: 'template.dl.dl010.yqxh', |
|
|
|
|
|
prop: 'yqxh', |
|
|
bodyType: 'input', |
|
|
bodyType: 'input', |
|
|
bodyDisabled: true, |
|
|
bodyDisabled: true, |
|
|
bodyFillType: 'actFill', |
|
|
bodyFillType: 'actFill', |
|
|
disabled: true |
|
|
disabled: true |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: 'template.dl.dl010.zcqk', |
|
|
|
|
|
prop: 'zcqk', |
|
|
|
|
|
|
|
|
label: 'template.dl.dl010.xccsjzjdrq', |
|
|
|
|
|
prop: 'jzrq', |
|
|
bodyType: 'input', |
|
|
bodyType: 'input', |
|
|
bodyDisabled: true, |
|
|
bodyDisabled: true, |
|
|
bodyFillType: 'actFill', |
|
|
bodyFillType: 'actFill', |
|
|
disabled: true |
|
|
disabled: true |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: 'template.dl.dl010.bz', |
|
|
|
|
|
prop: 'bz', |
|
|
|
|
|
bodyType: 'input', |
|
|
|
|
|
bodyFillType: 'actFill' |
|
|
|
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
@ -405,9 +404,9 @@ export default { |
|
|
|
|
|
|
|
|
if (key === 'yqbh') { |
|
|
if (key === 'yqbh') { |
|
|
const params = { |
|
|
const params = { |
|
|
mc: row.mc, |
|
|
|
|
|
bh: row.xh, |
|
|
|
|
|
zcqk: row.jzrq |
|
|
|
|
|
|
|
|
yqmc: row.mc, |
|
|
|
|
|
yqxh: row.xh, |
|
|
|
|
|
jzrq: row.jzrq |
|
|
} |
|
|
} |
|
|
this.$refs.yqsyTableRef.updateDataSourceByRowIndex(rowIndex, params) |
|
|
this.$refs.yqsyTableRef.updateDataSourceByRowIndex(rowIndex, params) |
|
|
} |
|
|
} |
|
|
|