Commit 3f6b1d6d by wusiyi

Merge branch 'dev_sorting_rule' into release_v2.27.0

parents 42599eca e51ff0cb
......@@ -267,12 +267,12 @@ const addArea = async (row?: SortingList) => {
// 删除配货区
const deleteArea = async (id: number) => {
loading.value = true
await ElMessageBox.confirm('确定要删除吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(async () => {
loading.value = true
const res = await deleteAreaApi(id)
if (res.code !== 200) return
ElMessage.success('删除成功')
......
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