forked from angelo/web-retail-h5
feat(upgrade): 升级单分公司可选择区域
This commit is contained in:
parent
15b965ced7
commit
b3f83ee3fc
|
@ -28,7 +28,7 @@
|
||||||
/>
|
/>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item
|
<u-form-item
|
||||||
v-if="[60, 70, 80].includes(gradeValue) && provinceList.length"
|
v-if="[80].includes(gradeValue) && provinceList.length"
|
||||||
@click="regionSelectHandle"
|
@click="regionSelectHandle"
|
||||||
required
|
required
|
||||||
label="会员区域"
|
label="会员区域"
|
||||||
|
@ -719,7 +719,7 @@ export default {
|
||||||
console.log(res.data, 'res.data.memLevel')
|
console.log(res.data, 'res.data.memLevel')
|
||||||
if (res.data.isEnough) {
|
if (res.data.isEnough) {
|
||||||
this.form.pkGradeVal = res.data.pkGradeVal
|
this.form.pkGradeVal = res.data.pkGradeVal
|
||||||
if ([60, 70, 80].includes(res.data.gradeValue)) {
|
if ([80].includes(res.data.gradeValue)) {
|
||||||
this.gradeValue = res.data.gradeValue
|
this.gradeValue = res.data.gradeValue
|
||||||
this.getRegionAreaList(res.data.gradeValue)
|
this.getRegionAreaList(res.data.gradeValue)
|
||||||
}
|
}
|
||||||
|
@ -1005,7 +1005,7 @@ export default {
|
||||||
},
|
},
|
||||||
goBuy() {
|
goBuy() {
|
||||||
const extParams = {}
|
const extParams = {}
|
||||||
if ([60, 70, 80].includes(this.gradeValue) && this.provinceList?.length) {
|
if ([80].includes(this.gradeValue) && this.provinceList?.length) {
|
||||||
if (!this.regionAddress.length) {
|
if (!this.regionAddress.length) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请选择会员区域',
|
title: '请选择会员区域',
|
||||||
|
|
Loading…
Reference in New Issue