Commit e0a1864f by qinjianhui

fix: 问题修改

parent 98111e0c
...@@ -685,6 +685,9 @@ const handleSubmitAudit = async () => { ...@@ -685,6 +685,9 @@ const handleSubmitAudit = async () => {
} }
} }
const handleDeleteOrder = async () => { const handleDeleteOrder = async () => {
if (selection.value.length === 0) {
return ElMessage.warning('请选择一条数据')
}
if (selection.value.length !== 1) { if (selection.value.length !== 1) {
return ElMessage.warning('不支持批量删除!') return ElMessage.warning('不支持批量删除!')
} }
...@@ -707,6 +710,9 @@ const handleDeleteOrder = async () => { ...@@ -707,6 +710,9 @@ const handleDeleteOrder = async () => {
} }
} }
const handleCancelOrder = async () => { const handleCancelOrder = async () => {
if (selection.value.length === 0) {
return ElMessage.warning('请选择一条数据')
}
if (selection.value.length !== 1) { if (selection.value.length !== 1) {
return ElMessage.warning('不支持批量取消!') return ElMessage.warning('不支持批量取消!')
} }
......
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