修改税务合同信息
Showing
6 changed files
with
309 additions
and
22 deletions
... | @@ -34,4 +34,30 @@ export function loadQlrxx (bsmSldy) { | ... | @@ -34,4 +34,30 @@ export function loadQlrxx (bsmSldy) { |
34 | bsmSldy: bsmSldy | 34 | bsmSldy: bsmSldy |
35 | } | 35 | } |
36 | }) | 36 | }) |
37 | } | ||
38 | |||
39 | /** | ||
40 | * @description: 查询房产交易合同信息 | ||
41 | * @param {*} bsmSldy | ||
42 | * @author: renchao | ||
43 | */ | ||
44 | export function queryTransactionDetails (data) { | ||
45 | return request({ | ||
46 | url: SERVER.SERVERAPI + '/rest/ywbl/swhtxx/queryTransactionDetails', | ||
47 | method: 'post', | ||
48 | data | ||
49 | }) | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * @description: 契税完税信息共享 | ||
54 | * @param {*} bsmSldy | ||
55 | * @author: renchao | ||
56 | */ | ||
57 | export function querySwwsxx (data) { | ||
58 | return request({ | ||
59 | url: SERVER.SERVERAPI + '/rest/ywbl/swhtxx/querySwwsxx', | ||
60 | method: 'post', | ||
61 | data | ||
62 | }) | ||
37 | } | 63 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
src/views/workflow/main/sdqxx/dlxx.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: 交易合同 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-03-21 16:58:45 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class='jyht'> | ||
8 | <el-form :model="queryForm"> | ||
9 | <el-row :gutter="10"> | ||
10 | <el-col :span="6"> | ||
11 | <el-form-item label="合同号"> | ||
12 | <el-input v-model="queryForm.htbh"></el-input> | ||
13 | </el-form-item> | ||
14 | </el-col> | ||
15 | <!-- <el-col :span="6"> | ||
16 | <el-form-item label="证件号码"> | ||
17 | <el-input v-model="queryForm.sfzjhm"></el-input> | ||
18 | </el-form-item> | ||
19 | </el-col> | ||
20 | <el-col :span="6"> | ||
21 | <el-form-item label="业务号"> | ||
22 | <el-input v-model="queryForm.ywh"></el-input> | ||
23 | </el-form-item> | ||
24 | </el-col> --> | ||
25 | <!-- <el-col :span="6" class="btnColRight"> | ||
26 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
27 | </el-col> --> | ||
28 | </el-row> | ||
29 | </el-form> | ||
30 | |||
31 | <lb-table ref="table" @row-click="handleRowClick" :pagination="false" :key="key" | ||
32 | :column="tableData.columns" | ||
33 | :data="tableData.data"> | ||
34 | </lb-table> | ||
35 | <div class="text-center"> | ||
36 | <el-button @click="$popupCacel">取消</el-button> | ||
37 | <!-- <el-button type="primary" @click="handleSubmit" plain>保存</el-button> --> | ||
38 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
39 | </div> | ||
40 | </div> | ||
41 | </template> | ||
42 | <script> | ||
43 | import store from '@/store/index.js' | ||
44 | import { loadQlrxx,queryTransactionDetails } from "@/api/workflow/swhtxx.js"; | ||
45 | export default { | ||
46 | props: { | ||
47 | formData: { | ||
48 | type: Object, | ||
49 | default: {} | ||
50 | } | ||
51 | }, | ||
52 | components: {}, | ||
53 | data () { | ||
54 | return { | ||
55 | key: 0, | ||
56 | radioVal: '', | ||
57 | queryForm: { | ||
58 | htbh: '', | ||
59 | sfzjhm: '', | ||
60 | ywh: '' | ||
61 | }, | ||
62 | tableData: { | ||
63 | data: [], | ||
64 | columns: [ | ||
65 | { | ||
66 | label: '选择', | ||
67 | width: '50px', | ||
68 | render: (h, scope) => { | ||
69 | return ( | ||
70 | <div class="orgColumn"> | ||
71 | <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bsmSqr}> | ||
72 |   | ||
73 | </el-radio> | ||
74 | </div> | ||
75 | ) | ||
76 | } | ||
77 | }, | ||
78 | { | ||
79 | prop: 'sqrmc', | ||
80 | label: '权利人名称', | ||
81 | }, | ||
82 | { | ||
83 | prop: 'zjzlmc', | ||
84 | label: '证件种类' | ||
85 | }, | ||
86 | { | ||
87 | prop: 'zjh', | ||
88 | label: '证件号码' | ||
89 | }, | ||
90 | { | ||
91 | prop: 'dh', | ||
92 | label: '联系电话' | ||
93 | } | ||
94 | ] | ||
95 | } | ||
96 | } | ||
97 | }, | ||
98 | mounted () { | ||
99 | this.loadData() | ||
100 | }, | ||
101 | methods: { | ||
102 | handleRowClick (val) { | ||
103 | this.radioVal = row.bsmSqr; | ||
104 | this.queryForm.nsrmc= row.sqrmc; | ||
105 | this.queryForm.sfzjhm= row.zjh; | ||
106 | }, | ||
107 | handleSearch () { | ||
108 | queryTransactionDetails(this.queryForm).then(res => { | ||
109 | if (res.code === 200 && res.result){ | ||
110 | |||
111 | } | ||
112 | }) | ||
113 | }, | ||
114 | handleChange (row) { | ||
115 | this.radioVal = row.bsmSqr; | ||
116 | this.queryForm.nsrmc= row.sqrmc; | ||
117 | this.queryForm.sfzjhm= row.zjh; | ||
118 | }, | ||
119 | loadData () { | ||
120 | function findValueByKey (array, keyToFind) { | ||
121 | var foundItem = array.find(function (item) { | ||
122 | return item.dcode === keyToFind; | ||
123 | }); | ||
124 | |||
125 | return foundItem ? foundItem.dname : undefined; | ||
126 | } | ||
127 | this.queryForm.htbh=this.formData.htbh; | ||
128 | this.queryForm.qxdm=this.formData.qxdm; | ||
129 | this.queryForm.bsmQlxx=this.formData.bsmQlxx; | ||
130 | loadQlrxx(this.formData.bsmSldy).then(res => { | ||
131 | let arr = store.getters.dictData['A30'] | ||
132 | this.tableData.data = res.result | ||
133 | this.tableData.data.forEach(item => { | ||
134 | if (item.zjzl) { | ||
135 | item.zjzlmc = findValueByKey(arr, item.zjzl); | ||
136 | } | ||
137 | }) | ||
138 | this.key++ | ||
139 | }) | ||
140 | } | ||
141 | } | ||
142 | } | ||
143 | </script> | ||
144 | <style scoped lang='scss'> | ||
145 | @import "~@/styles/public.scss"; | ||
146 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -212,7 +212,9 @@ export default { | ... | @@ -212,7 +212,9 @@ export default { |
212 | if (res.result.wqht == null) { | 212 | if (res.result.wqht == null) { |
213 | return; | 213 | return; |
214 | } | 214 | } |
215 | this.dlxxForm = JSON.parse(res.result.wqht.dlnr); | 215 | if (res.result.wqht.dlnr != "" && res.result.wqht.dlnr != null) { |
216 | this.dlxxForm = JSON.parse(res.result.wqht.dlnr); | ||
217 | } | ||
216 | } | 218 | } |
217 | } | 219 | } |
218 | }); | 220 | }); | ... | ... |
... | @@ -65,10 +65,11 @@ | ... | @@ -65,10 +65,11 @@ |
65 | </el-row> | 65 | </el-row> |
66 | <div class="slxx_title title-block"> | 66 | <div class="slxx_title title-block"> |
67 | <el-row> | 67 | <el-row> |
68 | <el-col :span="20"> 房屋合同信息 </el-col> | 68 | <el-col :span="24"> 房屋合同信息 |
69 | <el-col :span="4" class="btnColRight"> | 69 | <el-button type="primary" @click="handleContract">查询房屋交易合同</el-button> </el-col> |
70 | <el-button type="primary" @click="handleContract">查询房屋交易合同</el-button> | 70 | <!-- <el-col :span="4" class="btnColRight"> |
71 | </el-col> | 71 | |
72 | </el-col> --> | ||
72 | </el-row> | 73 | </el-row> |
73 | <div class="triangle"></div> | 74 | <div class="triangle"></div> |
74 | </div> | 75 | </div> |
... | @@ -179,8 +180,11 @@ | ... | @@ -179,8 +180,11 @@ |
179 | :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25' | 180 | :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25' |
180 | :data="ywrList"> | 181 | :data="ywrList"> |
181 | </lb-table> | 182 | </lb-table> |
183 | |||
182 | <div class="slxx_title title-block"> | 184 | <div class="slxx_title title-block"> |
183 | 缴税信息 | 185 | <el-row> |
186 | <el-col :span="24"> 缴税信息 <el-button type="primary" @click="handleSwwsxx">查询契税完税信息</el-button></el-col> | ||
187 | </el-row> | ||
184 | <div class="triangle"></div> | 188 | <div class="triangle"></div> |
185 | </div> | 189 | </div> |
186 | <lb-table | 190 | <lb-table |
... | @@ -304,7 +308,31 @@ | ... | @@ -304,7 +308,31 @@ |
304 | }) | 308 | }) |
305 | }, | 309 | }, |
306 | handleContract () { | 310 | handleContract () { |
307 | this.$popupDialog('合同信息', 'workflow/main/swxx/jyht', { bsmSldy: this.propsParam.bsmSldy }, '60%', true) | 311 | let formData = { |
312 | bsmSldy: this.propsParam.bsmSldy, | ||
313 | qxdm: this.ruleForm.qlxx.qxdm, | ||
314 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
315 | }; | ||
316 | if(this.ruleForm.wqht==null){ | ||
317 | formData.htbh=''; | ||
318 | }else{ | ||
319 | formData.htbh=this.ruleForm.wqht.wqhth; | ||
320 | } | ||
321 | this.$popupDialog('查询房产交易合同信息', 'workflow/main/swxx/jyht', formData, '60%', true) | ||
322 | }, | ||
323 | handleSwwsxx () { | ||
324 | let formData = { | ||
325 | bsmSldy: this.propsParam.bsmSldy, | ||
326 | qxdm: this.ruleForm.qlxx.qxdm, | ||
327 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
328 | ywh: this.ruleForm.qlxx.ywh, | ||
329 | }; | ||
330 | if(this.ruleForm.wqht==null){ | ||
331 | formData.htbh=''; | ||
332 | }else{ | ||
333 | formData.htbh=this.ruleForm.wqht.wqhth; | ||
334 | } | ||
335 | this.$popupDialog('查询契税完税信息共享', 'workflow/main/swxx/swwsxx', formData, '60%', true) | ||
308 | } | 336 | } |
309 | } | 337 | } |
310 | } | 338 | } | ... | ... |
... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
12 | <el-input v-model="queryForm.htbh"></el-input> | 12 | <el-input v-model="queryForm.htbh"></el-input> |
13 | </el-form-item> | 13 | </el-form-item> |
14 | </el-col> | 14 | </el-col> |
15 | <el-col :span="6"> | 15 | <!-- <el-col :span="6"> |
16 | <el-form-item label="证件号码"> | 16 | <el-form-item label="证件号码"> |
17 | <el-input v-model="queryForm.sfzjhm"></el-input> | 17 | <el-input v-model="queryForm.sfzjhm"></el-input> |
18 | </el-form-item> | 18 | </el-form-item> |
... | @@ -21,10 +21,10 @@ | ... | @@ -21,10 +21,10 @@ |
21 | <el-form-item label="业务号"> | 21 | <el-form-item label="业务号"> |
22 | <el-input v-model="queryForm.ywh"></el-input> | 22 | <el-input v-model="queryForm.ywh"></el-input> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> --> |
25 | <el-col :span="6" class="btnColRight"> | 25 | <!-- <el-col :span="6" class="btnColRight"> |
26 | <el-button type="primary" @click="handleSearch">查询</el-button> | 26 | <el-button type="primary" @click="handleSearch">查询</el-button> |
27 | </el-col> | 27 | </el-col> --> |
28 | </el-row> | 28 | </el-row> |
29 | </el-form> | 29 | </el-form> |
30 | 30 | ||
... | @@ -34,13 +34,14 @@ | ... | @@ -34,13 +34,14 @@ |
34 | </lb-table> | 34 | </lb-table> |
35 | <div class="text-center"> | 35 | <div class="text-center"> |
36 | <el-button @click="$popupCacel">取消</el-button> | 36 | <el-button @click="$popupCacel">取消</el-button> |
37 | <el-button type="primary" @click="handleSubmit" plain>保存</el-button> | 37 | <!-- <el-button type="primary" @click="handleSubmit" plain>保存</el-button> --> |
38 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
38 | </div> | 39 | </div> |
39 | </div> | 40 | </div> |
40 | </template> | 41 | </template> |
41 | <script> | 42 | <script> |
42 | import store from '@/store/index.js' | 43 | import store from '@/store/index.js' |
43 | import { loadQlrxx } from "@/api/workflow/swhtxx.js"; | 44 | import { loadQlrxx,queryTransactionDetails } from "@/api/workflow/swhtxx.js"; |
44 | export default { | 45 | export default { |
45 | props: { | 46 | props: { |
46 | formData: { | 47 | formData: { |
... | @@ -91,24 +92,31 @@ | ... | @@ -91,24 +92,31 @@ |
91 | label: '联系电话' | 92 | label: '联系电话' |
92 | } | 93 | } |
93 | ] | 94 | ] |
94 | }, | ||
95 | queryForm: { | ||
96 | hth: '' | ||
97 | } | 95 | } |
98 | } | 96 | } |
99 | }, | 97 | }, |
100 | mounted () { | 98 | mounted () { |
101 | this.handleSearch() | 99 | this.loadData() |
102 | }, | 100 | }, |
103 | methods: { | 101 | methods: { |
104 | handleRowClick (val) { | 102 | handleRowClick (val) { |
105 | this.radioVal = row.bsmSqr | 103 | this.radioVal = row.bsmSqr; |
104 | this.queryForm.nsrmc= row.sqrmc; | ||
105 | this.queryForm.sfzjhm= row.zjh; | ||
106 | }, | ||
107 | handleSearch () { | ||
108 | queryTransactionDetails(this.queryForm).then(res => { | ||
109 | if (res.code === 200 && res.result){ | ||
110 | |||
111 | } | ||
112 | }) | ||
106 | }, | 113 | }, |
107 | handleSubmit () { }, | ||
108 | handleChange (row) { | 114 | handleChange (row) { |
109 | this.radioVal = row.bsmSqr | 115 | this.radioVal = row.bsmSqr; |
116 | this.queryForm.nsrmc= row.sqrmc; | ||
117 | this.queryForm.sfzjhm= row.zjh; | ||
110 | }, | 118 | }, |
111 | handleSearch () { | 119 | loadData () { |
112 | function findValueByKey (array, keyToFind) { | 120 | function findValueByKey (array, keyToFind) { |
113 | var foundItem = array.find(function (item) { | 121 | var foundItem = array.find(function (item) { |
114 | return item.dcode === keyToFind; | 122 | return item.dcode === keyToFind; |
... | @@ -116,7 +124,9 @@ | ... | @@ -116,7 +124,9 @@ |
116 | 124 | ||
117 | return foundItem ? foundItem.dname : undefined; | 125 | return foundItem ? foundItem.dname : undefined; |
118 | } | 126 | } |
119 | 127 | this.queryForm.htbh=this.formData.htbh; | |
128 | this.queryForm.qxdm=this.formData.qxdm; | ||
129 | this.queryForm.bsmQlxx=this.formData.bsmQlxx; | ||
120 | loadQlrxx(this.formData.bsmSldy).then(res => { | 130 | loadQlrxx(this.formData.bsmSldy).then(res => { |
121 | let arr = store.getters.dictData['A30'] | 131 | let arr = store.getters.dictData['A30'] |
122 | this.tableData.data = res.result | 132 | this.tableData.data = res.result | ... | ... |
src/views/workflow/main/swxx/swwsxx.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: 交易合同 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-03-21 16:58:45 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class='jyht'> | ||
8 | <el-form :model="queryForm"> | ||
9 | <el-row :gutter="10"> | ||
10 | <el-col :span="8"> | ||
11 | <el-form-item label="合同号"> | ||
12 | <el-input v-model="queryForm.htbh"></el-input> | ||
13 | </el-form-item> | ||
14 | </el-col> | ||
15 | <el-col :span="8"> | ||
16 | <el-form-item label="业务号"> | ||
17 | <el-input v-model="queryForm.ywh"></el-input> | ||
18 | </el-form-item> | ||
19 | </el-col> | ||
20 | </el-row> | ||
21 | </el-form> | ||
22 | <div class="text-center"> | ||
23 | <el-button @click="$popupCacel">取消</el-button> | ||
24 | <!-- <el-button type="primary" @click="handleSubmit" plain>保存</el-button> --> | ||
25 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
26 | </div> | ||
27 | </div> | ||
28 | </template> | ||
29 | <script> | ||
30 | import store from '@/store/index.js' | ||
31 | import { loadQlrxx,querySwwsxx } from "@/api/workflow/swhtxx.js"; | ||
32 | export default { | ||
33 | props: { | ||
34 | formData: { | ||
35 | type: Object, | ||
36 | default: {} | ||
37 | } | ||
38 | }, | ||
39 | components: {}, | ||
40 | data () { | ||
41 | return { | ||
42 | key: 0, | ||
43 | radioVal: '', | ||
44 | queryForm: { | ||
45 | htbh: '', | ||
46 | sfzjhm: '', | ||
47 | ywh: '' | ||
48 | } | ||
49 | } | ||
50 | }, | ||
51 | mounted () { | ||
52 | this.loadData() | ||
53 | }, | ||
54 | methods: { | ||
55 | |||
56 | handleSearch () { | ||
57 | querySwwsxx(this.queryForm).then(res => { | ||
58 | if (res.code === 200 && res.result){ | ||
59 | |||
60 | } | ||
61 | }) | ||
62 | }, | ||
63 | |||
64 | loadData () { | ||
65 | this.queryForm.htbh=this.formData.htbh; | ||
66 | this.queryForm.qxdm=this.formData.qxdm; | ||
67 | this.queryForm.ywh=this.formData.ywh; | ||
68 | this.queryForm.bsmQlxx=this.formData.bsmQlxx; | ||
69 | } | ||
70 | } | ||
71 | } | ||
72 | </script> | ||
73 | <style scoped lang='scss'> | ||
74 | @import "~@/styles/public.scss"; | ||
75 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment