forked from angelo/web-retail-h5
feat(regist && upgrade): 80 90可选择会员区域
This commit is contained in:
parent
ab086c3fef
commit
adfd288f59
|
@ -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: '请选择会员区域',
|
||||
|
|
|
@ -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: '请选择会员区域',
|
||||
|
|
Loading…
Reference in New Issue