From 02acceb3bcffc935c0b17c1ae8563c3e79b0c4fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A5=8F?= <1978476055@qq.com>
Date: Mon, 30 Dec 2024 15:32:13 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B9=B4=E8=B4=A7=E7=A4=BC=E5=8C=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/order/list/orderDetails.vue | 2 +-
src/views/product/productExamine/index.vue | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/src/views/order/list/orderDetails.vue b/src/views/order/list/orderDetails.vue
index 5ba6b6e..419d712 100644
--- a/src/views/order/list/orderDetails.vue
+++ b/src/views/order/list/orderDetails.vue
@@ -310,7 +310,7 @@
{{ orderDetailList.extension_one }}
- 上级成长值:
+ 邀请人成长值:
{{ orderDetailList.extension_two }}
diff --git a/src/views/product/productExamine/index.vue b/src/views/product/productExamine/index.vue
index 3f80366..6d19f1e 100644
--- a/src/views/product/productExamine/index.vue
+++ b/src/views/product/productExamine/index.vue
@@ -936,6 +936,11 @@ const proOptions = [
name: "能量",
value: "is_energy",
},
+ {
+ name: "年货礼包",
+ value: "is_new_year",
+ },
+
// {
// name: "活动专区",
// value: "is_activities",
@@ -1014,6 +1019,10 @@ export default {
name: "能量",
value: "is_energy",
},
+ {
+ name: "年货礼包",
+ value: "is_new_year",
+ },
// {
// name: "活动专区",
// value: "activity",
@@ -1027,6 +1036,7 @@ export default {
is_new: 0,
is_benefit: 0,
is_energy: 0,
+ is_new_year: 0,
ficti: 0,
is_ficti: "",
content: "",
@@ -1428,6 +1438,7 @@ export default {
is_new: info.is_new,
is_benefit: info.is_benefit,
is_energy: info.is_energy,
+ is_new_year: info.is_new_year,
ficti: info.ficti,
content: info.content,
store_name: info.store_name,
@@ -1447,6 +1458,7 @@ export default {
if (info.is_best === 1) this.checkboxGroup.push("is_best");
if (info.is_new === 1) this.checkboxGroup.push("is_new");
if (info.is_energy === 1) this.checkboxGroup.push("is_energy");
+ if (info.is_new_year === 1) this.checkboxGroup.push("is_new_year");
this.fullscreenLoading = false;
})
.catch((res) => {
@@ -1511,6 +1523,10 @@ export default {
? (this.formValidate.is_energy = 1)
: (this.formValidate.is_energy =
0 && this.checkboxGroup.remove("is_energy"));
+ this.checkboxGroup.includes("is_new_year")
+ ? (this.formValidate.is_new_year = 1)
+ : (this.formValidate.is_new_year =
+ 0 && this.checkboxGroup.remove("is_new_year"));
},
onChangeRecommend() {
this.recommendForm.is_benefit = Number(
@@ -1528,6 +1544,9 @@ export default {
this.recommendForm.is_energy = Number(
this.recommendGroup.includes("is_energy")
);
+ this.recommendForm.is_new_year = Number(
+ this.recommendGroup.includes("is_new_year")
+ );
},
handleClose() {
this.dialogVisible = false;