|
|
|
@ -1343,11 +1343,15 @@ const handleUnloadByLoadId = (type: 1 | 2) => {
|
|
|
|
|
if (details.selectionList.length === 0) return ElMessage.warning('请选择需要卸车的数据'); |
|
|
|
|
if (details.selectionList.length > 1) return ElMessage.warning('只支持单条数据操作'); |
|
|
|
|
|
|
|
|
|
ElMessageBox.confirm('确认卸车吗?', '', { |
|
|
|
|
confirmButtonText: '确认', |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning', |
|
|
|
|
}).then(async () => { |
|
|
|
|
ElMessageBox.confirm( |
|
|
|
|
'请确认卸车数据是否完成,未卸车数据将进入异常列表。', |
|
|
|
|
type === 1 ? '中途卸车确认' : '终点卸车确认', |
|
|
|
|
{ |
|
|
|
|
confirmButtonText: '确认', |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning', |
|
|
|
|
} |
|
|
|
|
).then(async () => { |
|
|
|
|
try { |
|
|
|
|
details.loadingObj.pageLoading = true; |
|
|
|
|
|
|
|
|
|