From e5e42edace5ec7d90a809d86a5c0429f2e1531b6 Mon Sep 17 00:00:00 2001 From: songguoqiang Date: Tue, 25 Mar 2025 09:17:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E7=BB=99=E5=93=81=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=95=8C=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productreceiptJobMain.data.ts | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts index 7aa355a1d..08fd3714f 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts @@ -16,6 +16,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive([ fixed: 'left' }, isSearch: true, + sortTableDefault:1 }, { label: '申请单号', @@ -25,6 +26,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive([ width: 180 }, isSearch: true, + sortTableDefault:7 }, { label: '状态', @@ -37,6 +39,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:8 }, { label: '生产计划单号', @@ -48,6 +51,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive([ isSearch: true, isForm: false, isTable:true, + sortTableDefault:10 }, { label: '车间代码', @@ -56,6 +60,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:13 }, { label: '生产线代码', @@ -65,6 +70,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:16 }, { label: '班组', @@ -74,6 +80,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:13 }, { label: '班组', @@ -93,6 +100,7 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:14 }, { label: '班次', @@ -716,16 +724,15 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ { label: '批次', field: 'batch', - sortTableDefault:1002, sort: 'custom', table: { width: 150 }, + sortTableDefault:12 }, { label: '生产日期', field: 'produceDate', - sortTableDefault:1008, formatter: dateFormatter2, detail: { dateFormat: 'YYYY-MM-DD' @@ -743,6 +750,7 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + sortTableDefault:9 }, { label: '过期日期', @@ -770,7 +778,6 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ { label: '库存状态', field: 'inventoryStatus', - sortTableDefault:1007, dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', isTable: true, @@ -778,15 +785,16 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:11 }, { label: '到库位代码', field: 'toLocationCode', - sortTableDefault:1009, sort: 'custom', table: { width: 150 }, + sortTableDefault:10 }, { label: '订单号', @@ -836,20 +844,20 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ { label: '品番', field: 'itemCode', - sortTableDefault:1000, sort: 'custom', table: { width: 150 }, + sortTableDefault:2 }, { label: '品名', field: 'itemName', - sortTableDefault:1001, sort: 'custom', table: { width: 150 }, + sortTableDefault:4 }, { label: '背番', @@ -861,7 +869,6 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ }, isTableForm: false, isForm: false, - sortTableDefault: 1001, tableForm: { disabled: true }, @@ -869,7 +876,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ componentProps: { disabled: true } - } + }, + sortTableDefault:3 }, // { // label: '背番', @@ -905,13 +913,13 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ label: '数量', field: 'qty', sort: 'custom', - sortTableDefault:1005, table: { width: 150 }, form: { component: 'InputNumber', } + ,sortTableDefault:5 }, { label: '计量单位', @@ -948,11 +956,11 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ { label: '创建者', field: 'creator', - sortTableDefault:1011, sort: 'custom', table: { width: 150 }, + sortTableDefault:6 }, { label: '创建时间',