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
8b50991d
Commit
8b50991d
authored
Oct 24, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'合同签约'
parent
04fc9788
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
38 deletions
+37
-38
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+25
-26
contract-signing.vue
src/pages/contractSigning/contract-signing.vue
+7
-7
entry-info.vue
src/pages/contractSigning/entry-info.vue
+5
-5
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
8b50991d
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-24 1
4:51:3
9
* @LastEditTime: 2019-10-24 1
8:59:4
9
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
...
...
@@ -34,15 +34,15 @@
</item>
<item>
<div
slot=
"name"
>
设备总价
</div>
<section
slot=
"content"
>
{{
conditionInfo
.
equip_price
|
currency
}}
</section>
<section
slot=
"content"
>
{{
conditionInfo
.
equip_price
*
conditionInfo
.
product_num
|
currency
}}
</section>
</item>
<item>
<div
slot=
"name"
>
融资金额
</div>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
finance_amount
)
|
currency
}}
</section>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
finance_amount
)
*
conditionInfo
.
product_num
|
currency
}}
</section>
</item>
<item>
<div
slot=
"name"
>
首付款
</div>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
down_payment
)
|
currency
}}
</section>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
down_payment
)
*
conditionInfo
.
product_num
|
currency
}}
</section>
</item>
<item>
<div
slot=
"name"
>
保证金比例
</div>
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<div
slot=
"name"
>
保证金
</div>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
deposit
)
|
currency
}}
</section>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
deposit
)
*
conditionInfo
.
product_num
|
currency
}}
</section>
</item>
<item>
<div
slot=
"name"
>
手续费比例
</div>
...
...
@@ -58,7 +58,7 @@
</item>
<item>
<div
slot=
"name"
>
手续费
</div>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
lease_charge
)
|
currency
}}
</section>
<section
slot=
"content"
>
{{
Math
.
round
(
conditionInfo
.
lease_charge
)
*
conditionInfo
.
product_num
|
currency
}}
</section>
</item>
<item>
<div
slot=
"name"
>
预计付款日
</div>
...
...
@@ -186,24 +186,21 @@ export default {
computed
:
{},
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'ContractSigning'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
if
(
from
.
name
===
'ContractSigning'
)
{
vm
.
bank_flag
=
false
vm
.
project_id
=
vm
.
$route
.
params
.
project_id
vm
.
confirm_id
=
vm
.
$route
.
params
.
confirm_id
vm
.
confirm_status
=
vm
.
$route
.
params
.
confirm_status
vm
.
conditionQuery
()
})
}
next
()
vm
.
bankCardQuery
()
}
else
if
(
from
.
name
===
'EntryInfo'
)
{
vm
.
bankCardQuery
()
}
})
},
activated
()
{
this
.
bankCardQuery
()
// console.log('...........', this.$route.params.confirm_status)
// if (window.sessionStorage.getItem('add_status') === 'true') { // 根据add_status值改变entry_info_flag,传入银行卡录入页面,负责重置数据与否
// this.entry_info_flag = true
// } else {
// this.entry_info_flag = false
// }
// this.bankCardQuery()
},
methods
:
{
// 合同商务条件查询
...
...
@@ -259,16 +256,18 @@ export default {
let
param
=
{
master
:
{
confirm_id
:
vm
.
confirm_id
,
con_confirm_status
:
vm
.
confirm_status
,
con_confirm_status
:
'APPROVED'
,
},
}
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'商务条件'
,
res
)
// if (res.result === 'S') {
// vm.conditionInfo = res.info
// } else {
// hlsPopup.showLongCenter(res.message)
// }
console
.
log
(
'保存结果'
,
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'ContractSigning'
,
})
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
else
{
this
.
isshow
=
true
...
...
@@ -286,7 +285,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'bankcardinfo。。。。。。。。。。。。'
,
res
)
if
(
res
.
result
===
'S'
)
{
if
(
!
(
JSON
.
stringify
(
res
.
info
)
===
'{}'
)
)
{
if
(
'info'
in
res
&&
Object
.
keys
(
res
.
info
).
length
!==
0
)
{
// vm.bank_lists = [res.info]
// console.log(vm.bank_lists[0])
vm
.
bank_flag
=
true
...
...
src/pages/contractSigning/contract-signing.vue
View file @
8b50991d
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-24 1
4:51:12
* @LastEditTime: 2019-10-24 1
8:52:15
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
...
...
@@ -101,12 +101,12 @@ export default {
},
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'MyInfo'
)
{
next
(
vm
=>
{
vm
.
contractList
()
})
}
next
()
//
if (from.name === 'MyInfo') {
next
(
vm
=>
{
vm
.
contractList
()
})
//
}
//
next()
},
methods
:
{
contractList
()
{
...
...
src/pages/contractSigning/entry-info.vue
View file @
8b50991d
<!--
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-24 1
4:52:02
* @LastEditTime: 2019-10-24 1
7:45:44
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
-->
...
...
@@ -29,7 +29,7 @@
<item>
<div
slot=
"name"
>
银行卡卡号
</div>
<input
slot=
"content"
v-model=
"bank_lists[0].bank_account_num"
type=
"text"
readonly
placeholder=
"上传银行卡自动填充"
slot=
"content"
v-model=
"bank_lists[0].bank_account_num"
type=
"text"
placeholder=
"上传银行卡自动填充"
>
</item>
<item>
...
...
@@ -38,7 +38,7 @@
</item>
<item>
<div
slot=
"name"
>
银行名称
</div>
<input
slot=
"content"
v-model=
"bank_lists[0].bank_full_name"
readonly
type=
"text"
placeholder=
"请输入银行名称"
>
<input
slot=
"content"
v-model=
"bank_lists[0].bank_full_name"
type=
"text"
placeholder=
"请输入银行名称"
>
</item>
<item>
<div
slot=
"name"
>
支行名称
</div>
...
...
@@ -236,11 +236,11 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'bankcardinfo。。。。。。。。。。。。'
,
res
)
if
(
res
.
result
===
'S'
)
{
if
(
!
(
JSON
.
stringify
(
res
.
info
)
===
'{}'
)
)
{
if
(
'info'
in
res
)
{
vm
.
bank_lists
=
[
res
.
info
]
// console.log(vm.bank_lists[0])
}
else
{
this
.
bank_lists
=
[
vm
.
bank_lists
=
[
{
bank_full_name
:
''
,
// 银行名称
bank_account_num
:
''
,
// 卡号
...
...
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