Commit dc7caa6b by Sxy

fix: 套餐 截止时间

parent 783a0770
...@@ -125,7 +125,7 @@ class CompanycaseService extends ServiceBase { ...@@ -125,7 +125,7 @@ class CompanycaseService extends ServiceBase {
? moment(pobj.startTime).startOf("day").format('YYYY-MM-DD HH:mm:ss') ? moment(pobj.startTime).startOf("day").format('YYYY-MM-DD HH:mm:ss')
: moment(pobj.startTime).startOf("month").format('YYYY-MM-DD HH:mm:ss'), : moment(pobj.startTime).startOf("month").format('YYYY-MM-DD HH:mm:ss'),
endTime: system.SERVICECODE.REGADDRCASE1 === deliverData.product_code endTime: system.SERVICECODE.REGADDRCASE1 === deliverData.product_code
? moment(pobj.startTime).add(11, 'month').endOf("day").format('YYYY-MM-DD HH:mm:ss') ? moment(pobj.startTime).add(12, 'month').add(-1, 'day').endOf("day").format('YYYY-MM-DD HH:mm:ss')
: moment(pobj.startTime).add(11, 'month').endOf("month").format('YYYY-MM-DD HH:mm:ss'), : moment(pobj.startTime).add(11, 'month').endOf("month").format('YYYY-MM-DD HH:mm:ss'),
} }
updateData = { updateData = {
......
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