477cdc7c by renchao@pashanhoo.com

qlxxCol

1 parent dd63d517
......@@ -64,6 +64,96 @@ class data extends filter {
}
},
{
prop: 'sfqydjyymb',
label: '是否启用模板',
width: '140',
render: (h, scope) => {
return (
<el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}>
<el-radio label={'1'}>启用</el-radio>
<el-radio label={'0'}>禁用</el-radio>
</el-radio-group>
)
}
},
{
prop: 'djyy',
label: '登记原因模板',
render: (h, scope) => {
return (
<el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input>
)
}
},
{
label: '移动',
width: '100',
render: (h, scope) => {
return (
<div>
<el-button type='text' disabled={scope.$index == 0} onClick={() => { vm.moveUpward(scope.$index, scope.row, 'djqx') }}>上移</el-button>
<el-button type='text' disabled={(scope.$index + 1) == vm.form.djqx.length} onClick={() => { vm.moveDown(scope.$index, scope.row, 'djqx') }}>下移</el-button >
</div>
)
}
}
]
}
qlxxCol () {
return [
{
width: '60',
renderHeader: (h, scope) => {
return <i class="el-icon-plus pointer" onClick={() => { vm.addDjqx() }} style="color:#409EFF"></i>
},
render: (h, scope) => {
return (
<i class="el-icon-minus pointer" onClick={() => { vm.removeDjqx(scope.$index, scope.row) }}></i>
)
}
},
{
width: '60',
label: '序号',
type: 'index'
},
{
label: '是否启用登记情形',
prop: 'enabled',
width: '141',
render: (h, scope) => {
return (
<el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}>
<el-radio label={'1'}>启用</el-radio>
<el-radio label={'0'}>禁用</el-radio>
</el-radio-group>
)
}
},
{
prop: 'nodecode',
width: '105',
label: '登记情形编码',
render: (h, scope) => {
return (
<el-input placeholder="登记情形编码" value={scope.row[scope.column.property]}
onInput={(val) => { scope.row[scope.column.property] = val; vm.orderNoChange() }} maxlength="8">
</el-input>
)
}
},
{
prop: 'nodename',
label: '登记情形名称',
render: (h, scope) => {
return (
<el-input placeholder="登记情形名称" value={scope.row[scope.column.property]}
onInput={(val) => { scope.row[scope.column.property] = val; vm.orderNoChange() }}>
</el-input>
)
}
},
{
prop: 'djywbm',
label: '登记业务编码',
render: (h, scope) => {
......@@ -95,7 +185,6 @@ class data extends filter {
}
]
}
clxxCol () {
return [
{
......@@ -185,7 +274,7 @@ class data extends filter {
{
prop: 'djqxbm',
label: '登记情形',
width: '230',
width: '180',
render: (h, scope) => {
return (
<el-select disabled={scope.row.sfggcl == '1'} value={scope.row[scope.column.property]}
......@@ -193,7 +282,7 @@ class data extends filter {
{
vm.form.djqx.map(option => {
return (
<el-option label={option.nodename} value={option.bsmSqyw}></el-option>
<el-option label={option.nodename} value={option.nodecode}></el-option>
)
})
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-13 09:14:12
* @LastEditTime: 2023-10-13 09:30:24
-->
<template>
<div>
......@@ -103,7 +103,7 @@
</el-form>
<el-collapse class="modifycollapse" accordion>
<el-collapse-item title="权利信息" name="0" v-if="form.sqdjyw.sqfl=='2'">
<lb-table :column="djqxCol" :pagination="false" heightNumSetting :minHeight="160" :data="form.djlx">
<lb-table :column="qlxxCol" :pagination="false" heightNumSetting :minHeight="160" :data="form.djlx">
</lb-table>
</el-collapse-item>
<el-collapse-item title="登记情形设置" name="1" v-if="form.sqdjyw.sqfl=='1'">
......@@ -189,6 +189,7 @@
},
djqxCol: datas.djqxCol(),
clxxCol: datas.clxxCol(),
qlxxCol: datas.qlxxCol(),
};
},
mounted () {
......