From 46e2980179c20e36055ec1665564d92021f2e79f Mon Sep 17 00:00:00 2001
From: TengXF <302828528@qq.com>
Date: Wed, 15 May 2024 16:34:44 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20update=20=E5=B7=A5=E5=BA=8F=E5=AE=8C?=
=?UTF-8?q?=E5=B7=A5=E3=80=81=E6=8A=A5=E5=B7=A5=E3=80=81=E8=B4=A8=E6=A3=80?=
=?UTF-8?q?=E3=80=81=E5=B7=A5=E5=8D=95=E5=AE=8C=E5=B7=A5=E3=80=81=E6=93=8D?=
=?UTF-8?q?=E4=BD=9C=E6=8C=89=E9=92=AE=E5=B1=95=E7=A4=BA=E4=B8=8E=E9=9A=90?=
=?UTF-8?q?=E8=97=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/mes/workScheduling/index.ts | 16 +-
src/pages.json | 14 +
.../productBackline/createProductBackline.vue | 31 +-
.../productOffline/createProductOffline.vue | 2 +-
src/pages/mes/productOffline/index.vue | 10 +-
.../mes/workScheduling/inspectionItems.vue | 4 +-
src/pages/mes/workScheduling/waitQuality.vue | 334 ++++++
src/pages/mes/workScheduling/waitReport.vue | 384 ++++++
.../mes/workScheduling/workScheduling.vue | 1062 +++++++++--------
9 files changed, 1355 insertions(+), 502 deletions(-)
create mode 100644 src/pages/mes/workScheduling/waitQuality.vue
create mode 100644 src/pages/mes/workScheduling/waitReport.vue
diff --git a/src/api/mes/workScheduling/index.ts b/src/api/mes/workScheduling/index.ts
index 33f7ee0..885f3d5 100644
--- a/src/api/mes/workScheduling/index.ts
+++ b/src/api/mes/workScheduling/index.ts
@@ -121,10 +121,24 @@ export function getNodePosition(params) {
return http.get('/mes/workScheduling/getNodePosition', {params})
}
// 完工查询人员
-export function getCurrentWorkerList(params) {
+export function getWorkerList(params) {
return http.get('/mes/workScheduling/getCurrentWorkerList', {params})
}
export function getRequestMainDetail(params) {
return http.get('/mes/item-request-detail/page', {params})
}
+
+//工序报工
+export function reportByProcess(data) {
+ return http.post('/mes/work-scheduling-detail/reportWorkByProcess', data)
+}
+//工序完工
+export function finishedByProcess(data) {
+ return http.post('/mes/work-scheduling-detail/processFinished', data)
+}
+//工序质检
+export function qualityByProcess(data) {
+ return http.post('/mes/work-scheduling-detail/processQualified', data)
+}
+
diff --git a/src/pages.json b/src/pages.json
index c3f4b73..c1e461c 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -2079,6 +2079,20 @@
"navigationBarTitleText": "配料详情",
"enablePullDownRefresh": true
}
+ },
+ {
+ "path": "pages/mes/workScheduling/waitQuality",
+ "style": {
+ "navigationBarTitleText": "待质检",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/mes/workScheduling/waitReport",
+ "style": {
+ "navigationBarTitleText": "待报工",
+ "enablePullDownRefresh": true
+ }
}
diff --git a/src/pages/mes/productBackline/createProductBackline.vue b/src/pages/mes/productBackline/createProductBackline.vue
index efd171c..e970149 100644
--- a/src/pages/mes/productBackline/createProductBackline.vue
+++ b/src/pages/mes/productBackline/createProductBackline.vue
@@ -48,7 +48,8 @@
-
+
+
@@ -62,10 +63,15 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/mes/workScheduling/waitReport.vue b/src/pages/mes/workScheduling/waitReport.vue
new file mode 100644
index 0000000..6e55fb2
--- /dev/null
+++ b/src/pages/mes/workScheduling/waitReport.vue
@@ -0,0 +1,384 @@
+
+
+
+
+
+ 当前工序:{{saveData.processCode}}
+
+
+
+
+ 报工人员:
+
+
+
+ 报工数量:
+
+
+
+ 报工工时:
+
+
+
+ 是否质检:
+
+
+
+
+
+ 合格数量:
+
+
+
+ 不合格数量:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/mes/workScheduling/workScheduling.vue b/src/pages/mes/workScheduling/workScheduling.vue
index b307d45..71fa2a0 100644
--- a/src/pages/mes/workScheduling/workScheduling.vue
+++ b/src/pages/mes/workScheduling/workScheduling.vue
@@ -1,537 +1,598 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 计划号:{{ item.planDayCode }}
-
-
-
- 产品号:{{ item.productCode }}
-
-
- 工序号:{{ item.processCode }}
-
-
- 工位号:{{ item.workstationCode }}
-
-
- 创建时间:{{`${$time.formatDate(item.createTime)}`}}
-
-
- 领料
-
-
-
-
-
-
-
- 计划号:{{ item.planMasterCode }}
-
-
- 产品号:{{ item.productCode }}
-
-
- 工序号:{{ item.workingNode }}
+
+
+
+
+
+ 计划号:{{ item.planDayCode }}
+
+
+
+ 产品号:
+ {{ item.productCode }}
+
+
+ 工序号:
+ {{ item.processCode }}
+
+
+ 工位号:
+ {{ item.workstationCode }}
+
+
+ 创建时间:
+ {{`${$time.formatDate(item.createTime)}`}}
+
+
+ 领料
+
+
+
+
+
+
+
+ 计划号:
+ {{ item.planMasterCode }}
+
+
+ 产品号:
+ {{ item.productCode }}
+
+
+ 工序号:
+ {{ item.workingNode }}
+
+
+ 工位号:
+ {{ item.currentWorkstation }}
+
+
+ 创建时间:
+ {{`${$time.formatDate(item.createTime)}`}}
+
+
+ 状态:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 步骤
+ 编码
+ 操作
+
+
+ {{ detailIndex + 1 }}
+ {{ detail.nodeCode }}
+
+ 待完成
+
+
+ 待报工
+
+
+ 待质检
+
+
+ 待执行
+
+
+ 已完成
+
+
+ 已报工
+
+
+
+
+
+
+
+
+ 齐套检查
+ 开工
+ SOP
+ 叫料
+ 补料
+
+ 完工
+ 离线
+
+
+
+
+
-
- 工位号:{{ item.currentWorkstation }}
-
-
- 创建时间:{{`${$time.formatDate(item.createTime)}`}}
-
-
- 状态:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.workingNode }}
- 完成
-
-
-
-
-
- 齐套检查
- 开工
- SOP
- 明细
- 叫料
- 补料
- 报工
- 完工
-
-
-
-
-
-
-
-
+
+
\ No newline at end of file