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.

1 line
6.1 KiB
Plaintext

<view class="box-container data-v-3a1c5f81"><u-navbar vue-id="cccf6106-1" leftIconSize="25px" height="70px" titleStyle="{{({fontWeight:700})}}" title="录入材积" autoBack="{{true}}" data-event-opts="{{[['^leftClick',[['leftClick']]]]}}" bind:leftClick="__e" class="data-v-3a1c5f81" bind:__l="__l"></u-navbar><view class="entry-info data-v-3a1c5f81"><view class="info data-v-3a1c5f81"><view class="data-v-3a1c5f81">订单号</view><view style="margin-top:8px;" class="data-v-3a1c5f81">{{form.orderNo}}</view></view><view class="info data-v-3a1c5f81"><view class="data-v-3a1c5f81">预报件重体</view><view style="margin-top:8px;" class="data-v-3a1c5f81">{{form.spec}}</view></view><u-form vue-id="cccf6106-2" labelPosition="top" labelWidth="120" model="{{sizeForm}}" rules="{{rules}}" data-ref="ruleFormRef" class="data-v-3a1c5f81 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('cccf6106-3')+','+('cccf6106-2')}}" label="到仓时间" prop="time" required="{{true}}" class="data-v-3a1c5f81" bind:__l="__l" vue-slots="{{['default']}}"><u-datetime-picker vue-id="{{('cccf6106-4')+','+('cccf6106-3')}}" show="{{show}}" mode="datetime" value="{{sizeForm.time}}" data-event-opts="{{[['^confirm',[['onDatetimeChange']]],['^cancel',[['e0']]],['^input',[['__set_model',['$0','time','$event',[]],['sizeForm']]]]]}}" bind:confirm="__e" bind:cancel="__e" bind:input="__e" class="data-v-3a1c5f81" bind:__l="__l"></u-datetime-picker></u-form-item><view style="display:flex;" class="data-v-3a1c5f81"><view hidden="{{!(sizeForm.arriveTime)}}" style="margin-right:20px;" class="data-v-3a1c5f81">{{sizeForm.arriveTime}}</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" bindtap="__e" class="data-v-3a1c5f81">请选择</view></view></u-form><view class="backgro data-v-3a1c5f81"></view><view class="data-v-3a1c5f81"><view style="display:flex;justify-content:space-between;" class="data-v-3a1c5f81"><view style="display:flex;width:90%;overflow-x:scroll;" class="data-v-3a1c5f81"><block wx:for="{{sizeForm.volumeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectButton',['button'+index]]]]]}}" class="{{['volume','data-v-3a1c5f81',selectedButton==='button'+index?'activeVolume':'noActiveVolume']}}" bindtap="__e">{{''+("材积"+"("+(index-0+1)+")")+''}}</view></block></view><view style="display:flex;padding:10rpx 0;position:relative;" class="data-v-3a1c5f81"><view style="color:#1A4F94;" class="data-v-3a1c5f81"></view><image class="img data-v-3a1c5f81" src="/static/images/common/background.png"></image></view></view><u-form vue-id="cccf6106-5" labelPosition="top" labelWidth="120" model="{{sizeForm}}" rules="{{rules}}" data-ref="ruleFormRef" class="data-v-3a1c5f81 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="data-v-3a1c5f81"><view hidden="{{!(selectedButton==='button'+index)}}" class="data-v-3a1c5f81"><u-form-item vue-id="{{('cccf6106-6-'+index)+','+('cccf6106-5')}}" label="长(CM)" prop="{{'volumeList.'+index+'.length'}}" required="{{true}}" target="{{item.$orig}}" class="data-v-3a1c5f81" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('cccf6106-7-'+index)+','+('cccf6106-6-'+index)}}" disabled="{{true}}" type="number" placeholder="请输入" value="{{item.g0}}" data-event-opts="{{[['^input',[['__set_model',['$0','length','$event',[]],[[['sizeForm.volumeList','',index]]]]]]]}}" class="data-v-3a1c5f81" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('cccf6106-8-'+index)+','+('cccf6106-5')}}" label="宽(CM)" prop="{{'volumeList.'+index+'.width'}}" required="{{true}}" target="{{item.$orig}}" class="data-v-3a1c5f81" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('cccf6106-9-'+index)+','+('cccf6106-8-'+index)}}" disabled="{{true}}" type="number" placeholder="请输入" value="{{item.$orig.width}}" data-event-opts="{{[['^input',[['__set_model',['$0','width','$event',[]],[[['sizeForm.volumeList','',index]]]]]]]}}" class="data-v-3a1c5f81" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('cccf6106-10-'+index)+','+('cccf6106-5')}}" label="高(CM)" prop="{{'volumeList.'+index+'.height'}}" required="{{true}}" target="{{item.$orig}}" class="data-v-3a1c5f81" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('cccf6106-11-'+index)+','+('cccf6106-10-'+index)}}" disabled="{{true}}" type="number" placeholder="请输入" value="{{item.$orig.height}}" data-event-opts="{{[['^input',[['__set_model',['$0','height','$event',[]],[[['sizeForm.volumeList','',index]]]]]]]}}" class="data-v-3a1c5f81" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('cccf6106-12-'+index)+','+('cccf6106-5')}}" label="重量(KG)" prop="{{'volumeList.'+index+'.weight'}}" required="{{true}}" target="{{item.$orig}}" class="data-v-3a1c5f81" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('cccf6106-13-'+index)+','+('cccf6106-12-'+index)}}" disabled="{{true}}" type="number" placeholder="请输入" value="{{item.$orig.weight}}" data-event-opts="{{[['^input',[['__set_model',['$0','weight','$event',[]],[[['sizeForm.volumeList','',index]]]]]]]}}" class="data-v-3a1c5f81" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('cccf6106-14-'+index)+','+('cccf6106-5')}}" label="件数" prop="{{'volumeList.'+index+'.number'}}" required="{{true}}" target="{{item.$orig}}" class="data-v-3a1c5f81" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('cccf6106-15-'+index)+','+('cccf6106-14-'+index)}}" type="number" disabled="{{true}}" placeholder="请输入" value="{{item.$orig.number}}" data-event-opts="{{[['^input',[['__set_model',['$0','number','$event',[]],[[['sizeForm.volumeList','',index]]]]]]]}}" class="data-v-3a1c5f81" bind:__l="__l"></u-input></u-form-item></view></view></block></u-form></view><button class="btn data-v-3a1c5f81" type="primary" data-event-opts="{{[['tap',[['submitData',['$event']]]]]}}" bindtap="__e">提交材积</button></view><u-toast vue-id="cccf6106-16" data-ref="uToast" class="data-v-3a1c5f81 vue-ref" bind:__l="__l"></u-toast></view>