Merge branch 'couponV2.0' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/frontend into couponV2.0
This commit is contained in:
commit
2d73e4b078
|
@ -334,8 +334,10 @@ export default class edittemplate extends React.Component {
|
|||
this.setState({ activeNavStatus: 1 })
|
||||
return
|
||||
}
|
||||
|
||||
if (!this.state.model.middle_image) {
|
||||
let iptImg=true;
|
||||
if(this.state.showType==8) if(!this.state.model.white_image) iptImg=false;
|
||||
if(this.state.showType!=8) if(!this.state.model.middle_image) iptImg=false;
|
||||
if(!iptImg){
|
||||
Notify.clear()
|
||||
Notify.error('请上传落地页输入框')
|
||||
this.setState({ activeNavStatus: 1 })
|
||||
|
|
|
@ -346,7 +346,7 @@ export default class acclist extends React.Component {
|
|||
let data = {};
|
||||
data.style = this.state.model.style;
|
||||
data.quantity = this.state.model.quantity;
|
||||
data.bind_object = this.state.model.bind_object;
|
||||
data.bind_object = [this.state.model.bind_object];
|
||||
data.allow_repetition = this.state.model.allow_repetition;
|
||||
data.allow_loss = this.state.model.allow_loss;
|
||||
data.stock = this.state.model.stock;
|
||||
|
@ -882,7 +882,7 @@ export default class acclist extends React.Component {
|
|||
batch_name: this.state.model.batch_name,
|
||||
style: this.state.model.style,
|
||||
quantity: this.state.model.quantity,
|
||||
bind_object: this.state.keyType,
|
||||
bind_object: [this.state.keyType],
|
||||
allow_repetition: this.state.model.allow_repetition,
|
||||
allow_loss: this.state.model.allow_loss,
|
||||
merge_stock: this.state.model.merge_stock,
|
||||
|
@ -930,7 +930,7 @@ export default class acclist extends React.Component {
|
|||
batch_name: this.state.model.batch_name,
|
||||
style: this.state.model.style,
|
||||
quantity: this.state.model.quantity,
|
||||
bind_object: this.state.keyType,
|
||||
bind_object: [this.state.keyType],
|
||||
allow_repetition: this.state.model.allow_repetition,
|
||||
allow_loss: this.state.model.allow_loss,
|
||||
merge_stock: this.state.model.merge_stock,
|
||||
|
|
Loading…
Reference in New Issue