Browse Source

chore: 细节调整

xyh 2 years ago
parent
commit
ae813c5af5

+ 1 - 0
packages/app/src/pages/home/main/hooks.tsx

@@ -8,6 +8,7 @@ import {DragEndEvent} from '@dnd-kit/core';
 import {arrayMove} from '@dnd-kit/sortable';
 import {shallowEqual} from '@utils';
 
+// 为了首页采购单列表中的更多可以点击触发新增tab
 (window as any).tabAddDispatch = function (options: {
   key: string;
   url: string;

+ 2 - 2
packages/app/src/pages/purchase-order/table/index.tsx

@@ -7,11 +7,11 @@ import {useContextSection, useQueryTableList} from '@hooks';
 import {ReceiveListData} from '@models';
 import {
   SMALL_TABLE_WIDTH,
-  NORMAL_TABLE_WIDTH,
   GS_CODE_COL_WIDTH,
   MATERIAL_CODE_COL_WIDTH,
   MATERIAL_NAME_COL_WIDTH,
   SUPPLIER_COL_WIDTH,
+  MIDDLE_TABLE_WIDTH,
 } from '@utils';
 import {ColumnsType} from 'antd/es/table';
 
@@ -51,7 +51,7 @@ const columns: ColumnsType<ReceiveListData> = [
     title: '到货时间',
     dataIndex: 'arrivalTime',
     key: 'arrivalTime',
-    width: NORMAL_TABLE_WIDTH,
+    width: MIDDLE_TABLE_WIDTH,
   },
   {
     title: '状态',