diff --git a/src/api/modules/mer_admin.js b/src/api/modules/mer_admin.js index 82ae6d2..03e9c6c 100644 --- a/src/api/modules/mer_admin.js +++ b/src/api/modules/mer_admin.js @@ -63,6 +63,10 @@ export const mer_admin = { BatchDeleteProducts: (data) => { return $http.post(`/merchant-api/product/batch/delete`, data); }, + //打折扣 + setDiscounts: (data) => { + return $http.post(`merchant-api/activity/save`, data); + }, //上架或下架商品 putOnShelvesProducts: (data) => { return $http.post(`/merchant-api/product/batch/update/status`, data); diff --git a/src/views/modules/product/index.vue b/src/views/modules/product/index.vue index 8704e8c..3b34386 100644 --- a/src/views/modules/product/index.vue +++ b/src/views/modules/product/index.vue @@ -59,14 +59,23 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/product/popup/add-stock.vue b/src/views/modules/product/popup/add-stock.vue new file mode 100644 index 0000000..e88c7ae --- /dev/null +++ b/src/views/modules/product/popup/add-stock.vue @@ -0,0 +1,185 @@ + + + \ No newline at end of file