|
@@ -61,7 +61,7 @@
|
|
|
<view class="title">应付:</view>
|
|
|
<view class="flex coin">
|
|
|
<image src="../../static/icon/bean.png" mode=""></image>
|
|
|
- <view>x {{ payInfo.value }}</view>
|
|
|
+ <view>x {{ payInfo.exchangePrice }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="btn-right">
|
|
@@ -147,14 +147,14 @@
|
|
|
})
|
|
|
this.payInfo = {
|
|
|
...sku,
|
|
|
- exValue: sku.value,
|
|
|
+ exValue: sku.exchangePrice,
|
|
|
picUrl: env.filePublic + sku.picUrl
|
|
|
}
|
|
|
this.skuList = skuProp
|
|
|
} else {
|
|
|
this.payInfo = {
|
|
|
...res.data,
|
|
|
- exValue: this.info.value,
|
|
|
+ exValue: this.info.exchangePrice,
|
|
|
picUrl: this.picUrlArr[0]
|
|
|
}
|
|
|
}
|
|
@@ -188,7 +188,7 @@
|
|
|
|
|
|
valChange(e, item) {
|
|
|
let value = e.value
|
|
|
- this.$set(item, 'value', value * item.exValue)
|
|
|
+ this.$set(item, 'exchangePrice', value * item.exValue)
|
|
|
if(this.payInfo.quantity < value){
|
|
|
uni.$u.toast('库存不足');
|
|
|
}
|
|
@@ -206,7 +206,7 @@
|
|
|
})
|
|
|
this.payInfo = {
|
|
|
...sku,
|
|
|
- exValue: sku.value,
|
|
|
+ exValue: sku.exchangePrice,
|
|
|
picUrl: env.filePublic + sku.picUrl
|
|
|
}
|
|
|
},
|