From 57ba3a72b8f7f7840a5506bd8e499127cf196206 Mon Sep 17 00:00:00 2001 From: zc Date: Tue, 24 Mar 2026 14:58:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=87=E8=A7=86=E6=91=84?= =?UTF-8?q?=E5=83=8F=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/fullWorkOrder/fullWorkOrder.ts | 47 ++++ src/types/components.d.ts | 2 + src/views/fullClaim/FullWorkOrderAddModal.vue | 250 ++++++++++++++++++ src/views/fullClaim/index.vue | 148 +++++++++++ src/views/material/index.vue | 1 - src/views/weightManage/index.vue | 2 +- 6 files changed, 448 insertions(+), 2 deletions(-) create mode 100644 src/apis/fullWorkOrder/fullWorkOrder.ts create mode 100644 src/views/fullClaim/FullWorkOrderAddModal.vue create mode 100644 src/views/fullClaim/index.vue 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 @@ -