diff --git a/admin/src/api/car/product/index.js b/admin/src/api/car/product/index.js
index c28a6f8..852a5f1 100644
--- a/admin/src/api/car/product/index.js
+++ b/admin/src/api/car/product/index.js
@@ -68,3 +68,11 @@ export async function updateProductBrokerage(data) {
}
return Promise.reject(new Error(res.data.message));
}
+
+export async function updateProductCps(data) {
+ const res = await request.put('/car/product/cps', data);
+ if (res.data.code === 0) {
+ return res.data.message;
+ }
+ return Promise.reject(new Error(res.data.message));
+}
diff --git a/admin/src/views/car/product/components/editCps.vue b/admin/src/views/car/product/components/editCps.vue
new file mode 100644
index 0000000..4a9e98a
--- /dev/null
+++ b/admin/src/views/car/product/components/editCps.vue
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+ 取消
+
+ 保存
+
+
+
+
+
+
+
diff --git a/admin/src/views/car/product/index.vue b/admin/src/views/car/product/index.vue
index 54bbc73..2107fa2 100644
--- a/admin/src/views/car/product/index.vue
+++ b/admin/src/views/car/product/index.vue
@@ -191,6 +191,7 @@
+ CPS
产品
佣金
优惠券
@@ -218,6 +219,8 @@
:visible.sync="showEditBrokerage"
@done="reload"
/>
+
+