From 9c91df7d1751fb56c2355af8d4bfd312b9d0b4a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=ED=95=9C=EC=A3=BC?= Date: Wed, 7 Aug 2024 18:36:17 +0900 Subject: [PATCH] =?UTF-8?q?[K5P-80]=20[fix]=20=EB=8F=99=EC=9D=98=EC=84=9C?= =?UTF-8?q?=20=EB=93=B1=EB=A1=9D=20=EB=B0=8F=20=EC=88=98=EC=A0=95=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 4 ++-- package.json | 2 +- src/components/consent/modal/ConsentCreateModal.vue | 8 +++----- src/components/consent/modal/ConsentUpdateModal.vue | 3 +-- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0c366b3..2ab49f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "billing-wise", - "version": "1.0.3", + "version": "1.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "billing-wise", - "version": "1.0.3", + "version": "1.0.4", "dependencies": { "axios": "^1.7.2", "billing-wise": "file:", diff --git a/package.json b/package.json index cc12085..64a9b9e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "billing-wise", - "version": "1.0.3", + "version": "1.0.4", "private": true, "type": "module", "scripts": { diff --git a/src/components/consent/modal/ConsentCreateModal.vue b/src/components/consent/modal/ConsentCreateModal.vue index b16a207..da2fb1d 100644 --- a/src/components/consent/modal/ConsentCreateModal.vue +++ b/src/components/consent/modal/ConsentCreateModal.vue @@ -29,7 +29,6 @@ import ModalHeaderVue from '@/components/common/modal/ModalHeader.vue'; import ModalFooterVue from '@/components/common/modal/ModalFooter.vue'; import InfoInputVue from '@/components/common/input/InfoInput.vue'; -import TitleSelectVue from '@/components/common/select/TitleSelect.vue'; import TitleUpSelectVue from '@/components/common/select/TitleUpSelect.vue'; import { createConsent } from '@/utils/consent'; import { mapStores } from 'pinia'; @@ -41,7 +40,6 @@ export default { ModalHeaderVue, ModalFooterVue, InfoInputVue, - TitleSelectVue, TitleUpSelectVue }, props: { @@ -79,7 +77,6 @@ export default { // 은행 선택 selectBank(idx) { this.bankIdx = idx; - this.bank = this.bankList[this.bankIdx].name; }, // 이미지 등록 onImageChange(event) { @@ -92,7 +89,6 @@ export default { }; reader.readAsDataURL(file); } - }, // 동의서 등록 async createConsent() { @@ -103,10 +99,12 @@ export default { const data = { owner: this.owner, - bank: this.bank, + bank: this.bankList[this.bankIdx].name, number: this.number, }; + console.log(data) + const result = await createConsent( this.contractDetailStore.data.member.id, data, diff --git a/src/components/consent/modal/ConsentUpdateModal.vue b/src/components/consent/modal/ConsentUpdateModal.vue index 823b4c4..866e22c 100644 --- a/src/components/consent/modal/ConsentUpdateModal.vue +++ b/src/components/consent/modal/ConsentUpdateModal.vue @@ -91,7 +91,6 @@ export default { // 은행 선택 selectBank(idx) { this.bankIdx = idx; - this.bank = this.bankList[this.bankIdx].name; }, // 이미지 업로드 triggerFileInput() { @@ -116,7 +115,7 @@ export default { const data = { owner: this.owner, - bank: this.bank, + bank: this.bankList[this.bankIdx].name, number: this.number, };