Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
2 changed files
with
7 additions
and
5 deletions
| ... | @@ -259,7 +259,7 @@ class data extends filter { | ... | @@ -259,7 +259,7 @@ class data extends filter { |
| 259 | { | 259 | { |
| 260 | vm.form.djqx.map(option => { | 260 | vm.form.djqx.map(option => { |
| 261 | return ( | 261 | return ( |
| 262 | <el-option label={option.nodename} value={option.bsmSqyw}></el-option> | 262 | <el-option label={option.nodename} value={option.nodecode}></el-option> |
| 263 | ) | 263 | ) |
| 264 | }) | 264 | }) |
| 265 | } | 265 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-13 13:38:21 | 4 | * @LastEditTime: 2024-01-22 15:49:28 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| ... | @@ -111,7 +111,7 @@ | ... | @@ -111,7 +111,7 @@ |
| 111 | </lb-table> | 111 | </lb-table> |
| 112 | </el-collapse-item> | 112 | </el-collapse-item> |
| 113 | <el-collapse-item title="材料信息设置" name="2"> | 113 | <el-collapse-item title="材料信息设置" name="2"> |
| 114 | <lb-table :column="clxxList" :heightNumSetting="true" :minHeight="160" | 114 | <lb-table :column="clxxList" :heightNumSetting="true" :key="cLkey" :minHeight="160" |
| 115 | :pagination="false" :data="form.clxx"> | 115 | :pagination="false" :data="form.clxx"> |
| 116 | </lb-table> | 116 | </lb-table> |
| 117 | </el-collapse-item> | 117 | </el-collapse-item> |
| ... | @@ -169,6 +169,7 @@ | ... | @@ -169,6 +169,7 @@ |
| 169 | }, | 169 | }, |
| 170 | data () { | 170 | data () { |
| 171 | return { | 171 | return { |
| 172 | cLkey: 0, | ||
| 172 | loading: false, | 173 | loading: false, |
| 173 | key: 0, | 174 | key: 0, |
| 174 | tn: 0, | 175 | tn: 0, |
| ... | @@ -211,7 +212,6 @@ | ... | @@ -211,7 +212,6 @@ |
| 211 | } | 212 | } |
| 212 | }, | 213 | }, |
| 213 | methods: { | 214 | methods: { |
| 214 | //页面初始化 | ||
| 215 | /** | 215 | /** |
| 216 | * @description: 页面初始化 | 216 | * @description: 页面初始化 |
| 217 | * @author: renchao | 217 | * @author: renchao |
| ... | @@ -233,6 +233,7 @@ | ... | @@ -233,6 +233,7 @@ |
| 233 | } | 233 | } |
| 234 | }) | 234 | }) |
| 235 | } | 235 | } |
| 236 | console.log(this.clxxList); | ||
| 236 | }, | 237 | }, |
| 237 | /** | 238 | /** |
| 238 | * @description: orderNoChange | 239 | * @description: orderNoChange |
| ... | @@ -289,7 +290,7 @@ | ... | @@ -289,7 +290,7 @@ |
| 289 | getSqdjywDetail(bsmSqyw).then((res) => { | 290 | getSqdjywDetail(bsmSqyw).then((res) => { |
| 290 | if (res.code === 200) { | 291 | if (res.code === 200) { |
| 291 | this.form = res.result; | 292 | this.form = res.result; |
| 292 | console.log(this.form.clxx); | 293 | console.log(this.form); |
| 293 | if (that.formData.sqfl == "2") { | 294 | if (that.formData.sqfl == "2") { |
| 294 | that.form.ywmcList = that.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw })) | 295 | that.form.ywmcList = that.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw })) |
| 295 | } | 296 | } |
| ... | @@ -384,6 +385,7 @@ | ... | @@ -384,6 +385,7 @@ |
| 384 | */ | 385 | */ |
| 385 | removeDjqx (index, row) { | 386 | removeDjqx (index, row) { |
| 386 | this.form.djqx.splice(index, 1); | 387 | this.form.djqx.splice(index, 1); |
| 388 | this.cLkey++ | ||
| 387 | }, | 389 | }, |
| 388 | /** | 390 | /** |
| 389 | * @description: addClxx | 391 | * @description: addClxx | ... | ... |
-
Please register or sign in to post a comment