This commit is contained in:
myTest383
2024-12-31 16:22:15 +08:00
parent f4f427174c
commit 256022450c
10 changed files with 41 additions and 20 deletions

View File

@@ -769,7 +769,14 @@
_this.data = resp
console.log("======", resp);
_this.baseDataSuccess = true
_this.getgoods()
if (_this.data.brandVos.length != 0) {
_this.getgoods()
} else {
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(2)
})
}
}).catch(e => {
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(1)

View File

@@ -116,7 +116,7 @@
<text style="font-size: 12px;color: #666;">存量</text>
<!-- :style="{color:(item.state == '1' ? '#999' : '#FF5006')}" -->
<text :style="{color:(item.state == '1' ? '#999' : '#FF5006')}"
style="font-size: 14px;color: #FF5006;">{{item.goodsNumber}}{{item.unitName}}</text>
style="font-size: 14px;color: #FF5006;">{{item.goodsNumber}}</text>
</view>
<!-- :class="item.state=='0'?'oragin':'gray'" -->
@@ -641,8 +641,17 @@
_this.pickingUpGoods = []
_this.baseDataSuccess = true
// _this.selectIndex = 0
_this.getgoods()
if (_this.data.length != 0) {
_this.getgoods()
} else {
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(2)
})
}
}).catch(e => {
console.log("vegeCellarTypeList>>>>", e);
_this.$nextTick(() => {
_this.$refs.pageView.setLoadState(1)
})

View File

@@ -71,13 +71,14 @@
</view>
<text class="name">我的订单</text>
</view>
<view class="icon-name" @click="itemClick('已失效')">
<!-- <view class="icon-name" @click="itemClick('已失效')">
<view class="icon">
<image class="img" src="../../static/img/record-query/invalid.png" mode="aspectFill">
</image>
</view>
<text class="name">已失效</text>
</view>
</view> -->
<view class="icon-name"></view>
<view class="icon-name"></view>
<view class="icon-name"></view>