| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <view style="padding: 32rpx;">
- <view class="title-1">航次信息</view>
- <view class="card">
- <view class="line">
- <view class="title">货主名称</view>
- <view class="content">{{currentBillItem.cargoOwner}}</view>
- </view>
- <view class="line">
- <view class="title">货种</view>
- <view class="content">{{currentBillItem.cargo}}</view>
- </view>
- <view class="line">
- <view class="title">开航时间</view>
- <view class="content">{{currentBillItem.setSailTime}}</view>
- </view>
- <view class="line">
- <view class="title">实际到港时间</view>
- <view class="content">{{currentBillItem.actualArrivalTime}}</view>
- </view>
- </view>
- <view class="title-1">单据</view>
- <view class="df aic jcsa">
- <image wx:for="{{currentBillItem.shipownerUploadFiles}}" wx:key="id" bindtap="previewImage" wx:if="{{item.checked}}" style="height:200rpx;margin: 10rpx;" src="{{item.viewUrl}}" data-src="{{item.viewUrl}}" mode="aspectFill"></image>
- </view>
- <view class="df acc aic jcsb mt30" wx:if="{{!isAcc}}">
- <view bindtap="changeTab" data-tab="{{5}}">不通过</view>
- <view bindtap="showAcc">通过</view>
- </view>
- <block wx:else>
- <view class="fs26 mb20" style="color:#555">请选择分配单据类型</view>
- <view class="df aic jcsa">
- <view class="tabsview {{tab==1?'current-btn':''}}" bindtap="changeTab" data-tab="{{1}}">运单</view>
- <view class="tabsview {{tab==2?'current-btn':''}}" bindtap="changeTab" data-tab="{{2}}">磅单</view>
- <view class="tabsview {{tab==4?'current-btn':''}}" bindtap="changeTab" data-tab="{{4}}">汽车磅单</view>
- </view>
- <view class="df line2 disc" style="padding: 20rpx;border-bottom: 2rpx solid #ddd;margin-top: 30rpx;" wx:if="{{tab==2||tab==4}}">
- <view class="tab-title">卸货港</view>
- <view>
- <picker class="picker0 tab-ipt" bindchange="bindDiscPortChange" value="{{currentDischargeIndex}}" range="{{currentBillItem.discPorts}}" range-key="portName">
- <view class="text">
- {{currentBillItem.discPorts[currentDischargeIndex].portName||'请选择卸货港'}}
- </view>
- </picker>
- </view>
- </view>
- <block wx:if="{{tab==2}}">
- <view class="p20 box2" wx:if="{{currentDischargeIndex!=-1}}">
- <view class="df line2">
- <view class="tab-title">卸货时间</view>
- <view>
- <picker class="picker2 tab-ipt" mode="date" style="border-radius: 0;" model:value="{{dischargeTime}}">
- <view class="text" style="color:#6C6C6C">
- {{dischargeTime||'选择卸货时间'}}
- </view>
- </picker>
- </view>
- </view>
- <view class="df line2">
- <view class="tab-title">卸货吨位(吨)</view>
- <view><input class="tab-ipt" model:value="{{dischargeTons}}" type="digit" placeholder="必填" /></view>
- </view>
- <view class="df line2">
- <view class="tab-title">卸货件数</view>
- <view class="text"><input class="tab-ipt" model:value="{{dischargePieces}}" type="number" /></view>
- </view>
- <view class="primary" bindtap="distributeBills">确认</view>
- </view>
- </block>
- <block wx:if="{{tab==4}}">
- <block wx:for="{{ocrList}}" wx:key="viewUrl">
- <view class="p20 box2 tab4" wx:if="{{currentDischargeIndex!=-1}}">
- <view class="df aib jcsb">
- <view style="color: #666;">记录 #{{index+1}}</view>
- <view class="delete-one" data-index="{{index}}" bindtap="deleteOne">移除</view>
- </view>
- <view class="df line2">
- <view class="tab-title">车牌</view>
- <view><input class="tab-ipt" bindblur="ocrInputBlur" data-index="{{index}}" data-param="carNum" value="{{item.carNum}}" type="text" placeholder="" /></view>
- </view>
- <view class="df line2">
- <view class="tab-title">收货单位</view>
- <view><input class="tab-ipt" bindblur="ocrInputBlur" data-index="{{index}}" data-param="receivingUnit" value="{{item.receivingUnit}}" type="text" /></view>
- </view>
- <view class="df line2">
- <view class="tab-title">毛重</view>
- <view><input class="tab-ipt" bindblur="ocrInputBlur" data-index="{{index}}" data-param="grossWeight" value="{{item.grossWeight}}" type="digit" /></view>
- </view>
- <view class="df line2">
- <view class="tab-title">皮重</view>
- <view><input class="tab-ipt" bindblur="ocrInputBlur" data-index="{{index}}" data-param="tare" value="{{item.tare}}" type="digit" /></view>
- </view>
- <view class="df line2">
- <view class="tab-title">净重</view>
- <view><input class="tab-ipt" bindblur="ocrInputBlur" data-index="{{index}}" data-param="netWeight" value="{{item.netWeight}}" type="digit" /></view>
- </view>
- </view>
- </block>
- <view class="add-one" bindtap="addOne">添加一条记录</view>
- <view wx:if="{{currentDischargeIndex!=-1}}" class="primary" bindtap="distributeBills">确认</view>
- <view style="height: 30rpx;"></view>
- </block>
- </block>
- </view>
|