|
|
@@ -505,6 +505,11 @@ const setBarcode = (code) => {
|
|
|
tips.value = '请扫描商品条码'
|
|
|
waveNo.value = code
|
|
|
orderDetail.value = res.data
|
|
|
+ const allStatus= res.data.details.every(item => item.status == 60);
|
|
|
+ if(!allStatus){
|
|
|
+ inputBarcodeRef.value?.show('', '请扫描波次/容器号', `${code}:没有拣货完成请拣货`)
|
|
|
+ return
|
|
|
+ }
|
|
|
orderMap.value=getDataList(res.data.details)
|
|
|
if(orderMap.value.dataGroup && Object.keys(orderMap.value.dataGroup).length>0){
|
|
|
dataList.value=orderMap.value.dataGroup[Object.keys(orderMap.value.dataGroup)[0]]
|