diff --git a/src/components/Table/src/Table.vue b/src/components/Table/src/Table.vue
index 1e045d9b1..d7e6e59c1 100644
--- a/src/components/Table/src/Table.vue
+++ b/src/components/Table/src/Table.vue
@@ -292,6 +292,7 @@ export default defineComponent({
onSelection-change={selectionChange}
onSort-change={sortChange}
{...unref(getBindValue)}
+ stripe
>
{{
default: () => rnderTableColumn(),
diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts
index 3d1f8d357..f6065978f 100644
--- a/src/router/modules/remaining.ts
+++ b/src/router/modules/remaining.ts
@@ -349,6 +349,18 @@ const remainingRouter: AppRouteRecordRaw[] = [
title: '物品详情',
activeMenu: '/wms/itembasic-manage/itembasic'
}
+ },
+ {
+ path: '/wms/itempackaging-manage/itempackaging-detail',
+ component: () => import('@/views/wms/itempackaging/ItempackagingDetail.vue'),
+ name: 'ItempackagingDetail',
+ meta: {
+ noCache: true,
+ hidden: true,
+ canTo: true,
+ title: '包装详情',
+ activeMenu: '/wms/itempackaging-manage/itempackaging'
+ }
}
]
}
diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts
index c28f71b9e..0303d6ba5 100644
--- a/src/utils/disposition/defaultButtons.ts
+++ b/src/utils/disposition/defaultButtons.ts
@@ -164,13 +164,26 @@ 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 mainListEditBtn(option:any) {
return __defaultBtnOption(option,{
label: '编辑',
name: 'edit',
hide: false,
- type: 'primary',
+ type: 'warning',
color: '',
link: true, // 文本展现按钮
hasPermi: ''
diff --git a/src/views/wms/itempackaging/ItempackagingDetail.vue b/src/views/wms/itempackaging/ItempackagingDetail.vue
new file mode 100644
index 000000000..306d7ff58
--- /dev/null
+++ b/src/views/wms/itempackaging/ItempackagingDetail.vue
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/wms/itempackaging/ItempackagingForm.vue b/src/views/wms/itempackaging/ItempackagingForm.vue
index 407cb6519..92d504c46 100644
--- a/src/views/wms/itempackaging/ItempackagingForm.vue
+++ b/src/views/wms/itempackaging/ItempackagingForm.vue
@@ -121,7 +121,7 @@
@@ -24,121 +24,19 @@
v-model:sort="tableObject.sort"
>
-
- 编辑
-
-
- 删除
-
+
-
-
-
+
+
+