|
@@ -73,7 +73,7 @@
|
|
|
<view class="itemline" v-for="(item,index) in info.itemPackTimesDetails">
|
|
|
<view class="itemname">{{item.flowName}}</view>
|
|
|
<view>{{item.flowQty}}</view>
|
|
|
- <view v-if="expireNumber">{{expireNumber}}个月</view>
|
|
|
+ <view v-if="item.expireNumber">{{item.expireNumber}}个月</view>
|
|
|
<view v-else>永久</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -90,7 +90,7 @@
|
|
|
<view class="itemline" v-for="(item,index) in info.goodsPackTimesDetails">
|
|
|
<view class="itemname">{{item.flowName}}</view>
|
|
|
<view>{{item.flowQty}}</view>
|
|
|
- <view v-if="expireNumber">{{expireNumber}}个月</view>
|
|
|
+ <view v-if="item.expireNumber">{{item.expireNumber}}个月</view>
|
|
|
<view v-else>永久</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -148,7 +148,9 @@
|
|
|
</view>
|
|
|
<view class="numJsbox">
|
|
|
<view class="numJj" @click="calculation(1)">-</view>
|
|
|
- <view class="goodsnum">{{goodsnum}}</view>
|
|
|
+ <view class="goodsnum">
|
|
|
+ <input type="number" value="" v-model="goodsnum" class="goodsnumInput"/>
|
|
|
+ </view>
|
|
|
<view class="numJj" @click="calculation(2)">+</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -202,6 +204,7 @@
|
|
|
authorizShow:false,
|
|
|
code:'',
|
|
|
wxOpenData:'',
|
|
|
+ ext:'',
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
@@ -210,6 +213,7 @@
|
|
|
this.userInfo=this.$store.state.userInfo;
|
|
|
this.wxOpenData=this.$store.state.wxOpenData;
|
|
|
this.openGoodsDetailById();
|
|
|
+ this.ext=this.$common.getExtStoreId();
|
|
|
},
|
|
|
onShow() {
|
|
|
this.shopInfo=this.$store.state.ckshopInfo;
|
|
@@ -321,8 +325,8 @@
|
|
|
wxPhoneLogin(){
|
|
|
var that=this;
|
|
|
this.$http('miniApp2/sys/wxPhoneLogin', {
|
|
|
- appId:'wx33053a645546ec31',
|
|
|
- unionId:'EEADACCD-8A19-499D-8AD7-6975D2C93243',
|
|
|
+ appId:this.ext.appId,
|
|
|
+ unionId:this.ext.unionId,
|
|
|
code:this.code,
|
|
|
openId:this.wxOpenData.openid
|
|
|
},'POST').then(res => {
|