@@ -55,19 +52,21 @@ import { useContractCreateStore } from '@/stores/contract/contractCreate';
import { mapStores } from 'pinia';
import TitleInfoVue from '@/components/common/info/TitleInfo.vue';
import NumberInputVue from '@/components/common/input/NumberInput.vue';
-import InfoInputVue from '@/components/common/input/InfoInput.vue';
import TitleSelectVue from '@/components/common/select/TitleSelect.vue';
+import { formatNumber } from '@/utils/formatter';
export default {
name: 'ContractCreateInfoVue',
components: {
TitleInfoVue,
NumberInputVue,
- InfoInputVue,
TitleSelectVue
},
computed: {
...mapStores(useContractCreateStore),
+ currentTotalPrice() {
+ return formatNumber(this.contractCreateStore.item.price * this.contractCreateStore.item.count)
+ },
// 아이템 개수 및 가격 설정
item: {
get() {
@@ -144,6 +143,13 @@ export default {
}
}
+.info-box:last-child {
+ &:hover {
+ box-shadow: none;
+ }
+ cursor: auto;
+}
+
.active {
box-shadow: 0 0 20px rgba($theme-color, 1);
}
diff --git a/src/components/contract/ContractEditInfo.vue b/src/components/contract/ContractEditInfo.vue
index 0951138..2bf3914 100644
--- a/src/components/contract/ContractEditInfo.vue
+++ b/src/components/contract/ContractEditInfo.vue
@@ -12,10 +12,10 @@
상품 정보
-
-
+
+
-
+
@@ -50,24 +50,26 @@
+
+
\ No newline at end of file
diff --git a/src/components/contract/modal/InvoiceCreateModal.vue b/src/components/contract/modal/InvoiceCreateModal.vue
index f1e1487..7f77459 100644
--- a/src/components/contract/modal/InvoiceCreateModal.vue
+++ b/src/components/contract/modal/InvoiceCreateModal.vue
@@ -6,7 +6,7 @@
-
+
@@ -21,6 +21,7 @@ import ModalHeaderVue from '../../common/modal/ModalHeader.vue';
import ModalFooterVue from '../../common/modal/ModalFooter.vue';
import InfoInputVue from '@/components/common/input/InfoInput.vue';
import TitleSelectVue from '@/components/common/select/TitleSelect.vue';
+import NumberInputVue from '@/components/common/input/NumberInput.vue';
import { useInvoiceCreateStore } from '@/stores/invoice/invoiceCreate';
import { useContractDetailStore } from '@/stores/contract/contractDetail';
import { mapStores } from 'pinia';
@@ -32,7 +33,8 @@ export default {
ModalHeaderVue,
ModalFooterVue,
InfoInputVue,
- TitleSelectVue
+ TitleSelectVue,
+ NumberInputVue
},
props: {
'isVisible': Boolean,
diff --git a/src/components/contract/modal/ItemSelectModal.vue b/src/components/contract/modal/ItemSelectModal.vue
new file mode 100644
index 0000000..4cc650e
--- /dev/null
+++ b/src/components/contract/modal/ItemSelectModal.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/contract/modal/MemberSelectModal.vue b/src/components/contract/modal/MemberSelectModal.vue
new file mode 100644
index 0000000..ea76474
--- /dev/null
+++ b/src/components/contract/modal/MemberSelectModal.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/contract/table/ContractInvoiceTableRow.vue b/src/components/contract/table/ContractInvoiceTableRow.vue
index b9ef0d1..594b198 100644
--- a/src/components/contract/table/ContractInvoiceTableRow.vue
+++ b/src/components/contract/table/ContractInvoiceTableRow.vue
@@ -1,7 +1,7 @@
{{ invoiceData.invoiceId }} |
- {{ invoiceData.chargeAmount }} 원 |
+ {{ currentChargeAmount }} 원 |
{{ contractDate }} |
{{ dueDate }} |
@@ -13,7 +13,7 @@
|