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" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -425,7 +477,7 @@