|
@@ -101,7 +101,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="tagbox flex">
|
|
<view class="tagbox flex">
|
|
<view>
|
|
<view>
|
|
- <view class="tag" :class="delLayer.indexOf(item)>=0?'active':''" v-for="item in countData" :key="item" @click="chooseDelLay(item)">
|
|
|
|
|
|
+ <view class="tag" :class="delLayer.indexOf(item)>=0?'active':''" v-for="item in countData" :key="item.shelfTierCode" @click="chooseDelLay(item)">
|
|
{{item.shelfTierCode}}层
|
|
{{item.shelfTierCode}}层
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -325,6 +325,9 @@
|
|
this.totalKs += item.category||0
|
|
this.totalKs += item.category||0
|
|
this.totalNums += item.qty||0
|
|
this.totalNums += item.qty||0
|
|
})
|
|
})
|
|
|
|
+ if(res.data.length==0){
|
|
|
|
+ this.showPop = false
|
|
|
|
+ }
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -374,12 +377,11 @@
|
|
mask: true,
|
|
mask: true,
|
|
title: '正在删除...'
|
|
title: '正在删除...'
|
|
})
|
|
})
|
|
|
|
+ this.showDelLay =false
|
|
deleteBatch({ shelfSn: this.shelfSn, shelfTierCodeList:delLayerArr }).then(res => {
|
|
deleteBatch({ shelfSn: this.shelfSn, shelfTierCodeList:delLayerArr }).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
this.toashMsg(res.message)
|
|
this.toashMsg(res.message)
|
|
this.pageInit(true)
|
|
this.pageInit(true)
|
|
- this.showDelLay =false;
|
|
|
|
- this.showPop =false;
|
|
|
|
}
|
|
}
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
})
|
|
})
|