From e6a492ad18e530825882e46c5cc059e65387704d Mon Sep 17 00:00:00 2001 From: x_z Date: Sat, 25 Jun 2022 21:41:49 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=A7=94=E6=89=98=E9=AA=8C?= =?UTF-8?q?=E6=94=B6=E4=BB=93=E5=BA=93=E5=92=8C=E5=88=86=E5=BA=93=E8=81=94?= =?UTF-8?q?=E5=8A=A8=202.=E6=B7=BB=E5=8A=A0=E5=88=86=E5=BA=93=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E6=97=B6=E8=BF=9B=E8=A1=8C=E9=9D=9E=E7=A9=BA=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/BasicEntrutsReceModify.vue | 1 + src/views/basic/invWarehouse.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/basic/BasicEntrutsReceModify.vue b/src/views/basic/BasicEntrutsReceModify.vue index 6aa685d..c8c55b2 100644 --- a/src/views/basic/BasicEntrutsReceModify.vue +++ b/src/views/basic/BasicEntrutsReceModify.vue @@ -306,6 +306,7 @@ export default { invChange() { this.findSubInvByInv(); + this.inputQuery.invWarehouseCode = null; this.$set(this.inputQuery, "entrustUser", ""); this.$set(this.inputQuery, "entrustInv", ""); this.getEntrustStorage(); diff --git a/src/views/basic/invWarehouse.vue b/src/views/basic/invWarehouse.vue index 6c3560f..22916a5 100644 --- a/src/views/basic/invWarehouse.vue +++ b/src/views/basic/invWarehouse.vue @@ -630,6 +630,7 @@ import {formatDate} from "@/utils/date"; import axios from "axios"; import store from "@/store"; import {findConfig} from "@/api/thrsys/spsSyncStatus"; +import {isBlank} from "@/utils/strUtil"; const formJson = { id: null, @@ -883,7 +884,7 @@ export default { //添加分库 forSubSubmit() { - if (this.$isBlank(this.subData.name)) { + if (isBlank(this.subData.name)) { this.$message.error("分库名称不能为空!"); return; }