Browse Source

update: 增加属性显示

xyh 2 years ago
parent
commit
f808f8c742

+ 2 - 0
packages/app/src/models/response/inventory.ts

@@ -69,4 +69,6 @@ export type AccountAdjustmentListData = {
   wllbCode: string;
   /** 备注信息 */
   remark: string;
+  /** 属性 */
+  attribute: string;
 };

+ 2 - 0
packages/app/src/models/response/queryList.ts

@@ -91,6 +91,8 @@ export type StockListData = {
   maxNum: string;
   /** 库龄 */
   day: number;
+  /** 属性 */
+  attribute: string;
 };
 
 /** GS接口信息 */

+ 1 - 0
packages/app/src/pages/account-adjustment/table/index.tsx

@@ -37,6 +37,7 @@ const columns: ColumnsType<AccountAdjustmentListData> = [
   {title: 'WBS编号', width: HUGE_TABLE_WIDTH, dataIndex: 'wbsCode'},
   {title: 'WBS名称', width: HUGE_TABLE_WIDTH, dataIndex: 'wbsName'},
   {title: '备注', width: MAXIMAL_TABLE_WIDTH, dataIndex: 'remark'},
+  {title: '属性', width: NORMAL_TABLE_WIDTH, dataIndex: 'attribute'},
 ];
 
 const TableList: FC = function() {

+ 1 - 0
packages/app/src/pages/stock/table/index.tsx

@@ -53,6 +53,7 @@ const columns: ColumnsType<StockListData> = [
     align: 'right',
   },
   {title: '连番号', dataIndex: 'serial', width: NORMAL_TABLE_WIDTH},
+  {title: '属性', dataIndex: 'attribute', width: NORMAL_TABLE_WIDTH},
 ];
 
 const TableList: FC = function() {

+ 5 - 1
pnpm-lock.yaml

@@ -1,4 +1,8 @@
-lockfileVersion: '6.0'
+lockfileVersion: '6.1'
+
+settings:
+  autoInstallPeers: true
+  excludeLinksFromLockfile: false
 
 importers: