|
|
|
@ -530,6 +530,7 @@ const details = reactive<any>({
|
|
|
|
|
nextNodeData: [], |
|
|
|
|
choosePackageList: [], |
|
|
|
|
chooseNodeId: '', |
|
|
|
|
loadType: '0', |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const { |
|
|
|
@ -738,7 +739,6 @@ const onLoad = debounce(async (params = {}) => {
|
|
|
|
|
initData('unloadAbnormal', iterator); |
|
|
|
|
initData('isSupple', iterator); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
details.page.total = data.total; |
|
|
|
|
} catch (error) { |
|
|
|
|
console.log('error :>> ', error); |
|
|
|
@ -1503,7 +1503,7 @@ const handleBatchSigin = async () => {
|
|
|
|
|
for (let i = 0; i < details.selectionList.length; i++) { |
|
|
|
|
const value = details.selectionList[i]; |
|
|
|
|
|
|
|
|
|
if (Number($route.query.deliveryType) === 1 && Number(value.scanStatus) === 1) { |
|
|
|
|
if (Number($route.query.deliveryType) === 2 && Number(value.scanStatus) === 1) { |
|
|
|
|
return ElMessage.warning('存在未卸车数据,请卸车后再签收'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|