1.添加业务单据类型增加校验

fengcang
x_z 3 years ago
parent ead487f269
commit ecfde910a9

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

Loading…
Cancel
Save