From ecfde910a95ef5e8629b1402eac1caff83d7c0a0 Mon Sep 17 00:00:00 2001 From: x_z Date: Tue, 26 Jul 2022 10:35:50 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=B7=BB=E5=8A=A0=E4=B8=9A=E5=8A=A1=E5=8D=95?= =?UTF-8?q?=E6=8D=AE=E7=B1=BB=E5=9E=8B=E5=A2=9E=E5=8A=A0=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/BussinessTypeLocl.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/basic/BussinessTypeLocl.vue b/src/views/basic/BussinessTypeLocl.vue index 1c7aab1..600452a 100644 --- a/src/views/basic/BussinessTypeLocl.vue +++ b/src/views/basic/BussinessTypeLocl.vue @@ -132,6 +132,7 @@ import {getLocalBusType, addLocalBusType, updateLocalBusType, deleteLocalBusType} from "@/api/basic/busLocalType"; import modifyDialog from "./BussinessTypeLoclModify"; import {findConfig} from "@/api/thrsys/spsSyncStatus"; +import {isBlank} from "@/utils/strUtil"; export default { data() { @@ -216,6 +217,10 @@ export default { onAddSubmit() { + if (isBlank(this.inputQuery.name)) { + this.$message.warning("业务单据类型名称为空"); + return; + } addLocalBusType(this.inputQuery) .then((response) => { this.loading = false;