You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

200 lines
12 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!--pages/WORKDETAIL/WORKDETAIL.wxml-->
<view class="page">
<view class="weui-cells weui-cells_form">
<view class="weui-cell" wx:key="item">
<view class="weui-cell__bd">
<view class="customer-name">提单号:{{headData.MblNoSe}} </view>
<view class="customer-name">船名航次:{{headData.VoyVeg}} </view>
<view class="customer-name">提箱场站:{{headData.YardName}} </view>
<view class="customer-name">派车申请人:{{headData.UserName}} </view>
<view class="customer-name">装货工厂:{{headData.FACTRYNAME}} </view>
<view class="customer-name">装货地址:{{headData.LoadPlace}} </view>
<view class="customer-name">联系电话1{{headData.LinkTel}} </view>
<view class="customer-name">联系电话2{{headData.LinkTelSe}} </view>
<view class="customer-name">箱型箱量:{{headData.ContainerType}} </view>
<view class="customer-name">件数:{{headData.ContainerQty}} </view>
<view class="customer-name">重量:{{headData.Ton}} </view>
<view class="customer-name">体积:{{headData.LoadCount}} </view>
<view class="customer-name">货物标示:{{headData.CargoID}} </view>
<view class="customer-name">品名:{{headData.GoodsName}} </view>
<view class="customer-name">危品等级:{{headData.DCLASS}} </view>
<view class="customer-name">危品编号:{{headData.DUNNO}} </view>
<!-- <view class="weui-cell" style="margin-top: 20px;">
<view class="weui-cell__hd">
<picker id="JYZ" bindchange="selectJYZ" data-item="{{headData.JYZ}}" value="{{headData.JYZ}}" range="{{headData.JYZList}}">
<view class="picker">
<text style="font-weight: bold;font-size: 15px;">加油类型:</text>
[{{headData.JYZList[headData.JYZ]}}]
</view>
</picker>
</view>
</view>
<view class="weui-cell">
<view class="weui-cell__hd" style="display: flex;">
<label class="weui-label" style="font-weight: bold;font-size: 15px;">加油(气)量:</label>
<input class="number" id="FuelQty" value="{{headData.FuelQty}}" bindinput="vmodel" placeholder="请输入加油(气)量" />
</view>
</view>
<view class="weui-cell">
<view class="weui-cell__hd" style="display: flex;">
<p class="weui-label" style="width: 120px;font-weight: bold;font-size: 15px;">加油(气)金额:</p>
<input type="number" id="Amount" value="{{headData.Amount}}" bindinput="vmodel" number placeholder="请输入加油(气)金额"></input>
</view>
</view> -->
<view class="weui-cell">
<view class="weui-cell__hd" style="display: flex;">
<label class="weui-label" style="font-weight: bold;font-size: 15px;">开始公里数:</label>
<input class="number" id="StartMil" value="{{headData.StartMil}}" bindinput="vmodel" placeholder="请输入开始公里数" />
<!--bindinput="RealMilInput"-->
</view>
</view>
<view class="weui-cell">
<view class="weui-cell__hd" style="display: flex;">
<label class="weui-label" style="font-weight: bold;font-size: 15px;">结束公里数:</label>
<input class="number" id="EndMil" value="{{headData.EndMil}}" bindinput="vmodel" placeholder="请输入结束公里数" />
<!--bindinput="RealMilInput"-->
</view>
</view>
<view class="customer-name">公里数合计:{{headData.RealMil}} </view>
<!--
<view class="weui-cell">
<view class="weui-cell__hd">
<label class="weui-label">实际里程:</label>
<input class="number" id="RealMil" value="{{headData.RealMil}}" bindinput="vmodel" placeholder="请输入实际里程" />
</view>
</view>
-->
<view class="customer-name">提交状态:{{headData.TASKSTATUS}} </view>
<!--
<view>费用列表</view>-->
<!-- <button type="default" size="default" loading="{{loading}}" plain="{{plain}}"
disabled="{{disabled}}" bindtap="AddFeeClick" hover-class="other-button-hover"> 添加费用 </button> -->
<view class="jiayouList" wx:for="{{headData.FHFEEGroup}}" wx:for-index="index" wx:key="index" wx:for-item="item">
<view>
<button type="default" size="default" loading="{{loading}}" plain="{{plain}}"
disabled="{{disabled}}" bindtap="AddFeeClick" data-type="{{index}}" hover-class="other-button-hover"> 添加{{item.FEEGROUP}} </button></view>
<view wx:for="{{item.FeeList}}" wx:key="row.GID" wx:for-item="row">
<view class="fee-title">
<picker style="font-weight: bold;font-size: 16px;width: 200px;"
bindchange="vmodel_fee" id="FEENAME"
data-item="{{row.GID}}"
value="{{row.F_NO}}" range="{{item.FeeNameList}}">
<view class="picker">
<text wx:if="{{item.FeeNameList[row.F_NO]}}"> {{item.FeeNameList[row.F_NO]}}</text> <text wx:else>请选择费用名</text>
</view>
</picker>
<input class="number" id="AMOUNT" style="font-weight: bold;font-size: 18px;"
value="{{row.AMOUNT}}" data-item="{{row.GID}}" bindinput="vmodel_fee" placeholder="请输入金额" />
<button type="mini" size="mini" style="font-size: 16px;width: 130px;"
loading="{{loading}}" plain="{{plain}}" data-item="{{row.GID}}"
disabled="{{disabled}}" bindtap="DelFeeClick" hover-class="other-button-hover">
<image style="font-size: 10px;width: 12px;height: 12px;" src="../../images/delete.png"></image>
删除 </button>
</view>
<button type="default" size="mini" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}"
bindtap="showDocList_Detail" data-rgid="{{row.GID}}" hover-class="other-button-hover"> 拍照上传 </button>
</view>
</view>
<!-- <view class="jiayouList" wx:for="{{headData.FeeList}}" wx:key="item" data-gid="{{item.GID}}">
<view class="weui-cell" >
<picker style="font-weight: bold;font-size: 16px;width: 200px;"
bindchange="vmodel_fee" id="FEENAME"
data-item="{{item.GID}}"
value="{{item.F_NO}}" range="{{headData.FeeNameList}}">
<view class="picker">
费用: <text wx:if="{{headData.FeeNameList[item.F_NO]}}"> {{headData.FeeNameList[item.F_NO]}}</text> <text wx:else>请选择</text>
</view>
</picker>
<input class="number" id="AMOUNT" style="font-weight: bold;font-size: 18px;"
value="{{item.AMOUNT}}" data-item="{{item.GID}}" bindinput="vmodel_fee" placeholder="请输入金额" />
<button type="mini" size="mini" style="font-size: 16px;width: 130px;"
loading="{{loading}}" plain="{{plain}}" data-item="{{item.GID}}"
disabled="{{disabled}}" bindtap="DelFeeClick" hover-class="other-button-hover">
<image style="font-size: 10px;width: 12px;height: 12px;" src="../../images/delete.png"></image>
删除 </button>
</view>
<button type="default" size="mini" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}"
bindtap="showDocList_Detail" data-rgid="{{item.GID}}" hover-class="other-button-hover"> 拍照上传 </button>
</view> -->
<!--
<view>加油记录</view>-->
<button type="primary" size="default" plain="{{plain}}" bindtap="handleAddjiayou"> 添加加油 </button>
<view class="jiayouList">
<view class='jiayouItem' wx:for-index="idx" wx:for="{{headData.FuelList}}" wx:key="item">
<view class="delete-btn" style="text-align: right;" bindtap="DelFuelClick" data-item="{{item.GID}}"><image style="font-weight: bold;font-size: 10px;width: 12px;height: 12px;" src="../../images/delete.png"></image>删除</view>
<picker bindchange="handleSelectType" data-index="{{idx}}" value="{{JYindex}}" range="{{headData.JYZList}}">
<view class="picker">
<text style="font-weight: bold;font-size: 14px;width: 136px;text-align: right;display: inline-block;">加油类型:</text>
{{item.JYTYPE?item.JYTYPE:'请选择'}}
</view>
</picker>
<view style="display: flex;margin:5px 0px;">
<label class="weui-label" style="font-weight: bold;font-size: 14px;width: 145px;text-align: right;">加油(气)量:</label>
<input type="digit" style="font-weight: bold;font-size: 18px;"
bindinput="handleInput" data-index="{{idx}}" data-type='JYCOUNT' value="{{item.JYCOUNT}}" placeholder="请输入加油(气)量" />
</view>
<view style="display: flex;">
<label class="weui-label" style="font-weight: bold;font-size: 14px;width: 145px;text-align: right;">加油(气)金额:</label>
<input type="digit" style="font-weight: bold;font-size: 18px;"
bindinput="handleInput" data-index="{{idx}}" data-type='JYAMOUNT' value="{{item.JYAMOUNT}}" placeholder="请输入加油(气)金额" />
</view>
<view style="display: flex;align-items: center;">
<label class="weui-label" style="font-weight: bold;font-size: 14px;text-align: right;">备注:</label>
<radio-group data-index="{{idx}}" bindchange="radioChange">
<radio value="记账" checked="{{item.REMARK=='记账'}}" />记账
<radio value="现金" checked="{{item.REMARK=='现金'}}" />现金
</radio-group>
</view>
<view style="display: flex;align-items: center;"></view>
<button type="default" size="default" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}"
bindtap="showDocList_Detail" data-rgid="{{item.GID}}" hover-class="other-button-hover"> 拍照上传 </button>
</view>
</view>
<view class="weui-cell" style="margin-top: 20px;">
<view class="weui-cell__bd">
<button type="primary" size="default" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}" bindtap="SaveClick" hover-class="other-button-hover"> 保存 </button>
<button style="margin:15px auto;" type="primary" size="default" loading="{{loading}}" plain="true" disabled="{{disabled}}" bindtap="SubmitClick" hover-class="other-button-hover"> 提交审核 </button>
<button type="warn" size="default" loading="{{loading}}" plain="true" disabled="{{disabled}}" bindtap="CallBackClick" hover-class="other-button-hover"> 撤回提交 </button>
</view>
</view>
</view>
</view>
<view>箱信息</view>
<view class="weui-cell" wx:for="{{headData.CtnList}}" wx:key="item">
<view class="weui-cell__bd">
<view>箱号:<span>{{item.CNTRNO}}</span></view>
<view>封号:<span>{{item.SEALNO}}</span></view>
</view>
</view>
<!--
<view>附件信息</view>
<view class="weui-cell" wx:for="{{headData.DocList}}" wx:key="item">
<view class="weui-cell__bd" bindtap="showinfofile" data-url="{{item.Driect_URL}}">
<view>文件类型:<span>{{item.RECEIPTTYPE}}</span></view>
<view>文件编号/编码:{{item.documentAttachedCode}};{{item.documentAttachedNo}}</view>
<view>点击查看</view>
<view><span>{{item.Driect_URL}}</span></view>
<web-view src="{{item.Driect_URL}}"></web-view>
</view>
</view>
-->
<button type="default" size="default" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}" bindtap="showDocList" hover-class="other-button-hover" data-receipttype="提空照片"> 提空照片 </button>
<button type="default" size="default" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}" bindtap="showDocList" hover-class="other-button-hover" data-receipttype="装货照片"> 装货照片 </button>
<button type="default" size="default" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}" bindtap="showDocList" hover-class="other-button-hover" data-receipttype="修改照片"> 修改照片 </button>
<button type="default" size="default" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}" bindtap="showDocList" hover-class="other-button-hover" data-receipttype="入库照片"> 入库照片 </button>
</view>
</view>