From aacb58b68188691f0a41c835d28c324c4879fbf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Sun, 7 Apr 2024 17:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=9F=E4=BA=A7=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-ui/src/views/board/fifthFloor/index.vue | 56 ++++------------------ 1 file changed, 8 insertions(+), 48 deletions(-) diff --git a/hw-ui/src/views/board/fifthFloor/index.vue b/hw-ui/src/views/board/fifthFloor/index.vue index 18cba87..80ee599 100644 --- a/hw-ui/src/views/board/fifthFloor/index.vue +++ b/hw-ui/src/views/board/fifthFloor/index.vue @@ -6,35 +6,27 @@
工单信息
- - - - + + - - + + - + - - + + - - - - - -
领料 - 完成 + 完成
@@ -876,37 +868,6 @@ export default { this.form.planDetailStatus = setState(val.data.planDetailStatus) }) }, - // 完成 - accomplishPlan() { - this.$confirm('是否完成计划', '确认', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'success' - }).then(() => { - completeProductPlanDetail({ - planDetailId: this.form.planDetailId - }) - .then(() => { - this.$message({ - type: 'success', - message: '已完成' - }); - getProductPlans({pageNum: this.nowNum1, pageSize: 5}).then(e => { - this.tableData = e.rows - this.totalNum1 = Math.ceil(e.total / 5) - let data = e.rows.find(v => v.planCode === this.form.planCode) || null - this.$refs.table1.setCurrentRow(data || e.rows[0]); - this.getInfo(data || e.rows[0]) - }) - }) - }) - .catch(() => { - this.$message({ - type: 'info', - message: '已取消' - }); - }) - }, // 领料页面 getMaterials() { @@ -924,7 +885,6 @@ export default { // 获取仓库信息 getWarehouses({"warehouseFloor": 5}).then(e => { this.warehouseList = e.data - this.form1.warehouseId = e.data[0]?.warehouseId this.searchMaterial(""); })