|
|
|
@ -1,24 +1,25 @@ |
|
|
|
<!--pages/agent/detail/item-history-part/item-history-info.wxml--> |
|
|
|
<!-- 车辆信息 --> |
|
|
|
<!-- 车辆信息 --> |
|
|
|
<wxs module="agent" src="../../../agent/index.wxs"></wxs> |
|
|
|
<wux-accordion-group> |
|
|
|
<wux-accordion> |
|
|
|
<view slot="header" class="flex flex-justify" style="width: 100%"> |
|
|
|
<view class="flex"> |
|
|
|
<text class="text-sg text-black text-bold">{{item.logisticcsInfo.plateNumber}}</text> |
|
|
|
<text class="text-sg text-black text-bold" style="margin-left:8rpx">「{{item.paperCategoryName || orderInfo.paperCategoryName}}」</text> |
|
|
|
</view> |
|
|
|
<view class="text-df text-gray" style="padding-right:16rpx;">进度详情</view> |
|
|
|
</view> |
|
|
|
<wux-steps direction="vertical"> |
|
|
|
<wux-step wx:for-item="timeItem" wx:for-index="oindex" wx:for="{{item.orderItemTimeList}}" wx:key="oindex" |
|
|
|
title="{{timeItem.description}}" status="{{statusStep(timeItem.status)}}" content="{{timeItem.time}}"/> |
|
|
|
</wux-steps> |
|
|
|
</wux-accordion> |
|
|
|
</wux-accordion-group> |
|
|
|
<wxs module="statusStep"> |
|
|
|
<wux-accordion-group> |
|
|
|
<wux-accordion> |
|
|
|
<view slot="header" class="flex flex-justify" style="width: 100%"> |
|
|
|
<view class="flex"> |
|
|
|
<text class="text-sg text-black text-bold">{{item.logisticcsInfo.plateNumber}}</text> |
|
|
|
<text class="text-sg text-black text-bold" |
|
|
|
style="margin-left:8rpx">「{{item.paperCategoryName || orderInfo.paperCategoryName}}」</text> |
|
|
|
</view> |
|
|
|
<view class="text-df text-gray" style="padding-right:16rpx;">进度详情</view> |
|
|
|
</view> |
|
|
|
<wux-steps direction="vertical"> |
|
|
|
<wux-step wx:for-item="timeItem" wx:for-index="oindex" wx:for="{{item.orderItemTimeList}}" wx:key="oindex" |
|
|
|
title="{{timeItem.description}}" status="{{statusStep(timeItem.status)}}" content="{{timeItem.time}}" /> |
|
|
|
</wux-steps> |
|
|
|
</wux-accordion> |
|
|
|
</wux-accordion-group> |
|
|
|
<wxs module="statusStep"> |
|
|
|
function statusStep(status) { |
|
|
|
return status==1?"process":"wait"; |
|
|
|
return status == 1 ? "process" : "wait"; |
|
|
|
} |
|
|
|
module.exports = statusStep |
|
|
|
</wxs> |
|
|
|
</wxs> |