diff --git a/src/views/Inventory/InventoryCheck/index.vue b/src/views/Inventory/InventoryCheck/index.vue index fb609a94..44903572 100644 --- a/src/views/Inventory/InventoryCheck/index.vue +++ b/src/views/Inventory/InventoryCheck/index.vue @@ -37,14 +37,7 @@ 基本件查询
- + - - - - - - - - - - - - + + + + + + + + + + + + @@ -1570,12 +1563,12 @@ export default { } else { this.$message.error('添加失败') } - this.form = {} + this.form.safeNumber = '' }) }, // 重置表单 callOff(formName) { - this.form = {} + this.form.safeNumber = '' this.dialogFormVisible2 = false this.$refs[formName].resetFields() }, @@ -1734,7 +1727,8 @@ export default { }) }, AlterNumber(row) { - this.form2 = [] + this.form2.AlterReason = '' + this.form2.Number = '' this.project = row.项目流水号 this.machinenumber = row.机床流水号 this.partnumber = row.组件流水号 @@ -1753,7 +1747,8 @@ export default { this.material = row.材料 }, AlterBasicNumber(row) { - this.form2 = [] + this.form2.AlterReason = '' + this.form2.Number = '' this.project = row.项目流水号 this.machinenumber = row.机床流水号 this.partnumber = row.组件流水号 @@ -1764,12 +1759,12 @@ export default { this.receive = row.收件信息id this.materiallocate = row.物料与货位对照流水号 this.materialType = row.零件类型 - this.dialogFormVisible = true this.name = row.零件名称 this.mode = row.物料规格 this.picture = row.零件图号 this.type = row.物料型号 this.material = row.材料 + this.dialogFormVisible = true }, submitChannge() { CheckAlter(this.receive, this.project, this.machinenumber, this.partnumber, this.oldnumber, this.form2.AlterReason, this.form2.Number, this.id, this.locate, this.contractdetail, this.craftnumber, this.materialType, this.materiallocate, this.name, this.mode, this.picture, this.type, this.material).then(response => { @@ -1784,7 +1779,8 @@ export default { }, callOff2() { this.dialogFormVisible = false - this.form2 = {} + this.form2.AlterReason = '' + this.form2.Number = '' } } }