|
|
@@ -490,9 +490,10 @@ const setBarcode = (code) => {
|
|
|
cancelOrder(res.data)
|
|
|
return
|
|
|
}
|
|
|
- if(res.data.waveType!=='M'){
|
|
|
+ const orderNos = [...new Set(res.data.details.map(item => item.orderNo))];
|
|
|
+ if(orderNos.length>1){
|
|
|
scanError()
|
|
|
- inputBarcodeRef.value?.show('', '请扫描订单/快递单号', '仅支持大件单复核','')
|
|
|
+ inputBarcodeRef.value?.show('', '请扫描订单/快递单号', '仅支持单个订单复核','')
|
|
|
return
|
|
|
}
|
|
|
orderNo.value = code
|