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">
|
||||
<view class="footer_l">
|
||||
<u-checkbox-group
|
||||
<!-- <u-checkbox-group
|
||||
v-model="agreementShow"
|
||||
shape="circle"
|
||||
activeColor="#FB3024"
|
||||
@change="checkboxChange"
|
||||
>
|
||||
<u-checkbox :name="1"> </u-checkbox>
|
||||
</u-checkbox-group>
|
||||
<view class="tit3">{{ '请阅读并同意' }}</view>
|
||||
<view class="tit2" @click="toAgree" v-if="specialArea != 30">
|
||||
</u-checkbox-group> -->
|
||||
<!-- <view class="tit3">{{ '请阅读并同意' }}</view> -->
|
||||
<!-- <view class="tit2" @click="toAgree" v-if="specialArea != 30">
|
||||
《{{ '购买协议' }}》</view
|
||||
>
|
||||
<view
|
||||
> -->
|
||||
<!-- <view
|
||||
class="tit2"
|
||||
@click="toAgree"
|
||||
v-if="specialArea == 30 && userInfo.isDealer == 1"
|
||||
>
|
||||
《推广人员服务协议》</view
|
||||
>
|
||||
<view
|
||||
> -->
|
||||
<!-- <view
|
||||
class="tit2"
|
||||
@click="toAgree"
|
||||
v-if="specialArea == 30 && userInfo.isDealer == 0"
|
||||
>
|
||||
《经销商合同》</view
|
||||
>
|
||||
> -->
|
||||
</view>
|
||||
<view class="tit2 cen" v-if="specialArea == 30"
|
||||
>该礼包一旦购买不能退换</view
|
||||
|
@ -545,7 +545,7 @@ export default {
|
|||
diqu: '',
|
||||
allData: [],
|
||||
goodsNum: 1,
|
||||
agreementShow: [],
|
||||
agreementShow: [1],
|
||||
priceAmount: 0, //商品总价
|
||||
achiveAmount: 0, //总业绩
|
||||
totalAmont: 0,
|
||||
|
|
|
@ -744,7 +744,9 @@ export default {
|
|||
};
|
||||
},
|
||||
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.shoppingArr = JSON.parse(options.shoppArr);
|
||||
if (options.selTable) {
|
||||
|
|
Loading…
Reference in New Issue