From af2a86dbbe05d74b00a6e7bdc426e26bb0453654 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 31 七月 2024 11:35:34 +0800 Subject: [PATCH] fix bug --- pages/order/order-delivery.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/order/order-delivery.vue b/pages/order/order-delivery.vue index e739447..3e7da4e 100644 --- a/pages/order/order-delivery.vue +++ b/pages/order/order-delivery.vue @@ -58,17 +58,18 @@ <view class="delivery-form"> <view class="form-item"> <view class="label">仓库名称</view> - <view class="value red">{{item.warehouseName}}</view> + <view class="value red">{{item.warehouseName || '待分配'}}</view> </view> <view class="form-item"> <view class="label">库位名称</view> - <view class="value red">{{item.warehouseLocationCode}}</view> + <view class="value red">{{item.warehouseLocationCode || '待分配'}}</view> </view> </view> <view class="line"></view> <view class="buttons"> + <view class="button button-1 m-r-10" v-if="item.status==='PENDING'" @click="toDetail(item,'PENDING')">确认入位</view> <view class="button button-0" @click="toDetail(item,'')">查看详情</view> @@ -101,11 +102,12 @@ this.query.status = options.status || '' } this.listApi = '/api/supplier/delivery/list/today' + this.listApi = '/api/supplier/delivery/list' + this.getList() }, onReachBottom() { - this.page.current += 1 this.getMore() }, async onShow() { @@ -131,7 +133,8 @@ uni.navigateTo({ url: `/pages/order/order-delivery-detail?id=${item.id}&status=${status}` }) - } + }, + } } </script> -- Gitblit v1.9.3