|
@@ -385,8 +385,9 @@
|
|
|
"
|
|
|
@click="onShopOperation('look', scope.row)"
|
|
|
type="text"
|
|
|
- >查看</el-button
|
|
|
- >
|
|
|
+ >查看</el-button>
|
|
|
+
|
|
|
+ <el-button @click="onShopOperation('copy', scope.row)" type="text" >复制</el-button>
|
|
|
<!-- <el-button v-if="scope.row.status == 0"
|
|
|
v-permission="'goods/del'"
|
|
|
@click="onDelete(scope.row)"
|
|
@@ -1056,7 +1057,6 @@ export default {
|
|
|
params.page = this.pageInfo.page;
|
|
|
goodsQuery(params).then((res) => {
|
|
|
if (res.code == 200 && res.data) {
|
|
|
-
|
|
|
this.tableList = res.data.rows;
|
|
|
this.pageInfo.total = res.data.total;
|
|
|
}
|
|
@@ -1148,7 +1148,7 @@ export default {
|
|
|
this.addType = type;
|
|
|
this.addDisabled = type == "look" ? true : false;
|
|
|
// 判断是否是修改组合商品
|
|
|
- if ((type == "update" || type == "look") && row.complementGoodsIdList) {
|
|
|
+ if ((type == "update" || type == "look" || type == 'copy') && row.complementGoodsIdList) {
|
|
|
this.routeShopStatus = true;
|
|
|
|
|
|
let form = this.form;
|