cmy 1 年之前
父節點
當前提交
ed791939aa
共有 2 個文件被更改,包括 10 次插入2 次删除
  1. 1 1
      src/pages/marketing/serveItem/index.vue
  2. 9 1
      src/pages/product/productAdd/index.vue

+ 1 - 1
src/pages/marketing/serveItem/index.vue

@@ -156,7 +156,7 @@
 					{
 						title: '库存',
 						key: 'repertory',
-						minWidth: 100
+						minWidth: 80
 					},
 					{
 						title: '前端显示',

+ 9 - 1
src/pages/product/productAdd/index.vue

@@ -3002,7 +3002,15 @@ export default {
         if(this.$route.params.id) return this.$Message.error('商品类型不能切换!');
         this.formValidate.product_type = item.id;
       }
-      if(this.formValidate.product_type && this.formValidate.product_type != 4){
+	  if(this.formValidate.product_type == 5||this.formValidate.product_type == 6){
+		this.headTab = [
+		  { title: "基础信息", name: "1" },
+		  { title: "规格库存", name: "2" },
+		  { title: "商品详情", name: "3" },
+		  { title: "其他设置", name: "6" },
+		  { title: "适用门店", name: "7" },
+		]
+	  }else if(this.formValidate.product_type && this.formValidate.product_type != 4){
         this.headTab = [
           { title: "基础信息", name: "1" },
           { title: "规格库存", name: "2" },