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
d0c393c6
Commit
d0c393c6
authored
Oct 29, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
9a4aa4e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
15 deletions
+30
-15
serviceProductEdit.vue
src/components/offlineService/serviceProductEdit.vue
+30
-14
serviceProductList.vue
src/components/offlineService/serviceProductList.vue
+0
-1
No files found.
src/components/offlineService/serviceProductEdit.vue
View file @
d0c393c6
...
...
@@ -661,7 +661,8 @@
<el-table-column
:key=
"index+'10'"
:label=
"item.Name"
>
<template
slot-scope=
"scope"
>
<span>
<el-input
v-model=
"scope.row.OneCommission"
@
keyup
.
native=
"checkPrice(scope.row,'OneCommission')"
v-if=
"index == 0"
size=
"small"
>
<el-input
v-model=
"scope.row.OneCommission"
@
keyup
.
native=
"checkPrice(scope.row,'OneCommission')"
v-if=
"index == 0"
size=
"small"
>
<el-button
slot=
"append"
>
<span
v-if=
"
addMsg.SeparateDistributionMoneyType == 2
...
...
@@ -671,7 +672,8 @@
"
>
%
</span>
</el-button>
</el-input>
<el-input
v-model=
"scope.row.TwoCommission"
@
keyup
.
native=
"checkPrice(scope.row,'TwoCommission')"
v-if=
"index == 1"
size=
"small"
>
<el-input
v-model=
"scope.row.TwoCommission"
@
keyup
.
native=
"checkPrice(scope.row,'TwoCommission')"
v-if=
"index == 1"
size=
"small"
>
<el-button
slot=
"append"
>
<span
v-if=
"
addMsg.SeparateDistributionMoneyType == 2
...
...
@@ -681,7 +683,8 @@
"
>
%
</span>
</el-button>
</el-input>
<el-input
v-model=
"scope.row.ThreeCommission"
@
keyup
.
native=
"checkPrice(scope.row,'ThreeCommission')"
v-if=
"index == 2"
size=
"small"
>
<el-input
v-model=
"scope.row.ThreeCommission"
@
keyup
.
native=
"checkPrice(scope.row,'ThreeCommission')"
v-if=
"index == 2"
size=
"small"
>
<el-button
slot=
"append"
>
<span
v-if=
"
addMsg.SeparateDistributionMoneyType == 2
...
...
@@ -807,8 +810,8 @@
SpecificationPriceList.length == 0
"
label=
"默认规格会员价设置"
>
<div
v-for=
"(item, index) in memberList1[0].GradePriceList"
:key=
"index+'15'"
>
<el-input
style=
"width:700px"
placeholder=
"请输入内容"
v-model=
"item.MemberPrice"
@
keyup
.
native=
"checkPrice(item,'MemberPrice')"
size=
"small"
class=
"input-with-select"
>
<el-input
style=
"width:700px"
placeholder=
"请输入内容"
v-model=
"item.MemberPrice"
@
keyup
.
native=
"checkPrice(item,'MemberPrice')"
size=
"small"
class=
"input-with-select"
>
<el-button
slot=
"prepend"
>
{{ item.MemberGrade }}级会员
</el-button>
<el-button
slot=
"append"
>
元
</el-button>
</el-input>
...
...
@@ -1079,7 +1082,7 @@
SpecificationPriceList
:
[],
SellingPrice
:
0
,
OriginalPrice
:
0
,
Unit
:
"
件
"
,
Unit
:
"
次
"
,
CostPrice
:
0
,
SalesNum
:
0
,
GoodsNumbers
:
""
,
...
...
@@ -1260,9 +1263,25 @@
}
},
methods
:
{
setMemberData
(){
this
.
memberList1
=
[];
this
.
memberList1
=
this
.
addMsg
.
MemberPriceTreeList
;
setMemberData
()
{
if
(
this
.
memberList1
&&
this
.
memberList1
.
length
>
0
&&
this
.
addMsg
.
MemberPriceTreeList
&&
this
.
addMsg
.
MemberPriceTreeList
.
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
;
}
})
}
});
})
}
})
}
},
initShareSettings
()
{
let
arr
=
[];
...
...
@@ -2062,12 +2081,9 @@
this
.
GradeCommissionList
=
this
.
addMsg
.
DistributionCommissionTreeList
[
0
].
GradeCommissionList
;
}
}
if
(
this
.
addMsg
.
StoresIds
)
{
this
.
Stores
=
JSON
.
parse
(
this
.
addMsg
.
StoresIds
);
}
//this.memberList1 = this.addMsg.MemberPriceTreeList[0].GradePriceList;
this
.
thisType
=
1
;
this
.
disList1
=
[];
let
objNew
=
{
...
...
@@ -2325,8 +2341,8 @@
});
}
},
watch
:{
"addMsg.MemberPriceTreeList"
(
val
){
watch
:
{
"addMsg.MemberPriceTreeList"
(
val
)
{
this
.
setMemberData
();
}
}
...
...
src/components/offlineService/serviceProductList.vue
View file @
d0c393c6
...
...
@@ -112,7 +112,6 @@
</el-table-column>
<el-table-column
prop=
"SellingPrice"
width=
"100"
sortable
label=
"售价"
>
</el-table-column>
<el-table-column
prop=
"UpdateDate"
width=
"110"
label=
"是否加入快速购买"
>
<
template
slot-scope=
"scope"
>
<el-switch
@
change=
"Edit(scope.row,10)"
v-model=
"scope.row.IsQuickBuy"
active-color=
"#409EFF"
...
...
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