From b8a5b98d811c00a780a9206ef18004241a27f8cb Mon Sep 17 00:00:00 2001 From: JUNG YI DAM Date: Tue, 2 Aug 2022 09:32:31 +0000 Subject: [PATCH] =?UTF-8?q?=EC=BF=A0=ED=8F=B0=EB=B0=9C=ED=96=89=EB=A8=B8?= =?UTF-8?q?=EB=8B=88=EB=A1=9C=EA=B7=B8=20=EB=B3=80=EC=88=98=EB=AA=85?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/member/coupon-money-log/data.ts | 38 ++++++++++++++++++- .../components/list.component.html | 14 +++---- .../components/list.component.ts | 16 ++++---- .../models/coupon-money-log.ts | 32 ++-------------- 4 files changed, 55 insertions(+), 45 deletions(-) diff --git a/src/app/mock-api/apps/member/coupon-money-log/data.ts b/src/app/mock-api/apps/member/coupon-money-log/data.ts index 94594ec..0d42b6c 100644 --- a/src/app/mock-api/apps/member/coupon-money-log/data.ts +++ b/src/app/mock-api/apps/member/coupon-money-log/data.ts @@ -9,13 +9,47 @@ export const couponMoneyLogs = [ takeCouponId: 'on04', takeCouponRank: '매장', giveCouponBeforeMoney: 0, - giveCouponVarianceMoney: -50000, + giveCouponChangeMoney: -50000, giveCouponAfterMoney: 0, takeCouponBeforeMoney: 0, - takeCouponVarianceMoney: 50000, + takeCouponChangeMoney: 50000, takeCouponAfterMoney: 50000, couponContents: '오링쿠폰', giveCouponRegistrationDate: '2022-06-12 16:22', takeCouponRegistrationDate: '2022-06-12 16:22', }, + { + id: '00b0292f-3d50-4669-a0c4-7a9d85efc98d', + idx: 14, + giveCouponId: 'ADMIN', + giveCouponRank: 'ADMIN', + takeCouponId: 'on03', + takeCouponRank: '총판', + giveCouponBeforeMoney: 0, + giveCouponChangeMoney: -50000, + giveCouponAfterMoney: 0, + takeCouponBeforeMoney: 0, + takeCouponChangeMoney: 50000, + takeCouponAfterMoney: 50000, + couponContents: '쿠폰테스스', + giveCouponRegistrationDate: '2022-06-12 16:22', + takeCouponRegistrationDate: '2022-06-12 16:22', + }, + { + id: 'b899ec30-b85a-40ab-bb1f-18a596d5c6de', + idx: 13, + giveCouponId: 'on00', + giveCouponRank: '본사', + takeCouponId: 'ADMIN', + takeCouponRank: 'ADMIN', + giveCouponBeforeMoney: 100000, + giveCouponChangeMoney: -50000, + giveCouponAfterMoney: 50000, + takeCouponBeforeMoney: 0, + takeCouponChangeMoney: 50000, + takeCouponAfterMoney: 0, + couponContents: '쿠폰테스스', + giveCouponRegistrationDate: '2022-06-12 16:17', + takeCouponRegistrationDate: '2022-06-12 16:17', + }, ]; diff --git a/src/app/modules/admin/member/coupon-money-log/components/list.component.html b/src/app/modules/admin/member/coupon-money-log/components/list.component.html index 7cf958a..fbed494 100644 --- a/src/app/modules/admin/member/coupon-money-log/components/list.component.html +++ b/src/app/modules/admin/member/coupon-money-log/components/list.component.html @@ -97,7 +97,7 @@
{{ couponMoneyLog.giveCouponRank }}{{ couponMoneyLog.takeCouponRank }}지급 + >{{ couponMoneyLog.takeCouponRank }}지급or회수
{{ couponMoneyLog.giveCouponRank @@ -114,19 +114,19 @@ }}{{ couponMoneyLog.giveCouponId }}