Browse Source

提交一下

mo 3 năm trước cách đây
mục cha
commit
296b75478f
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      src/views/couponManager/couponUpdate.vue

+ 4 - 4
src/views/couponManager/couponUpdate.vue

@@ -340,8 +340,8 @@ export default {
                   ...getTimes(effectiveTime, [
                     "effectiveStartTime",
                     "effectiveExpireTime",
-                  ]),
-                  ...getTimes(getTime, ["startDate", "endDate"]),
+                  ],'YYYY-MM-DD HH:mm:ss'),
+                  ...getTimes(getTime, ["startDate", "endDate"],'YYYY-MM-DD HH:mm:ss'),
                 };
                 const res = await addSysCoupon(params);
                 this.$message.success("新增成功");
@@ -370,8 +370,8 @@ export default {
                   ...getTimes(effectiveTime, [
                     "effectiveStartTime",
                     "effectiveExpireTime",
-                  ]),
-                  ...getTimes(getTime, ["startDate", "endDate"]),
+                  ],'YYYY-MM-DD HH:mm:ss'),
+                  ...getTimes(getTime, ["startDate", "endDate"],'YYYY-MM-DD HH:mm:ss'),
                 };
                 const res = await resetSysCoupon(params);
                 this.$message.success("新增成功");