Commit af69e822 authored by 李苏's avatar 李苏 💬

状态调整

parent aea216db
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<InfoCard :info="wlinfor" :keyWidth="'cardKeyFull'" :itemWidth="'infoBodyItemFull'" title="生产订单信息"></InfoCard> <InfoCard :info="wlinfor" :keyWidth="'cardKeyFull'" :itemWidth="'infoBodyItemFull'" title="生产订单信息"></InfoCard>
<InfoCard :info="agvinfo" :keyWidth="'cardKeyFull'" :itemWidth="'infoBodyItemFull'" title="AGV任务信息"></InfoCard> <InfoCard :info="agvinfo" :keyWidth="'cardKeyFull'" :itemWidth="'infoBodyItemFull'" title="AGV任务信息"></InfoCard>
<view class="padding flex align-center bg-white justify-around" v-if="gwObj.status==1"> <view class="padding flex align-center bg-white justify-around" v-if="gwObj.status=='E'">
<button class="cu-btn bg-gradual-green wid22" @tap="cmbt()">叫料</button> <button class="cu-btn bg-gradual-green wid22" @tap="cmbt()">叫料</button>
<button class="cu-btn bg-gradual-orange wid22" @tap="lockingbt()">锁定</button> <button class="cu-btn bg-gradual-orange wid22" @tap="lockingbt()">锁定</button>
...@@ -35,11 +35,11 @@ ...@@ -35,11 +35,11 @@
<view class="padding flex align-center bg-white justify-around" v-if="gwObj.status==4"> <view class="padding flex align-center bg-white justify-around" v-if="gwObj.status==4">
<button class="cu-btn bg-gradual-orange " @tap="deactivate('启用')">启用</button> <button class="cu-btn bg-gradual-orange " @tap="deactivate('启用')">启用</button>
</view> </view>
<view class="padding flex align-center bg-white justify-around" v-if="gwObj.status==3"> <view class="padding flex align-center bg-white justify-around" v-if="gwObj.status=='L'">
<button class="cu-btn bg-gradual-red wid22" @tap="cancelbt()">取消</button> <button class="cu-btn bg-gradual-red wid22" @tap="cancelbt()">取消</button>
</view> </view>
<view class="padding flex align-center bg-white justify-around" v-if="gwObj.status==2"> <view class="padding flex align-center bg-white justify-around" v-if="gwObj.status=='U'">
<button class="cu-btn bg-gradual-red wid30" @tap="adjustbt()">托盘调整</button> <button class="cu-btn bg-gradual-red wid30" @tap="adjustbt()">托盘调整</button>
<button class="cu-btn bg-gradual-orange wid30" @tap="clearbt()">托盘清空</button> <button class="cu-btn bg-gradual-orange wid30" @tap="clearbt()">托盘清空</button>
<button class="cu-btn bg-gradual-orange wid30" @tap="backWarehouse()">回库</button> <button class="cu-btn bg-gradual-orange wid30" @tap="backWarehouse()">回库</button>
......
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
} }
checkKwcode({code:this.code,kwid:this.rkdjlist[this.index].kwid}).then(e=>{ checkKwcode({code:this.code,kwid:this.rkdjlist[this.index].kwid}).then(e=>{
if(e){ if(e){
if(that.code.toLowerCase()==that.rkdjlist[that.index].kwname.toLowerCase()&&e.records.zt=="L"){ if(that.code.toLowerCase()==that.rkdjlist[that.index].kwcode.toLowerCase()&&e.records.zt=="L"){
return {rwid:that.rkdjlist[that.index].id,destKwid:e.records.id,text:"是否确认入库"} return {rwid:that.rkdjlist[that.index].id,destKwid:e.records.id,text:"是否确认入库"}
}else if(e.code!=that.code&&e.records.zt=="E"){ }else if(e.code!=that.code&&e.records.zt=="E"){
return {rwid:that.rkdjlist[that.index].id,destKwid:e.records.id,text:"当前库位和已输库位不一致,是否入库"} return {rwid:that.rkdjlist[that.index].id,destKwid:e.records.id,text:"当前库位和已输库位不一致,是否入库"}
......
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