From 04102f7237efefa744090ed7c25f7b5d0807b679 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 18:11:57 +0800
Subject: [PATCH] 完成运营中心提现和运营中心权限管理

---
 shop_vue/src/views/product/product/index.vue |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/shop_vue/src/views/product/product/index.vue b/shop_vue/src/views/product/product/index.vue
index b82793a..73f6e0b 100644
--- a/shop_vue/src/views/product/product/index.vue
+++ b/shop_vue/src/views/product/product/index.vue
@@ -62,6 +62,8 @@
               <span v-if="scope.row.is_virtual == 0">实物商品</span>
               <span v-if="scope.row.is_virtual == 1" class="green">虚拟商品</span>
               <span v-if="scope.row.is_virtual == 2" class="green">券商品</span>
+              <span v-if="scope.row.is_virtual == 3" class="green">服务商品</span>
+              <span v-if="scope.row.is_virtual == 4" class="green">团购商品</span>
             </template>
           </el-table-column>
           <el-table-column prop="create_time" label="发布时间"></el-table-column>
@@ -72,6 +74,7 @@
                 <el-button v-if="scope.row.audit_status==10" @click="editClick(scope.row)" type="text" size="small" v-auth="'/product/product/edit'">编辑商品</el-button>
                 <el-button v-if="scope.row.audit_status==0" @click="editClick(scope.row)" type="text" size="small" v-auth="'/product/product/edit'">审核商品</el-button>
                 <el-button v-if="activeName == 'recovery'" @click="changeStatus(scope.row, 20)" type="text" size="small" v-auth="'/product/product/state'">恢复</el-button>
+                <el-button @click="copyClick(scope.row)" type="text" size="small" v-auth="'/product/product/copy'">一键复制</el-button>
                 <el-button @click="delClick(scope.row)" type="text" size="small" v-auth="'/product/product/delete'">删除商品</el-button>
               </div>
             </template>
@@ -186,6 +189,17 @@
         }
       });
     },
+
+    /*打开复制*/
+    copyClick(row) {
+      this.$router.push({
+        path: '/product/product/edit',
+        query: {
+          product_id: row.product_id,
+          scene: 'copy'
+        }
+      });
+    },
     /*删除*/
     delClick: function(row) {
       let self = this;

--
Gitblit v1.9.2