浏览代码

增加是否裂变字段

梁展鹏 3 年之前
父节点
当前提交
7dc1e6dbf6
共有 1 个文件被更改,包括 9 次插入5 次删除
  1. 9 5
      src/views/photoManagement/imageGoodsManagement/index.vue

+ 9 - 5
src/views/photoManagement/imageGoodsManagement/index.vue

@@ -120,8 +120,16 @@ export default {
           tagName: row => (row.isTake ? '是' : '否')
         },
         {
+          key: 'isReady',
+          name: '是否裂变',
+          width: this.$col.s,
+          type: 'tag',
+          fetchTagType: val => (val ? 'success' : 'info'),
+          tagName: row => (row.isReady ? '是' : '否')
+        },
+        {
           key: 'isShow',
-          name: '状态',
+          name: '是否上架',
           width: this.$col.b,
           type: 'switch',
           switchName: ['上架', '下架'],
@@ -134,10 +142,6 @@ export default {
             }
             this.$g_emit('photo_reload');
           }
-          // width: this.$col.s,
-          // type: 'tag',
-          // fetchTagType: val => (val ? 'success' : 'info'),
-          // tagName: row => (row.isShow ? '上架' : '下架')
         },
         {
           key: 'action',