From 4002a50dd0edeca609ce63c2c5ce45fd913aa56f Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Sat, 9 May 2020 11:32:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=92=A4=E9=94=80=E6=8A=A5=E5=BA=9F=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ScrappedSupplementaryInvestment.js | 13 +++++ .../ScrappedSupplementaryInvestment/index.vue | 51 ++++++++++++++++--- 2 files changed, 56 insertions(+), 8 deletions(-) diff --git a/src/api/ManufacturingCenter/ScrappedSupplementaryInvestment.js b/src/api/ManufacturingCenter/ScrappedSupplementaryInvestment.js index 6eae8111..0b5c34e8 100644 --- a/src/api/ManufacturingCenter/ScrappedSupplementaryInvestment.js +++ b/src/api/ManufacturingCenter/ScrappedSupplementaryInvestment.js @@ -55,3 +55,16 @@ export function editSpare(CutCode, number, id, Unqualified, remarkGroup, people, } }) } +export function reSpare(CutCode) { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '2', + name: '报废补投_撤销报废_循环执行', + param: '工艺计划流水号组=' + CutCode + } + }) +} diff --git a/src/views/ManufacturingCenter/ScrappedSupplementaryInvestment/index.vue b/src/views/ManufacturingCenter/ScrappedSupplementaryInvestment/index.vue index b3fb3310..bbf19259 100644 --- a/src/views/ManufacturingCenter/ScrappedSupplementaryInvestment/index.vue +++ b/src/views/ManufacturingCenter/ScrappedSupplementaryInvestment/index.vue @@ -22,7 +22,6 @@ style="width:240px;margin-left: 10px" start-placeholder="开始日期" end-placeholder="结束日期"/> - 查询 - - 提交补投 + + 提交补投 + 撤销补投 @@ -72,7 +72,6 @@ - @@ -179,11 +178,12 @@