656fa3da by renchao@pashanhoo.com

style:登记薄详情代码整理

1 parent e184c474
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-10 10:33:47 4 * @LastEditTime: 2023-11-10 10:41:04
5 --> 5 -->
6 <template> 6 <template>
7 <div class="content"> 7 <div class="content">
...@@ -121,9 +121,8 @@ ...@@ -121,9 +121,8 @@
121 this.titleActive = -1 121 this.titleActive = -1
122 this.titleActive = this.activeName 122 this.titleActive = this.activeName
123 } else { 123 } else {
124 this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); 124 this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid))
125 this.activeName = this.sfqdata.length - 1; 125 this.activeName = this.sfqdata.length - 1
126
127 this.titleActive = this.activeName 126 this.titleActive = this.activeName
128 } 127 }
129 128
...@@ -136,18 +135,18 @@ ...@@ -136,18 +135,18 @@
136 this.sfqdata[0].children.forEach((item, index) => { 135 this.sfqdata[0].children.forEach((item, index) => {
137 if (item.id == this.defaultNode.id) { 136 if (item.id == this.defaultNode.id) {
138 this.isActive = index 137 this.isActive = index
139 this.loadComponent(item.form); 138 this.loadComponent(item.form)
140 } 139 }
141 }); 140 })
142 }); 141 })
143 } 142 }
144 }); 143 })
145 this.currentSelectProps = { 144 this.currentSelectProps = {
146 bdcdyid: val.bdcdyid, 145 bdcdyid: val.bdcdyid,
147 bdcdyh: val.bdcdyh, 146 bdcdyh: val.bdcdyh,
148 qllx: this.formData.qllx, 147 qllx: this.formData.qllx,
149 bsmQlxx: this.formData.bsmQlxx, 148 bsmQlxx: this.formData.bsmQlxx
150 }; 149 }
151 }, 150 },
152 /** 151 /**
153 * @description: loadData 152 * @description: loadData
......