doum
2025-12-11 21c7a5cf169657835b45668fee59ddf50ca13e67
admin/src/views/business/platformGoods.vue
@@ -87,6 +87,8 @@
          <template slot-scope="{row}">
            <el-switch
              v-model="row.status"
              :active-value="1"
              :inactive-value="0"
              active-color="#13ce66"
              inactive-color="#ff4949"
              @change="statusChange(row)"
@@ -98,7 +100,6 @@
        <el-table-column prop="labels" label="商品标签集合,多个用英文逗号隔开" min-width="100px"></el-table-column> -->
        <!-- v-if="containPermissions(['business:goods:update', 'business:goods:delete'])" -->
        <el-table-column
          label="操作"
          min-width="120"
          fixed="right"
@@ -189,7 +190,7 @@
      'field.main': 'id'
    })
    this.search()
    labelList({
      capacity: 999,
      model: {
@@ -214,7 +215,7 @@
    },
    /**
     *
     *
     * @param {上下状态} status 0上架 1下架
     */
    issued(status) {
@@ -228,7 +229,7 @@
        })
    },
    statusChange(row) {
      updateById(row)
        .then(() => {