From ff99e3ed287b4e6395e6a7b621330feb768a64a0 Mon Sep 17 00:00:00 2001 From: "bbl\\baobl" Date: Mon, 25 Mar 2024 13:48:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=BA=93=E5=8D=95-=E6=95=B4=E5=8D=95?= =?UTF-8?q?=E5=88=86=E9=85=8D=EF=BC=8C=E5=8F=96=E6=B6=88=E5=88=86=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/pick.js | 16 +++++- src/views/business-data/pick/index.vue | 71 +++++++++++++++++++++++++- 2 files changed, 84 insertions(+), 3 deletions(-) diff --git a/src/api/pick.js b/src/api/pick.js index 52582a5..5e1daa4 100644 --- a/src/api/pick.js +++ b/src/api/pick.js @@ -23,5 +23,19 @@ export function edit(data) { data }) } +export function allocate(ids) { + return request({ + url: 'api/pick/allocate', + method: 'post', + data: ids + }) +} -export default { add, edit, del } +export function cancelAllocate(ids) { + return request({ + url: 'api/pick/cancelAllocate', + method: 'post', + data: ids + }) +} +export default { add, edit, del, allocate ,cancelAllocate } diff --git a/src/views/business-data/pick/index.vue b/src/views/business-data/pick/index.vue index 955d337..e6c9b6b 100644 --- a/src/views/business-data/pick/index.vue +++ b/src/views/business-data/pick/index.vue @@ -19,7 +19,31 @@ - + + + 分配 + + + 取消分配 + + @@ -97,12 +121,13 @@