3
0
Fork 0

feat(regist && upgrade): 80 90可选择会员区域

This commit is contained in:
woody 2025-08-20 15:54:04 +08:00
parent ab086c3fef
commit adfd288f59
2 changed files with 6 additions and 6 deletions

View File

@ -55,7 +55,7 @@
/>
</u-form-item>
<u-form-item
v-if="[80].includes(gradeValue) && provinceList.length"
v-if="[80, 90].includes(gradeValue) && provinceList.length"
@click="regionSelectHandle"
required
label="会员区域"
@ -827,7 +827,7 @@ export default {
if (res.code == 200) {
if (res.data.isEnough) {
this.form.pkGradeVal = res.data.pkGradeVal
if ([80].includes(res.data.gradeValue)) {
if ([80, 90].includes(res.data.gradeValue)) {
this.gradeValue = res.data.gradeValue
this.getRegionAreaList(res.data.gradeValue)
}
@ -1188,7 +1188,7 @@ export default {
},
goBuy() {
const extParams = {}
if ([80].includes(this.gradeValue) && this.provinceList.length) {
if ([80, 90].includes(this.gradeValue) && this.provinceList.length) {
if (!this.regionAddress.length) {
uni.showToast({
title: '请选择会员区域',

View File

@ -28,7 +28,7 @@
/>
</u-form-item>
<u-form-item
v-if="[80].includes(gradeValue) && provinceList.length"
v-if="[80, 90].includes(gradeValue) && provinceList.length"
@click="regionSelectHandle"
required
label="会员区域"
@ -719,7 +719,7 @@ export default {
console.log(res.data, 'res.data.memLevel')
if (res.data.isEnough) {
this.form.pkGradeVal = res.data.pkGradeVal
if ([80].includes(res.data.gradeValue)) {
if ([80, 90].includes(res.data.gradeValue)) {
this.gradeValue = res.data.gradeValue
this.getRegionAreaList(res.data.gradeValue)
}
@ -1005,7 +1005,7 @@ export default {
},
goBuy() {
const extParams = {}
if ([80].includes(this.gradeValue) && this.provinceList?.length) {
if ([80, 90].includes(this.gradeValue) && this.provinceList?.length) {
if (!this.regionAddress.length) {
uni.showToast({
title: '请选择会员区域',