Skip to content

Commit

Permalink
Merge pull request #42 from Billing-Wise/dev
Browse files Browse the repository at this point in the history
[release] 1.0.4
  • Loading branch information
Koneweekk committed Aug 7, 2024
2 parents 76af14c + 58fa1cc commit 2e5b075
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "billing-wise",
"version": "1.0.3",
"version": "1.0.4",
"private": true,
"type": "module",
"scripts": {
Expand Down
8 changes: 3 additions & 5 deletions src/components/consent/modal/ConsentCreateModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -41,7 +40,6 @@ export default {
ModalHeaderVue,
ModalFooterVue,
InfoInputVue,
TitleSelectVue,
TitleUpSelectVue
},
props: {
Expand Down Expand Up @@ -79,7 +77,6 @@ export default {
// 은행 선택
selectBank(idx) {
this.bankIdx = idx;
this.bank = this.bankList[this.bankIdx].name;
},
// 이미지 등록
onImageChange(event) {
Expand All @@ -92,7 +89,6 @@ export default {
};
reader.readAsDataURL(file);
}
},
// 동의서 등록
async createConsent() {
Expand All @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions src/components/consent/modal/ConsentUpdateModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export default {
// 은행 선택
selectBank(idx) {
this.bankIdx = idx;
this.bank = this.bankList[this.bankIdx].name;
},
// 이미지 업로드
triggerFileInput() {
Expand All @@ -116,7 +115,7 @@ export default {
const data = {
owner: this.owner,
bank: this.bank,
bank: this.bankList[this.bankIdx].name,
number: this.number,
};
Expand Down

0 comments on commit 2e5b075

Please sign in to comment.