From a61704bc5c5095a7f6ef01d4d007f6b7fcbc11bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Sat, 21 Dec 2024 15:15:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bst/order.js | 8 ++++ src/components/Business/Dept/DeptCheck.vue | 8 ---- src/components/Business/Order/OrderLink.vue | 10 ++++- .../Business/Process/ProcessCheck.vue | 13 ++++++ src/components/Business/User/UserCheck.vue | 40 ++++++++++++++----- src/router/index.js | 23 +---------- src/utils/enums.js | 4 ++ src/views/bst/order/index.vue | 36 ++++++++++++++--- src/views/bst/orderProd/index.vue | 8 ++-- src/views/bst/prodProcess/index.vue | 30 +++++++++++--- .../bst/store/components/StoreEditDialog.vue | 8 +++- src/views/bst/store/index.vue | 26 +++++++----- src/views/system/dept/index.vue | 31 +++++++------- src/views/system/role/index.vue | 21 +++++----- src/views/system/user/index.vue | 8 ++-- 15 files changed, 182 insertions(+), 92 deletions(-) diff --git a/src/api/bst/order.js b/src/api/bst/order.js index 81d6c7f..76bd383 100644 --- a/src/api/bst/order.js +++ b/src/api/bst/order.js @@ -41,6 +41,14 @@ export function updateOrder(data, submit) { }) } +// 生产订单完工 +export function finishOrder(id) { + return request({ + url: `/bst/order/${id}/finish`, + method: 'put', + }) +} + // 删除生产订单 export function delOrder(id) { return request({ diff --git a/src/components/Business/Dept/DeptCheck.vue b/src/components/Business/Dept/DeptCheck.vue index e03ac0d..4f8c5e2 100644 --- a/src/components/Business/Dept/DeptCheck.vue +++ b/src/components/Business/Dept/DeptCheck.vue @@ -19,14 +19,6 @@ /> - - - - {{name | dv}} + {{name | dv}}