From a564d0046921f8d12937e223ea8f2020ec0142f7 Mon Sep 17 00:00:00 2001
From: gaojs <757918719@qq.com>
Date: Tue, 7 May 2024 08:59:47 +0800
Subject: [PATCH] =?UTF-8?q?MES=E2=80=94=E2=80=94>=20PDA=20=20=E5=8F=AB?=
=?UTF-8?q?=E6=96=99BOM=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/mes/workScheduling/index.ts | 2 +-
src/pages.json | 6 +
src/pages/mes/workScheduling/callMaterial.vue | 176 ++++++++++++++++++
.../mes/workScheduling/workScheduling.vue | 1 +
4 files changed, 184 insertions(+), 1 deletion(-)
create mode 100644 src/pages/mes/workScheduling/callMaterial.vue
diff --git a/src/api/mes/workScheduling/index.ts b/src/api/mes/workScheduling/index.ts
index 4dfb516..2a6ebc9 100644
--- a/src/api/mes/workScheduling/index.ts
+++ b/src/api/mes/workScheduling/index.ts
@@ -85,7 +85,7 @@ export function completeHandle(data) {
//叫料
export function callBasicItem(data) {
- return http.post('/mes/', data)
+ return http.get('/mes/orderDayBom/page', {data})
}
//领料
diff --git a/src/pages.json b/src/pages.json
index f16d36d..f0466aa 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -1955,6 +1955,12 @@
"navigationBarTitleText": "报工质检",
"enablePullDownRefresh": true
}
+ },{
+ "path": "pages/mes/workScheduling/callMaterial",
+ "style": {
+ "navigationBarTitleText": "叫料",
+ "enablePullDownRefresh": true
+ }
},{
"path": "pages/mes/workScheduling/processReportPeopleCheck",
"style": {
diff --git a/src/pages/mes/workScheduling/callMaterial.vue b/src/pages/mes/workScheduling/callMaterial.vue
new file mode 100644
index 0000000..3590519
--- /dev/null
+++ b/src/pages/mes/workScheduling/callMaterial.vue
@@ -0,0 +1,176 @@
+
+
+
+
+
+ 日计划编码:{{ item.planDayCode }}
+
+
+ 日任务编码:{{ schedulingCodeStr }}
+
+
+ 工序编码:{{ item.processCode }}
+
+
+ 物料号:{{ item.repMaterialCode }}
+
+
+ 数量:{{ item.srcMaterialCounts * planCountStr }}
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/mes/workScheduling/workScheduling.vue b/src/pages/mes/workScheduling/workScheduling.vue
index c653795..65a728d 100644
--- a/src/pages/mes/workScheduling/workScheduling.vue
+++ b/src/pages/mes/workScheduling/workScheduling.vue
@@ -298,6 +298,7 @@ function reportHandle(item) {
// 叫料
function callBasicItem(item){
console.log(item)
+ proxy.$tab.navigateTo(`/pages/mes/workScheduling/callMaterial?obj=${JSON.stringify(item)}`)
}
// 领料
function receiveBasicItem(item){