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
a2ce9c03
Commit
a2ce9c03
authored
May 25, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
dd140066
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
11 deletions
+31
-11
RecSettings.vue
src/components/CommodityMan/RecSettings.vue
+4
-2
goodsList.vue
src/components/CommodityMan/goodsList.vue
+19
-5
goodsServices.vue
src/components/CommodityMan/goodsServices.vue
+6
-2
quickBuy.vue
src/components/CommodityMan/quickBuy.vue
+1
-1
baseSet.vue
src/components/UserMan/baseSet.vue
+1
-1
No files found.
src/components/CommodityMan/RecSettings.vue
View file @
a2ce9c03
...
@@ -196,12 +196,14 @@ export default {
...
@@ -196,12 +196,14 @@ export default {
this
.
commonList
.
forEach
(
item
=>
{
this
.
commonList
.
forEach
(
item
=>
{
item
.
Image
=
item
.
CoverImage
;
item
.
Image
=
item
.
CoverImage
;
})
})
let
commonList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
commonList
))
if
(
this
.
listType
==
1
){
if
(
this
.
listType
==
1
){
this
.
addMsg
.
OrderProductList
=
this
.
commonList
this
.
addMsg
.
OrderProductList
=
this
.
addMsg
.
OrderProductList
.
concat
(
commonList
)
}
else
{
}
else
{
this
.
addMsg
.
CommentProductList
=
this
.
commonList
this
.
addMsg
.
CommentProductList
=
this
.
addMsg
.
CommentProductList
.
concat
(
commonList
)
}
}
this
.
ggmbDig
=
false
;
this
.
ggmbDig
=
false
;
console
.
log
(
"this.addMsg.OrderProductList"
,
this
.
addMsg
.
OrderProductList
)
},
},
selectionChange
(
val
){
selectionChange
(
val
){
this
.
commonList
=
val
;
this
.
commonList
=
val
;
...
...
src/components/CommodityMan/goodsList.vue
View file @
a2ce9c03
...
@@ -86,8 +86,11 @@
...
@@ -86,8 +86,11 @@
label=
"分类"
>
label=
"分类"
>
<
template
slot-scope=
"scope"
>
<
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>
<el-tag
size=
"mini"
v-if=
"scope.row.CategoryList && scope.row.CategoryList.length>0"
>
{{
scope
.
row
.
CategoryList
[
0
].
CategoryName
}}
</el-tag>
<el-tooltip
v-for=
"(item,index) in scope.row.CategoryList"
:key=
"index"
class=
"item"
effect=
"dark"
:content=
"item.CategoryName"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
placement=
"top"
>
<span
v-if=
"scope.row.CategoryList.length>1"
>
...
</span>
<div
slot=
"content"
>
<span
v-for=
"(item,index) in scope.row.CategoryList"
:key=
"index"
>
{{
item
.
CategoryName
}}
</span>
</div>
<span
v-if=
"scope.row.CategoryList.length>1 && index==0"
v-for=
"(item,index) in scope.row.CategoryList"
:key=
"index"
>
...
</span>
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -157,7 +160,7 @@
...
@@ -157,7 +160,7 @@
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"CreateDate"
prop=
"CreateDate"
width=
"1
5
0"
width=
"1
6
0"
label=
"添加时间"
>
label=
"添加时间"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -273,13 +276,13 @@
...
@@ -273,13 +276,13 @@
<el-input
:disabled=
"BuyGoodsNumState"
v-model=
"plszMsg.LimitBuyGoodsNum"
style=
"width:254px;margin-left:15px"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
>
<el-input
:disabled=
"BuyGoodsNumState"
v-model=
"plszMsg.LimitBuyGoodsNum"
style=
"width:254px;margin-left:15px"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
>
<el-button
slot=
"append"
>
件
</el-button>
<el-button
slot=
"append"
>
件
</el-button>
</el-input>
</el-input>
<el-checkbox
style=
"margin-left:10px"
v-model=
"BuyGoodsNumState"
>
不限制
</el-checkbox>
<el-checkbox
@
change=
"goodChange(BuyGoodsNumState,1)"
style=
"margin-left:10px"
v-model=
"BuyGoodsNumState"
>
不限制
</el-checkbox>
</el-form-item>
</el-form-item>
<el-form-item
label-width=
"50px"
label=
"订单"
>
<el-form-item
label-width=
"50px"
label=
"订单"
>
<el-input
:disabled=
"BuyOrderNumState"
v-model=
"plszMsg.LimitBuyOrderNum"
style=
"width:254px;margin-left:15px"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
>
<el-input
:disabled=
"BuyOrderNumState"
v-model=
"plszMsg.LimitBuyOrderNum"
style=
"width:254px;margin-left:15px"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
>
<el-button
slot=
"append"
>
单
</el-button>
<el-button
slot=
"append"
>
单
</el-button>
</el-input>
</el-input>
<el-checkbox
style=
"margin-left:10px"
v-model=
"BuyOrderNumState"
>
不限制
</el-checkbox>
<el-checkbox
@
change=
"goodChange(BuyOrderNumState,2)"
style=
"margin-left:10px"
v-model=
"BuyOrderNumState"
>
不限制
</el-checkbox>
</el-form-item>
</el-form-item>
</el-form-item>
</el-form-item>
<
template
v-if=
"plszMsg.Type==9"
>
<
template
v-if=
"plszMsg.Type==9"
>
...
@@ -439,6 +442,17 @@ export default {
...
@@ -439,6 +442,17 @@ export default {
this
.
getRule
();
this
.
getRule
();
},
},
methods
:{
methods
:{
goodChange
(
val
,
num
){
if
(
!
val
){
if
(
num
==
1
){
this
.
plszMsg
.
LimitBuyGoodsNum
=
0
;
}
else
if
(
num
==
2
){
this
.
plszMsg
.
LimitBuyOrderNum
=
0
;
}
}
},
Export
(){
Export
(){
let
msg
=
this
.
msg
;
let
msg
=
this
.
msg
;
msg
=
JSON
.
parse
(
JSON
.
stringify
(
msg
));
msg
=
JSON
.
parse
(
JSON
.
stringify
(
msg
));
...
...
src/components/CommodityMan/goodsServices.vue
View file @
a2ce9c03
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
<
template
v-else
>
<
template
v-else
>
<el-input
v-model=
"scope.row.SortNew"
type=
"number"
min=
"1"
size=
"small"
style=
"display:inline-block;width:150px"
></el-input>
<el-input
v-model=
"scope.row.SortNew"
type=
"number"
min=
"1"
size=
"small"
style=
"display:inline-block;width:150px"
></el-input>
<span
@
click=
"scope.row.editState=false"
class=
"el-icon-error"
style=
"color: rgb(245, 108, 108);"
></span>
<span
@
click=
"scope.row.editState=false"
class=
"el-icon-error"
style=
"color: rgb(245, 108, 108);"
></span>
<span
@
click=
"Edit(scope.row,2)"
class=
"el-icon-success"
style=
"color:#67c23a"
></span>
<span
@
click=
"Edit(scope.row,2)"
class=
"el-icon-success"
style=
"color:#67c23a
;margin-left:10px
"
></span>
</
template
>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
...
@@ -79,8 +79,12 @@
...
@@ -79,8 +79,12 @@
width=
"200"
width=
"200"
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
<img
@
click=
"CommonJump('goodsServicesEdit',
{ServiceId:scope.row.Id})" style="width:32px;height:32px;margin:0 10px" src="../../assets/img/userman/edit.png" alt="">
<img
@
click=
"CommonJump('goodsServicesEdit',
{ServiceId:scope.row.Id})" style="width:32px;height:32px;margin:0 10px" src="../../assets/img/userman/edit.png" alt="">
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<img
@
click=
"Delete(scope.row)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
<img
@
click=
"Delete(scope.row)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
</el-tooltip>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/components/CommodityMan/quickBuy.vue
View file @
a2ce9c03
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div>
<div>
<div
class=
"searchInput"
style=
"width:250px"
>
<div
class=
"searchInput"
style=
"width:250px"
>
<el-input
style=
"display:inline-block;width:225px;height:30px"
<el-input
style=
"display:inline-block;width:225px;height:30px"
placeholder=
"请输入
规格名
搜索"
placeholder=
"请输入
名称
搜索"
v-model=
"msg.CategoryName"
v-model=
"msg.CategoryName"
@
keyup
.
enter
.
native=
"getList()"
@
keyup
.
enter
.
native=
"getList()"
@
clear=
"getList"
@
clear=
"getList"
...
...
src/components/UserMan/baseSet.vue
View file @
a2ce9c03
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"addMsg.DistributorTier==1 || addMsg.DistributorTier==2 || addMsg.DistributorTier==3"
<el-form-item
v-if=
"addMsg.DistributorTier==1 || addMsg.DistributorTier==2 || addMsg.DistributorTier==3"
label=
"
佣金是否提完
"
prop=
"IsCommissionResidue"
>
label=
"
允许用户多级返佣
"
prop=
"IsCommissionResidue"
>
<el-radio
v-model=
"addMsg.IsCommissionResidue"
:label=
"1"
>
是
</el-radio>
<el-radio
v-model=
"addMsg.IsCommissionResidue"
:label=
"1"
>
是
</el-radio>
<el-radio
v-model=
"addMsg.IsCommissionResidue"
:label=
"2"
>
否
</el-radio>
<el-radio
v-model=
"addMsg.IsCommissionResidue"
:label=
"2"
>
否
</el-radio>
</el-form-item>
</el-form-item>
...
...
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