...
|
...
|
@@ -315,7 +315,7 @@ var operationEdit={ |
|
|
var msg;
|
|
|
switch(_reqData["promotionType"]){
|
|
|
case _g.config.Degressdiscount.enName:
|
|
|
var regrex=new RegExp("(\d+:\d+(.\d+)?)(;\d+:\d+(.\d+)?)*",'g');
|
|
|
var regrex=new RegExp("(\d+:\d+(\.\d+)?)(;\d+:\d+(\.\d+)?)*",'g');
|
|
|
var degress_discount_list=_reqData["data"]["degress_discount_list"];
|
|
|
result = regrex.test(degress_discount_list);
|
|
|
if(!result){
|
...
|
...
|
@@ -323,7 +323,7 @@ var operationEdit={ |
|
|
}
|
|
|
break;
|
|
|
case _g.config.SpecifiedAmount.enName:
|
|
|
var regrex=new RegExp("\d+:\d+(.\d+)?",'g');
|
|
|
var regrex=new RegExp("\d+:\d+(\.\d+)?",'g');
|
|
|
var specified_amount_list=_reqData["data"]["specified_amount_list"];
|
|
|
result = regrex.test(specified_amount_list);
|
|
|
break;
|
...
|
...
|
|