Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ebe40d5e
authored
2024-03-29 17:58:19 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
111
1 parent
94fb2fac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
96 additions
and
23 deletions
src/api/workflow/swhtxx.js
src/views/workflow/main/sdqxx/dlxx.vue
src/views/workflow/main/sdqxx/index.vue
src/api/workflow/swhtxx.js
View file @
ebe40d5
...
...
@@ -35,6 +35,20 @@ export function loadQlrxx (bsmSldy) {
}
})
}
/**
* @description: 读取义务人信息
* @param {*} bsmSldy
* @author: renchao
*/
export
function
loadYwrxx
(
bsmSldy
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/swhtxx/loadYwrxx'
,
method
:
'get'
,
params
:
{
bsmSldy
:
bsmSldy
}
})
}
/**
* @description: 查询房产交易合同信息
...
...
@@ -60,4 +74,17 @@ export function querySwwsxx (data) {
method
:
'post'
,
data
})
}
/**
* @description: 契税完税信息共享
* @param {*} bsmSldy
* @author: renchao
*/
export
function
saveDlxx
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/swhtxx/saveDlxx'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
...
...
src/views/workflow/main/sdqxx/dlxx.vue
View file @
ebe40d5
<
template
>
<div
class=
'jyht'
>
<el-form
:model=
"
queryForm
"
>
<el-form
:model=
"
formData"
ref=
"formData
"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"行政区"
>
<el-input
v-model=
"queryForm.sfzjhm
"
></el-input>
<el-input
disabled
v-model=
"formData.areaCode
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"业务号"
>
<el-input
v-model=
"queryForm
.ywh"
></el-input>
<el-input
disabled
v-model=
"formData
.ywh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"用户编号"
>
<el-input
v-model=
"
queryForm.ywh
"
></el-input>
<el-form-item
label=
"用户编号"
prop=
"cons_no"
:rules=
"[
{ required: true, message: '请输入用户编号', trigger: 'blur' }]"
>
<el-input
v-model=
"
formData.cons_no
"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"房产证编号"
>
<el-input
v-model=
"queryForm.yw
h"
></el-input>
<el-input
disabled
v-model=
"formData.fczb
h"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"16"
>
<el-form-item
label=
"房屋坐落(地址)"
>
<el-input
v-model=
"queryForm.sfzjhm
"
></el-input>
<el-input
disabled
v-model=
"formData.fwzl
"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div
class=
"slxx_title title-block"
>
原户主信息
<div
class=
"triangle"
></div>
</div>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:pagination=
"false"
:key=
"key"
:column=
"tableData.columns"
:data=
"ywrData"
>
</lb-table>
<div
class=
"slxx_title title-block"
>
新户主信息
<div
class=
"triangle"
></div>
</div>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:pagination=
"false"
:key=
"key"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
<div
class=
"text-center"
>
<el-button
@
click=
"$popupCacel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"
handleSearch
"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"
saveDlxx
"
>
保存
</el-button>
</div>
</div>
</
template
>
<
script
>
import
store
from
'@/store/index.js'
import
{
loadQlrxx
,
queryTransactionDetails
}
from
"@/api/workflow/swhtxx.js"
;
import
{
loadQlrxx
,
loadYwrxx
,
saveDlxx
}
from
"@/api/workflow/swhtxx.js"
;
export
default
{
props
:
{
formData
:
{
...
...
@@ -94,7 +107,8 @@
label
:
'联系电话'
}
]
}
},
ywrData
:[]
}
},
mounted
()
{
...
...
@@ -106,12 +120,25 @@
this
.
queryForm
.
nsrmc
=
row
.
sqrmc
;
this
.
queryForm
.
sfzjhm
=
row
.
zjh
;
},
handleSearch
()
{
queryTransactionDetails
(
this
.
queryForm
).
then
(
res
=>
{
if
(
res
.
code
===
200
&&
res
.
result
){
saveDlxx
()
{
this
.
$refs
[
'formData'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
saveDlxx
(
this
.
formData
).
then
(
res
=>
{
if
(
res
.
code
===
200
&&
res
.
result
){
}
else
{
this
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
})
}
})
}
else
{
return
false
}
})
})
},
handleChange
(
row
)
{
this
.
radioVal
=
row
.
bsmSqr
;
...
...
@@ -125,10 +152,7 @@
});
return
foundItem
?
foundItem
.
dname
:
undefined
;
}
this
.
queryForm
.
htbh
=
this
.
formData
.
htbh
;
this
.
queryForm
.
qxdm
=
this
.
formData
.
qxdm
;
this
.
queryForm
.
bsmQlxx
=
this
.
formData
.
bsmQlxx
;
}
loadQlrxx
(
this
.
formData
.
bsmSldy
).
then
(
res
=>
{
let
arr
=
store
.
getters
.
dictData
[
'A30'
]
this
.
tableData
.
data
=
res
.
result
...
...
@@ -138,6 +162,16 @@
}
})
this
.
key
++
});
loadYwrxx
(
this
.
formData
.
bsmSldy
).
then
(
res
=>
{
let
arr
=
store
.
getters
.
dictData
[
'A30'
]
this
.
ywrData
=
res
.
result
this
.
ywrData
.
forEach
(
item
=>
{
if
(
item
.
zjzl
)
{
item
.
zjzlmc
=
findValueByKey
(
arr
,
item
.
zjzl
);
}
})
this
.
key
++
})
}
}
...
...
src/views/workflow/main/sdqxx/index.vue
View file @
ebe40d5
...
...
@@ -215,14 +215,26 @@ export default {
handleDlxx
()
{
let
formData
=
{
bsmSldy
:
this
.
propsParam
.
bsmSldy
,
qxdm
:
this
.
ruleForm
.
qlxx
.
qxdm
,
bsmQlxx
:
this
.
ruleForm
.
qlxx
.
bsmQlxx
,
areaCode
:
this
.
ruleForm
.
qlxx
.
qxdm
,
ywh
:
this
.
ruleForm
.
qlxx
.
ywh
,
mcOld
:
''
,
zjhmOld
:
''
,
lxdhOld
:
''
,
mcNew
:
''
,
zjhmNew
:
''
,
lxdhNew
:
''
,
fczbh
:
this
.
ruleForm
.
qlxx
.
bdcqzh
,
fwzl
:
this
.
ruleForm
.
qlxx
.
zl
,
};
if
(
this
.
ruleForm
.
wqht
==
null
){
formData
.
htbh
=
''
;
}
else
{
formData
.
htbh
=
this
.
ruleForm
.
wqht
.
wqhth
;
if
(
this
.
ruleForm
.
wqht
!=
null
){
formData
.
cons_no
=
this
.
ruleForm
.
wqht
.
consNo
;
if
(
this
.
ruleForm
.
wqht
.
dlnr
!=
null
&&
this
.
ruleForm
.
wqht
.
dlnr
!=
''
){
formData
.
ZJHM_OLD
=
this
.
ruleForm
.
wqht
.
dlnr
.
ZJHM_OLD
;
formData
.
ZJHM_NEW
=
this
.
ruleForm
.
wqht
.
dlnr
.
ZJHM_NEW
;
}
}
console
.
log
(
formData
)
this
.
$popupDialog
(
'房产电力过户详情'
,
'workflow/main/sdqxx/dlxx'
,
formData
,
'60%'
,
true
)
},
},
...
...
Please
register
or
sign in
to post a comment