From a4b3ee325c7354579d495bc74a777e494e5ec38c Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 06 Feb 2026 18:18:44 +0800
Subject: [PATCH] 商品可以价格面议 选择走访时显示输入走访企业名 分会添加活动时要总会审核 分类添加人数限制,添加活动选择了填写人数限制的分类时活动名额下显示该分类人数限制为15 同一个企业30天内只能走访一次,在30天内走访同一个企业时提示该企业已被走访xx天后才可以从新走访
---
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