年货礼包

This commit is contained in:
faiz 2024-12-30 15:32:13 +08:00
parent 47fdf715f3
commit 02acceb3bc
2 changed files with 20 additions and 1 deletions

View File

@ -310,7 +310,7 @@
<div class="value">{{ orderDetailList.extension_one }}</div> <div class="value">{{ orderDetailList.extension_one }}</div>
</li> </li>
<li class="item"> <li class="item">
<div>上级成长值</div> <div>邀请人成长值</div>
<div class="value">{{ orderDetailList.extension_two }}</div> <div class="value">{{ orderDetailList.extension_two }}</div>
</li> </li>
<li class="item"> <li class="item">

View File

@ -936,6 +936,11 @@ const proOptions = [
name: "能量", name: "能量",
value: "is_energy", value: "is_energy",
}, },
{
name: "年货礼包",
value: "is_new_year",
},
// { // {
// name: "", // name: "",
// value: "is_activities", // value: "is_activities",
@ -1014,6 +1019,10 @@ export default {
name: "能量", name: "能量",
value: "is_energy", value: "is_energy",
}, },
{
name: "年货礼包",
value: "is_new_year",
},
// { // {
// name: "", // name: "",
// value: "activity", // value: "activity",
@ -1027,6 +1036,7 @@ export default {
is_new: 0, is_new: 0,
is_benefit: 0, is_benefit: 0,
is_energy: 0, is_energy: 0,
is_new_year: 0,
ficti: 0, ficti: 0,
is_ficti: "", is_ficti: "",
content: "", content: "",
@ -1428,6 +1438,7 @@ export default {
is_new: info.is_new, is_new: info.is_new,
is_benefit: info.is_benefit, is_benefit: info.is_benefit,
is_energy: info.is_energy, is_energy: info.is_energy,
is_new_year: info.is_new_year,
ficti: info.ficti, ficti: info.ficti,
content: info.content, content: info.content,
store_name: info.store_name, store_name: info.store_name,
@ -1447,6 +1458,7 @@ export default {
if (info.is_best === 1) this.checkboxGroup.push("is_best"); if (info.is_best === 1) this.checkboxGroup.push("is_best");
if (info.is_new === 1) this.checkboxGroup.push("is_new"); if (info.is_new === 1) this.checkboxGroup.push("is_new");
if (info.is_energy === 1) this.checkboxGroup.push("is_energy"); 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; this.fullscreenLoading = false;
}) })
.catch((res) => { .catch((res) => {
@ -1511,6 +1523,10 @@ export default {
? (this.formValidate.is_energy = 1) ? (this.formValidate.is_energy = 1)
: (this.formValidate.is_energy = : (this.formValidate.is_energy =
0 && this.checkboxGroup.remove("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() { onChangeRecommend() {
this.recommendForm.is_benefit = Number( this.recommendForm.is_benefit = Number(
@ -1528,6 +1544,9 @@ export default {
this.recommendForm.is_energy = Number( this.recommendForm.is_energy = Number(
this.recommendGroup.includes("is_energy") this.recommendGroup.includes("is_energy")
); );
this.recommendForm.is_new_year = Number(
this.recommendGroup.includes("is_new_year")
);
}, },
handleClose() { handleClose() {
this.dialogVisible = false; this.dialogVisible = false;