Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
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
youjj
cloud-platform-ui
Commits
3439ecac
Commit
3439ecac
authored
Oct 21, 2020
by
rencs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10.21 比例
parent
c76daee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
25 deletions
+43
-25
generalSetting.vue
src/views/baseInfo/generalSetting.vue
+43
-25
No files found.
src/views/baseInfo/generalSetting.vue
View file @
3439ecac
...
...
@@ -110,35 +110,46 @@
</el-form-item>
<el-row
v-if=
"dialogFrom.type == 66"
>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
24
"
>
<el-form-item
label=
"收车服务费"
>
<el-input
v-model=
"dialogFrom.closedVehicleAmout"
<el-input-number
:min=
"0"
:precision=
"2"
:step=
"0.01"
v-model=
"closedVehicleAmout"
placeholder=
"请输入收车服务费"
></el-input>
<span
style=
"color: #bfcbd9"
></span>
></el-input
-number
>
<span
style=
"color: #bfcbd9"
>
收车服务费(输入具体金额)
</span>
</el-form-item>
</el-col>
</el-row>
<el-row
v-if=
"dialogFrom.type == 66"
>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
24
"
>
<el-form-item
label=
"平台抽成比"
>
<el-input
v-model=
"dialogFrom.orderExtract"
<el-input-number
:min=
"0"
:max=
"100"
:step=
"1"
:precision=
"0"
v-model=
"orderExtract"
placeholder=
"请输入平台抽成比例"
></el-input>
<span
style=
"color: #bfcbd9"
></span>
></el-input
-number
>
<span
style=
"color: #bfcbd9"
>
平台抽成比例(输入百分比)
</span>
</el-form-item>
</el-col>
</el-row>
<el-row
v-if=
"dialogFrom.type == 66"
>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
24
"
>
<el-form-item
label=
"订单抽成比"
>
<el-input
v-model=
"dialogFrom.platformExtract"
<el-input-number
:min=
"0"
:max=
"100"
:step=
"1"
:precision=
"0"
v-model=
"platformExtract"
placeholder=
"请输入订单抽成比例"
></el-input>
<span
style=
"color: #bfcbd9"
></span>
></el-input
-number
>
<span
style=
"color: #bfcbd9"
>
订单抽成比例(输入百分比)
</span>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -347,6 +358,9 @@ export default {
withdrawWay
:
1
,
params
:
""
,
},
closedVehicleAmout
:
0
,
orderExtract
:
0
,
platformExtract
:
0
,
rules
:
{
title
:
{
type
:
"string"
,
...
...
@@ -455,16 +469,14 @@ export default {
this
.
dialogVisible
=
true
;
this
.
cleanDialogFrom
();
typeof
row
.
params
==
"object"
?
delete
row
.
params
:
row
;
this
.
dialogFrom
=
row
;
if
(
row
.
type
==
66
)
{
this
.
dialogFrom
.
closedVehicleAmout
=
JSON
.
parse
(
row
.
params
).
closedVehicleAmout
;
this
.
dialogFrom
.
orderExtract
=
JSON
.
parse
(
row
.
params
).
orderExtract
;
this
.
dialogFrom
.
platformExtract
=
JSON
.
parse
(
row
.
params
).
platformExtract
;
this
.
closedVehicleAmout
=
JSON
.
parse
(
row
.
params
).
closedVehicleAmout
;
this
.
orderExtract
=
JSON
.
parse
(
row
.
params
).
orderExtract
;
this
.
platformExtract
=
JSON
.
parse
(
row
.
params
).
platformExtract
;
}
this
.
dialogFrom
=
row
;
this
.
activeName2
=
"first"
;
},
...
...
@@ -550,7 +562,7 @@ export default {
value
:
this
.
dialogFrom
.
value
,
params
:
this
.
dialogFrom
.
params
,
};
if
(
this
.
dialogFrom
.
type
==
88
)
{
if
(
this
.
dialogFrom
.
type
==
88
||
this
.
dialogFrom
.
type
==
66
)
{
//提现规则
let
p
=
{
minAmount
:
this
.
dialogFrom
.
minAmount
,
...
...
@@ -560,6 +572,9 @@ export default {
maxNumberOfMonth
:
this
.
dialogFrom
.
maxNumberOfMonth
,
maxNumberOfDay
:
this
.
dialogFrom
.
maxNumberOfDay
,
withdrawWay
:
this
.
dialogFrom
.
withdrawWay
,
closedVehicleAmout
:
this
.
closedVehicleAmout
,
orderExtract
:
this
.
orderExtract
,
platformExtract
:
this
.
platformExtract
,
};
params
.
params
=
JSON
.
stringify
(
p
);
}
else
{
...
...
@@ -605,7 +620,7 @@ export default {
value
:
this
.
dialogFrom
.
value
,
params
:
this
.
dialogVisible
.
params
,
};
if
(
this
.
dialogFrom
.
type
==
88
)
{
if
(
this
.
dialogFrom
.
type
==
88
||
this
.
dialogFrom
.
type
==
66
)
{
//提现规则
let
p
=
{
minAmount
:
this
.
dialogFrom
.
minAmount
,
...
...
@@ -615,6 +630,9 @@ export default {
maxNumberOfMonth
:
this
.
dialogFrom
.
maxNumberOfMonth
,
maxNumberOfDay
:
this
.
dialogFrom
.
maxNumberOfDay
,
withdrawWay
:
this
.
dialogFrom
.
withdrawWay
,
closedVehicleAmout
:
this
.
closedVehicleAmout
,
orderExtract
:
this
.
orderExtract
,
platformExtract
:
this
.
platformExtract
,
};
params
.
params
=
JSON
.
stringify
(
p
);
}
else
{
...
...
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