admin-web/src/views/foundation/material/edit.vue
@@ -160,9 +160,7 @@ } else { this.$message.error('保存失败') } }).catch(() => { this.loading = false }); }) } else { params.orgId = this.setting.orgId addGoods(params).then(res => { @@ -174,9 +172,7 @@ } else { this.$message.error('保存失败') } }).catch(() => { this.loading = false }); }) } } else { this.$message.error('校验未通过,请检查。')