From a05b31d2fb75ed13db27a72acd758770d02ded6e Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Thu, 2 Apr 2020 15:48:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E5=AE=9A=E7=A6=81=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Inventory/MaterialOut/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/Inventory/MaterialOut/index.vue b/src/views/Inventory/MaterialOut/index.vue index 2f84e1a2..66142718 100644 --- a/src/views/Inventory/MaterialOut/index.vue +++ b/src/views/Inventory/MaterialOut/index.vue @@ -224,7 +224,7 @@ @@ -268,6 +268,7 @@ export default { name: 'MaterialOut', data() { return { + buttonDisable: false, dateRange: '', multipleSelection1: [], multipleSelection: [], @@ -447,7 +448,6 @@ export default { // 提交归还 submitSendBack() { sendBack(this.form4.货位流水号, this.物料流水号, this.form4.归还数量, this.id, this.基本件流水号, this.标准件和外购件流水号, this.请购单明细流水号, this.form4.仓库流水号, this.领料单流水号).then(res => { - console.log(res) if (res.data[0].result === '1') { this.$message.success('操作成功') this.dialogFormVisible4 = false @@ -493,10 +493,10 @@ export default { this.form3.password = '' this.selectDepartment() this.departments = [] + this.buttonDisable = false this.dialogFormVisible3 = true }, selectable(row, index) { // 控制某行是否可选 - console.log(row) return ((Number(row.总数量) <= Number(row.出库数量1))) === false }, // 初始化数据 @@ -608,6 +608,7 @@ export default { }, // 提交领料确认 pickConfirm1() { + this.buttonDisable = true for (let i = 0; i < this.pickListTable2.length; i++) { if (this.pickListTable2[i].出库数量 !== 0) { this.multipleSelection.push(this.pickListTable2[i].领料单明细流水号)