Browse Source

feat: 领料单增加库存信息

xyh 2 years ago
parent
commit
0d7d3d8cb1

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

@@ -148,6 +148,8 @@ export type ProductionRequisitionListData = {
   entryNumber: string;
   /** 生产订单号 */
   productionCode: string;
+  /** 物料库存 */
+  amount: string;
 };
 
 /** 销售单 */
@@ -205,6 +207,8 @@ export type SellOrderListData = {
   moveType: string;
   /** 订单类型 */
   deliveryType: string;
+  /** 库存数量 */
+  amount: string;
 };
 
 /** 移库单数据 */

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

@@ -126,6 +126,8 @@ export type SemiDrawListData = {
   entryNumber: string;
   /** 申请日期 */
   sqrq: string;
+  /** 库存数量 */
+  amount: string;
 };
 
 /** 半成品出库流水 */

+ 6 - 0
packages/app/src/pages/production-requisition/table/hooks.tsx

@@ -50,6 +50,12 @@ const columns: ColumnsType<ProductionRequisitionListData> = [
     width: SMALL_TABLE_WIDTH,
     align: 'right',
   },
+  {
+    title: '库存数量',
+    dataIndex: 'amount',
+    width: SMALL_TABLE_WIDTH,
+    align: 'right',
+  },
   {
     title: '所属公司',
     dataIndex: 'companyName',

+ 5 - 0
packages/app/src/pages/sell-order/table/hooks.tsx

@@ -48,6 +48,11 @@ const columns: ColumnsType<SellOrderListData> = [
     key: 'gsCancelNum',
     width: SMALL_TABLE_WIDTH,
   },
+  {
+    title: '库存数量',
+    dataIndex: 'amount',
+    width: SMALL_TABLE_WIDTH,
+  },
   {
     title: '客户名称',
     dataIndex: 'customerName',

+ 7 - 0
packages/app/src/pages/semi-draw/table/hooks.tsx

@@ -50,6 +50,12 @@ const tableColumns: ColumnsType<SemiDrawListData> = [
     width: SMALL_TABLE_WIDTH,
     align: 'right',
   },
+  {
+    title: '库存数量',
+    dataIndex: 'amount',
+    width: SMALL_TABLE_WIDTH,
+    align: 'right',
+  },
   {
     title: '要料部门',
     dataIndex: 'department',
@@ -57,6 +63,7 @@ const tableColumns: ColumnsType<SemiDrawListData> = [
     width: NORMAL_TABLE_WIDTH,
   },
   {title: '所属公司', dataIndex: 'companyName', width: HUGE_TABLE_WIDTH},
+  {title: 'WBS编号', dataIndex: 'wbs', width: NORMAL_TABLE_WIDTH},
   {title: '分录号', dataIndex: 'entryNumber', width: NORMAL_TABLE_WIDTH},
   {title: '移动类型', dataIndex: 'moveType', width: NORMAL_TABLE_WIDTH},
   {title: '来源类型', dataIndex: 'sourceType', width: NORMAL_TABLE_WIDTH},