1.修复第三方系统页面相关bug

fengcang
x_z 3 years ago
parent 57f2179782
commit 2e47219fe0

@ -694,9 +694,11 @@ export default {
this.$message.error("单据类型不能为空!") this.$message.error("单据类型不能为空!")
return; return;
} }
if (isBlank(this.thirdBuyForm.thirdBuyName)) { if (this.submitOrderVisible) {
this.$message.error("第三方单据类型不能为空!") if (isBlank(this.thirdBuyForm.thirdBuyName)) {
return; this.$message.error("第三方单据类型不能为空!");
return;
}
} }
// if (isBlank(this.thirdBuyForm.url)) { // if (isBlank(this.thirdBuyForm.url)) {
// this.$message.error("") // this.$message.error("")

@ -297,9 +297,13 @@ export default {
} }
updateBussinessType(this.inputQuery) updateBussinessType(this.inputQuery)
.then((response) => { .then((response) => {
this.loading = false; if (response.code === 20000) {
this.cancelDialog(); this.loading = false;
this.getList(); this.cancelDialog();
this.getList();
} else {
this.$message.error(response.message);
}
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false;

Loading…
Cancel
Save