diff --git a/src/apis/fullWorkOrder/fullWorkOrder.ts b/src/apis/fullWorkOrder/fullWorkOrder.ts new file mode 100644 index 0000000..aa79ec6 --- /dev/null +++ b/src/apis/fullWorkOrder/fullWorkOrder.ts @@ -0,0 +1,47 @@ +import http from '@/utils/http' + +const BASE_URL = '/fullWorkOrder/fullWorkOrder' + +export interface FullWorkOrderResp { + id: string + title: string + orderNo: string + materialCode: string + imgUrl: string + createUser: string + createTime: string + updateUser: string + updateTime: string + createUserString: string + updateUserString: string + disabled: boolean +} +export interface FullWorkOrderQuery { + orderNo: string | undefined + materialCode: string | undefined + imgUrl: string | undefined + createUser: string | undefined + createTime: Array | undefined + sort: Array +} +export interface FullWorkOrderPageQuery extends FullWorkOrderQuery, PageQuery {} + +/** @desc 查询整箱领取记录列表 */ +export function listFullWorkOrder(query: FullWorkOrderPageQuery) { + return http.get>(`${BASE_URL}`, query) +} + +/** @desc 新增整箱领取记录 */ +export function addFullWorkOrder(data: any) { + return http.post(`${BASE_URL}`, data) +} + +/** @desc 删除整箱领取记录 */ +export function deleteFullWorkOrder(id: string) { + return http.del(`${BASE_URL}/${id}`) +} + +/** @desc 导出整箱领取记录 */ +export function exportFullWorkOrder(query: FullWorkOrderQuery) { + return http.download(`${BASE_URL}/export`, query) +} diff --git a/src/types/components.d.ts b/src/types/components.d.ts index e0592dd..93abb71 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -40,6 +40,7 @@ declare module 'vue' { AInputPassword: typeof import('@arco-design/web-vue')['InputPassword'] AInputSearch: typeof import('@arco-design/web-vue')['InputSearch'] ALayout: typeof import('@arco-design/web-vue')['Layout'] + ALayoutContent: typeof import('@arco-design/web-vue')['LayoutContent'] ALayoutHeader: typeof import('@arco-design/web-vue')['LayoutHeader'] ALayoutSider: typeof import('@arco-design/web-vue')['LayoutSider'] ALink: typeof import('@arco-design/web-vue')['Link'] @@ -76,6 +77,7 @@ declare module 'vue' { ATreeSelect: typeof import('@arco-design/web-vue')['TreeSelect'] ATrigger: typeof import('@arco-design/web-vue')['Trigger'] ATypographyParagraph: typeof import('@arco-design/web-vue')['TypographyParagraph'] + ATypographyTitle: typeof import('@arco-design/web-vue')['TypographyTitle'] AUpload: typeof import('@arco-design/web-vue')['Upload'] Avatar: typeof import('./../components/Avatar/index.vue')['default'] AWatermark: typeof import('@arco-design/web-vue')['Watermark'] diff --git a/src/views/fullClaim/FullWorkOrderAddModal.vue b/src/views/fullClaim/FullWorkOrderAddModal.vue new file mode 100644 index 0000000..5621848 --- /dev/null +++ b/src/views/fullClaim/FullWorkOrderAddModal.vue @@ -0,0 +1,250 @@ + + + + + \ No newline at end of file diff --git a/src/views/fullClaim/index.vue b/src/views/fullClaim/index.vue new file mode 100644 index 0000000..fcf71de --- /dev/null +++ b/src/views/fullClaim/index.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/src/views/material/index.vue b/src/views/material/index.vue index 4f75891..be248bd 100644 --- a/src/views/material/index.vue +++ b/src/views/material/index.vue @@ -48,7 +48,6 @@ -