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
253daaa9
Commit
253daaa9
authored
Oct 30, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
775d6b6e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
14 deletions
+11
-14
serviceProductEdit.vue
src/components/offlineService/serviceProductEdit.vue
+9
-12
serviceProductList.vue
src/components/offlineService/serviceProductList.vue
+2
-2
No files found.
src/components/offlineService/serviceProductEdit.vue
View file @
253daaa9
...
...
@@ -622,7 +622,8 @@
<
template
v-if=
"addMsg.SeparateDistribution == 1"
>
<el-form-item
label=
"分销类型"
>
<el-radio
v-model=
"addMsg.SeparateDistributionType"
:label=
"1"
>
普通设置
</el-radio>
<el-radio
@
change=
"butionType"
v-model=
"addMsg.SeparateDistributionType"
:label=
"2"
style=
"display:none;"
>
详细设置
</el-radio>
<el-radio
@
change=
"butionType"
v-model=
"addMsg.SeparateDistributionType"
:label=
"2"
style=
"display:none;"
>
详细设置
</el-radio>
</el-form-item>
<el-form-item
label=
"分销佣金类型"
>
<el-radio
v-model=
"addMsg.SeparateDistributionMoneyType"
:label=
"2"
>
固定金额
</el-radio>
...
...
@@ -1264,18 +1265,14 @@
},
methods
:
{
setMemberData
()
{
if
(
this
.
memberList1
&&
this
.
memberList1
.
length
>
0
&&
this
.
addMsg
.
MemberPrice
Tree
List
&&
this
.
addMsg
.
MemberPrice
Tree
List
.
length
>
0
)
{
if
(
this
.
memberList1
&&
this
.
memberList1
.
length
>
0
&&
this
.
addMsg
.
MemberPriceList
&&
this
.
addMsg
.
MemberPriceList
.
length
>
0
)
{
this
.
memberList1
.
forEach
(
mItem
=>
{
if
(
mItem
.
GradePriceList
&&
mItem
.
GradePriceList
.
length
>
0
)
{
mItem
.
GradePriceList
.
forEach
(
gItem
=>
{
this
.
addMsg
.
MemberPriceTreeList
.
forEach
(
pItem
=>
{
if
(
pItem
.
GradePriceList
&&
pItem
.
GradePriceList
.
length
>
0
)
{
pItem
.
GradePriceList
.
forEach
(
subItem
=>
{
if
(
gItem
.
MemberGrade
==
subItem
.
MemberGrade
)
{
gItem
.
MemberPrice
=
subItem
.
MemberPrice
;
}
})
this
.
addMsg
.
MemberPriceList
.
forEach
(
pItem
=>
{
if
(
gItem
.
MemberGrade
==
pItem
.
MemberGrade
)
{
gItem
.
MemberPrice
=
pItem
.
MemberPrice
;
}
});
})
...
...
@@ -2128,7 +2125,7 @@
ico
:
""
}
}
console
.
log
(
this
.
Stores
,
'Stores'
);
console
.
log
(
this
.
Stores
,
'Stores'
);
this
.
getSuggestPrice
();
this
.
getFXDGradeList2
();
this
.
getTree
();
...
...
@@ -2341,7 +2338,7 @@
}
},
watch
:
{
"addMsg.MemberPrice
Tree
List"
(
val
)
{
"addMsg.MemberPriceList"
(
val
)
{
this
.
setMemberData
();
}
}
...
...
src/components/offlineService/serviceProductList.vue
View file @
253daaa9
...
...
@@ -60,7 +60,7 @@
</el-table-column>
<el-table-column
prop=
"Id"
width=
"80"
sortable
label=
"ID"
>
</el-table-column>
<el-table-column
prop=
"Remark"
label=
"分类"
>
<el-table-column
prop=
"Remark"
width=
"150"
label=
"分类"
>
<template
slot-scope=
"scope"
>
<el-tag
size=
"mini"
v-if=
"scope.row.CategoryList && scope.row.CategoryList.length>0"
>
{{
scope
.
row
.
CategoryList
[
0
].
CategoryName
}}
</el-tag>
...
...
@@ -117,7 +117,7 @@
</el-table-column>
<el-table-column
prop=
"StoreNameList"
label=
"所属门店"
>
<
template
slot-scope=
"scope"
>
<el-tag
v-if=
"scope.row.StoreNameList && scope.row.StoreNameList.length>0"
style=
"margin-top:5px;"
<el-tag
v-if=
"scope.row.StoreNameList && scope.row.StoreNameList.length>0"
style=
"margin-top:5px;
margin-left:5px;
"
v-for=
"(subItem,subIndex) in scope.row.StoreNameList"
:key=
"subIndex"
>
{{
subItem
}}
</el-tag>
...
...
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