From da2b7358b34d07d8e8576cf4eace8f6a7ccec3fb Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Fri, 3 Nov 2023 14:22:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E5=93=81=E5=B7=A5=E5=8D=95=E5=8A=A0?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/plan/order.js | 13 ++++++ src/views/mes/reportWork/index.vue | 5 +-- src/views/plan/order/index.vue | 72 +++++++++++++++++++++--------- src/views/plan/workorder/index.vue | 12 ++++- 4 files changed, 78 insertions(+), 24 deletions(-) diff --git a/src/api/plan/order.js b/src/api/plan/order.js index 087ef90f..42c6e709 100644 --- a/src/api/plan/order.js +++ b/src/api/plan/order.js @@ -33,6 +33,19 @@ export function getProRoutes(prodCode) { }) } +// 获取当天的递增工单执行顺序 +export function getProSortNo(productDate) { + const data = { + productDate + } + return request({ + url: '/plan/order/getProSortNo', + method: 'put', + data: data + }) +} + + // 通过工艺code获取设备信息 export function getProEquipment(routeCode) { return request({ diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue index 022181a5..777a522a 100644 --- a/src/views/mes/reportWork/index.vue +++ b/src/views/mes/reportWork/index.vue @@ -361,7 +361,7 @@ :total="consumeTotal" :page.sync="consumeQueryParams.consumePageNum" :limit.sync="consumeQueryParams.consumePageSize" - @pagination="getReportWorkConsumeList" + @pagination="getList" /> @@ -370,7 +370,6 @@