From 658db4c29ae159aca069c04b55518e007bfdd4e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=BA=86=E6=BA=90?= Date: Thu, 15 May 2025 14:36:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E4=B8=9A=E5=8A=A1=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=89=B9=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../item/adjustRecord/adjustRecord.data.ts | 16 ++++++-- .../eam/item/countRecord/countRecord.data.ts | 41 +++++++++++-------- .../countadjustWork/countadjustWork.data.ts | 34 +++++++++------ 3 files changed, 56 insertions(+), 35 deletions(-) diff --git a/src/views/eam/item/adjustRecord/adjustRecord.data.ts b/src/views/eam/item/adjustRecord/adjustRecord.data.ts index a3d8051..d2d470e 100644 --- a/src/views/eam/item/adjustRecord/adjustRecord.data.ts +++ b/src/views/eam/item/adjustRecord/adjustRecord.data.ts @@ -77,6 +77,16 @@ export const AdjustRecordDetail = useCrudSchemas(reactive([ }, }, + { + label: '库区编号', + field: 'areaNumber', + sort: 'custom', + isForm: false, + isSearch: true, + table: { + width: 180, + }, + }, { label: '库位编号', field: 'locationNumber', @@ -87,10 +97,9 @@ export const AdjustRecordDetail = useCrudSchemas(reactive([ width: 180, }, }, - { - label: '库区编号', - field: 'areaNumber', + label: '批次', + field: 'batch', sort: 'custom', isForm: false, isSearch: true, @@ -98,7 +107,6 @@ export const AdjustRecordDetail = useCrudSchemas(reactive([ width: 180, }, }, - { label: '库存数量', field: 'qty', diff --git a/src/views/eam/item/countRecord/countRecord.data.ts b/src/views/eam/item/countRecord/countRecord.data.ts index 5feb17a..348201e 100644 --- a/src/views/eam/item/countRecord/countRecord.data.ts +++ b/src/views/eam/item/countRecord/countRecord.data.ts @@ -129,9 +129,16 @@ export const CountRecordDetail = useCrudSchemas(reactive([ width: 180, }, }, - - - + { + label: '库区编号', + field: 'areaNumber', + sort: 'custom', + isForm: false, + isSearch: true, + table: { + width: 180, + }, + }, { label: '库位编号', field: 'locationNumber', @@ -142,10 +149,9 @@ export const CountRecordDetail = useCrudSchemas(reactive([ width: 180, }, }, - { - label: '库区编号', - field: 'areaNumber', + label: '批次', + field: 'batch', sort: 'custom', isForm: false, isSearch: true, @@ -153,7 +159,6 @@ export const CountRecordDetail = useCrudSchemas(reactive([ width: 180, }, }, - { label: '库存数量', field: 'qty', @@ -220,17 +225,17 @@ export const CountRecordDetail = useCrudSchemas(reactive([ precision: 2 } }, - { - label: '操作', - field: 'action', - isDetail: false, - isForm: false, - table: { - width: 150, - fixed: 'right' - }, - isTableForm: false, - } + // { + // label: '操作', + // field: 'action', + // isDetail: false, + // isForm: false, + // table: { + // width: 150, + // fixed: 'right' + // }, + // isTableForm: false, + // } ])) //表单校验 diff --git a/src/views/eam/item/countadjustWork/countadjustWork.data.ts b/src/views/eam/item/countadjustWork/countadjustWork.data.ts index 2453aa3..896944f 100644 --- a/src/views/eam/item/countadjustWork/countadjustWork.data.ts +++ b/src/views/eam/item/countadjustWork/countadjustWork.data.ts @@ -71,7 +71,6 @@ export const CountJobDetail = useCrudSchemas(reactive([ isForm: false, isSearch: true, table: { - width: 180, fixed: 'left' }, }, @@ -108,7 +107,16 @@ export const CountJobDetail = useCrudSchemas(reactive([ width: 180, }, }, - + { + label: '批次', + field: 'batch', + sort: 'custom', + isForm: false, + isSearch: true, + table: { + width: 180, + }, + }, { label: '库存数量', field: 'qty', @@ -131,17 +139,17 @@ export const CountJobDetail = useCrudSchemas(reactive([ precision: 2 } }, - { - label: '操作', - field: 'action', - isDetail: false, - isForm: false, - table: { - width: 150, - fixed: 'right' - }, - isTableForm: false, - } + // { + // label: '操作', + // field: 'action', + // isDetail: false, + // isForm: false, + // table: { + // width: 150, + // fixed: 'right' + // }, + // isTableForm: false, + // } ])) //表单校验