1 |
- <view class="InventorySubmit"><uni-search-bar bind:confirm="__e" bind:cancel="__e" bind:input="__e" vue-id="cda1c5e4-1" value="{{req.keyword}}" data-event-opts="{{[['^confirm',[['getData']]],['^cancel',[['reload']]],['^input',[['__set_model',['$0','keyword','$event',[]],['req']]]]]}}" bind:__l="__l"></uni-search-bar><view class="dtl" style="font-size:24rpx;"><view>{{'物料编码:'+option.materialCode+''}}</view><view>{{'物料名称:'+option.materialName+''}}</view><view>{{'库存件数:'+option.materialCount+''}}<label style="margin-left:30rpx;" class="_span">{{"库存数量:"+option.materialSum}}</label></view><view style="color:#0066CC;">{{'已盘件数:'+option.handleMaterialCount+''}}<label style="margin-left:30rpx;" class="_span">{{"已盘数量:"+option.handleMaterialSum}}</label></view></view><view class="commons-title">盘点明细</view><block wx:for="{{listData}}" wx:for-item="i" wx:for-index="index" wx:key="qrCode"><view data-event-opts="{{[['tap',[['operation',['$0'],[[['listData','qrCode',i.qrCode]]]]]]]}}" class="addQrcode-list" bindtap="__e"><view class="fl"><view style="color:#aaaaaa;">{{'二维码编号:'+i.qrCode+''}}</view><view>{{'绑定数量:'+i.quantity+''}}</view></view><view class="fr" style="width:200rpx;text-align:right;"><block wx:if="{{i.checkTagState==0}}"><uni-icons vue-id="{{'cda1c5e4-2-'+index}}" type="checkbox-filled" color="#0066CC" size="30" bind:__l="__l"></uni-icons></block><block wx:if="{{i.checkTagState==1}}"><uni-icons vue-id="{{'cda1c5e4-3-'+index}}" type="checkbox-filled" color="red" size="30" bind:__l="__l"></uni-icons></block><block wx:if="{{i.checkTagState==2}}"><uni-icons vue-id="{{'cda1c5e4-4-'+index}}" type="checkbox-filled" color="#dcdcdc" size="30" bind:__l="__l"></uni-icons></block><label style="position:relative;top:-10rpx;" class="_span">{{''+(i.checkTagState==0?'正常':i.checkTagState==1?' 不在库存':' 未扫描')+''}}</label></view></view></block><view class="submit-box" style="margin-top:30rpx;"><button data-event-opts="{{[['tap',[['scanCode',['$event']]]]]}}" bindtap="__e">继续盘点</button></view><view class="submit-box" style="margin-top:30rpx;"><button data-event-opts="{{[['tap',[['recordSubmit',['$event']]]]]}}" style="background:#0066CC;color:#fff;" bindtap="__e">提 交</button></view><uni-popup class="vue-ref" vue-id="cda1c5e4-5" type="center" background-color="#fff" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content"><view class="_h3">异常处置</view><view>{{'物料编码:'+qrCodeData.materialCode+''}}</view><view>{{'物料名称:'+qrCodeData.materialName+''}}</view><view>{{'二维码编号:'+qrCodeData.qrCode+''}}</view><view style="display:flex;justify-content:space-between;"><view>{{'绑定数量:'+qrCodeData.quantity+''}}</view><view style="display:flex;justify-content:space-between;"><block wx:if="{{qrCodeData.checkTagState==0}}"><uni-icons vue-id="{{('cda1c5e4-6')+','+('cda1c5e4-5')}}" type="checkbox-filled" color="#0066CC" size="30" bind:__l="__l"></uni-icons></block><block wx:if="{{qrCodeData.checkTagState==1}}"><uni-icons vue-id="{{('cda1c5e4-7')+','+('cda1c5e4-5')}}" type="checkbox-filled" color="red" size="30" bind:__l="__l"></uni-icons></block><block wx:if="{{qrCodeData.checkTagState==2}}"><uni-icons vue-id="{{('cda1c5e4-8')+','+('cda1c5e4-5')}}" type="checkbox-filled" color="#dcdcdc" size="30" bind:__l="__l"></uni-icons></block><label class="_span">{{''+(qrCodeData.checkTagState==0?'正常':qrCodeData.checkTagState==1?' 不在库存':' 未扫描')+''}}</label></view></view><view><view class="commons-title" style="font-size:24rpx;"><label style="color:red;" class="_span">*</label>请选择处置类型:</view><picker range="{{tagDealTypeData}}" range-key="title" data-event-opts="{{[['change',[['bindPickerChange',['$event']]]]]}}" bindchange="__e"><view style="text-align:right;display:flex;justify-content:space-between;"><view>{{''+(formData.tagDealTypeName||'请选择处置类型')+''}}</view><uni-icons vue-id="{{('cda1c5e4-9')+','+('cda1c5e4-5')}}" type="forward" size="20" bind:__l="__l"></uni-icons></view></picker><block wx:if="{{formData.tagDealType===21}}"><picker range="{{userList}}" range-key="nickName" data-event-opts="{{[['change',[['bindPickerChange2',['$event']]]]]}}" bindchange="__e"><view style="text-align:right;display:flex;justify-content:space-between;"><view>{{''+(formData.operUserName||'请选择人员')+''}}</view><uni-icons vue-id="{{('cda1c5e4-10')+','+('cda1c5e4-5')}}" type="forward" size="20" bind:__l="__l"></uni-icons></view></picker></block></view><view><view class="_p">备注:</view><input type="text" value="{{formData.remark}}" data-event-opts="{{[['input',[['__set_model',['$0','remark','$event',[]],['formData']]]]]}}" bindinput="__e"/></view></view><view style="text-align:center;"><button style="margin-right:20rpx;width:140rpx;" size="mini" type="default" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e">取消</button><button style="width:140rpx;background:#0066CC;color:#fff;" size="mini" type="default" data-event-opts="{{[['tap',[['addOrEditTag',['$event']]]]]}}" bindtap="__e">确定</button></view></uni-popup><uni-popup class="vue-ref" vue-id="cda1c5e4-11" type="center" background-color="#fff" data-ref="popup2" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content"><view class="_h3">盘点结果</view><view>{{'物料类型:'+qrCodeData.categoryName+''}}</view><view>{{'物料编码:'+qrCodeData.materialCode+''}}</view><view>{{'物料名称:'+qrCodeData.materialName+''}}</view><view>{{'所在仓库:'+qrCodeData.stockHouseName+''}}</view><view style="display:flex;justify-content:space-between;"><view>{{'库存件数:'+option.materialCount+''}}</view><view>{{'扫描件数:'+option.handleMaterialCount+''}}</view></view><view style="color:red;">{{'异常件数:'+(option.materialCount-option.handleMaterialCount+errorNum)+''}}</view><view><view class="_p"><label style="color:red;" class="_span">*</label>实物件数:</view><input type="number" value="{{req.handTagCount}}" data-event-opts="{{[['input',[['__set_model',['$0','handTagCount','$event',[]],['req']]]]]}}" bindinput="__e"/></view></view><view style="text-align:center;"><button style="margin-right:20rpx;width:140rpx;" size="mini" type="default" data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" bindtap="__e">取消</button><button style="width:140rpx;background:#0066CC;color:#fff;" size="mini" type="default" data-event-opts="{{[['tap',[['addOrEditTag2',['$event']]]]]}}" bindtap="__e">确定</button></view></uni-popup></view>
|