兑换码管理 当没有分销商时 可以修改时间 但不能进行其他操作

This commit is contained in:
wangsongsole 2022-06-20 11:45:48 +08:00
parent 659f5f225e
commit 535bfc83bb
1 changed files with 5 additions and 5 deletions

View File

@ -624,11 +624,11 @@ export default class exchangedit extends React.Component {
} }
submit() { submit() {
if (this.state.direct_reseller_id <= 0) { // if (this.state.direct_reseller_id <= 0) {
// 老数据不能进行新增商品操作 // // 老数据不能进行新增商品操作
Notify.error(`请添加映射分销商`) // Notify.error(`请添加映射分销商`)
return // return
} // }
if (this.refs.code_info.validator() && this.refs.code_rule.validator()) { if (this.refs.code_info.validator() && this.refs.code_rule.validator()) {
if (this.state.uploading) { if (this.state.uploading) {
Notify.error('还有图片上传中,不可提交') Notify.error('还有图片上传中,不可提交')