dc43bdec by renchao@pashanhoo.com

Merge branch 'dev'

2 parents d0253ddb a1940cef
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2024-03-21 15:43:56
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 8
...@@ -8,11 +13,51 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap ...@@ -8,11 +13,51 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap
8 * @author: renchao 13 * @author: renchao
9 */ 14 */
10 export function getDetail (bsmSldy) { 15 export function getDetail (bsmSldy) {
11 return request({
12 url: SERVER.SERVERAPI + '/rest/ywbl/swhtxx/getDetail',
13 method: 'get',
14 params: {
15 bsmSldy: bsmSldy
16 }
17 })
18 }
...\ No newline at end of file ...\ No newline at end of file
16 return request({
17 url: SERVER.SERVERAPI + '/rest/ywbl/swhtxx/getDetail',
18 method: 'get',
19 params: {
20 bsmSldy: bsmSldy
21 }
22 })
23 }
24 /**
25 * @description: 读取权利人信息
26 * @param {*} bsmSldy
27 * @author: renchao
28 */
29 export function loadQlrxx (bsmSldy) {
30 return request({
31 url: SERVER.SERVERAPI + '/rest/ywbl/swhtxx/loadQlrxx',
32 method: 'get',
33 params: {
34 bsmSldy: bsmSldy
35 }
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 })
63 }
...\ No newline at end of file ...\ No newline at end of file
......
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 &ensp;
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 });
......
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
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 >
11 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 10 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
12 <div class="slxx_title title-block"> 11 <div class="slxx_title title-block">
13 申请信息 12 申请信息
...@@ -66,10 +65,11 @@ ...@@ -66,10 +65,11 @@
66 </el-row> 65 </el-row>
67 <div class="slxx_title title-block"> 66 <div class="slxx_title title-block">
68 <el-row> 67 <el-row>
69 <el-col :span="20"> 房屋合同信息 </el-col> 68 <el-col :span="24"> 房屋合同信息
70 <el-col :span="4"> 69 &nbsp;&nbsp;<el-button type="primary" @click="handleContract">查询房屋交易合同</el-button> </el-col>
71 <el-button @click="compare">查询房屋交易合同</el-button> 70 <!-- <el-col :span="4" class="btnColRight">
72 </el-col> 71
72 </el-col> -->
73 </el-row> 73 </el-row>
74 <div class="triangle"></div> 74 <div class="triangle"></div>
75 </div> 75 </div>
...@@ -162,12 +162,12 @@ ...@@ -162,12 +162,12 @@
162 买受人信息 162 买受人信息
163 <div class="triangle"></div> 163 <div class="triangle"></div>
164 </div> 164 </div>
165 <lb-table 165 <lb-table
166 :column="clmMsr" 166 :column="clmMsr"
167 :pagination="false" 167 :pagination="false"
168 :heightNumSetting="true" 168 :key="key"
169 :data="qlrList" 169 :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
170 > 170 :data="qlrList">
171 </lb-table> 171 </lb-table>
172 <div class="slxx_title title-block"> 172 <div class="slxx_title title-block">
173 出卖人信息 173 出卖人信息
...@@ -175,134 +175,169 @@ ...@@ -175,134 +175,169 @@
175 </div> 175 </div>
176 <lb-table 176 <lb-table
177 :column="clmMsr" 177 :column="clmMsr"
178 :key="key1"
178 :pagination="false" 179 :pagination="false"
179 :heightNumSetting="true" 180 :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
180 :data="ywrList" 181 :data="ywrList">
181 >
182 </lb-table> 182 </lb-table>
183
183 <div class="slxx_title title-block"> 184 <div class="slxx_title title-block">
184 缴税信息 185 <el-row>
186 <el-col :span="24"> 缴税信息 <el-button type="primary" @click="handleSwwsxx">查询契税完税信息</el-button></el-col>
187 </el-row>
185 <div class="triangle"></div> 188 <div class="triangle"></div>
186 </div> 189 </div>
187 <lb-table 190 <lb-table
188 :column="clmSwxx" 191 :column="clmSwxx"
189 :pagination="false" 192 :pagination="false"
190 :heightNumSetting="true" 193 :key="key2"
191 :data="swxxList" 194 :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
192 > 195 :data="swxxList">
193 </lb-table> 196 </lb-table>
194 </div> 197 </div>
195 </el-form> 198 </el-form>
196 </div> 199 </div>
197 </template> 200 </template>
198 <script> 201 <script>
199 import { getDetail } from "@/api/workflow/swhtxx.js"; 202 import { mapGetters } from "vuex";
200 import { mapGetters } from "vuex"; 203 import { getDetail } from "@/api/workflow/swhtxx.js";
201 export default { 204 export default {
202 computed: { 205 computed: {
203 ...mapGetters(["dictData", "flag"]), 206 ...mapGetters(["dictData", "flag"]),
204 }, 207 },
205 mounted() { 208 mounted () {
206 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 209 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
207 this.propsParam = this.$attrs; 210 this.propsParam = this.$attrs;
208 this.loadData(); 211 this.loadData();
209 }, 212 },
210 data() { 213 data () {
211 return { 214 return {
212 ruleForm: {}, 215 key: 0,
213 loading: false, 216 key1: 1,
214 //表单是否可操作 217 key2: 2,
215 viewEdit: false, 218 ruleForm: {},
216 clmMsr: [ 219 loading: false,
217 { 220 //表单是否可操作
218 prop: "NSRMC", 221 viewEdit: false,
219 label: "名称", 222 clmMsr: [
220 }, 223 {
221 { 224 prop: "NSRMC",
222 prop: "ZJZL_DM", 225 label: "名称",
223 label: "证件种类", 226 },
224 }, 227 {
225 { 228 prop: "ZJZL_DM",
226 prop: "ZJHM", 229 label: "证件种类",
227 label: "证件号码", 230 },
228 }, 231 {
229 { 232 prop: "ZJHM",
230 prop: "LXDH", 233 label: "证件号码",
231 label: "联系电话", 234 },
232 }, 235 {
233 ], 236 prop: "LXDH",
234 clmSwxx: [ 237 label: "联系电话",
235 { 238 },
236 prop: "ywslh", 239 ],
237 label: "业务受理号", 240 clmSwxx: [
238 }, 241 {
239 { 242 prop: "ywslh",
240 prop: "kprq", 243 label: "业务受理号",
241 label: "开票日期", 244 },
242 }, 245 {
243 { 246 prop: "kprq",
244 prop: "pzxh", 247 label: "开票日期",
245 label: "凭证序号", 248 },
246 }, 249 {
247 { 250 prop: "pzxh",
248 prop: "zsxmmc", 251 label: "凭证序号",
249 label: "征收项目名称", 252 },
250 }, 253 {
251 { 254 prop: "zsxmmc",
252 prop: "zspmmc", 255 label: "征收项目名称",
253 label: "征收品目名称", 256 },
254 }, 257 {
255 { 258 prop: "zspmmc",
256 prop: "sjje", 259 label: "征收品目名称",
257 label: "实缴金额", 260 },
258 }, 261 {
259 262 prop: "sjje",
260 { 263 label: "实缴金额",
261 prop: "skssqq", 264 },
262 label: "税款所属日期起", 265
263 }, 266 {
264 { 267 prop: "skssqq",
265 prop: "skssqz", 268 label: "税款所属日期起",
266 label: "税款所属日期止", 269 },
267 }, 270 {
268 271 prop: "skssqz",
269 { 272 label: "税款所属日期止",
270 prop: "rkrq", 273 },
271 label: "入库日期", 274
272 }, 275 {
273 ], 276 prop: "rkrq",
274 ruleForm: {}, 277 label: "入库日期",
275 qlrList: [], 278 },
276 ywrList: [], 279 ],
277 fwxx: {}, 280 ruleForm: {},
278 swxxList: [], 281 qlrList: [],
279 }; 282 ywrList: [],
280 }, 283 fwxx: {},
281 methods: { 284 swxxList: [],
282 onSubmit() {}, 285 };
283 loadData() { 286 },
284 getDetail(this.propsParam.bsmSldy).then((res) => { 287 methods: {
285 if (res.code === 200 && res.result) { 288 loadData () {
286 this.ruleForm = res.result; 289 getDetail(this.propsParam.bsmSldy).then((res) => {
287 if (res.result.wqht == null) { 290 if (res.code === 200 && res.result) {
288 return; 291 this.ruleForm = res.result;
289 } 292 if (res.result.wqht == null) {
290 if (res.result.wqht.htnr != "" && res.result.wqht.htnr != null) { 293 return;
291 let htxx = JSON.parse(res.result.wqht.htnr); 294 }
292 this.fwxx = htxx[0].h[0]; 295 if (res.result.wqht.htnr != "" && res.result.wqht.htnr != null) {
293 this.qlrList = htxx[1].msr; 296 let htxx = JSON.parse(res.result.wqht.htnr);
294 this.ywrList = htxx[2].cmr; 297 this.fwxx = htxx[0].h[0];
295 } 298 this.qlrList = htxx[1].msr;
296 if (res.result.wqht.jsnr != "" && res.result.wqht.jsnr != null) { 299 this.ywrList = htxx[2].cmr;
297 this.swxxList = JSON.parse(res.result.wqht.jsnr); 300 this.key++
301 this.key1++
302 this.key2++
303 }
304 if (res.result.wqht.jsnr != "" && res.result.wqht.jsnr != null) {
305 this.swxxList = JSON.parse(res.result.wqht.jsnr);
306 }
298 } 307 }
308 })
309 },
310 handleContract () {
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;
299 } 320 }
300 }); 321 this.$popupDialog('查询房产交易合同信息', 'workflow/main/swxx/jyht', formData, '60%', true)
301 }, 322 },
302 }, 323 handleSwwsxx () {
303 }; 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)
336 }
337 }
338 }
304 </script> 339 </script>
305 <style scoped lang="scss"> 340 <style scoped lang="scss">
306 @import "~@/styles/public.scss"; 341 @import "~@/styles/public.scss";
307 @import "~@/styles/slxx/slxx.scss"; 342 @import "~@/styles/slxx/slxx.scss";
308 </style> 343 </style>
......
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 &ensp;
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
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