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
e90fdbfd
Commit
e90fdbfd
authored
Oct 24, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://hel.hand-china.com/xugong/hls-xcmg-vue-app
into develop
parents
0f42d592
8b50991d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
40 deletions
+39
-40
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
index.js
src/router/index.js
+2
-2
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
e90fdbfd
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @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
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -34,15 +34,15 @@
...
@@ -34,15 +34,15 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
设备总价
</div>
<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>
<item>
<item>
<div
slot=
"name"
>
融资金额
</div>
<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>
<item>
<item>
<div
slot=
"name"
>
首付款
</div>
<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>
<item>
<item>
<div
slot=
"name"
>
保证金比例
</div>
<div
slot=
"name"
>
保证金比例
</div>
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
保证金
</div>
<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>
<item>
<item>
<div
slot=
"name"
>
手续费比例
</div>
<div
slot=
"name"
>
手续费比例
</div>
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
手续费
</div>
<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>
<item>
<item>
<div
slot=
"name"
>
预计付款日
</div>
<div
slot=
"name"
>
预计付款日
</div>
...
@@ -186,24 +186,21 @@ export default {
...
@@ -186,24 +186,21 @@ export default {
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
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
.
project_id
=
vm
.
$route
.
params
.
project_id
vm
.
confirm_id
=
vm
.
$route
.
params
.
confirm_id
vm
.
confirm_id
=
vm
.
$route
.
params
.
confirm_id
vm
.
confirm_status
=
vm
.
$route
.
params
.
confirm_status
vm
.
confirm_status
=
vm
.
$route
.
params
.
confirm_status
vm
.
conditionQuery
()
vm
.
conditionQuery
()
})
vm
.
bankCardQuery
()
}
}
else
if
(
from
.
name
===
'EntryInfo'
)
{
next
()
vm
.
bankCardQuery
()
}
})
},
},
activated
()
{
activated
()
{
this
.
bankCardQuery
()
// 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
// }
},
},
methods
:
{
methods
:
{
// 合同商务条件查询
// 合同商务条件查询
...
@@ -259,16 +256,18 @@ export default {
...
@@ -259,16 +256,18 @@ export default {
let
param
=
{
let
param
=
{
master
:
{
master
:
{
confirm_id
:
vm
.
confirm_id
,
confirm_id
:
vm
.
confirm_id
,
con_confirm_status
:
vm
.
confirm_status
,
con_confirm_status
:
'APPROVED'
,
},
},
}
}
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'商务条件'
,
res
)
console
.
log
(
'保存结果'
,
res
)
// if (res.result === 'S') {
if
(
res
.
result
===
'S'
)
{
// vm.conditionInfo = res.info
vm
.
$router
.
push
({
// } else {
name
:
'ContractSigning'
,
// hlsPopup.showLongCenter(res.message)
})
// }
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
})
}
else
{
}
else
{
this
.
isshow
=
true
this
.
isshow
=
true
...
@@ -286,7 +285,7 @@ export default {
...
@@ -286,7 +285,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'bankcardinfo。。。。。。。。。。。。'
,
res
)
console
.
log
(
'bankcardinfo。。。。。。。。。。。。'
,
res
)
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
if
(
!
(
JSON
.
stringify
(
res
.
info
)
===
'{}'
)
)
{
if
(
'info'
in
res
&&
Object
.
keys
(
res
.
info
).
length
!==
0
)
{
// vm.bank_lists = [res.info]
// vm.bank_lists = [res.info]
// console.log(vm.bank_lists[0])
// console.log(vm.bank_lists[0])
vm
.
bank_flag
=
true
vm
.
bank_flag
=
true
...
...
src/pages/contractSigning/contract-signing.vue
View file @
e90fdbfd
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @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
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -101,12 +101,12 @@ export default {
...
@@ -101,12 +101,12 @@ export default {
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'MyInfo'
)
{
//
if (from.name === 'MyInfo') {
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
contractList
()
vm
.
contractList
()
})
})
}
//
}
next
()
//
next()
},
},
methods
:
{
methods
:
{
contractList
()
{
contractList
()
{
...
...
src/pages/contractSigning/entry-info.vue
View file @
e90fdbfd
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @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
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<item>
<item>
<div
slot=
"name"
>
银行卡卡号
</div>
<div
slot=
"name"
>
银行卡卡号
</div>
<input
<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>
<item>
<item>
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
银行名称
</div>
<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>
<item>
<item>
<div
slot=
"name"
>
支行名称
</div>
<div
slot=
"name"
>
支行名称
</div>
...
@@ -236,11 +236,11 @@ export default {
...
@@ -236,11 +236,11 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'bankcardinfo。。。。。。。。。。。。'
,
res
)
console
.
log
(
'bankcardinfo。。。。。。。。。。。。'
,
res
)
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
if
(
!
(
JSON
.
stringify
(
res
.
info
)
===
'{}'
)
)
{
if
(
'info'
in
res
)
{
vm
.
bank_lists
=
[
res
.
info
]
vm
.
bank_lists
=
[
res
.
info
]
// console.log(vm.bank_lists[0])
// console.log(vm.bank_lists[0])
}
else
{
}
else
{
this
.
bank_lists
=
[
vm
.
bank_lists
=
[
{
{
bank_full_name
:
''
,
// 银行名称
bank_full_name
:
''
,
// 银行名称
bank_account_num
:
''
,
// 卡号
bank_account_num
:
''
,
// 卡号
...
...
src/router/index.js
View file @
e90fdbfd
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @Author: your name
* @Author: your name
* @Date: 2019-09-24 12:34:06
* @Date: 2019-09-24 12:34:06
* @LastEditTime: 2019-10-2
3 14:56:38
* @LastEditTime: 2019-10-2
4 16:52:41
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
*/
*/
import
Vue
from
'vue'
import
Vue
from
'vue'
...
@@ -188,7 +188,7 @@ export default new Router({
...
@@ -188,7 +188,7 @@ export default new Router({
// 产品查询
// 产品查询
{
path
:
'/query-home'
,
component
:
QueryHome
,
name
:
'QueryHome'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/query-home'
,
component
:
QueryHome
,
name
:
'QueryHome'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/product-detailed'
,
component
:
ProDetailed
,
name
:
'ProDetailed'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/product-detailed'
,
component
:
ProDetailed
,
name
:
'ProDetailed'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/product-list'
,
component
:
ProductList
,
name
:
'ProductList'
,
meta
:
{
keepAlive
:
fals
e
}},
{
path
:
'/product-list'
,
component
:
ProductList
,
name
:
'ProductList'
,
meta
:
{
keepAlive
:
tru
e
}},
// 帮助与反馈
// 帮助与反馈
{
path
:
'/help-list'
,
component
:
HelpList
,
name
:
'HelpList'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/help-list'
,
component
:
HelpList
,
name
:
'HelpList'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/help-detail'
,
component
:
HelpDetail
,
name
:
'HelpDetail'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/help-detail'
,
component
:
HelpDetail
,
name
:
'HelpDetail'
,
meta
:
{
keepAlive
:
true
}},
...
...
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