From 85c8a85594dee99ec31c4af3a1ada41575eaa84c Mon Sep 17 00:00:00 2001
From: shilixia <2309368887@qq.com>
Date: Mon, 20 Dec 2021 14:12:24 +0800
Subject: [PATCH] baofei
---
hb_client/src/api/wpm.js | 9 +++
hb_client/src/views/wpm/need.vue | 91 ++++++++++++++++++++++++++-
hb_client/src/views/wpm/operation.vue | 43 ++++++++++---
3 files changed, 133 insertions(+), 10 deletions(-)
diff --git a/hb_client/src/api/wpm.js b/hb_client/src/api/wpm.js
index 5c585ca..f3b876d 100644
--- a/hb_client/src/api/wpm.js
+++ b/hb_client/src/api/wpm.js
@@ -297,5 +297,14 @@ export function testInit(data) {
})
}
+//不合格半成品报废
+export function scrap(id) {
+ return request({
+ url: `/wpm/wproduct/${id}/scrap/`,
+ method: 'post',
+
+ })
+}
+
diff --git a/hb_client/src/views/wpm/need.vue b/hb_client/src/views/wpm/need.vue
index 3664c2c..5d73c0f 100644
--- a/hb_client/src/views/wpm/need.vue
+++ b/hb_client/src/views/wpm/need.vue
@@ -174,6 +174,58 @@
@pagination="getList1"
/>
+
+
+
+
+
+
+
+ {{ scope.row.material_.name }}
+
+
+
+ {{ scope.row.number }}
+
+
+
+ {{ actstate_[scope.row.act_state] }}
+
+
+
+
+ {{ scope.row.step_.name }}
+
+
+
+
+ 报废
+
+
+
+
+
+
+
@@ -425,7 +477,7 @@