...
|
...
|
@@ -271,8 +271,19 @@ if (type == 'add') { |
|
|
|
|
|
$.extend(window.ViewModel, res.data);
|
|
|
couponBean.limitStartTime = Bll.getTime(couponBean.limitStartTime);
|
|
|
couponBean.startTime = Bll.getTime(couponBean.startTime);
|
|
|
couponBean.endTime = Bll.getTime(couponBean.endTime);
|
|
|
|
|
|
if (couponBean.startTime == 0 ){
|
|
|
couponBean.startTime = null;
|
|
|
}else{
|
|
|
couponBean.startTime = Bll.getTime(couponBean.startTime);
|
|
|
}
|
|
|
|
|
|
if (couponBean.endTime == 0){
|
|
|
couponBean.endTime = null;
|
|
|
}else{
|
|
|
couponBean.endTime = Bll.getTime(couponBean.endTime);
|
|
|
}
|
|
|
|
|
|
Bll.selectSorts = couponBean.sortList || [];
|
|
|
//店铺数据
|
|
|
Bll.selectShops = couponBean.shopList || [];
|
...
|
...
|
|