|
|
|
@ -17,18 +17,35 @@ |
|
|
|
<view style="background-color:#f3f3f3;" wx:if="{{item.tipsTime}}"> |
|
|
|
<text class="text-sg" style="line-height:64rpx;padding-left:32rpx">{{item.tipsTime}}</text> |
|
|
|
</view> |
|
|
|
<view style="background-color:#f3f3f3;height:16rpx" wx:else></view> |
|
|
|
<view class="item-content" data-page="{{pageIndex}}" data-index="{{index}}" bindtap="lookItem"> |
|
|
|
<view class="flex flex-justify"> |
|
|
|
<view class="text-df">磅单编号:{{item.id}}</view> |
|
|
|
<view class="flex"> |
|
|
|
<view class="text-df" style="color:#FA541C" wx:if="{{item.status == 0}}">过磅中</view> |
|
|
|
<view class="text-df" style="color:#028A00" wx:elif="{{item.status == 1}}">已过磅</view> |
|
|
|
<view class="flex flex-justify" style="border-bottom: 1rpx solid #f3f3f3;padding-bottom:16rpx"> |
|
|
|
<view class="flex flex-center"> |
|
|
|
<van-icon name="/assets/image/icon-logoc.png" size="56rpx"/> |
|
|
|
<view class="flex flex-center text-sg text-black van-ellipsis text-bold" style="justify-content: flex-start;max-width: 500rpx;"> |
|
|
|
<text style="margin-left:24rpx">磅单编号:{{item.id}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="text-df" style="color:#FA541C" wx:if="{{item.status == 0}}">过磅中</view> |
|
|
|
<view class="text-df" style="color:#028A00" wx:elif="{{item.status == 1}}">已过磅</view> |
|
|
|
</view> |
|
|
|
<view class="flex flex-justify" style="margin-top:12rpx"> |
|
|
|
<view class="text-sm text-gray">皮重(公斤):{{formate.minWeight(item.firstWeight, item.secondWeight)}}</view> |
|
|
|
<view class="text-sm text-gray">毛重(公斤):{{formate.maxWeight(item.firstWeight, item.secondWeight)}}</view> |
|
|
|
<view class="text-sm text-gray">净重(公斤):{{item.netWeight || '- -'}}</view> |
|
|
|
<view class="text-sm text-black">皮重(公斤):</view> |
|
|
|
<view class="text-sm text-black">{{formate.minWeight(item.firstWeight, item.secondWeight)}}</view> |
|
|
|
</view> |
|
|
|
<view class="flex flex-justify" style="margin-top:12rpx"> |
|
|
|
<view class="text-sm text-black">毛重(公斤):</view> |
|
|
|
<view class="text-sm text-black">{{formate.maxWeight(item.firstWeight, item.secondWeight)}}</view> |
|
|
|
</view> |
|
|
|
<view class="flex flex-justify" style="margin-top:12rpx" wx:if="{{item.netWeight}}"> |
|
|
|
<view class="text-sm text-black">净重(公斤):</view> |
|
|
|
<view class="text-sm text-black">{{item.netWeight}}</view> |
|
|
|
</view> |
|
|
|
<view class="flex" style="justify-content: flex-end;margin-top:16rpx"> |
|
|
|
<van-button round plain type="default" custom-style="height:64rpx;width:180rpx" data-id="{{item.id}}" |
|
|
|
bind:click="cancelOrder" wx:if="{{item.status == 0 || item.status == 1}}">取消磅单</van-button> |
|
|
|
<van-button round type="info" custom-style="margin-left:24rpx;height:64rpx;width:240rpx" data-id="{{item.id}}" |
|
|
|
bind:click="submitForm" wx:if="{{item.status == 1}}">关联出货单</van-button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|