From 8eaf768150e9e0865708de3b0b2bf72843c5fa7a Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Wed, 8 Apr 2020 15:16:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E5=B7=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Inventory/SelfMadePartsWarehouseOut/index.vue | 8 +++++--- .../ManufacturingCenter/ProcessingStatusNew/index.vue | 7 +++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/Inventory/SelfMadePartsWarehouseOut/index.vue b/src/views/Inventory/SelfMadePartsWarehouseOut/index.vue index 34d7ac6a..b18a788e 100644 --- a/src/views/Inventory/SelfMadePartsWarehouseOut/index.vue +++ b/src/views/Inventory/SelfMadePartsWarehouseOut/index.vue @@ -118,7 +118,7 @@ @@ -131,6 +131,7 @@ import { initProject, searchmachine, searchgroup, searchdata, warehousing, selec export default { data() { return { + wareHousing_disable: false, entryNameValue: '', // 项目名称 entryName: [], machineToolValue: '', // 机床号 @@ -253,13 +254,13 @@ export default { } }, // 入库 wareHousing() { - console.log(this.shuzu, 121212) if (this.shuzu.length === 0) { this.$message.warning('请勾选出库物料') } else { this.selectDepartment() - this.dialogFormVisible = true this.form.leader = '' + this.wareHousing_disable = false + this.dialogFormVisible = true } }, // 多选 handleSelectionChange(val) { @@ -286,6 +287,7 @@ export default { if (this.form.name === '') { this.$message.error('请选择领料人') } else { + this.wareHousing_disable = true warehousing(this.multipleSelection, this.outgoingQuantity, this.form.name, this.remarks).then(response => { if (response.data[0].result === '1') { this.$message.success('出库成功') diff --git a/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue b/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue index 88986715..e9ddf7e0 100644 --- a/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue +++ b/src/views/ManufacturingCenter/ProcessingStatusNew/index.vue @@ -23,7 +23,7 @@ 查询 导出 - 修补加工工时 + @@ -253,7 +253,7 @@ @@ -265,6 +265,7 @@ import { getMachines, getGroups, getTable, gettabledata1, getTree, fn, getTable8 export default { data() { return { + EditWorkingHours_disable: false, index: -1, Machine: '', // 机床号 Machines: [], @@ -408,6 +409,7 @@ export default { this.$refs['form3'].resetFields() } this.getPerson_Form3() + this.EditWorkingHours_disable = false this.dialogFormVisible3 = true }, getPerson_Form3() { @@ -424,6 +426,7 @@ export default { }) }, submit3() { + this.EditWorkingHours_disable = true submitEdit3(this.processSerialNumber, this.form3.人员, this.form3.完成数量, this.form3.修补工时, this.form3.完成时间).then(response => { if (response.data[0].result === '1') { this.$message.success('补录成功')