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, };