diff --git a/src/components/05_quotation/ProductItem.vue b/src/components/05_quotation/ProductItem.vue new file mode 100644 index 00000000..6f040810 --- /dev/null +++ b/src/components/05_quotation/ProductItem.vue @@ -0,0 +1,269 @@ + + + + + + + + + + + + + (props.row = v)" + /> + + + + + + (props.row = v)" + /> + + + + + + (props.row = v)" + /> + + + + + + (props.row = v)" + > + + % + + + + + + + + (props.row = v)" + /> + + + + + + + + + + + {{ $t('quotation.allProduct') }} + {{ priceData.productList }} ฿ + + + {{ $t('general.discount') }} + {{ priceData.discount }} ฿ + + + {{ $t('quotation.tax') }} + {{ priceData.tax }} ฿ + + + + Total Price + {{ priceData.totalPrice }} ฿ + + + + + + diff --git a/src/components/05_quotation/WorkerItem.vue b/src/components/05_quotation/WorkerItem.vue index 2edacee6..234b00fd 100644 --- a/src/components/05_quotation/WorkerItem.vue +++ b/src/components/05_quotation/WorkerItem.vue @@ -1,44 +1,128 @@ - - {{ data.no }} - {{ data.refNo }} - {{ data.fullName }} - {{ data.birthDate }} - {{ data.age }} - {{ data.nationality }} - {{ data.docExpireDate }} - - + + + + + + + + + + + + + + + {{ $t('general.numberOf', { msg: $t('quotation.employee') }) }} + + + {{ employeeAmount }} + diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index d3bb3c75..5cefe596 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -1,7 +1,11 @@ - - {{ item.name }} - {{ item.code }} - - + + + + {{ $t('general.dataSum') }} + + {{ '0' }} + + + + + + - - - Product - - - Service - - - - {{ item.name }} - {{ item.code }} - - - - - {{ item.name }} - {{ item.code }} - - - - - {{ service[selectedProductServiceId] }} - - - {{ product[selectedProductServiceId] }} - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { + pageState.currentPage = 1; + pageState.currentTab = tab; + pageState.inputSearch = ''; + pageState.statusFilter = 'all'; + + flowStore.rotate(); + } + " + > + + {{ $t(`quotation.type.${tab}`) }} + + + + + + + + + + + + + + + + + + + + - + + - My Menu - --> - + + + + + + + + + + + + + + + + + + + + + + + + + + +