Commit de7b077e authored by 王's avatar

优惠券增加使用状态

parent b9a44ec9
......@@ -94,6 +94,10 @@
{
id:1,
value:'已使用'
},
{
id:2,
value:'禁用'
}
],
searchFrom: {
......@@ -111,6 +115,8 @@
msg = '未使用'
}else if(value === 1){
msg = '已使用'
}else if(value === 2){
msg = '禁用'
}
return msg;
}
......@@ -136,7 +142,7 @@
if(this.searchFrom.user_id){
json.user_id = this.searchFrom.user_id
}
if(this.searchFrom.status){
if(this.searchFrom.status || this.searchFrom.status === 0){
json.status = this.searchFrom.status
}
if(this.searchFrom.out_trade_no){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment