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