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
43d917bb
Commit
43d917bb
authored
Oct 18, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
939c5349
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
6 deletions
+39
-6
contract-details.vue
src/pages/distributorSign/contract-details.vue
+3
-2
rentInfo.vue
src/pages/intoApproval/intoApproval/rentInfo.vue
+2
-1
first-pay.vue
src/pages/pay/marginPay/first-pay.vue
+17
-1
naturePerson.vue
src/pages/userBind/np/naturePerson.vue
+11
-1
enterprise.vue
src/pages/userBind/org/enterprise.vue
+6
-1
No files found.
src/pages/distributorSign/contract-details.vue
View file @
43d917bb
...
...
@@ -98,7 +98,7 @@
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费比例
</div>
<input
slot=
"content"
v-model=
"info.lease_charge_ratio"
readonly
>
<input
slot=
"content"
v-model=
"info.lease_charge_ratio
_n
"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费
</div>
...
...
@@ -230,7 +230,8 @@ export default {
LegalPerson
,
},
filters
:
{
NumFormat
:
function
(
value
)
{
NumFormat
:
function
(
valueOrig
)
{
var
value
=
parseFloat
(
valueOrig
).
toFixed
(
2
)
if
(
!
value
)
return
'0.00'
var
intPart
=
Number
(
value
)
|
0
// 获取整数部分
var
intPartFormat
=
intPart
.
toString
().
replace
(
/
(\d)(?=(?:\d{3})
+$
)
/g
,
'$1,'
)
// 将整数部分逢三一断
...
...
src/pages/intoApproval/intoApproval/rentInfo.vue
View file @
43d917bb
...
...
@@ -92,8 +92,9 @@
<
script
>
export
default
{
filters
:
{
'NumFormat'
:
function
(
value
)
{
'NumFormat'
:
function
(
value
Orig
)
{
// if (!value) return '0.00'
var
value
=
parseFloat
(
valueOrig
).
toFixed
(
2
)
var
intPart
=
Number
(
value
)
|
0
// 获取整数部分
var
intPartFormat
=
intPart
.
toString
().
replace
(
/
(\d)(?=(?:\d{3})
+$
)
/g
,
'$1,'
)
// 将整数部分逢三一断
var
floatPart
=
'.00'
// 预定义小数部分
...
...
src/pages/pay/marginPay/first-pay.vue
View file @
43d917bb
...
...
@@ -2,7 +2,7 @@
<h-view
id=
"margin-first-pay"
class=
"public-style"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"
$routeGo()
"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"
changePage
"
>
<span>
保证金支付
</span>
</div>
</h-header>
...
...
@@ -46,11 +46,27 @@ export default {
data
()
{
return
{
money
:
''
,
fromName
:
''
,
}
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
fromName
=
from
.
name
})
},
computed
:
{},
watch
:
{},
methods
:
{
changePage
()
{
this
.
$router
.
replace
({
name
:
this
.
fromName
,
params
:
{
bp_id
:
this
.
$route
.
params
.
bp_id
,
status
:
this
.
$route
.
params
.
status
,
isAGENT
:
this
.
$route
.
params
.
isAGENT
,
},
})
},
toPayEntry
(
money
)
{
this
.
$router
.
push
({
name
:
'MarginPayEntry'
,
...
...
src/pages/userBind/np/naturePerson.vue
View file @
43d917bb
...
...
@@ -423,7 +423,7 @@ export default {
}
},
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
// 绑定查询入口
if
(
from
.
fullPath
===
'/tab/my-info'
||
from
.
fullPath
===
'/margin-first-pay'
)
{
// 绑定查询入口
next
(
vm
=>
{
vm
.
from
=
true
vm
.
basicInfoQuery
()
...
...
@@ -454,6 +454,16 @@ export default {
}
})
},
changeUndertake
()
{
this
.
$router
.
push
({
name
:
'MarginFirstPay'
,
params
:
{
bp_id
:
this
.
$route
.
params
.
bp_id
,
status
:
this
.
$route
.
params
.
status
,
isAGENT
:
this
.
isAGENT
,
},
})
},
load_picture
(
check_id
,
index
)
{
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'attachment_list_query'
+
'&index'
+
index
// 附件查询
...
...
src/pages/userBind/org/enterprise.vue
View file @
43d917bb
...
...
@@ -548,7 +548,7 @@ export default {
// this.getBankInfo()
},
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
fullPath
===
'/tab/my-info'
)
{
if
(
from
.
fullPath
===
'/tab/my-info'
||
from
.
fullPath
===
'/margin-first-pay'
)
{
next
(
vm
=>
{
vm
.
from
=
true
vm
.
getbaseInfo
()
...
...
@@ -579,6 +579,11 @@ export default {
changeUndertake
()
{
this
.
$router
.
push
({
name
:
'MarginFirstPay'
,
params
:
{
bp_id
:
this
.
$route
.
params
.
bp_id
,
status
:
this
.
$route
.
params
.
status
,
isAGENT
:
this
.
isAGENT
,
},
})
},
addRows
(
e
)
{
...
...
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