|
|
@@ -105,6 +105,7 @@
|
|
|
<input-barcode ref="inputBarcodeRef" @setBarcode="_handlerScan" />
|
|
|
<!-- <van-floating-bubble v-if="locationList.length>0" :gap="50" axis="xy" magnetic="x" @click="onContainerNo(containerNo===''?2:scanType)">容器</van-floating-bubble>-->
|
|
|
<lot-att ref="lotAttRef" />
|
|
|
+ <express-print ref="expressPrintRef" :warehouse="warehouse" />
|
|
|
<barcode-combine ref="barcodeCombineRef" @setCombine="setCombine" :container="containerNo" :matched-sku="matchedSku" />
|
|
|
<printer ref="printerRef" @onPrint="onPrint"/>
|
|
|
<van-dialog v-model:show="countTrueFalseBy" title="拣货数量" show-cancel-button :beforeClose="beforeClose" :keyboardEnabled="false" >
|
|
|
@@ -125,7 +126,7 @@ import { showConfirmDialog, showDialog, showFailToast, showNotify, showToast } f
|
|
|
import { fetchPickingData, getPickingTask } from '@/views/outbound/picking/list/hooks/list'
|
|
|
import { getOwnerList } from '@/hooks/basic'
|
|
|
import { useRouter,useRoute } from 'vue-router'
|
|
|
-import { getListCombineSku, printerByPick, removePickingTask, setPickingDetail } from '@/api/picking'
|
|
|
+import { getListCombineSku, getPickingWaveNo, printerByPick, removePickingTask, setPickingDetail } from '@/api/picking'
|
|
|
const router = useRouter()
|
|
|
const route = useRoute()
|
|
|
const store = useStore()
|
|
|
@@ -148,6 +149,7 @@ import { basicStore } from '@/store/modules/basic'
|
|
|
import { closeLoading, showLoading } from '@/utils/loading'
|
|
|
import WaveInfo from '@/views/outbound/picking/components/WaveInfo.vue'
|
|
|
import Printer from '@/components/Printer.vue'
|
|
|
+import ExpressPrint from '@/views/outbound/picking/components/expressPrint.vue'
|
|
|
onUnmounted(() => {
|
|
|
closeListener()
|
|
|
})
|
|
|
@@ -734,6 +736,7 @@ const actions = [
|
|
|
{ name: '反转库位顺序' ,key:'reversal'},
|
|
|
{ name: '获取任务',key:'task' },
|
|
|
{ name: '波次号打印' ,key:'wave'},
|
|
|
+ { name: '面单打印' ,key:'express'},
|
|
|
{ name: '检索条码' ,key:'inputBarcode'},
|
|
|
|
|
|
];
|
|
|
@@ -750,6 +753,7 @@ const onClickRight = () => {
|
|
|
const pickingNoInputRef=ref(null)
|
|
|
const inputBarcodeRef=ref(null)
|
|
|
const printerRef=ref(null)
|
|
|
+const expressPrintRef=ref(null)
|
|
|
const onSelectMode= async (value) => {
|
|
|
if(value.key=='task'){
|
|
|
if(route.query.aisle){
|
|
|
@@ -767,6 +771,9 @@ const onSelectMode= async (value) => {
|
|
|
}else {
|
|
|
showToast('当前没有任务不支持打印')
|
|
|
}
|
|
|
+ }else if(value.key=='express'){
|
|
|
+ const waveList=Object.keys(getWaveOne())
|
|
|
+ expressPrintRef.value.show(waveList)
|
|
|
}else if(value.key=='removeTask'){
|
|
|
if(pickingNo.value){
|
|
|
if(selectTask.value.length>0){
|