Commit 1450284d by zhuzhequan

完成发货,添加loading

parent ecaab0cf
......@@ -1604,6 +1604,11 @@ const saveCompleteShipment = async () => {
} catch (e) {
return
}
const loading = ElLoading.service({
lock: true,
text: '加载中...',
background: 'rgba(0, 0, 0, 0.7)',
})
const productIdList = selection.value.map(
(item: CardOrderData | PodProductList) => item.id,
)
......@@ -1617,6 +1622,8 @@ const saveCompleteShipment = async () => {
loadDiffList()
} catch (e) {
console.error(e)
}finally {
loading.close()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment