Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
c6c149fe
Commit
c6c149fe
authored
Jan 19, 2024
by
14699
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:测试问题修改
parent
d7a3157b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
48 deletions
+80
-48
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+42
-23
contract-new.vue
src/pages/contractSigning/contract-new.vue
+38
-25
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
c6c149fe
...
...
@@ -13,7 +13,7 @@
<div
class=
"down-content"
>
<list-item
:item-height=
"44"
>
<item>
<div
slot=
"name"
class=
"required"
>
产品名称
</div>
<div
slot=
"name"
>
产品名称
</div>
<input
slot=
"content"
v-model=
"itemInfo.ref_v02"
...
...
@@ -21,7 +21,7 @@
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
产品数量
</div>
<div
slot=
"name"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"itemInfo.quantity"
...
...
@@ -212,7 +212,7 @@
<div
class=
"equipment-list-fund"
style=
"color:#00469c"
>
<span/>
<p>
担保人信息
</p>
<div
style=
"width: 75%;text-align: right;"
@
click=
"
guarantorFlag=true
"
>
新增
</div>
<div
style=
"width: 75%;text-align: right;"
@
click=
"
addGuarantor()
"
>
新增
</div>
</div>
<list-item
v-for=
"(item, index) in guarantorList"
:item-height=
"76"
:key=
"index"
class=
"second-part"
>
<!--
<item>
-->
...
...
@@ -1165,7 +1165,7 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
miningCheckId
=
res
.
lists
[
0
].
check_id
vm
.
getAttachmentList
(
vm
.
report
CheckId
,
'mining'
)
vm
.
getAttachmentList
(
vm
.
mining
CheckId
,
'mining'
)
}
})
},
...
...
@@ -1272,7 +1272,11 @@ export default {
if
(
res
.
lists
.
length
==
0
)
{
vm
.
quotationInfo
=
{}
}
else
{
vm
.
quotationInfo
=
res
.
lists
[
0
]
let
quotationInfo
=
res
.
lists
[
0
]
if
(
res
.
lists
[
0
].
annual_pay_times
)
{
quotationInfo
.
annual_pay_times_n
=
res
.
lists
[
0
].
annual_pay_times
}
vm
.
quotationInfo
=
quotationInfo
}
}
})
...
...
@@ -1736,6 +1740,10 @@ export default {
hlsPopup
.
showLongCenter
(
'经营地址不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
phone
)
{
hlsPopup
.
showLongCenter
(
'承租人联系电话能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
bp_other_asset
)
{
hlsPopup
.
showLongCenter
(
'承租人其他资产说明项不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
other_info
)
{
hlsPopup
.
showLongCenter
(
'其他补充信息栏不能为空!'
)
}
// else if (!vm.baseInfo.legal_person) {
// hlsPopup.showLongCenter('法人姓名不能为空!')
...
...
@@ -1786,25 +1794,31 @@ export default {
// 保存担保人
prjGuarantorSave
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'zm_prj_ref_info_save'
let
param
=
{
master
:
{
lists
:
[{
'project_id'
:
vm
.
project_id
,
...
vm
.
guarantorInfo
,
}],
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'担保人保存成功'
)
vm
.
getGuarantorInfo
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
if
(
!
vm
.
guarantorInfo
.
guarantor_type
)
{
hlsPopup
.
showLongCenter
(
'担保人类型不能为空!'
)
}
else
if
(
!
vm
.
guarantorInfo
.
guarantor_name
)
{
hlsPopup
.
showLongCenter
(
'担保人名称不能为空!'
)
}
else
{
let
url
=
$config
.
basePath
+
'zm_prj_ref_info_save'
let
param
=
{
master
:
{
lists
:
[{
'project_id'
:
vm
.
project_id
,
...
vm
.
guarantorInfo
,
}],
},
}
})
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'担保人保存成功'
)
vm
.
getGuarantorInfo
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
},
// 保存设备
prjLeaseItemSave
()
{
...
...
@@ -1877,6 +1891,11 @@ export default {
// }
// })
},
addGuarantor
()
{
let
vm
=
this
vm
.
guarantorInfo
=
{}
vm
.
guarantorFlag
=
true
},
},
}
</
script
>
...
...
src/pages/contractSigning/contract-new.vue
View file @
c6c149fe
...
...
@@ -13,7 +13,7 @@
<div
class=
"down-content"
>
<list-item
:item-height=
"44"
>
<item>
<div
slot=
"name"
class=
"required"
>
产品名称
</div>
<div
slot=
"name"
>
产品名称
</div>
<input
slot=
"content"
v-model=
"itemInfo.ref_v02"
...
...
@@ -21,7 +21,7 @@
>
</item>
<item>
<div
slot=
"name"
class=
"required"
>
产品数量
</div>
<div
slot=
"name"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"itemInfo.quantity"
...
...
@@ -211,7 +211,7 @@
<div
class=
"equipment-list-fund"
style=
"color:#00469c"
>
<span/>
<p>
担保人信息
</p>
<div
style=
"width: 75%;text-align: right;"
@
click=
"
guarantorFlag=true
"
>
新增
</div>
<div
style=
"width: 75%;text-align: right;"
@
click=
"
addGuarantor()
"
>
新增
</div>
</div>
<list-item
v-for=
"(item, index) in guarantorList"
:item-height=
"76"
:key=
"index"
class=
"second-part"
>
<!--
<item>
-->
...
...
@@ -1272,7 +1272,7 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
miningCheckId
=
res
.
lists
[
0
].
check_id
vm
.
getAttachmentList
(
vm
.
report
CheckId
,
'mining'
)
vm
.
getAttachmentList
(
vm
.
mining
CheckId
,
'mining'
)
}
})
},
...
...
@@ -1465,7 +1465,11 @@ export default {
}
else
if
(
!
vm
.
baseInfo
.
business_address
)
{
hlsPopup
.
showLongCenter
(
'经营地址不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
phone
)
{
hlsPopup
.
showLongCenter
(
'承租人联系电话能为空!'
)
hlsPopup
.
showLongCenter
(
'承租人联系电话不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
bp_other_asset
)
{
hlsPopup
.
showLongCenter
(
'承租人其他资产说明项不能为空!'
)
}
else
if
(
!
vm
.
baseInfo
.
other_info
)
{
hlsPopup
.
showLongCenter
(
'其他补充信息栏不能为空!'
)
}
// else if (!vm.baseInfo.legal_person) {
// hlsPopup.showLongCenter('法人姓名不能为空!')
...
...
@@ -1513,27 +1517,31 @@ export default {
let
vm
=
this
if
(
!
vm
.
project_id
)
{
hlsPopup
.
showLongCenter
(
'请先保存基本信息'
)
return
}
let
url
=
$config
.
basePath
+
'zm_prj_ref_info_save'
let
param
=
{
master
:
{
lists
:
[{
'project_id'
:
vm
.
project_id
,
...
vm
.
guarantorInfo
,
}],
},
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'担保人保存成功'
)
vm
.
getGuarantorInfo
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
else
if
(
!
vm
.
guarantorInfo
.
guarantor_type
)
{
hlsPopup
.
showLongCenter
(
'担保人类型不能为空!'
)
}
else
if
(
!
vm
.
guarantorInfo
.
guarantor_name
)
{
hlsPopup
.
showLongCenter
(
'担保人名称不能为空!'
)
}
else
{
let
url
=
$config
.
basePath
+
'zm_prj_ref_info_save'
let
param
=
{
master
:
{
lists
:
[{
'project_id'
:
vm
.
project_id
,
...
vm
.
guarantorInfo
,
}],
},
}
})
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
hlsPopup
.
showLongCenter
(
'担保人保存成功'
)
vm
.
getGuarantorInfo
()
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
},
// 保存融租方案接口
...
...
@@ -1649,6 +1657,11 @@ export default {
}
})
},
addGuarantor
()
{
let
vm
=
this
vm
.
guarantorInfo
=
{}
vm
.
guarantorFlag
=
true
},
},
}
</
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment