|
@@ -196,7 +196,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
moreToDo(item){
|
|
moreToDo(item){
|
|
|
let that=this;
|
|
let that=this;
|
|
|
- let doList = ['成本变动记录','价格变动记录','复制并新建','颜色管理', '下单记录','预售管理']
|
|
|
|
|
|
|
+ let doList = ['成本变动记录','价格变动记录','复制并新建','多颜色管理', '下单记录','预售管理']
|
|
|
uni.showActionSheet({
|
|
uni.showActionSheet({
|
|
|
itemList: doList,
|
|
itemList: doList,
|
|
|
success: function (respond) {
|
|
success: function (respond) {
|
|
@@ -209,7 +209,7 @@ export default {
|
|
|
that.pageTo({url: '/admin/item/copy',query: {id: item.id}})
|
|
that.pageTo({url: '/admin/item/copy',query: {id: item.id}})
|
|
|
} else if (index == 3) {
|
|
} else if (index == 3) {
|
|
|
if(item.variety == 0){
|
|
if(item.variety == 0){
|
|
|
- that.$msg('请选开启颜色管理')
|
|
|
|
|
|
|
+ that.$msg('请先开启多颜色管理')
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|
|
|
that.pageTo({url: "/admin/item/xjSelect?itemId="+item.id})
|
|
that.pageTo({url: "/admin/item/xjSelect?itemId="+item.id})
|