From e3e58d395d516792aea1760e2df42bcabc3b3c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=8F?= <1978476055@qq.com> Date: Tue, 19 Nov 2024 14:43:41 +0800 Subject: [PATCH] 1 --- src/views/product/addProduct/index.vue | 84 +++++++++++++++++++++++++- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/src/views/product/addProduct/index.vue b/src/views/product/addProduct/index.vue index 0fbdd6c..fe8e7a0 100644 --- a/src/views/product/addProduct/index.vue +++ b/src/views/product/addProduct/index.vue @@ -2753,6 +2753,86 @@ export default { // growth:1 // }, ], + isProportionList: [ + { + value: "0.80", + label: "0.80", + coupon: 0.1, + growth: 0.3 + }, + { + value: "0.75", + label: "0.75", + coupon: 0.15, + growth: 0.35 + }, + { + value: "0.70", + label: "0.70", + coupon: 0.2, + growth: 0.4 + }, + { + value: "0.65", + label: "0.65", + coupon: 0.25, + growth: 0.45 + }, + { + value: "0.60", + label: "0.60", + coupon: 0.3, + growth: 0.5 + }, + { + value: "0.55", + label: "0.55", + coupon: 0.35, + growth: 0.55 + }, + { + value: "0.50", + label: "0.50", + coupon: 0.4, + growth: 0.6 + }, + { + value: "0.45", + label: "0.45", + coupon: 0.45, + growth: 0.65 + }, + { + value: "0.40", + label: "0.40", + coupon: 0.5, + growth: 0.7 + }, + { + value: "0.35", + label: "0.35", + coupon: 0.55, + growth: 0.75 + }, + { + value: "0.30", + label: "0.30", + coupon: 0.6, + growth: 0.8 + }, + { + value: "0.25", + label: "0.25", + coupon: 0.65, + growth: 0.85 + }, + { + value: "0.20", + label: "0.20", + coupon: 0.7, + growth: 0.9 + } + ], businessList: [], fileList: [], roterPre: roterPre, @@ -4092,7 +4172,7 @@ export default { growth: 0.9 } ]; - this.proportionList = val ? proportionList : this.proportionList; + this.proportionList = val ? proportionList : this.isProportionList; this.OneattrValue.map(item => { let obj = this.proportionList.find( items => items.value == item.proportion @@ -4539,7 +4619,7 @@ export default { ]; this.proportionList = this.formValidate.is_benefit ? proportionList - : this.proportionList; + : this.isProportionList; console.log(info.qualification); if (info.svip_price_type != 0 && info.mer_svip_status) this.attrVal = {