From 839c65dcb6ab0ea4915e993d6ceeca7ed3e23bd0 Mon Sep 17 00:00:00 2001
From: wws <18630710203@163.com>
Date: Wed, 30 Aug 2023 16:32:20 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E6=A8=A1=E5=9D=97(=E6=B9=BF?=
=?UTF-8?q?=E6=96=99=E5=BC=82=E5=B8=B8=E5=8D=A1=E6=AD=BBBUG=E8=A7=A3?=
=?UTF-8?q?=E5=86=B3=E3=80=81=E8=AE=A2=E5=8D=95=E6=8B=86=E5=88=86=E9=A1=B5?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B8=83=E5=B1=80+=E5=B7=A5=E8=89=BA?=
=?UTF-8?q?=E7=BA=BF=E4=BD=93=E9=80=BB=E8=BE=91=E5=8F=98=E6=9B=B4=E3=80=81?=
=?UTF-8?q?=E5=B7=A5=E5=8D=95=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E5=B8=83?=
=?UTF-8?q?=E5=B1=80+=E5=B7=A5=E8=89=BA=E7=BA=BF=E4=BD=93=E9=80=BB?=
=?UTF-8?q?=E8=BE=91=E5=8F=98=E6=9B=B4)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/plan/order.js | 28 ++++++++-
src/views/plan/order/index.vue | 94 ++++++++++++++++++------------
src/views/plan/plan/index.vue | 1 -
src/views/plan/workorder/index.vue | 76 ++++++++++++++----------
4 files changed, 129 insertions(+), 70 deletions(-)
diff --git a/src/api/plan/order.js b/src/api/plan/order.js
index ab9a84e..3e00824 100644
--- a/src/api/plan/order.js
+++ b/src/api/plan/order.js
@@ -1,6 +1,30 @@
import request from '@/utils/request'
-//通过母订单id查询最新工单列表
+// 获取班次信息
+export function getProShifts() {
+ return request({
+ url: '/plan/order/getProShifts/',
+ method: 'get'
+ })
+}
+
+// 通过物料code获取工艺信息
+export function getProRoutes(prodCode) {
+ return request({
+ url: '/plan/order/getProRoutes/' + prodCode,
+ method: 'get'
+ })
+}
+
+// 通过工艺code获取设备信息
+export function getProEquipment(routeCode) {
+ return request({
+ url: '/plan/order/getProEquipment/' + routeCode,
+ method: 'get'
+ })
+}
+
+// 通过母订单id查询最新工单列表
export function getWorkOrderList(id) {
return request({
url: '/plan/order/getWorkOrderList/' + id,
@@ -8,7 +32,7 @@ export function getWorkOrderList(id) {
})
}
-//通过母订单id查询最新订单列表
+// 通过母订单id查询最新订单列表
export function getOrderList(id) {
return request({
url: '/plan/order/getOrderList/' + id,
diff --git a/src/views/plan/order/index.vue b/src/views/plan/order/index.vue
index 0d0850c..a64b030 100644
--- a/src/views/plan/order/index.vue
+++ b/src/views/plan/order/index.vue
@@ -124,16 +124,16 @@
>导出
-
- 展开/折叠
-
-
+
+
+
+
+
+
+
+
+
+
@@ -334,22 +334,26 @@
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
-
+
@@ -358,7 +362,7 @@
-
+
@@ -368,14 +372,10 @@
-
-
-
-
-
-
+
+
+
+
@@ -388,7 +388,7 @@
-
+
@@ -435,6 +435,9 @@