style:业务申请规则
Showing
2 changed files
with
31 additions
and
25 deletions
... | @@ -46,11 +46,9 @@ class data extends filter { | ... | @@ -46,11 +46,9 @@ class data extends filter { |
46 | label: '登记情形编码', | 46 | label: '登记情形编码', |
47 | render: (h, scope) => { | 47 | render: (h, scope) => { |
48 | return ( | 48 | return ( |
49 | <div> | 49 | <el-input placeholder="登记情形编码" class={{ repeat: scope.row.repeat }} value={scope.row[scope.column.property]} |
50 | <el-input placeholder="登记情形编码" class={{ repeat: scope.row.repeat }} value={scope.row[scope.column.property]} | 50 | onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }} maxlength="8"> |
51 | onInput={(val) => { scope.row[scope.column.property] = val }} onBlur={() => { vm.nodecodeBlur(scope.$index, scope.row) }} maxlength="8"> | 51 | </el-input> |
52 | </el-input> | ||
53 | </div> | ||
54 | ) | 52 | ) |
55 | } | 53 | } |
56 | }, | 54 | }, |
... | @@ -59,9 +57,9 @@ class data extends filter { | ... | @@ -59,9 +57,9 @@ class data extends filter { |
59 | label: '登记情形名称', | 57 | label: '登记情形名称', |
60 | render: (h, scope) => { | 58 | render: (h, scope) => { |
61 | return ( | 59 | return ( |
62 | <div> | 60 | <el-input placeholder="登记情形名称" value={scope.row[scope.column.property]} |
63 | <el-input placeholder="登记情形名称" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | 61 | onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}> |
64 | </div> | 62 | </el-input> |
65 | ) | 63 | ) |
66 | } | 64 | } |
67 | }, | 65 | }, |
... | @@ -83,10 +81,7 @@ class data extends filter { | ... | @@ -83,10 +81,7 @@ class data extends filter { |
83 | label: '登记原因模板', | 81 | label: '登记原因模板', |
84 | render: (h, scope) => { | 82 | render: (h, scope) => { |
85 | return ( | 83 | return ( |
86 | <div> | 84 | <el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input> |
87 | <el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | ||
88 | </div> | ||
89 | |||
90 | ) | 85 | ) |
91 | } | 86 | } |
92 | }, | 87 | }, |
... | @@ -145,7 +140,7 @@ class data extends filter { | ... | @@ -145,7 +140,7 @@ class data extends filter { |
145 | render: (h, scope) => { | 140 | render: (h, scope) => { |
146 | return ( | 141 | return ( |
147 | <el-input placeholder="材料编码" value={scope.row[scope.column.property]} | 142 | <el-input placeholder="材料编码" value={scope.row[scope.column.property]} |
148 | onInput={(val) => { scope.row[scope.column.property] = val }} maxlength="8"></el-input> | 143 | onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }} maxlength="8"></el-input> |
149 | ) | 144 | ) |
150 | } | 145 | } |
151 | }, | 146 | }, |
... | @@ -155,7 +150,7 @@ class data extends filter { | ... | @@ -155,7 +150,7 @@ class data extends filter { |
155 | render: (h, scope) => { | 150 | render: (h, scope) => { |
156 | return ( | 151 | return ( |
157 | <el-input placeholder="材料名称" value={scope.row[scope.column.property]} | 152 | <el-input placeholder="材料名称" value={scope.row[scope.column.property]} |
158 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | 153 | onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input> |
159 | ) | 154 | ) |
160 | } | 155 | } |
161 | }, | 156 | }, | ... | ... |
... | @@ -84,11 +84,12 @@ | ... | @@ -84,11 +84,12 @@ |
84 | </el-form> | 84 | </el-form> |
85 | <el-collapse class="modifycollapse" accordion> | 85 | <el-collapse class="modifycollapse" accordion> |
86 | <el-collapse-item title="登记情形设置" name="1"> | 86 | <el-collapse-item title="登记情形设置" name="1"> |
87 | <lb-table :column="djqxCol" border :pagination="false" heightNumSetting :data="form.djqx"> | 87 | <lb-table :column="djqxCol" :pagination="false" heightNumSetting :minHeight="160" :data="form.djqx"> |
88 | </lb-table> | 88 | </lb-table> |
89 | </el-collapse-item> | 89 | </el-collapse-item> |
90 | <el-collapse-item title="材料信息设置" name="2"> | 90 | <el-collapse-item title="材料信息设置" name="2"> |
91 | <lb-table :column="clxxCol" border heightNumSetting :pagination="false" :data="form.clxx"> | 91 | <lb-table :column="clxxCol" :heightNumSetting="true" :minHeight="160" |
92 | :pagination="false" :data="form.clxx"> | ||
92 | </lb-table> | 93 | </lb-table> |
93 | </el-collapse-item> | 94 | </el-collapse-item> |
94 | <el-collapse-item title="刷选权利设置" name="3" v-if="form.ywDetail.sfsxql == '1'"> | 95 | <el-collapse-item title="刷选权利设置" name="3" v-if="form.ywDetail.sfsxql == '1'"> |
... | @@ -142,6 +143,7 @@ | ... | @@ -142,6 +143,7 @@ |
142 | }, | 143 | }, |
143 | data () { | 144 | data () { |
144 | return { | 145 | return { |
146 | key: 0, | ||
145 | tn: 0, | 147 | tn: 0, |
146 | n: 0, | 148 | n: 0, |
147 | djlxList: [], | 149 | djlxList: [], |
... | @@ -150,6 +152,7 @@ | ... | @@ -150,6 +152,7 @@ |
150 | title: "", | 152 | title: "", |
151 | activeName: "1", | 153 | activeName: "1", |
152 | form: { | 154 | form: { |
155 | bsmSqyw: '', | ||
153 | ywDetail: {} | 156 | ywDetail: {} |
154 | }, | 157 | }, |
155 | djqxCol: datas.djqxCol(), | 158 | djqxCol: datas.djqxCol(), |
... | @@ -174,6 +177,9 @@ | ... | @@ -174,6 +177,9 @@ |
174 | } | 177 | } |
175 | }) | 178 | }) |
176 | }, | 179 | }, |
180 | orderNoChange () { | ||
181 | this.$forceUpdate(); | ||
182 | }, | ||
177 | uploadRecord (file) { | 183 | uploadRecord (file) { |
178 | this.requested = true | 184 | this.requested = true |
179 | this.files = file; | 185 | this.files = file; |
... | @@ -201,12 +207,17 @@ | ... | @@ -201,12 +207,17 @@ |
201 | getDetail (bsmSqyw) { | 207 | getDetail (bsmSqyw) { |
202 | getSqdjywDetail(bsmSqyw).then((res) => { | 208 | getSqdjywDetail(bsmSqyw).then((res) => { |
203 | if (res.code === 200) { | 209 | if (res.code === 200) { |
204 | this.form = res.result; | 210 | // this.form.bsmSqyw = res.result.bsmSqyw |
205 | console.log(this.form, 'this.formthis.formthis.form'); | 211 | // this.form.ywDetail = res.result.ywDetail |
212 | this.$set(this.form, 'djqx', res.result.djqx) | ||
213 | // this.$set(this.form, 'sxql', res.result.sxql) | ||
214 | this.$set(this.form, 'clxx', res.result.clxx) | ||
215 | // this.$set(this.form, 'sxzt', res.result.sxzt) | ||
216 | // this.$set(this.form, 'ywDetail', res.result.ywDetail) | ||
206 | } else { | 217 | } else { |
207 | this.$alert(res.message); | 218 | this.$alert(res.message) |
208 | } | 219 | } |
209 | }); | 220 | }) |
210 | }, | 221 | }, |
211 | //提交保存数据 | 222 | //提交保存数据 |
212 | submit () { | 223 | submit () { |
... | @@ -215,11 +226,11 @@ | ... | @@ -215,11 +226,11 @@ |
215 | if (res.code == 200) { | 226 | if (res.code == 200) { |
216 | that.$message({ | 227 | that.$message({ |
217 | message: "修改成功", | 228 | message: "修改成功", |
218 | type: "success", | 229 | type: "success" |
219 | }); | 230 | }); |
220 | this.$popupCacel() | 231 | this.$popupCacel() |
221 | } | 232 | } |
222 | }); | 233 | }) |
223 | }, | 234 | }, |
224 | // 上移下移 | 235 | // 上移下移 |
225 | moveUpward (index, row, type) { | 236 | moveUpward (index, row, type) { |
... | @@ -260,9 +271,9 @@ | ... | @@ -260,9 +271,9 @@ |
260 | }, | 271 | }, |
261 | removeClxx (index, row) { | 272 | removeClxx (index, row) { |
262 | this.form.clxx.splice(index, 1); | 273 | this.form.clxx.splice(index, 1); |
263 | }, | 274 | } |
264 | }, | 275 | } |
265 | }; | 276 | } |
266 | </script> | 277 | </script> |
267 | <style lang='scss' scoped> | 278 | <style lang='scss' scoped> |
268 | @import "~@/styles/mixin.scss"; | 279 | @import "~@/styles/mixin.scss"; | ... | ... |
-
Please register or sign in to post a comment