1 |
- <view class="goOut"><view><view class="form-box" style="margin:0 30rpx;"><uni-forms class="vue-ref" vue-id="0064f29c-1" modelValue="{{formData}}" label-position="top" data-ref="baseForm" bind:__l="__l" vue-slots="{{['default']}}"><uni-forms-item vue-id="{{('0064f29c-2')+','+('0064f29c-1')}}" label="出库时间" bind:__l="__l" vue-slots="{{['default']}}">{{''+date+''}}</uni-forms-item><uni-forms-item vue-id="{{('0064f29c-3')+','+('0064f29c-1')}}" label="出库类型" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-checkbox bind:input="__e" vue-id="{{('0064f29c-4')+','+('0064f29c-3')}}" localdata="{{stockChangeData}}" value="{{formData.stockChangeType}}" data-event-opts="{{[['^input',[['__set_model',['$0','stockChangeType','$event',[]],['formData']]]]]}}" bind:__l="__l"></uni-data-checkbox></uni-forms-item><uni-forms-item vue-id="{{('0064f29c-5')+','+('0064f29c-1')}}" label="领料人" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><picker range="{{userList}}" range-key="nickName" data-event-opts="{{[['change',[['bindPickerChange',['$event']]]]]}}" bindchange="__e"><view style="text-align:right;display:flex;justify-content:space-between;"><view>{{''+(formData.operUserName||'请选择')+''}}</view><uni-icons vue-id="{{('0064f29c-6')+','+('0064f29c-5')}}" type="forward" size="30" bind:__l="__l"></uni-icons></view></picker></uni-forms-item></uni-forms></view><view class="commons-title">出库明细</view><block wx:for="{{qrCodeList}}" wx:for-item="i" wx:for-index="index" wx:key="*this"><view class="addQrcode-list"><view data-event-opts="{{[['tap',[['toRouter',[index]]]]]}}" class="fl" bindtap="__e"><view class="code"><view>{{'二维码编号:'+i.qrCode+''}}</view><view style="margin-top:20rpx;">{{'绑定数量:'+i.quantity+''}}</view></view></view><view class="fr"><uni-icons vue-id="{{'0064f29c-7-'+index}}" type="trash-filled" color="red" size="30" data-event-opts="{{[['^click',[['delelte',[index]]]]]}}" bind:click="__e" bind:__l="__l"></uni-icons></view></view></block><button style="width:500rpx;margin:30rpx auto;display:block;margin-bottom:300rpx;" size="mini" type="default" data-event-opts="{{[['tap',[['scanCode',[true]]]]]}}" bindtap="__e">+ 扫码添加</button></view><view class="submit-box"><view style="line-height:80rpx;text-align:center;">{{'合计:'+quantitytol+" | "+qrCodeList.length+'件'}}</view><button data-event-opts="{{[['tap',[['addOutInfo']]]]}}" style="background:#0066CC;color:#fff;margin-bottom:30rpx;" bindtap="__e">提交</button></view></view>
|