| | |
| | | <template> |
| | | <view class="customer-index"> |
| | | <view class="customer-index-body"> |
| | | <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" v-if="orderPlanData.length == 0"></u-empty> |
| | | <card v-for="(item, index) in orderPlanData" :key="index" :name="item.id" @click="cardBodyClick"> |
| | | <template v-slot:left> |
| | | <view class="card-left__top"> |
| | |
| | | }, |
| | | // 获取发运计划列表 |
| | | GetOrderPlan() { |
| | | // this.$reqGet('GetOrderPlan', { customerId: customerId }).then(res => { |
| | | // this.orderPlanData = res.data; |
| | | // }); |
| | | uni.showLoading({ |
| | | title: '加载中...' |
| | | }); |
| | | this.$reqGet('GetOrderPlan').then(res => { |
| | | this.orderPlanData = res.data; |
| | | uni.hideLoading() |
| | | }); |
| | | }, |
| | | // 领取点击 |
| | |
| | | // 转发 |
| | | forwardClick(obj) { |
| | | uni.navigateTo({ |
| | | url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNum=${obj.carNum}` |
| | | url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNum=${obj.cars2}` |
| | | }); |
| | | } |
| | | } |