diff --git a/hw-ui/src/views/board/fifthFloor/index.vue b/hw-ui/src/views/board/fifthFloor/index.vue index 18cba87c..80ee599b 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(""); })