回收订单

version/0412
fanfan 9 months ago
parent 9961beba18
commit 5a64d45b71
  1. 5
      pages/news/recycling/recoveryList.vue
  2. 11
      pages/news3/shopOrder.vue
  3. 4
      pages/order/detail.vue
  4. 14
      pages/user/index.vue

@ -85,8 +85,7 @@
}, },
onLoad(o) { onLoad(o) {
if (o.type) { if (o.type) {
console.log(o.type) this.classifyShow = o.type
this.classifyShow = o.type - 1
} }
}, },
onShow() { onShow() {
@ -340,7 +339,7 @@
.list { .list {
position: relative; position: relative;
display: inline-block; display: inline-block;
width: 25%; width: 20%;
height: 100%; height: 100%;
line-height: 100rpx; line-height: 100rpx;
text-align: center; text-align: center;

@ -260,6 +260,8 @@
itemInfor: '', itemInfor: '',
audit_status: 20, audit_status: 20,
audit_notes: '', audit_notes: '',
user_id: '',
delivery_type: ''
} }
}, },
onReady() { onReady() {
@ -271,8 +273,9 @@
} }
this.getList() this.getList()
}, },
onLoad() { onLoad(option) {
this.delivery_type = option.delivery_type ||'';
this.user_id = option.user_id||''
}, },
methods: { methods: {
reset() { reset() {
@ -308,7 +311,9 @@
searchValue: this.keyword, searchValue: this.keyword,
payMethod: this.payIndex > 0 ? this.payList[this.payIndex].val : '', payMethod: this.payIndex > 0 ? this.payList[this.payIndex].val : '',
orderSource: this.sourceIndex > 0 ? this.selectList[this.sourceIndex].val : '', orderSource: this.sourceIndex > 0 ? this.selectList[this.sourceIndex].val : '',
betweenTime: this.endTime ? [this.startTime, this.endTime].join(',') : '' betweenTime: this.endTime ? [this.startTime, this.endTime].join(',') : '',
delivery_type:this.delivery_type,
user_id:this.user_id,
}); });
if (status == 200) { if (status == 200) {
uni.hideLoading(); uni.hideLoading();

@ -75,10 +75,10 @@
{{ order.address.phone }} {{ order.address.phone }}
</view> </view>
</view> </view>
<view class="up" @click="onAdress(order.goods_id)" <!-- <view class="up" @click="onAdress(order.goods_id)"
v-if="order.pay_status == PayStatusEnum.SUCCESS.value && order.delivery_status == DeliveryStatusEnum.NOT_DELIVERED.value"> v-if="order.pay_status == PayStatusEnum.SUCCESS.value && order.delivery_status == DeliveryStatusEnum.NOT_DELIVERED.value">
修改 修改
</view> </view> -->
</view> </view>
<view class="sl"> <view class="sl">
<text v-for="(region, idx) in order.address.region" :key="idx">{{ region }}</text> <text v-for="(region, idx) in order.address.region" :key="idx">{{ region }}</text>

@ -253,19 +253,19 @@
<u-icon style="margin-left: 5rpx; color: #909090; margin-top: -5rpx;" name="arrow-right"></u-icon> <u-icon style="margin-left: 5rpx; color: #909090; margin-top: -5rpx;" name="arrow-right"></u-icon>
</view> </view>
<view class="grounding goodsOrder"> <view class="grounding goodsOrder">
<view class="image-text_21" @click="toRecovery(1)"> <view class="image-text_21" @click="toRecovery(0)">
<image :src="$picUrl+'/static/user/unpay.png'" class="label_11"></image> <image :src="$picUrl+'/static/user/unpay.png'" class="label_11"></image>
<view class="text-group_21"> <view class="text-group_21">
<text class="text_71" <text class="text_71"
v-if="orderTodoInfo.service_order.confirm_number">{{orderTodoInfo.service_order.confirm_number}}</text> v-if="orderTodoInfo.recovery_order.accepted_number">{{orderTodoInfo.recovery_order.accepted_number>=100?"99+":orderTodoInfo.recovery_order.accepted_number}}</text>
<text class="text_81">待验收</text> <text class="text_81">待验收</text>
</view> </view>
</view> </view>
<view class="image-text_21" @click="toRecovery(2)"> <view class="image-text_21" @click="toRecovery(1)">
<image :src="$picUrl+'/static/user/unsend.png'" class="label_11"></image> <image :src="$picUrl+'/static/user/unsend.png'" class="label_11"></image>
<view class="text-group_21"> <view class="text-group_21">
<text class="text_71" <text class="text_71"
v-if="orderTodoInfo.service_order.service_number">{{orderTodoInfo.service_order.service_number}}</text> v-if="orderTodoInfo.recovery_order.already_number">{{orderTodoInfo.recovery_order.already_number>=100?"99+":orderTodoInfo.recovery_order.already_number}}</text>
<text class="text_81">已验收</text> <text class="text_81">已验收</text>
</view> </view>
</view> </view>
@ -273,15 +273,15 @@
<image :src="$picUrl+'/static/user/untake.png'" class="label_11"></image> <image :src="$picUrl+'/static/user/untake.png'" class="label_11"></image>
<view class="text-group_21"> <view class="text-group_21">
<text class="text_71" <text class="text_71"
v-if="orderTodoInfo.service_order.payment_number">{{orderTodoInfo.service_order.payment_number}}</text> v-if="orderTodoInfo.recovery_order.cancel_number">{{orderTodoInfo.recovery_order.cancel_number>=100?"99+":orderTodoInfo.recovery_order.cancel_number}}</text>
<text class="text_81">已取消</text> <text class="text_81">已取消</text>
</view> </view>
</view> </view>
<view class="image-text_21" @click="toRecovery(4)"> <view class="image-text_21" @click="toRecovery(2)">
<image :src="$picUrl+'/static/user/detail.png'" class="label_11"></image> <image :src="$picUrl+'/static/user/detail.png'" class="label_11"></image>
<view class="text-group_21"> <view class="text-group_21">
<text class="text_71" <text class="text_71"
v-if="orderTodoInfo.service_order.check_number">{{orderTodoInfo.service_order.check_number}}</text> v-if="orderTodoInfo.recovery_order.finish_number">{{orderTodoInfo.recovery_order.finish_number>=100?"99+":orderTodoInfo.recovery_order.finish_number}}</text>
<text class="text_81">已完成</text> <text class="text_81">已完成</text>
</view> </view>
</view> </view>

Loading…
Cancel
Save