|
@@ -43,6 +43,7 @@ import { useEnum } from '@/hooks/enum'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
import { useRequest } from '@/hooks/request'
|
|
|
import { useOperation } from '@/hooks/operation'
|
|
import { useOperation } from '@/hooks/operation'
|
|
|
import { queryDeliveryOrder } from '@/services/api/order'
|
|
import { queryDeliveryOrder } from '@/services/api/order'
|
|
|
|
|
+import { i18n } from '@/stores'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
import AppPagination from '@pc/components/base/pagination/index.vue'
|
|
import AppPagination from '@pc/components/base/pagination/index.vue'
|
|
|
import AppOperation from '@pc/components/base/operation/index.vue'
|
|
import AppOperation from '@pc/components/base/operation/index.vue'
|
|
@@ -50,6 +51,7 @@ import AppFilter from '@pc/components/base/table-filter-v2/index.vue'
|
|
|
|
|
|
|
|
const deliveryorderstatus1Enum = useEnum('deliveryorderstatus1') // 状态
|
|
const deliveryorderstatus1Enum = useEnum('deliveryorderstatus1') // 状态
|
|
|
const dateValue = shallowRef<string[] | null>([])
|
|
const dateValue = shallowRef<string[] | null>([])
|
|
|
|
|
+const { global: { t } } = i18n
|
|
|
|
|
|
|
|
const { componentMap, componentId, record, openComponent, closeComponent, getActionButtons } = useOperation<Model.DeliveryOrderRsp>({
|
|
const { componentMap, componentId, record, openComponent, closeComponent, getActionButtons } = useOperation<Model.DeliveryOrderRsp>({
|
|
|
onClose: () => onSearch()
|
|
onClose: () => onSearch()
|
|
@@ -123,8 +125,8 @@ const { queryParams, filterOption, getQueryParams, resetFilters } = useDataFilte
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
buttons: [
|
|
buttons: [
|
|
|
- { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
|
|
|
|
|
- { label: '重置', className: 'el-button--primary', validateEvent: false, onClick: () => onReset() }
|
|
|
|
|
|
|
+ { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
|
|
|
|
|
+ { label: t('operation.reset'), className: 'el-button--primary', validateEvent: false, onClick: () => onReset() }
|
|
|
]
|
|
]
|
|
|
})
|
|
})
|
|
|
|
|
|