|
|
@@ -307,6 +307,7 @@ function handleCommonCoupon(){
|
|
|
detail.Coupon_NAME = couponName;
|
|
|
|
|
|
// 每周周五10:30半价优惠券
|
|
|
+ // 修改活动时间提取1000毫秒
|
|
|
let actStartDate = lk.parseDate(detail.EFFECT_PERIOD_START, 'yyyyMMddHHmmss');
|
|
|
actStartDate = new Date(actStartDate.getTime()-1000);
|
|
|
detail.EFFECT_PERIOD_START = lk.formatDate(actStartDate, "yyyyMMddHHmmss");
|
|
|
@@ -337,6 +338,13 @@ function handleCommonCoupon(){
|
|
|
let couponName = detail.DcCp_Avy_Nm+`#采集`;
|
|
|
detail.DcCp_Avy_Nm = couponName;
|
|
|
|
|
|
+ // 修改活动时间提取1000毫秒
|
|
|
+ let actStartTimeStr = `${detail.DcCp_Avy_StDt}${detail.DcCp_Avy_StTm}`;
|
|
|
+ let actStartDate = lk.parseDate(actStartTimeStr, 'yyyyMMddHHmmss');
|
|
|
+ actStartDate = new Date(actStartDate.getTime()-1000);
|
|
|
+ detail.DcCp_Avy_StDt = lk.formatDate(actStartDate, "yyyyMMdd");
|
|
|
+ detail.DcCp_Avy_StTm = lk.formatDate(actStartDate, "HHmmss");
|
|
|
+
|
|
|
detail.Drw_Tm_Dsc = '';
|
|
|
let drawTmDescText = `${detail.Drw_Tm_Dsc}`;
|
|
|
drawTmDescText += `当前系统时间:${newTimeStamp}`;
|
|
|
@@ -350,8 +358,8 @@ function handleCommonCoupon(){
|
|
|
}
|
|
|
|
|
|
if(detail){
|
|
|
-
|
|
|
detail.Need_White_List = '0';
|
|
|
+ // 修改剩余库存为1,让按钮显示可领取
|
|
|
detail.Remain_Num = '1';
|
|
|
}
|
|
|
|