477cdc7c by renchao@pashanhoo.com

qlxxCol

1 parent dd63d517
...@@ -64,6 +64,96 @@ class data extends filter { ...@@ -64,6 +64,96 @@ class data extends filter {
64 } 64 }
65 }, 65 },
66 { 66 {
67 prop: 'sfqydjyymb',
68 label: '是否启用模板',
69 width: '140',
70 render: (h, scope) => {
71 return (
72 <el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}>
73 <el-radio label={'1'}>启用</el-radio>
74 <el-radio label={'0'}>禁用</el-radio>
75 </el-radio-group>
76 )
77 }
78 },
79 {
80 prop: 'djyy',
81 label: '登记原因模板',
82 render: (h, scope) => {
83 return (
84 <el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input>
85 )
86 }
87 },
88 {
89 label: '移动',
90 width: '100',
91 render: (h, scope) => {
92 return (
93 <div>
94 <el-button type='text' disabled={scope.$index == 0} onClick={() => { vm.moveUpward(scope.$index, scope.row, 'djqx') }}>上移</el-button>
95 <el-button type='text' disabled={(scope.$index + 1) == vm.form.djqx.length} onClick={() => { vm.moveDown(scope.$index, scope.row, 'djqx') }}>下移</el-button >
96 </div>
97 )
98 }
99 }
100 ]
101 }
102 qlxxCol () {
103 return [
104 {
105 width: '60',
106 renderHeader: (h, scope) => {
107 return <i class="el-icon-plus pointer" onClick={() => { vm.addDjqx() }} style="color:#409EFF"></i>
108 },
109 render: (h, scope) => {
110 return (
111 <i class="el-icon-minus pointer" onClick={() => { vm.removeDjqx(scope.$index, scope.row) }}></i>
112 )
113 }
114 },
115 {
116 width: '60',
117 label: '序号',
118 type: 'index'
119 },
120 {
121 label: '是否启用登记情形',
122 prop: 'enabled',
123 width: '141',
124 render: (h, scope) => {
125 return (
126 <el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}>
127 <el-radio label={'1'}>启用</el-radio>
128 <el-radio label={'0'}>禁用</el-radio>
129 </el-radio-group>
130 )
131 }
132 },
133 {
134 prop: 'nodecode',
135 width: '105',
136 label: '登记情形编码',
137 render: (h, scope) => {
138 return (
139 <el-input placeholder="登记情形编码" value={scope.row[scope.column.property]}
140 onInput={(val) => { scope.row[scope.column.property] = val; vm.orderNoChange() }} maxlength="8">
141 </el-input>
142 )
143 }
144 },
145 {
146 prop: 'nodename',
147 label: '登记情形名称',
148 render: (h, scope) => {
149 return (
150 <el-input placeholder="登记情形名称" value={scope.row[scope.column.property]}
151 onInput={(val) => { scope.row[scope.column.property] = val; vm.orderNoChange() }}>
152 </el-input>
153 )
154 }
155 },
156 {
67 prop: 'djywbm', 157 prop: 'djywbm',
68 label: '登记业务编码', 158 label: '登记业务编码',
69 render: (h, scope) => { 159 render: (h, scope) => {
...@@ -95,7 +185,6 @@ class data extends filter { ...@@ -95,7 +185,6 @@ class data extends filter {
95 } 185 }
96 ] 186 ]
97 } 187 }
98
99 clxxCol () { 188 clxxCol () {
100 return [ 189 return [
101 { 190 {
...@@ -185,7 +274,7 @@ class data extends filter { ...@@ -185,7 +274,7 @@ class data extends filter {
185 { 274 {
186 prop: 'djqxbm', 275 prop: 'djqxbm',
187 label: '登记情形', 276 label: '登记情形',
188 width: '230', 277 width: '180',
189 render: (h, scope) => { 278 render: (h, scope) => {
190 return ( 279 return (
191 <el-select disabled={scope.row.sfggcl == '1'} value={scope.row[scope.column.property]} 280 <el-select disabled={scope.row.sfggcl == '1'} value={scope.row[scope.column.property]}
...@@ -193,7 +282,7 @@ class data extends filter { ...@@ -193,7 +282,7 @@ class data extends filter {
193 { 282 {
194 vm.form.djqx.map(option => { 283 vm.form.djqx.map(option => {
195 return ( 284 return (
196 <el-option label={option.nodename} value={option.bsmSqyw}></el-option> 285 <el-option label={option.nodename} value={option.nodecode}></el-option>
197 ) 286 )
198 }) 287 })
199 } 288 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-13 09:14:12 4 * @LastEditTime: 2023-10-13 09:30:24
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
103 </el-form> 103 </el-form>
104 <el-collapse class="modifycollapse" accordion> 104 <el-collapse class="modifycollapse" accordion>
105 <el-collapse-item title="权利信息" name="0" v-if="form.sqdjyw.sqfl=='2'"> 105 <el-collapse-item title="权利信息" name="0" v-if="form.sqdjyw.sqfl=='2'">
106 <lb-table :column="djqxCol" :pagination="false" heightNumSetting :minHeight="160" :data="form.djlx"> 106 <lb-table :column="qlxxCol" :pagination="false" heightNumSetting :minHeight="160" :data="form.djlx">
107 </lb-table> 107 </lb-table>
108 </el-collapse-item> 108 </el-collapse-item>
109 <el-collapse-item title="登记情形设置" name="1" v-if="form.sqdjyw.sqfl=='1'"> 109 <el-collapse-item title="登记情形设置" name="1" v-if="form.sqdjyw.sqfl=='1'">
...@@ -189,6 +189,7 @@ ...@@ -189,6 +189,7 @@
189 }, 189 },
190 djqxCol: datas.djqxCol(), 190 djqxCol: datas.djqxCol(),
191 clxxCol: datas.clxxCol(), 191 clxxCol: datas.clxxCol(),
192 qlxxCol: datas.qlxxCol(),
192 }; 193 };
193 }, 194 },
194 mounted () { 195 mounted () {
......