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
373302de
Commit
373302de
authored
Jul 23, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e39e00ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
6 deletions
+29
-6
fxDistribution.vue
src/components/UserMan/fxDistribution.vue
+29
-6
No files found.
src/components/UserMan/fxDistribution.vue
View file @
373302de
<
template
>
<
template
>
<div
class=
"fxDistribution PdistributorLevel"
>
<div
class=
"fxDistribution PdistributorLevel"
>
<div
class=
"head-title"
>
<div
class=
"head-title"
>
粉象
返佣
等级
粉象
分销
等级
<el-button
@
click=
"AddDig"
style=
"float:right;margin-top: -5px;"
size=
"small"
type=
"primary"
>
<el-button
@
click=
"AddDig"
style=
"float:right;margin-top: -5px;"
size=
"small"
type=
"primary"
>
新增
新增
</el-button>
</el-button>
...
@@ -146,6 +146,23 @@
...
@@ -146,6 +146,23 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"年份"
>
<el-select
v-model=
"addMsg.Year"
placeholder=
"请选择"
>
<el-option
label=
"1"
:value=
"1"
></el-option>
<el-option
label=
"2"
:value=
"2"
></el-option>
<el-option
label=
"3"
:value=
"3"
></el-option>
<el-option
label=
"4"
:value=
"4"
></el-option>
<el-option
label=
"5"
:value=
"5"
></el-option>
<el-option
label=
"6"
:value=
"6"
></el-option>
<el-option
label=
"7"
:value=
"7"
></el-option>
<el-option
label=
"8"
:value=
"8"
></el-option>
<el-option
label=
"9"
:value=
"9"
></el-option>
<el-option
label=
"10"
:value=
"10"
></el-option>
</el-select>
<span>
年
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"是否可以升级"
>
<el-form-item
label=
"是否可以升级"
>
<el-select
v-model=
"addMsg.IsUpgrade"
placeholder=
"请选择"
>
<el-select
v-model=
"addMsg.IsUpgrade"
placeholder=
"请选择"
>
...
@@ -154,6 +171,8 @@
...
@@ -154,6 +171,8 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"小数类型"
>
<el-form-item
label=
"小数类型"
>
<el-select
v-model=
"addMsg.DecimalType"
placeholder=
"请选择"
>
<el-select
v-model=
"addMsg.DecimalType"
placeholder=
"请选择"
>
...
@@ -162,8 +181,6 @@
...
@@ -162,8 +181,6 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"升级所需下级等级"
>
<el-form-item
label=
"升级所需下级等级"
>
<el-select
v-model=
"addMsg.UpgradeId"
placeholder=
"请选择"
>
<el-select
v-model=
"addMsg.UpgradeId"
placeholder=
"请选择"
>
...
@@ -172,12 +189,16 @@
...
@@ -172,12 +189,16 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"升级所需下级等级数量"
>
<el-form-item
label=
"升级所需下级等级数量"
>
<el-input
v-model=
"addMsg.UpgradeNum"
style=
"width:218px;"
<el-input
v-model=
"addMsg.UpgradeNum"
style=
"width:218px;"
@
keyup
.
native=
"checkInteger(addMsg,'UpgradeNum')"
></el-input>
@
keyup
.
native=
"checkInteger(addMsg,'UpgradeNum')"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
...
@@ -239,7 +260,8 @@
...
@@ -239,7 +260,8 @@
UpgradeNum
:
0
,
//升级所需下级等级数量
UpgradeNum
:
0
,
//升级所需下级等级数量
UpgradeId
:
1
,
//升序所需下级等级id
UpgradeId
:
1
,
//升序所需下级等级id
DecimalType
:
1
,
//小数类型
DecimalType
:
1
,
//小数类型
Description
:
''
//描述
Description
:
''
,
//描述
Year
:
1
//年份
},
},
//分销商选择等级
//分销商选择等级
numList
:
[],
numList
:
[],
...
@@ -292,7 +314,6 @@
...
@@ -292,7 +314,6 @@
}
}
})
})
})
})
}
}
})
})
},
},
...
@@ -324,7 +345,8 @@
...
@@ -324,7 +345,8 @@
UpgradeNum
:
0
,
//升级所需下级等级数量
UpgradeNum
:
0
,
//升级所需下级等级数量
UpgradeId
:
1
,
//升序所需下级等级id
UpgradeId
:
1
,
//升序所需下级等级id
DecimalType
:
1
,
//小数类型
DecimalType
:
1
,
//小数类型
Description
:
''
//描述
Description
:
''
,
//描述
Year
:
1
//年份
}
}
},
},
//修改
//修改
...
@@ -359,6 +381,7 @@
...
@@ -359,6 +381,7 @@
if
(
valid
)
{
if
(
valid
)
{
this
.
apipost
(
"/api/user/SetFXDistributorGradeInfo"
,
this
.
addMsg
,
res
=>
{
this
.
apipost
(
"/api/user/SetFXDistributorGradeInfo"
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
this
.
getList
();
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
;
}
else
{
}
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