From 2412194ab74b3f1b6a8f613696d5eadb016717dd Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Wed, 3 Apr 2024 10:21:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E9=87=8F=E7=9B=98=E7=82=B9=E5=85=A5?= =?UTF-8?q?=E5=BA=93-=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/store/warehousing/putInStore.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sgzb-ui/src/views/store/warehousing/putInStore.vue b/sgzb-ui/src/views/store/warehousing/putInStore.vue index 31696384..75da538d 100644 --- a/sgzb-ui/src/views/store/warehousing/putInStore.vue +++ b/sgzb-ui/src/views/store/warehousing/putInStore.vue @@ -693,9 +693,9 @@ export default { resetCodeForm() { this.codeForm = { checkMan: undefined, - putInType: undefined, + putInType: null, remarks: undefined, - typeId: undefined, + typeId: null, num: undefined, codePrefix: undefined, codeSuffixStart: undefined, @@ -792,6 +792,7 @@ export default { this.reset(); this.codeOpen = true; this.title = "数量盘点入库"; + this.$refs['codeForm'].clearValidate() }, /** 新增编号盘点按钮操作 */ handleCodeAdd() { @@ -799,6 +800,7 @@ export default { this.reset(); this.codeOpen = true; this.title = "编码盘点入库"; + this.$refs['codeForm'].clearValidate() }, // 多选框选中数据 handleSelectionChange(selection) { @@ -836,12 +838,11 @@ export default { // 发送请求 inputByCode(SavePutInfoDto).then(response => { this.$message.success('入库成功') - this.codeOpen = false - this.getList() this.resetCodeForm() - this.reset() this.numTableList = [] - this.deviceType = {} + this.codeOpen = false + this.reset() + this.getList() }) } else { // 提交数据 @@ -864,12 +865,11 @@ export default { // 发送请求 inputByCode(SavePutInfoDto).then(response => { this.$message.success('入库成功') - this.codeOpen = false - this.getList() this.resetCodeForm() - this.reset() this.codeTableList = [] - this.deviceType = {} + this.codeOpen = false + this.reset() + this.getList() }) } }