1 |
- <view class="goIn"><view style="padding-bottom:300rpx;"><block wx:if="{{isScanCode}}"><view class="dtl"><view>{{'二维码编号:'+dtlData.qrCode+''}}</view><view>{{'物料编码:'+dtlData.materialCode+''}}</view><view>{{'物料名称:'+dtlData.materialName+''}}</view><view>{{'绑定数量:'+dtlData.quantity+''}}</view><view>{{'绑定时间:'+dtlData.createTime+''}}</view><view>{{'供应商:'+dtlData.supplierName+''}}</view><view>{{'合同编号:'+dtlData.purchaseBillNo+''}}<label style="margin-left:20rpx;" class="_span">{{"批次号:"+dtlData.batchNo}}</label></view></view></block><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="{{'6d8d6ca0-1-'+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;" 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><picker range="{{stockHouseData}}" range-key="name" data-event-opts="{{[['change',[['bindPickerChange',['$event']]]]]}}" bindchange="__e"><button style="background:#0066CC;color:#fff;margin-bottom:30rpx;">提交</button></picker></view><uni-popup class="vue-ref" vue-id="6d8d6ca0-2" background-color="#fff" is-mask-click="{{false}}" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['popup-content',(type==='left'||type==='right')?'popup-height':'']}}"><view class="popup-input-warp"><view class="commons-title">扫码入库</view><view style="margin:20rpx;">请选择入库类型</view><block wx:if="{{userData.roleKey=='storekeeper'||userData.roleKey==' supervisor'||userData.roleKey=='admin'}}"><button data-event-opts="{{[['tap',[['scanCode',['$event']]]]]}}" style="background:#0066CC;color:#fff;margin-bottom:30rpx;" bindtap="__e">到货入库</button></block><button data-event-opts="{{[['tap',[['toWithdrawal',['$event']]]]]}}" bindtap="__e">退仓</button></view></view></uni-popup></view>
|