邓雄飞 4 years ago
parent
commit
6a7a5c8d8b
2 changed files with 2 additions and 5 deletions
  1. 5
      pages/mall/index.vue
  2. 2
      pages/my-offer/index.vue

5
pages/mall/index.vue

@ -135,15 +135,11 @@ export default {
if (this.hasCompany) { if (this.hasCompany) {
this.storeInformation = { this.storeInformation = {
supplierId: this.$store.state.supplierInfo.supplierId, supplierId: this.$store.state.supplierInfo.supplierId,
name: this.$store.state.supplierInfo.name
} }
this.queryData() this.queryData()
this.getSupplier(this.$store.state.supplierInfo.supplierId) this.getSupplier(this.$store.state.supplierInfo.supplierId)
} }
}, },
onShow() {
this.downCallback()
},
methods: { methods: {
back, back,
// //
@ -154,6 +150,7 @@ export default {
this.storeInfo = res this.storeInfo = res
this.$set(this.storeInformation, 'productNumber', res.productNumber) this.$set(this.storeInformation, 'productNumber', res.productNumber)
this.$set(this.storeInformation, 'currentProductNumber', res.currentProductNumber) this.$set(this.storeInformation, 'currentProductNumber', res.currentProductNumber)
this.$set(this.storeInformation, 'name', res.name)
if (res.logo === '') { if (res.logo === '') {
this.logo = 'https://qncloud.oss-cn-shenzhen.aliyuncs.com/ztb_pic/testPic.jfif' this.logo = 'https://qncloud.oss-cn-shenzhen.aliyuncs.com/ztb_pic/testPic.jfif'
} else { } else {

2
pages/my-offer/index.vue

@ -20,7 +20,7 @@
<view class="list-info-title">{{ item.brandName }}{{ item.categoryName }}</view> <view class="list-info-title">{{ item.brandName }}{{ item.categoryName }}</view>
<view class="list-info-text"> <view class="list-info-text">
<text>{{ item.categoryName }}/{{ item.brandName }}/</text> <text>{{ item.categoryName }}/{{ item.brandName }}/</text>
<text>{{ item.gramWeight }}g/{{ item.length }}*{{ item.width }}/{{ item.pieceQuantity }}</text>
<text>{{ item.gramWeight }}g/{{ item.width }}*{{ item.length }}/{{ item.quantity }}</text>
</view> </view>
</view> </view>
</view> </view>

Loading…
Cancel
Save