From 9deabbe83b2f227874c1fcf89201b44abdb8a343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Mon, 30 Oct 2023 08:24:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=BB=84=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Detail/src/Detail.vue | 18 +++++++++------- src/utils/disposition/tableColumns.ts | 31 ++++++++++++++++++--------- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index b3428cbec..26e0fecca 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -10,17 +10,19 @@ - - +
+ + { diff --git a/src/utils/disposition/tableColumns.ts b/src/utils/disposition/tableColumns.ts index dbcbea95a..8ee6c9fe6 100644 --- a/src/utils/disposition/tableColumns.ts +++ b/src/utils/disposition/tableColumns.ts @@ -36,7 +36,8 @@ export const Itembasic = useCrudSchemas(reactive([ sort: 'custom', isSearch: true, table: { - width: 150 + width: 150, + fixed: 'left' }, // tableForm:{ // minWidth:200, @@ -119,6 +120,7 @@ export const Itembasic = useCrudSchemas(reactive([ sort: 'custom', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', + // colorType: 'danger', isTable: true, table: { width: 120 @@ -415,7 +417,8 @@ export const Itembasic = useCrudSchemas(reactive([ isDetail: false, isForm: false , table: { - width: 150 + width: 150, + fixed: 'right' }, } ])) @@ -503,7 +506,8 @@ export const Itempackaging = useCrudSchemas(reactive([ sort: 'custom', isSearch: true, table: { - width: 150 + width: 150, + fixed: 'left' } }, { @@ -700,7 +704,8 @@ export const Itempackaging = useCrudSchemas(reactive([ isDetail: false, isForm: false, table: { - width: 150 + width: 150, + fixed: 'right' } } ])) @@ -724,7 +729,8 @@ export const Bom = useCrudSchemas(reactive([ isSearch: true, sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' } }, { @@ -868,7 +874,8 @@ export const Bom = useCrudSchemas(reactive([ isDetail: false, isForm: false , table: { - width: 150 + width: 150, + fixed: 'right' } } ])) @@ -905,7 +912,8 @@ export const Stdcostprice = useCrudSchemas(reactive([ isSearch: true, sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' } }, { @@ -1016,7 +1024,8 @@ export const Stdcostprice = useCrudSchemas(reactive([ isDetail: false, isForm: false , table: { - width: 150 + width: 150, + fixed: 'right' } } ])) @@ -1050,7 +1059,8 @@ export const Productionlineitem = useCrudSchemas(reactive([ isSearch: true, sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' } }, { @@ -1153,7 +1163,8 @@ export const Productionlineitem = useCrudSchemas(reactive([ isDetail: false, isForm: false , table: { - width: 150 + width: 150, + fixed: 'right' } } ]))