diff --git a/src/pages/Entry/EntryStockBought.vue b/src/pages/Entry/EntryStockBought.vue index 7ae6901d3..3f0cd2d99 100644 --- a/src/pages/Entry/EntryStockBought.vue +++ b/src/pages/Entry/EntryStockBought.vue @@ -99,7 +99,7 @@ const travelDialogRef = ref(false); const tableRef = ref(); const travel = ref(null); const userParams = ref({ - dated: Date.vnNew(), + dated: Date.vnNew().toJSON(), }); const filter = ref({ @@ -219,6 +219,7 @@ function round(value) { data-key="StockBoughts" url="StockBoughts/getStockBought" save-url="StockBoughts/crud" + search-url="StockBoughts" order="reserve DESC" :right-search="false" :is-editable="true" diff --git a/src/pages/Entry/EntryStockBoughtDetail.vue b/src/pages/Entry/EntryStockBoughtDetail.vue index 0fd775ee6..812171825 100644 --- a/src/pages/Entry/EntryStockBoughtDetail.vue +++ b/src/pages/Entry/EntryStockBoughtDetail.vue @@ -18,7 +18,7 @@ const $props = defineProps({ required: true, }, }); -const customUrl = `StockBoughts/getStockBoughtDetail?workerFk=${$props.workerFk}&date=${$props.dated}`; +const customUrl = `StockBoughts/getStockBoughtDetail?workerFk=${$props.workerFk}&dated=${$props.dated}`; const columns = [ { align: 'left', diff --git a/src/pages/Entry/EntryStockBoughtFilter.vue b/src/pages/Entry/EntryStockBoughtFilter.vue index 7694cfe6c..e59332064 100644 --- a/src/pages/Entry/EntryStockBoughtFilter.vue +++ b/src/pages/Entry/EntryStockBoughtFilter.vue @@ -27,7 +27,7 @@ onMounted(async () => { -