diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue
index 235e934f..9ab359be 100644
--- a/src/pages/04_product-service/MainPage.vue
+++ b/src/pages/04_product-service/MainPage.vue
@@ -30,6 +30,9 @@ import PaginationComponent from 'src/components/PaginationComponent.vue';
import useFlowStore from 'src/stores/flow';
import useMyBranchStore from 'src/stores/my-branch';
+import { dateFormat } from 'src/utils/datetime';
+import {formatNumberDecimal} from 'src/stores/utils';
+
const useMyBranch = useMyBranchStore();
const { fetchListOptionBranch } = useMyBranch;
@@ -253,7 +256,7 @@ const tbColumn = {
},
{
name: 'priceInformation',
- align: 'left',
+ align: 'center',
label: 'priceInformation',
field: 'name',
},
@@ -272,6 +275,12 @@ const tbColumn = {
label: 'serviceWorkTotal',
field: (v) => v.work.length,
},
+ {
+ name: 'createdAt',
+ align: 'left',
+ label: 'createdAt',
+ field: 'createdAt',
+ }
],
} satisfies {
groupAndType: QTableProps['columns'];
@@ -300,8 +309,8 @@ const tbControl = reactive({
],
},
service: {
- fieldDisplay: ['serviceName', 'serviceDetail', 'serviceWorkTotal'],
- fieldSelected: ['serviceName', 'serviceDetail', 'serviceWorkTotal'],
+ fieldDisplay: ['serviceName', 'serviceDetail', 'serviceWorkTotal' ,'createdAt'],
+ fieldSelected: ['serviceName', 'serviceDetail', 'serviceWorkTotal' ,'createdAt'],
},
});
@@ -1509,7 +1518,7 @@ watch(inputSearchProductAndService, async () => {