fix(regiest): bug-4 fix pkCountry undefined
This commit is contained in:
parent
188527c872
commit
d6d6f9f362
|
@ -358,32 +358,32 @@
|
||||||
<view class="footer_f">
|
<view class="footer_f">
|
||||||
<view class="footer">
|
<view class="footer">
|
||||||
<view class="footer_l">
|
<view class="footer_l">
|
||||||
<u-checkbox-group
|
<!-- <u-checkbox-group
|
||||||
v-model="agreementShow"
|
v-model="agreementShow"
|
||||||
shape="circle"
|
shape="circle"
|
||||||
activeColor="#FB3024"
|
activeColor="#FB3024"
|
||||||
@change="checkboxChange"
|
@change="checkboxChange"
|
||||||
>
|
>
|
||||||
<u-checkbox :name="1"> </u-checkbox>
|
<u-checkbox :name="1"> </u-checkbox>
|
||||||
</u-checkbox-group>
|
</u-checkbox-group> -->
|
||||||
<view class="tit3">{{ '请阅读并同意' }}</view>
|
<!-- <view class="tit3">{{ '请阅读并同意' }}</view> -->
|
||||||
<view class="tit2" @click="toAgree" v-if="specialArea != 30">
|
<!-- <view class="tit2" @click="toAgree" v-if="specialArea != 30">
|
||||||
《{{ '购买协议' }}》</view
|
《{{ '购买协议' }}》</view
|
||||||
>
|
> -->
|
||||||
<view
|
<!-- <view
|
||||||
class="tit2"
|
class="tit2"
|
||||||
@click="toAgree"
|
@click="toAgree"
|
||||||
v-if="specialArea == 30 && userInfo.isDealer == 1"
|
v-if="specialArea == 30 && userInfo.isDealer == 1"
|
||||||
>
|
>
|
||||||
《推广人员服务协议》</view
|
《推广人员服务协议》</view
|
||||||
>
|
> -->
|
||||||
<view
|
<!-- <view
|
||||||
class="tit2"
|
class="tit2"
|
||||||
@click="toAgree"
|
@click="toAgree"
|
||||||
v-if="specialArea == 30 && userInfo.isDealer == 0"
|
v-if="specialArea == 30 && userInfo.isDealer == 0"
|
||||||
>
|
>
|
||||||
《经销商合同》</view
|
《经销商合同》</view
|
||||||
>
|
> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="tit2 cen" v-if="specialArea == 30"
|
<view class="tit2 cen" v-if="specialArea == 30"
|
||||||
>该礼包一旦购买不能退换</view
|
>该礼包一旦购买不能退换</view
|
||||||
|
@ -545,7 +545,7 @@ export default {
|
||||||
diqu: '',
|
diqu: '',
|
||||||
allData: [],
|
allData: [],
|
||||||
goodsNum: 1,
|
goodsNum: 1,
|
||||||
agreementShow: [],
|
agreementShow: [1],
|
||||||
priceAmount: 0, //商品总价
|
priceAmount: 0, //商品总价
|
||||||
achiveAmount: 0, //总业绩
|
achiveAmount: 0, //总业绩
|
||||||
totalAmont: 0,
|
totalAmont: 0,
|
||||||
|
|
|
@ -744,7 +744,9 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
this.pkCountry = uni.getStorageSync("pkCountry");
|
const user = uni.getStorageSync("User");
|
||||||
|
this.pkCountry = user.pkSettleCountry;
|
||||||
|
console.log(this.pkCountry, '....pkCountry')
|
||||||
this.specialArea = options.specialArea;
|
this.specialArea = options.specialArea;
|
||||||
this.shoppingArr = JSON.parse(options.shoppArr);
|
this.shoppingArr = JSON.parse(options.shoppArr);
|
||||||
if (options.selTable) {
|
if (options.selTable) {
|
||||||
|
|
Loading…
Reference in New Issue