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
6b8e86e8
Commit
6b8e86e8
authored
Oct 23, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'23号问题修复'
parent
37146d76
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
59 additions
and
30 deletions
+59
-30
contract-details.vue
src/pages/distributorSign/contract-details.vue
+18
-8
financ-details.vue
src/pages/distributorSign/financ-details.vue
+6
-4
base.vue
src/pages/intoApproval/intoApproval/base.vue
+4
-2
refund.vue
src/pages/intoApproval/intoApproval/refund.vue
+4
-3
rentInfo.vue
src/pages/intoApproval/intoApproval/rentInfo.vue
+8
-0
bankInfo.vue
src/pages/userBind/np/bankInfo.vue
+4
-4
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+5
-2
bankInfo.vue
src/pages/userBind/org/bankInfo.vue
+4
-4
enterprise.vue
src/pages/userBind/org/enterprise.vue
+6
-3
No files found.
src/pages/distributorSign/contract-details.vue
View file @
6b8e86e8
...
@@ -78,15 +78,15 @@
...
@@ -78,15 +78,15 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
设备总价
</div>
<div
slot=
"name"
class=
"font-color"
>
设备总价
</div>
<span
slot=
"content"
>
{{
info
.
equip_price
|
NumFormat
}}
</span>
<span
slot=
"content"
>
{{
info
.
equip_price
*
info
.
product_num
|
NumFormat
}}
</span>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
融资金额
</div>
<div
slot=
"name"
class=
"font-color"
>
融资金额
</div>
<span
slot=
"content"
>
{{
info
.
finance_amount
|
NumFormat
}}
</span>
<span
slot=
"content"
>
{{
info
.
finance_amount
*
info
.
product_num
|
NumFormat
}}
</span>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
首付款
</div>
<div
slot=
"name"
class=
"font-color"
>
首付款
</div>
<span
slot=
"content"
>
{{
info
.
down_payment
|
NumFormat
}}
</span>
<span
slot=
"content"
>
{{
info
.
down_payment
*
info
.
product_num
|
NumFormat
}}
</span>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金比例
</div>
<div
slot=
"name"
class=
"font-color"
>
保证金比例
</div>
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金
</div>
<div
slot=
"name"
class=
"font-color"
>
保证金
</div>
<span
slot=
"content"
>
{{
info
.
deposit
|
NumFormat
}}
</span>
<span
slot=
"content"
>
{{
info
.
deposit
*
info
.
product_num
|
NumFormat
}}
</span>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费比例
</div>
<div
slot=
"name"
class=
"font-color"
>
手续费比例
</div>
...
@@ -102,11 +102,19 @@
...
@@ -102,11 +102,19 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费
</div>
<div
slot=
"name"
class=
"font-color"
>
手续费
</div>
<span
slot=
"content"
>
{{
info
.
lease_charge
|
NumFormat
}}
</span>
<span
slot=
"content"
>
{{
info
.
lease_charge
*
info
.
product_num
|
NumFormat
}}
</span>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保险押金
</div>
<span
slot=
"content"
>
{{
info
.
insurance_fee
*
info
.
product_num
|
NumFormat
}}
</span>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
GPS费用
</div>
<span
slot=
"content"
>
{{
info
.
gps_fee
*
info
.
product_num
|
NumFormat
}}
</span>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
首次付款合计
</div>
<div
slot=
"name"
>
首次付款合计
</div>
<span
slot=
"content"
>
{{
info
.
first_pay
|
NumFormat
}}
</span>
<span
slot=
"content"
>
{{
info
.
first_pay
*
info
.
product_num
|
NumFormat
}}
</span>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
...
@@ -188,13 +196,13 @@
...
@@ -188,13 +196,13 @@
</item>
</item>
</list-item>
</list-item>
</h-content>
</h-content>
<bottom-tab
v-if=
"confirm_status!=='APPROVED'&&
this.$route.params.hasButtom
"
class=
"footer-button"
>
<bottom-tab
v-if=
"confirm_status!=='APPROVED'&&
(this.$route.params.hasButtom || hasButtomStorage)
"
class=
"footer-button"
>
<tab-button
class=
"approve"
@
click
.
native=
"showModalValue=true"
>
<tab-button
class=
"approve"
@
click
.
native=
"showModalValue=true"
>
<img
src=
"@/assets/intoApproval/approve.png"
>
审批
<img
src=
"@/assets/intoApproval/approve.png"
>
审批
</tab-button>
</tab-button>
</bottom-tab>
</bottom-tab>
<h-modal
<h-modal
v-if=
"confirm_status!=='APPROVED'&&
this.$route.params.hasButtom
"
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
>
v-if=
"confirm_status!=='APPROVED'&&
(this.$route.params.hasButtom || hasButtomStorage)
"
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
>
<h-view>
<h-view>
<h-content
class=
"approveContent"
>
<h-content
class=
"approveContent"
>
<div
class=
"approveBottom"
>
<div
class=
"approveBottom"
>
...
@@ -253,6 +261,7 @@ export default {
...
@@ -253,6 +261,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
hasButtomStorage
:
window
.
localStorage
.
getItem
(
'hasButtom'
),
showModalValue
:
false
,
showModalValue
:
false
,
info
:
{},
info
:
{},
tabNum
:
0
,
tabNum
:
0
,
...
@@ -376,6 +385,7 @@ export default {
...
@@ -376,6 +385,7 @@ export default {
params
:
{
params
:
{
project_id
:
window
.
sessionStorage
.
getItem
(
'project_id'
),
project_id
:
window
.
sessionStorage
.
getItem
(
'project_id'
),
confirm_status
:
this
.
confirm_status
,
confirm_status
:
this
.
confirm_status
,
product_num
:
this
.
info
.
product_num
},
},
})
})
},
},
...
...
src/pages/distributorSign/financ-details.vue
View file @
6b8e86e8
...
@@ -20,18 +20,18 @@
...
@@ -20,18 +20,18 @@
<div
class=
"top-detail"
>
<div
class=
"top-detail"
>
<div
class=
"left"
>
<div
class=
"left"
>
<span
class=
"line"
>
保证金
</span>
<span
class=
"line"
>
保证金
</span>
<span>
¥
{{
info
.
deposit
|
NumFormat
}}
</span>
<span>
¥
{{
info
.
deposit
*
product_num
|
NumFormat
}}
</span>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<span
class=
"line"
>
首付款
</span>
<span
class=
"line"
>
首付款
</span>
<span>
¥
{{
info
.
down_payment
|
NumFormat
}}
</span>
<span>
¥
{{
info
.
down_payment
*
product_num
|
NumFormat
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"clear"
/>
<div
class=
"clear"
/>
<div
class=
"top-detail"
>
<div
class=
"top-detail"
>
<div
class=
"left"
>
<div
class=
"left"
>
<span
class=
"line"
>
手续费
</span>
<span
class=
"line"
>
手续费
</span>
<span>
¥
{{
info
.
lease_charge
|
NumFormat
}}
</span>
<span>
¥
{{
info
.
lease_charge
*
product_num
|
NumFormat
}}
</span>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<span
class=
"line"
>
合同期数
</span>
<span
class=
"line"
>
合同期数
</span>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<td>
{{
index
+
1
}}
</td>
<td>
{{
index
+
1
}}
</td>
<td>
{{
dateConverse
(
item
.
due_date
)
}}
</td>
<td>
{{
dateConverse
(
item
.
due_date
)
}}
</td>
<td>
租金
</td>
<td>
租金
</td>
<td>
{{
item
.
rental
|
NumFormat
}}
</td>
<td>
{{
item
.
rental
*
product_num
|
NumFormat
}}
</td>
</tr>
</tr>
</table>
</table>
</h-content>
</h-content>
...
@@ -86,6 +86,7 @@ export default {
...
@@ -86,6 +86,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
confirm_status
:
this
.
$route
.
params
.
confirm_status
,
confirm_status
:
this
.
$route
.
params
.
confirm_status
,
product_num
:
this
.
$route
.
params
.
product_num
,
info
:
{
info
:
{
finance_amount
:
''
,
finance_amount
:
''
,
lease_charge
:
''
,
lease_charge
:
''
,
...
@@ -130,6 +131,7 @@ export default {
...
@@ -130,6 +131,7 @@ export default {
}
else
{
}
else
{
confirmStatus
=
false
confirmStatus
=
false
}
}
window
.
localStorage
.
setItem
(
'hasButtom'
,
confirmStatus
)
this
.
$router
.
replace
({
this
.
$router
.
replace
({
name
:
'ContractDetails'
,
name
:
'ContractDetails'
,
params
:
{
params
:
{
...
...
src/pages/intoApproval/intoApproval/base.vue
View file @
6b8e86e8
...
@@ -342,13 +342,13 @@
...
@@ -342,13 +342,13 @@
<RentInfo
v-show=
"tabNum==1"
:confirm_status=
"confirm_status"
/>
<RentInfo
v-show=
"tabNum==1"
:confirm_status=
"confirm_status"
/>
<AccessoryInfo
v-show=
"tabNum==2"
@
down=
"getDown"
/>
<AccessoryInfo
v-show=
"tabNum==2"
@
down=
"getDown"
/>
</h-content>
</h-content>
<bottom-tab
v-if=
"confirm_status!=='APPROVED'&&
this.$route.params.hasButtom
"
class=
"footer-button"
>
<bottom-tab
v-if=
"confirm_status!=='APPROVED'&&
(this.$route.params.hasButtom || hasButtomStorage)
"
class=
"footer-button"
>
<tab-button
class=
"approve"
@
click
.
native=
"showModalValue=true"
>
<tab-button
class=
"approve"
@
click
.
native=
"showModalValue=true"
>
<img
src=
"@/assets/intoApproval/approve.png"
>
审批
<img
src=
"@/assets/intoApproval/approve.png"
>
审批
</tab-button>
</tab-button>
</bottom-tab>
</bottom-tab>
<h-modal
<h-modal
v-if=
"confirm_status!=='APPROVED'&&
this.$route.params.hasButtom
"
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
v-if=
"confirm_status!=='APPROVED'&&
(this.$route.params.hasButtom || hasButtomStorage)
"
ref=
"modal"
v-model=
"showModalValue"
position=
"bottom"
cus-class=
"sign-modal"
>
cus-class=
"sign-modal"
>
<h-view>
<h-view>
<h-content
class=
"approveContent"
>
<h-content
class=
"approveContent"
>
...
@@ -385,6 +385,7 @@ export default {
...
@@ -385,6 +385,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
hasButtomStorage
:
window
.
localStorage
.
getItem
(
'hasButtom'
),
showModalValue
:
false
,
showModalValue
:
false
,
downNum
:
0
,
downNum
:
0
,
tabNum
:
0
,
tabNum
:
0
,
...
@@ -450,6 +451,7 @@ export default {
...
@@ -450,6 +451,7 @@ export default {
},
},
},
},
created
()
{
created
()
{
console
.
log
(
this
.
hasButtomStorage
)
if
(
this
.
bp_class
===
'NP'
)
{
if
(
this
.
bp_class
===
'NP'
)
{
this
.
getNPBase
()
this
.
getNPBase
()
}
else
if
(
this
.
bp_class
===
'ORG'
)
{
}
else
if
(
this
.
bp_class
===
'ORG'
)
{
...
...
src/pages/intoApproval/intoApproval/refund.vue
View file @
6b8e86e8
...
@@ -21,18 +21,18 @@
...
@@ -21,18 +21,18 @@
<div
class=
"top-detail"
>
<div
class=
"top-detail"
>
<div
class=
"left"
>
<div
class=
"left"
>
<span
class=
"line"
>
保证金
</span>
<span
class=
"line"
>
保证金
</span>
<span>
¥
{{
info
.
deposit
|
NumFormat
}}
</span>
<span>
¥
{{
info
.
deposit
*
product_num
|
NumFormat
}}
</span>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<span
class=
"line"
>
首付款
</span>
<span
class=
"line"
>
首付款
</span>
<span>
¥
{{
info
.
down_payment
|
NumFormat
}}
</span>
<span>
¥
{{
info
.
down_payment
*
product_num
|
NumFormat
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"clear"
/>
<div
class=
"clear"
/>
<div
class=
"top-detail"
>
<div
class=
"top-detail"
>
<div
class=
"left"
>
<div
class=
"left"
>
<span
class=
"line"
>
手续费
</span>
<span
class=
"line"
>
手续费
</span>
<span>
¥
{{
info
.
lease_charge
|
NumFormat
}}
</span>
<span>
¥
{{
info
.
lease_charge
*
product_num
|
NumFormat
}}
</span>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<span
class=
"line date-sum"
>
合同期数
</span>
<span
class=
"line date-sum"
>
合同期数
</span>
...
@@ -132,6 +132,7 @@ export default {
...
@@ -132,6 +132,7 @@ export default {
}
else
{
}
else
{
confirmStatus
=
false
confirmStatus
=
false
}
}
window
.
localStorage
.
setItem
(
'hasButtom'
,
confirmStatus
)
this
.
$router
.
replace
({
this
.
$router
.
replace
({
name
:
'Base'
,
name
:
'Base'
,
params
:
{
params
:
{
...
...
src/pages/intoApproval/intoApproval/rentInfo.vue
View file @
6b8e86e8
...
@@ -40,6 +40,14 @@
...
@@ -40,6 +40,14 @@
<div
slot=
"name"
>
手续费
</div>
<div
slot=
"name"
>
手续费
</div>
<span
slot=
"content"
>
{{
rentInfo
.
lease_charge
*
rentInfo
.
product_num
|
NumFormat
}}
</span>
<span
slot=
"content"
>
{{
rentInfo
.
lease_charge
*
rentInfo
.
product_num
|
NumFormat
}}
</span>
</item>
</item>
<item>
<div
slot=
"name"
>
保险押金
</div>
<span
slot=
"content"
>
{{
rentInfo
.
insurance_fee
*
rentInfo
.
product_num
|
NumFormat
}}
</span>
</item>
<item>
<div
slot=
"name"
>
GPS费用
</div>
<span
slot=
"content"
>
{{
rentInfo
.
gps_fee
*
rentInfo
.
product_num
|
NumFormat
}}
</span>
</item>
<item>
<item>
<div
slot=
"name"
>
首次付款合计
</div>
<div
slot=
"name"
>
首次付款合计
</div>
<span
slot=
"content"
>
{{
rentInfo
.
first_pay
*
rentInfo
.
product_num
|
NumFormat
}}
</span>
<span
slot=
"content"
>
{{
rentInfo
.
first_pay
*
rentInfo
.
product_num
|
NumFormat
}}
</span>
...
...
src/pages/userBind/np/bankInfo.vue
View file @
6b8e86e8
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<span
class=
"sum"
>
(共
{{
getBankList
.
length
}}
张)
</span>
<span
class=
"sum"
>
(共
{{
getBankList
.
length
}}
张)
</span>
</span>
</span>
</div>
</div>
<img
src=
"@/assets/userBind/add.png"
class=
"icon-right"
@
click=
"sendFlag"
>
<img
src=
"@/assets/userBind/add.png"
class=
"icon-right"
@
click=
"sendFlag
(true)
"
>
</div>
</div>
<div
class=
"clear"
/>
<div
class=
"clear"
/>
<div
class=
"card-content"
>
<div
class=
"card-content"
>
...
@@ -62,13 +62,13 @@ export default {
...
@@ -62,13 +62,13 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
sendFlag
()
{
sendFlag
(
isClear
)
{
this
.
showModalValue
=
true
this
.
showModalValue
=
true
this
.
$emit
(
'getInfo'
,
this
.
showModalValue
)
this
.
$emit
(
'getInfo'
,
this
.
showModalValue
,
isClear
)
},
},
sendList
(
a
)
{
sendList
(
a
)
{
this
.
$emit
(
'getList'
,
a
)
this
.
$emit
(
'getList'
,
a
)
this
.
sendFlag
()
this
.
sendFlag
(
false
)
},
},
changeBgImg
(
item
)
{
changeBgImg
(
item
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
...
...
src/pages/userBind/np/naturePerson.vue
View file @
6b8e86e8
...
@@ -296,7 +296,7 @@
...
@@ -296,7 +296,7 @@
</list-item>
</list-item>
</div>
</div>
</h-view>
</h-view>
<bottom-tab
v-if=
"!
from
"
class=
"add-box"
>
<bottom-tab
v-if=
"!
isApproved
"
class=
"add-box"
>
<tab-button
class=
"add-card"
@
click
.
native=
"addBankInfo"
>
添加
</tab-button>
<tab-button
class=
"add-card"
@
click
.
native=
"addBankInfo"
>
添加
</tab-button>
</bottom-tab>
</bottom-tab>
</h-modal>
</h-modal>
...
@@ -1000,7 +1000,10 @@ export default {
...
@@ -1000,7 +1000,10 @@ export default {
hideModal
()
{
hideModal
()
{
this
.
showModalValue
=
false
this
.
showModalValue
=
false
},
},
getInfo
(
i
)
{
getInfo
(
i
,
isClear
)
{
if
(
isClear
){
this
.
bank
=
{}
}
this
.
showModalValue
=
i
this
.
showModalValue
=
i
},
},
getList
(
a
)
{
getList
(
a
)
{
...
...
src/pages/userBind/org/bankInfo.vue
View file @
6b8e86e8
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<span
class=
"sum"
>
(共
{{
getBankList
.
length
}}
张)
</span>
<span
class=
"sum"
>
(共
{{
getBankList
.
length
}}
张)
</span>
</span>
</span>
</div>
</div>
<img
src=
"@/assets/userBind/add.png"
class=
"icon-right"
@
click=
"sendFlag"
>
<img
src=
"@/assets/userBind/add.png"
class=
"icon-right"
@
click=
"sendFlag
(true)
"
>
</div>
</div>
<div
class=
"clear"
/>
<div
class=
"clear"
/>
<div
class=
"card-content"
>
<div
class=
"card-content"
>
...
@@ -69,13 +69,13 @@ export default {
...
@@ -69,13 +69,13 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
sendFlag
()
{
sendFlag
(
isClear
)
{
this
.
showModalValue
=
true
this
.
showModalValue
=
true
this
.
$emit
(
'getInfo'
,
this
.
showModalValue
)
this
.
$emit
(
'getInfo'
,
this
.
showModalValue
,
isClear
)
},
},
sendList
(
a
)
{
sendList
(
a
)
{
this
.
$emit
(
'getList'
,
a
)
this
.
$emit
(
'getList'
,
a
)
this
.
sendFlag
()
this
.
sendFlag
(
false
)
},
},
changeBgImg
(
item
)
{
changeBgImg
(
item
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
...
...
src/pages/userBind/org/enterprise.vue
View file @
6b8e86e8
...
@@ -405,7 +405,7 @@
...
@@ -405,7 +405,7 @@
</list-item>
</list-item>
</div>
</div>
</h-view>
</h-view>
<bottom-tab
v-if=
"!
from
"
class=
"add-box"
>
<bottom-tab
v-if=
"!
isApproved
"
class=
"add-box"
>
<tab-button
class=
"add-card"
@
click
.
native=
"addBankInfo"
>
添加
</tab-button>
<tab-button
class=
"add-card"
@
click
.
native=
"addBankInfo"
>
添加
</tab-button>
</bottom-tab>
</bottom-tab>
</h-modal>
</h-modal>
...
@@ -725,7 +725,7 @@ export default {
...
@@ -725,7 +725,7 @@ export default {
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'银行卡查询'
,
res
)
console
.
log
(
'银行卡查询'
,
res
)
vm
.
getBankList
=
[...
vm
.
getBankList
,
...
res
.
lists
]
vm
.
getBankList
=
res
.
lists
})
})
}
}
})
})
...
@@ -958,7 +958,10 @@ export default {
...
@@ -958,7 +958,10 @@ export default {
hideModal
()
{
hideModal
()
{
this
.
showModalValue
=
false
this
.
showModalValue
=
false
},
},
getInfo
(
i
)
{
getInfo
(
i
,
isClear
)
{
if
(
isClear
){
this
.
bank_lists
=
{}
}
this
.
showModalValue
=
i
this
.
showModalValue
=
i
},
},
getList
(
i
)
{
getList
(
i
)
{
...
...
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