Files
Wx_AUTS_Prod/Web/pages/autho/index.wxml
2025-11-26 17:42:45 +08:00

179 lines
8.4 KiB
Plaintext

<!--pages/autho/index.wxml-->
<wxs module="filter" src="../../utils/filters.wxs"></wxs>
<cu-custom bgColor="bg-gradual-blue" isBack="true">
<view slot="content">AUTS数据中心-出货装车</view>
<view slot="contents"> {{DBname}} </view>
</cu-custom>
<view class="padding flex justify-center align-center bg-white" style="width: {{ScreenTotalW}}rpx;height:{{ScreenTotalH}}rxp;">
<scroll-view class="scroll-view_H display " scroll-y="true" style="height:{{ScreenTotalH-700}}rpx;" scroll-top="{{scrollTop}}">
<block wx:for="{{OutBoxCodeList}}" wx:key="this">
<!-- 清理浮动 -->
<view style="clear: both;"></view>
<view id="{{item.Key}}" bindtap="ColorBox_BarCode">
<view class="nav_imet_lists_3 .solids-left .solids-top .solids-bottom" style="text-align: center; background-color: {{show===item.Key?'#f1f1f1' :'' }} ;">
<view style="font-size: 12px;">
<span>
{{(OutBoxCodeList.length)-(index)}}
</span>
</view>
</view>
<view class="nav_imet_lists_1 .solids-top .solids-left .solids-bottom" style="background-color: {{show===item.Key?'#f1f1f1' :'' }};">
<view style="font-size: 11px;padding-left: 10px;" id="outboxlistitem_{{item.Key}}" bind:longpress="copyText">
<block wx:if="{{isCopyingTextDomID==('outboxlistitem_' + item.Key)}}">
<span class="long-press-selecting">{{item.Key}}</span>
</block>
<block wx:else>
<span style="color: #7f6000; font-weight: 900;">{{filter.SubString(item.Key,0,2)}}</span>
<span style="color: #2e75b6; font-weight: 500;">{{filter.SubString(item.Key,2,6)}}</span>
<span style="color: #7f6000; font-weight: 900;">{{filter.SubString(item.Key,6,10)}}</span>
<span style="color: #2e75b6;font-weight: 500;">{{filter.SubString(item.Key,10,14)}}</span>
<span style="color: #7f6000; font-weight: 900;">{{filter.SubString(item.Key,14,18)}}</span>
<span style="color: #2e75b6;font-weight: 500;">{{filter.SubString(item.Key,18,22)}}</span>
</block>
</view>
</view>
<view class="nav_imet_lists_2 .solids-top .solids-right .solids-bottom " style="background-color:{{show===item.Key?'#f1f1f1' :'' }};">
<view style="font-size: 11px;">
<span class=".text-blue ">
{{item.projectNameInfo}}
</span>
<span>({{item.Value.length}})</span>
</view>
</view>
</view>
<view wx:if="{{show===item.Key}}">
<view class="nav_imet_listsna">
<view class=".solids-bottom .solids-left solids-right ">
<span style="font-size: 11px;">
装箱人:{{item.Value[0].ShippingLoader}}
</span>
</view>
</view>
<view class="nav_imet_listsnas">
<view class=".solids-bottom .solids-left solids-right ">
<span style="font-size: 11px;">
装箱:{{filter.TimeFormat(item.Value[0].ShippingDateTime)}}
</span>
</view>
</view>
</view>
<view wx:if="{{show==item.Key}}" id="{{item.Key}}" bindtap="ColorBox_BarCode">
<scroll-view class="scroll-view_H" scroll-y="true" style="max-height: 350px; margin-bottom: 40px;">
<block wx:for="{{ColorBox_BarCodeList}}" wx:key="this">
<view class="nav_imet" id="{{item.ColorBox_BarCode}}" bindtap="ColorBox_BarCodeSelct" style="margin-left: 15px;">
<view class="nav_imet_lists">
<view class=".solids-bottom .solids-left solids-right" id="colorboxlist_{{item.ColorBox_BarCode}}" bind:longpress="copyText">
<block wx:if="{{isCopyingTextDomID==('colorboxlist_' + item.ColorBox_BarCode)}}">
<span class="long-press-selecting">{{item.ColorBox_BarCode}}</span>
</block>
<block wx:else>
<span style="font-size: 10px; color: #7f6000; font-weight: 900;">{{filter.SubString(item.ColorBox_BarCode,0,1)}}</span>
<span style="font-size: 10px; color: #2e75b6;font-weight: 500;">{{filter.SubString(item.ColorBox_BarCode,1,5)}}</span>
<span style="font-size: 10px; color: #7f6000; font-weight: 900;">{{filter.SubString(item.ColorBox_BarCode,5,9)}}</span>
<span style="font-size: 10px;color: #2e75b6;font-weight: 500;">{{filter.SubString(item.ColorBox_BarCode,9,13)}}</span>
<span style="font-size: 10px; color: #7f6000;font-weight: 900;">{{filter.SubString(item.ColorBox_BarCode,13,17)}}</span>
<span style="font-size: 10px;color: #2e75b6;font-weight: 500;">{{filter.SubString(item.ColorBox_BarCode,17,21)}}</span>
</block>
</view>
</view>
</view>
</block>
</scroll-view>
</view>
</block>
</scroll-view>
</view>
<view style="width: 100%;">
<button class="bg-green " bindtap="Someonewithpermissiontomodifythestatus" disabled="{{isok}}"> <span>(修改状态)</span></button>
</view>
<!-- 订单信息显示 -->
<scroll-view class="scroll-view_H">
<block wx:for="{{listers}}" wx:key="this">
<view class="weathers_imet .solid .shadow " style="border-radius: 2%; background-color: white;">
<view class="weathers_imet_lists" id="{{item.ShippingCode}}" bindtap="DianJiDingDan">
<view style=" margin-left: 7%; font-weight: 900;font-size: 12px;" id="shipcodeinfo_{{item.ShippingCode}}" bind:longpress="copyText">
<span>单号: </span>
<block wx:if="{{isCopyingTextDomID==('shipcodeinfo_' + item.ShippingCode)}}">
<span class="long-press-selecting">{{item.ShippingCode}}</span>
</block>
<block wx:else>
<span style="color: #7f6000;">{{filter.SubString(item.ShippingCode,0,2)}}</span>
<span style="color: #2e75b6">{{filter.SubString(item.ShippingCode,2,6)}}</span>
<span style="color: #7f6000;">{{filter.SubString(item.ShippingCode,6,10)}}</span>
<span style="color: #2e75b6">{{filter.SubString(item.ShippingCode,10,14)}}</span>
<span style="color: #7f6000;">{{filter.SubString(item.ShippingCode,14)}}</span>
</block>
</view>
<view style="margin-left: 7%;">
<span>
MO:{{item.MO}}
</span>
</view>
<view style="margin-left: 7%;">
<span>
创建:{{filter.TimeFormat(item.CreateDateTime)}}
</span>
</view>
<view style="margin-left: 7%;">
<span>
开始:{{filter.TimeFormat(item.StartDateTime)}}
</span>
</view>
<view style="margin-left: 7%;">
<span>
结束:{{filter.TimeFormat(item.EndDateTime)}}
</span>
</view>
<view style="margin-left: 7%;">
<span>
凭证:{{item.Voucher}}
</span>
</view>
<view style="margin-left: 7%;">
<span>
运输方式:{{item.ShippingType}}
</span>
</view>
<view style="font-weight: 900; margin-left: 7%;">
<span>
备注: {{item.Remark}}
</span>
</view>
</view>
<view class="weathers_imet_list">
<view style="margin-left: 7%; font-weight: 700;font-size: 12px;">
<span>
状态:<span class=" {{(item.Status === 1 ? '.text-red ' : (item.Status===2?'.text-yellow ':'.text-green'))}}">
{{(item.Status === 1 ? '未装车' : (item.Status === 2 ? "装车中" : "已结单"))}}
</span>
</span>
</view>
<view style="margin-left: 7%;">
<span class=".text-blue" style="font-weight: 900; font-size: 12px;">
机型: {{item.projectNameInfo}}
</span>
</view>
<view style="font-weight: 900; margin-left: 7%;">
<span>
数量: {{item.QTY}}</span>
</view>
<view style="margin-left: 7%;">
<span style="display: inline-block;width: 104px;">
创建人: {{item.Creator}}
</span>
</view>
<view style="margin-left: 7%;">
<span>
客户: {{item.Customer}}</span>
</view>
<view style="margin-left: 7%;">
<span>
结单人: {{item.Loader}}
</span>
</view>
</view>
</view>
</block>
</scroll-view>