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

fengcang
x_z 3 years ago
parent 57f2179782
commit 2e47219fe0

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

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

Loading…
Cancel
Save