Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
f1ac6d2e
Commit
f1ac6d2e
authored
Aug 18, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改微店内容
parent
726c6c4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
12 deletions
+34
-12
baseSet.vue
src/components/UserMan/baseSet.vue
+1
-1
tinyMerchantSet.vue
src/components/UserMan/tinyMerchant/tinyMerchantSet.vue
+33
-11
No files found.
src/components/UserMan/baseSet.vue
View file @
f1ac6d2e
...
...
@@ -127,7 +127,7 @@
<i
class=
"topelzk elzk el-tooltip el-icon-info"
></i>
</el-tooltip>
<el-checkbox-group
v-model=
"addMsg.WithdrawWayList"
>
<el-checkbox
v-for=
"item in WithdrawWayList"
:label=
"item.Id"
:key=
"item.
id
"
>
{{
item
.
Name
}}
</el-checkbox>
<el-checkbox
v-for=
"item in WithdrawWayList"
:label=
"item.Id"
:key=
"item.
Id"
v-if=
"item.Id !=6
"
>
{{
item
.
Name
}}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
<el-form-item
class=
"commonLabel"
label=
"最少提现额度"
prop=
"MinimumWithdrawalLimit"
>
...
...
src/components/UserMan/tinyMerchant/tinyMerchantSet.vue
View file @
f1ac6d2e
...
...
@@ -45,12 +45,12 @@
</el-tooltip>
</div>
<div>
<el-form-item
<
!--
<
el-form-item
label=
"微店佣金类型"
prop=
"PriceType"
>
<el-radio
v-model=
"addMsg.PriceType"
:label=
"1"
@
change=
"addMsg.CustomMinPriceRate = 0 ,addMsg.CustomMaxPriceRate = 0,addMsg.CustomMinFixedPrice = 0,addMsg.CustomMaxFixedPrice = 0"
>
区间价格百分比
</el-radio>
<el-radio
v-model=
"addMsg.PriceType"
:label=
"2"
@
change=
"addMsg.CustomMinPriceRate = 0 ,addMsg.CustomMaxPriceRate = 0,addMsg.CustomMinFixedPrice = 0,addMsg.CustomMaxFixedPrice = 0"
>
固定价格
</el-radio>
</el-form-item>
<el-form-item
v-if=
"addMsg.PriceType == 1"
</el-form-item>
-->
<el-form-item
class=
"commonLabel"
label=
"区间价格"
>
<el-input
style=
"width:200px;"
type=
"number"
min=
"0"
size=
"small"
placeholder=
"请输入"
v-model=
"addMsg.CustomMinPriceRate"
class=
"input-with-select"
>
...
...
@@ -66,7 +66,7 @@
</el-button>
</el-input>
</el-form-item>
<el-form-item
v-if=
"addMsg.PriceType==2"
class=
"commonLabel"
<el-form-item
class=
"commonLabel"
label=
"固定价格"
>
<el-input
style=
"width:200px;"
type=
"number"
min=
"0"
size=
"small"
placeholder=
"请输入"
...
...
@@ -108,9 +108,9 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"自动打款支付,需要申请相应小程序的相应功能,例如:微信需要申请企业付款到零钱功能"
placement=
"top"
>
<i
class=
"topelzk elzk el-tooltip el-icon-info"
></i>
</el-tooltip>
<el-radio
v-model=
"addMsg.SettlementType"
:label=
"1"
>
用户自提
</el-radio
>
<el-radio
v-model=
"addMsg.SettlementType"
:label=
"2"
>
系统自动现结(微信)
</el-radio
>
<
el-radio
v-model=
"addMsg.SettlementType"
:label=
"3"
>
转入余额
</el-radio
>
<el-checkbox-group
v-model=
"SettlementType"
class=
"inputM_l"
@
change=
"checkedPayWay"
>
<el-checkbox
v-for=
"item in WithdrawWayList"
:label=
"item.Id"
:key=
"item.Id"
>
{{
item
.
Name
}}
</el-checkbox
>
<
/el-checkbox-group
>
</el-form-item>
<el-form-item
class=
"commonLabel"
label=
"最少提现额度"
prop=
"MinWithdrawal"
>
<el-input
v-model=
"addMsg.MinWithdrawal"
style=
"width:293px;"
type=
"number"
min=
"1"
size=
"small"
...
...
@@ -182,7 +182,7 @@
IsExamine
:
1
,
ApplyCondition
:
1
,
ApplyMemberLevel
:
0
,
PriceType
:
1
,
PriceType
:
0
,
CustomMinPriceRate
:
0
,
CustomMaxPriceRate
:
0
,
FixedPrice
:
0
,
...
...
@@ -196,8 +196,9 @@
UserNotice
:
''
,
},
SettlementType
:[],
WithdrawWayList
:[],
dialogVisible
:
false
,
rules
:
{
PriceType
:
[{
required
:
true
,
...
...
@@ -236,7 +237,7 @@
created
()
{
this
.
getData
();
this
.
WithdrawWayEnumList
()
},
methods
:
{
getGradeByType
(
num
){
...
...
@@ -274,7 +275,27 @@
}
});
},
checkboxfor
(
str
){
let
data
=
(
str
||
""
).
split
(
','
);
let
list
=
[];
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
){
list
.
push
(
Number
(
data
[
i
]))
}
return
list
},
checkedPayWay
(
value
){
let
SettlementType
=
value
.
join
(
","
);
this
.
addMsg
.
SettlementType
=
SettlementType
},
WithdrawWayEnumList
()
{
this
.
apipost
(
"/api/user/GetDistrbutorWithdrawWayEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
WithdrawWayList
=
res
.
data
.
data
;
}
})
},
getData
()
{
...
...
@@ -283,6 +304,7 @@
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
addMsg
=
res
.
data
.
data
;
this
.
SettlementType
=
this
.
checkboxfor
(
this
.
addMsg
.
SettlementType
)
if
(
this
.
addMsg
.
ApplyCondition
){
if
(
this
.
addMsg
.
ApplyCondition
==
1
){
this
.
getGradeByType
(
1
)
...
...
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