111
Showing
2 changed files
with
104 additions
and
76 deletions
... | @@ -191,7 +191,7 @@ export default { | ... | @@ -191,7 +191,7 @@ export default { |
191 | // this.loading = true | 191 | // this.loading = true |
192 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; | 192 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
193 | this.propsParam = this.$attrs; | 193 | this.propsParam = this.$attrs; |
194 | this.getDlxxByBsmSldy(); | 194 | this.loadData(); |
195 | }, | 195 | }, |
196 | data() { | 196 | data() { |
197 | return { | 197 | return { |
... | @@ -204,22 +204,23 @@ export default { | ... | @@ -204,22 +204,23 @@ export default { |
204 | }; | 204 | }; |
205 | }, | 205 | }, |
206 | methods: { | 206 | methods: { |
207 | getDlxxByBsmSldy() { | 207 | loadData() { |
208 | getDetail(this.propsParam.bsmSldy).then((res) => { | 208 | getDetail(this.propsParam.bsmSldy).then((res) => { |
209 | if (res.code === 200) { | 209 | if (res.code === 200) { |
210 | if (res.result != null) { | 210 | if (res.result != null) { |
211 | this.ruleForm = res.result; | 211 | this.ruleForm = res.result; |
212 | if (res.result.wqht == null) { | ||
213 | return; | ||
214 | } | ||
212 | this.dlxxForm = JSON.parse(res.result.wqht.dlnr); | 215 | this.dlxxForm = JSON.parse(res.result.wqht.dlnr); |
213 | } | 216 | } |
214 | } | 217 | } |
215 | }); | 218 | }); |
216 | }, | 219 | }, |
217 | onSubmit() { | 220 | onSubmit() {}, |
218 | |||
219 | }, | ||
220 | showDialogDlxx() { | 221 | showDialogDlxx() { |
221 | this.dialogDlxx = true; | 222 | this.dialogDlxx = true; |
222 | } | 223 | }, |
223 | }, | 224 | }, |
224 | }; | 225 | }; |
225 | </script> | 226 | </script> | ... | ... |
... | @@ -6,7 +6,8 @@ | ... | @@ -6,7 +6,8 @@ |
6 | v-Loading="loading" | 6 | v-Loading="loading" |
7 | :label-position="flag ? 'top' : ''" | 7 | :label-position="flag ? 'top' : ''" |
8 | :inline="flag" | 8 | :inline="flag" |
9 | label-width="120px"> | 9 | label-width="120px" |
10 | > | ||
10 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> | 11 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> |
11 | <div class="slxx_title title-block"> | 12 | <div class="slxx_title title-block"> |
12 | 申请信息 | 13 | 申请信息 |
... | @@ -65,9 +66,7 @@ | ... | @@ -65,9 +66,7 @@ |
65 | </el-row> | 66 | </el-row> |
66 | <div class="slxx_title title-block"> | 67 | <div class="slxx_title title-block"> |
67 | <el-row> | 68 | <el-row> |
68 | <el-col :span="20"> | 69 | <el-col :span="20"> 房屋合同信息 </el-col> |
69 | 房屋合同信息 | ||
70 | </el-col> | ||
71 | <el-col :span="4"> | 70 | <el-col :span="4"> |
72 | <el-button @click="compare">查询房屋交易合同</el-button> | 71 | <el-button @click="compare">查询房屋交易合同</el-button> |
73 | </el-col> | 72 | </el-col> |
... | @@ -141,7 +140,6 @@ | ... | @@ -141,7 +140,6 @@ |
141 | <el-input disabled v-model="fwxx.HTH"></el-input> | 140 | <el-input disabled v-model="fwxx.HTH"></el-input> |
142 | </el-form-item> | 141 | </el-form-item> |
143 | </el-col> | 142 | </el-col> |
144 | |||
145 | </el-row> | 143 | </el-row> |
146 | <el-row :gutter="10"> | 144 | <el-row :gutter="10"> |
147 | <el-col :span="8"> | 145 | <el-col :span="8"> |
... | @@ -160,146 +158,175 @@ | ... | @@ -160,146 +158,175 @@ |
160 | </el-form-item> | 158 | </el-form-item> |
161 | </el-col> | 159 | </el-col> |
162 | </el-row> | 160 | </el-row> |
163 | <div class="slxx_title title-block"> | 161 | <!-- <div class="slxx_title title-block"> |
164 | 买受人信息 | 162 | 买受人信息 |
165 | <div class="triangle"></div> | 163 | <div class="triangle"></div> |
166 | </div> | 164 | </div> |
167 | <lb-table :column="clmSqr" :pagination="false" :heightNumSetting="true" | 165 | <lb-table |
168 | :data="qlrList"> | 166 | :column="clmMsr" |
169 | </lb-table> | 167 | :pagination="false" |
170 | <div class="slxx_title title-block"> | 168 | :heightNumSetting="true" |
169 | :data="qlrList" | ||
170 | > | ||
171 | </lb-table> --> | ||
172 | <!-- <div class="slxx_title title-block"> | ||
171 | 出卖人信息 | 173 | 出卖人信息 |
172 | <div class="triangle"></div> | 174 | <div class="triangle"></div> |
173 | </div> | 175 | </div> |
174 | <lb-table :column="clmSqr" :pagination="false" :heightNumSetting="true" | 176 | <lb-table |
175 | :data="ywrList"> | 177 | :column="clmCmr" |
176 | </lb-table> | 178 | :pagination="false" |
177 | <div class="slxx_title title-block"> | 179 | :heightNumSetting="true" |
180 | :data="ywrList" | ||
181 | > | ||
182 | </lb-table> --> | ||
183 | <!-- <div class="slxx_title title-block"> | ||
178 | 缴税信息 | 184 | 缴税信息 |
179 | <div class="triangle"></div> | 185 | <div class="triangle"></div> |
180 | </div> | 186 | </div> |
181 | <lb-table :column="clmSwxx" :pagination="false" :heightNumSetting="true" | 187 | <lb-table |
182 | :data="swxxList"> | 188 | :column="clmSwxx" |
183 | </lb-table> | 189 | :pagination="false" |
190 | :heightNumSetting="true" | ||
191 | :data="swxxList" | ||
192 | > | ||
193 | </lb-table> --> | ||
184 | </div> | 194 | </div> |
185 | </el-form> | 195 | </el-form> |
186 | </div> | 196 | </div> |
187 | </template> | 197 | </template> |
188 | <script> | 198 | <script> |
189 | import { getDetail } from "@/api/workflow/swhtxx.js"; | 199 | import { getDetail } from "@/api/workflow/swhtxx.js"; |
190 | import { mapGetters } from "vuex"; | 200 | import { mapGetters } from "vuex"; |
191 | export default { | 201 | export default { |
192 | computed: { | 202 | computed: { |
193 | ...mapGetters(["dictData", "flag"]), | 203 | ...mapGetters(["dictData", "flag"]), |
194 | }, | 204 | }, |
195 | mounted () { | 205 | mounted() { |
196 | let that = this; | ||
197 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; | 206 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
198 | this.propsParam = this.$attrs; | 207 | this.propsParam = this.$attrs; |
199 | getDetail(this.propsParam.bsmSldy).then((res) => { | 208 | this.loadData(); |
200 | if (res.code === 200 && res.result) { | ||
201 | that.ruleForm = res.result; | ||
202 | if(res.result.wqht==null){ | ||
203 | return; | ||
204 | } | ||
205 | if(res.result.wqht.htnr!="" && res.result.wqht.htnr!=null){ | ||
206 | let htxx= JSON.parse(res.result.wqht.htnr); | ||
207 | that.fwxx = htxx[0].h[0]; | ||
208 | that.qlrList = htxx[1].msr; | ||
209 | that.ywrList = htxx[2].cmr; | ||
210 | } | ||
211 | if(res.result.wqht.jsnr!="" && res.result.wqht.jsnr!=null){ | ||
212 | that.swxxList= JSON.parse(res.result.wqht.jsnr); | ||
213 | } | ||
214 | } | ||
215 | }); | ||
216 | }, | 209 | }, |
217 | data () { | 210 | data() { |
218 | return { | 211 | return { |
219 | ruleForm: {}, | 212 | ruleForm: {}, |
220 | loading: false, | 213 | loading: false, |
221 | //表单是否可操作 | 214 | //表单是否可操作 |
222 | viewEdit: false, | 215 | viewEdit: false, |
223 | clmSqr: [ | 216 | clmMsr: [ |
217 | { | ||
218 | prop: "NSRMC", | ||
219 | label: "名称", | ||
220 | }, | ||
221 | { | ||
222 | prop: "ZJZL_DM", | ||
223 | label: "证件种类", | ||
224 | }, | ||
225 | { | ||
226 | prop: "ZJHM", | ||
227 | label: "证件号码", | ||
228 | }, | ||
229 | { | ||
230 | prop: "LXDH", | ||
231 | label: "联系电话", | ||
232 | }, | ||
233 | ], | ||
234 | clmCmr: [ | ||
224 | { | 235 | { |
225 | prop: "NSRMC", | 236 | prop: "NSRMC", |
226 | label: "名称" | 237 | label: "名称", |
227 | }, | 238 | }, |
228 | { | 239 | { |
229 | prop: "ZJZL_DM", | 240 | prop: "ZJZL_DM", |
230 | label: "证件种类" | 241 | label: "证件种类", |
231 | }, | 242 | }, |
232 | { | 243 | { |
233 | prop: "ZJHM", | 244 | prop: "ZJHM", |
234 | label: "证件号码" | 245 | label: "证件号码", |
235 | }, | 246 | }, |
236 | { | 247 | { |
237 | prop: "LXDH", | 248 | prop: "LXDH", |
238 | label: "联系电话" | 249 | label: "联系电话", |
239 | }, | 250 | }, |
240 | ], | 251 | ], |
241 | clmSwxx: [ | 252 | clmSwxx: [ |
242 | { | 253 | { |
243 | prop: "ywslh", | 254 | prop: "ywslh", |
244 | label: "业务受理号" | 255 | label: "业务受理号", |
245 | }, | 256 | }, |
246 | { | 257 | { |
247 | prop: "kprq", | 258 | prop: "kprq", |
248 | label: "开票日期" | 259 | label: "开票日期", |
249 | }, | 260 | }, |
250 | { | 261 | { |
251 | prop: "sjje", | 262 | prop: "sjje", |
252 | label: "实缴金额" | 263 | label: "实缴金额", |
253 | }, | 264 | }, |
254 | { | 265 | { |
255 | prop: "pzxh", | 266 | prop: "pzxh", |
256 | label: "凭证序号" | 267 | label: "凭证序号", |
257 | }, | 268 | }, |
258 | { | 269 | { |
259 | prop: 'skssqq', | 270 | prop: "skssqq", |
260 | label: "税款所属日期起" | 271 | label: "税款所属日期起", |
261 | }, | 272 | }, |
262 | { | 273 | { |
263 | prop: "skssqz", | 274 | prop: "skssqz", |
264 | label: "税款所属日期止" | 275 | label: "税款所属日期止", |
265 | }, | 276 | }, |
266 | { | 277 | { |
267 | prop: "zsxmdm", | 278 | prop: "zsxmdm", |
268 | label: "征收项目代码" | 279 | label: "征收项目代码", |
269 | }, | 280 | }, |
270 | { | 281 | { |
271 | prop: "zsxmmc", | 282 | prop: "zsxmmc", |
272 | label: "征收项目名称" | 283 | label: "征收项目名称", |
273 | }, | 284 | }, |
274 | { | 285 | { |
275 | prop: "zspmdm", | 286 | prop: "zspmdm", |
276 | label: "征收品目代码" | 287 | label: "征收品目代码", |
277 | }, | 288 | }, |
278 | { | 289 | { |
279 | prop: "zspmmc", | 290 | prop: "zspmmc", |
280 | label: "征收品目名称" | 291 | label: "征收品目名称", |
281 | }, | 292 | }, |
282 | { | 293 | { |
283 | prop: "rkrq", | 294 | prop: "rkrq", |
284 | label: "入库日期" | 295 | label: "入库日期", |
285 | } | ||
286 | |||
287 | ], | ||
288 | ruleForm: { | ||
289 | tableDataList: [] | ||
290 | }, | 296 | }, |
291 | qlrList:[], | 297 | ], |
292 | ywrList:[], | 298 | ruleForm: {}, |
293 | fwxx:{}, | 299 | qlrList: [], |
294 | swxxList:{} | 300 | ywrList: [], |
295 | } | 301 | fwxx: {}, |
302 | swxxList: {}, | ||
303 | }; | ||
296 | }, | 304 | }, |
297 | methods: { | 305 | methods: { |
298 | onSubmit () { } | 306 | onSubmit() {}, |
307 | loadData() { | ||
308 | getDetail(this.propsParam.bsmSldy).then((res) => { | ||
309 | if (res.code === 200 && res.result) { | ||
310 | this.ruleForm = res.result; | ||
311 | if (res.result.wqht == null) { | ||
312 | return; | ||
313 | } | ||
314 | if (res.result.wqht.htnr != "" && res.result.wqht.htnr != null) { | ||
315 | let htxx = JSON.parse(res.result.wqht.htnr); | ||
316 | this.fwxx = htxx[0].h[0]; | ||
317 | this.qlrList = htxx[1].msr; | ||
318 | this.ywrList = htxx[2].cmr; | ||
299 | } | 319 | } |
320 | if (res.result.wqht.jsnr != "" && res.result.wqht.jsnr != null) { | ||
321 | this.swxxList = JSON.parse(res.result.wqht.jsnr); | ||
300 | } | 322 | } |
323 | } | ||
324 | }); | ||
325 | }, | ||
326 | }, | ||
327 | }; | ||
301 | </script> | 328 | </script> |
302 | <style scoped lang="scss"> | 329 | <style scoped lang="scss"> |
303 | @import "~@/styles/public.scss"; | 330 | @import "~@/styles/public.scss"; |
304 | @import "~@/styles/slxx/slxx.scss"; | 331 | @import "~@/styles/slxx/slxx.scss"; |
305 | </style> | 332 | </style> | ... | ... |
-
Please register or sign in to post a comment