Commit 3b202dd9 authored by zhoumaotao's avatar zhoumaotao

1

parent 626609d3
......@@ -24,12 +24,12 @@
<!-- title -->
<view class="tbtit">
<view class="tbtit_son">托盘码</view>
<view class="tbtit_son">库位</view>
<!--<view class="tbtit_son">库位</view>-->
<view style="flex: 1;">状态</view>
</view>
<view class="tbtit_row " :class="item.selected?'selected':''" v-for="(item,index) in rkdjlist" :key="index" @tap="selectTb(item,index)" @longtap="longtapTb(item,index)">
<view class="tbtit_row_son1">{{item.tpcode}}</view>
<view style="flex: 1">{{item.kwname}}</view>
<!--<view style="flex: 1">{{item.kwname}}</view>-->
<view class="tbtit_row_son3">{{item.zt|ckStatus}}</view>
</view>
<view class="tbtit_row " style="display: flex;" v-if="!rkdjlist[0]" >
......@@ -131,16 +131,14 @@
return
}
if(this.index==-1){
this.$tip.toast("请选中一条信息")
this.$tip.toast("请选中一条入库任务")
this.kwmFocus=true
return
}
checkKwcode({code:this.code,kwid:this.rkdjlist[this.index].kwid}).then(e=>{
if(e){
if(that.code.toLowerCase()==that.rkdjlist[that.index].kwcode.toLowerCase()&&e.records.zt=="L"){
if(e.records.zt=="E"){
return {rwid:that.rkdjlist[that.index].id,destKwid:e.records.id,text:"是否确认入库"}
}else if(e.code!=that.code&&e.records.zt=="E"){
return {rwid:that.rkdjlist[that.index].id,destKwid:e.records.id,text:"当前库位和已输库位不一致,是否入库"}
}else{
that.$tip.toast("请核对扫描和已选信息,当前状态无法入库")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment