From 2c44906bd6d06df44c3191e54dd7f7d8273be7fb Mon Sep 17 00:00:00 2001 From: zwq Date: Fri, 27 Dec 2024 15:38:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/coreWorkOrder.js | 14 +- src/api/equipment/base/maintain/items.js | 7 + .../base/maintain/PlanConfig/attr-add.vue | 24 +- .../items/components/add-or-updata.vue | 9 +- .../maintain/items/components/basic-add.js | 10 +- .../maintain/items/components/basic-page.js | 10 +- .../equipment/base/maintain/items/index.vue | 2 +- .../base/maintain/items/showDetail.vue | 19 +- src/views/material/material/add-or-updata.vue | 4 +- src/views/material/material/index.vue | 3 +- .../material/materialUseLog/add-or-updata.vue | 34 +- src/views/produce/workOrder/detail.vue | 949 ++++++++++-------- .../warehouse-area-setup/index.vue | 47 +- .../add-or-updata.vue | 26 +- .../warehouse-manage/in&out/add-or-updata.vue | 4 +- .../warehouse-manage/in&out/index.vue | 12 + .../relocationHistory/index.vue | 4 +- 17 files changed, 693 insertions(+), 485 deletions(-) diff --git a/src/api/base/coreWorkOrder.js b/src/api/base/coreWorkOrder.js index bb50ab9b..0ee2495b 100644 --- a/src/api/base/coreWorkOrder.js +++ b/src/api/base/coreWorkOrder.js @@ -1,8 +1,8 @@ /* * @Author: Do not edit * @Date: 2023-10-21 11:50:46 - * @LastEditTime: 2023-11-15 17:19:19 - * @LastEditors: DY + * @LastEditTime: 2024-12-27 15:20:14 + * @LastEditors: zwq * @Description: */ import request from '@/utils/request' @@ -169,4 +169,12 @@ export function updateBatch(data) { method: 'put', data: data }) -} \ No newline at end of file +} +// 更新订单表与工单关联表 多对多 +export function updateConCoreWOr(data) { + return request({ + url: '/base/core-order-con-work-order/update', + method: 'put', + data: data + }) +} diff --git a/src/api/equipment/base/maintain/items.js b/src/api/equipment/base/maintain/items.js index e4cd33b8..d9a92739 100644 --- a/src/api/equipment/base/maintain/items.js +++ b/src/api/equipment/base/maintain/items.js @@ -23,6 +23,13 @@ export function getItemPageData(data) { }) } +export function getByEquId(id) { + return request({ + url: '/base/equipment-maintain-program/getByEquId?id=' + id, + method: 'get', + }) +} + export function getItemData(id) { return request({ url: 'base/equipment-maintain-program/get?id=' + id, diff --git a/src/views/equipment/base/maintain/PlanConfig/attr-add.vue b/src/views/equipment/base/maintain/PlanConfig/attr-add.vue index ee02cd1b..adb926b1 100644 --- a/src/views/equipment/base/maintain/PlanConfig/attr-add.vue +++ b/src/views/equipment/base/maintain/PlanConfig/attr-add.vue @@ -37,7 +37,7 @@ diff --git a/src/views/warehouse/warehouse-base/warehouse-area-setup/index.vue b/src/views/warehouse/warehouse-base/warehouse-area-setup/index.vue index e348a111..94e3a7c6 100644 --- a/src/views/warehouse/warehouse-base/warehouse-area-setup/index.vue +++ b/src/views/warehouse/warehouse-base/warehouse-area-setup/index.vue @@ -1,15 +1,14 @@