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; }