From f3f85e629a7161c0852d618eff835a81fbb35a5f Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Sat, 10 Aug 2024 17:11:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E7=94=B3=E8=AF=B7=E5=8D=95?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionreceiptJobMain.data.ts | 2 +- .../productionreceiptRecordMain.data.ts | 9 +++++++++ .../productionscrap/productionscrapRecordMain/index.vue | 2 +- .../repleinshRecordMain/repleinshRecordMain.data.ts | 4 ++-- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts b/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts index ca98bc89e..f766c4611 100644 --- a/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts +++ b/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts @@ -23,7 +23,7 @@ export const ProductionreceiptJobMain = useCrudSchemas(reactive([ table: { width: 180 }, - isTable: false, + sortTableDefault: 2, }, { label: '车间代码', diff --git a/src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts b/src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts index 20a9e64ae..9c1750790 100644 --- a/src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts +++ b/src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts @@ -16,6 +16,15 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive sortSearchDefault:1, isSearch: true }, + { + label: '申请单号', + field: 'jobNumber', + sort: 'custom', + table: { + width: 180 + }, + sortTableDefault: 1, + }, { label: '发料记录单号', field: 'issueRecordNumber', diff --git a/src/views/wms/issueManage/productionscrap/productionscrapRecordMain/index.vue b/src/views/wms/issueManage/productionscrap/productionscrapRecordMain/index.vue index 36ff783ea..7f402440b 100644 --- a/src/views/wms/issueManage/productionscrap/productionscrapRecordMain/index.vue +++ b/src/views/wms/issueManage/productionscrap/productionscrapRecordMain/index.vue @@ -156,7 +156,7 @@ const handleExport = async () => { // 发起导出 exportLoading.value = true const data = await ProductionscrapRecordMainApi.exportProductionscrapRecordMain(tableObject.params) - download.excel(data, '线标报废记录主.xlsx') + download.excel(data, '线标报废记录.xlsx') } catch { } finally { exportLoading.value = false diff --git a/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts b/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts index 5cee216f1..1e4dd0893 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts +++ b/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts @@ -35,7 +35,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, - isTable: false, + sortTableDefault:1, }, { label: '任务单号', @@ -44,7 +44,7 @@ export const RepleinshRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, - isTable: false, + sortTableDefault: 2, }, // { // label: '供应商代码',