From 40c3582d16fb4c3c15fc7bbe7983020fafa8b8f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Thu, 12 Oct 2023 08:05:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=AD=97=E6=AE=B5=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E8=B7=B3=E8=BD=AC=E5=88=B0=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/disposition/defaultButtons.ts | 22 +++++++++++----------- src/utils/disposition/tableColumns.ts | 2 +- src/views/wms/itempackaging/index.vue | 7 ++++++- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts index 0303d6ba5..e4a6f1c21 100644 --- a/src/utils/disposition/defaultButtons.ts +++ b/src/utils/disposition/defaultButtons.ts @@ -165,17 +165,17 @@ export function drawerDeleteBtn(option:any) { } // 主列表-详情按钮 -export function mainListDetailBtn(option:any) { - return __defaultBtnOption(option,{ - label: '详情', - name: 'detail', - hide: false, - type: 'primary', - color: '', - link: true, // 文本展现按钮 - hasPermi: '' - }) -} +// export function mainListDetailBtn(option:any) { +// return __defaultBtnOption(option,{ +// label: '详情', +// name: 'detail', +// hide: false, +// type: 'primary', +// color: '', +// link: true, // 文本展现按钮 +// hasPermi: '' +// }) +// } // 主列表-编辑按钮 export function mainListEditBtn(option:any) { diff --git a/src/utils/disposition/tableColumns.ts b/src/utils/disposition/tableColumns.ts index e011fc17e..ab3c4199c 100644 --- a/src/utils/disposition/tableColumns.ts +++ b/src/utils/disposition/tableColumns.ts @@ -428,7 +428,7 @@ export const ItemBasicRules = reactive({ export const Itempackaging = useCrudSchemas(reactive([ { label: '物品代码', - field: 'itemCode', + field: 'default', sort: 'custom', table: { width: 150 diff --git a/src/views/wms/itempackaging/index.vue b/src/views/wms/itempackaging/index.vue index 6216c3d55..357e4d93e 100644 --- a/src/views/wms/itempackaging/index.vue +++ b/src/views/wms/itempackaging/index.vue @@ -23,6 +23,11 @@ v-model:currentPage="tableObject.currentPage" v-model:sort="tableObject.sort" > +