|
|
@@ -20,7 +20,7 @@
|
|
|
<van-tab title="解绑站点" name="2" ></van-tab>
|
|
|
</van-tabs>
|
|
|
<div class="content-code">
|
|
|
- <div class="barcode-input" v-if="active!=2 || mode!=='asrs' ">
|
|
|
+ <div class="barcode-input" >
|
|
|
<van-search
|
|
|
ref="boxRef"
|
|
|
v-model.lazy="scanBox"
|
|
|
@@ -112,14 +112,14 @@ const _handlerScan = (code) => {
|
|
|
}
|
|
|
}
|
|
|
const onActive=(type)=>{
|
|
|
- if(type==2 && mode.value=='asrs'){
|
|
|
- scanType.value=2
|
|
|
- }else{
|
|
|
- scanType.value=1
|
|
|
- }
|
|
|
+ // if(type==2 && mode.value=='asrs'){
|
|
|
+ // scanType.value=2
|
|
|
+ // }else{
|
|
|
+ // scanType.value=1
|
|
|
+ // }
|
|
|
}
|
|
|
const onConfirm=()=>{
|
|
|
- if(!scanBox.value && active.value!=2){
|
|
|
+ if(!scanBox.value ){
|
|
|
tips.value='请先扫描料箱编号'
|
|
|
scanType.value=1
|
|
|
showNotify({ type: 'danger', duration: 3000, message:'请先扫描料箱编号' })
|
|
|
@@ -207,7 +207,7 @@ const _boxAndStationUnbindTask=()=>{
|
|
|
}
|
|
|
//立库解绑
|
|
|
const _asrsBoxAndStationUnbindTask=()=>{
|
|
|
- const data={warehouse, stationCode:scanStation.value}
|
|
|
+ const data={warehouse, stationCode:scanStation.value,containerCode:scanBox.value}
|
|
|
showLoading()
|
|
|
asrsBoxAndStationUnbindTask(data).then(res=>{
|
|
|
if(res.data){
|