兑换码管理 当没有分销商时 可以修改时间 但不能进行其他操作
This commit is contained in:
parent
659f5f225e
commit
535bfc83bb
|
@ -624,11 +624,11 @@ export default class exchangedit extends React.Component {
|
|||
}
|
||||
|
||||
submit() {
|
||||
if (this.state.direct_reseller_id <= 0) {
|
||||
// 老数据不能进行新增商品操作
|
||||
Notify.error(`请添加映射分销商`)
|
||||
return
|
||||
}
|
||||
// if (this.state.direct_reseller_id <= 0) {
|
||||
// // 老数据不能进行新增商品操作
|
||||
// Notify.error(`请添加映射分销商`)
|
||||
// return
|
||||
// }
|
||||
if (this.refs.code_info.validator() && this.refs.code_rule.validator()) {
|
||||
if (this.state.uploading) {
|
||||
Notify.error('还有图片上传中,不可提交')
|
||||
|
|
Loading…
Reference in New Issue