Browse Source

test: 其他出,其他入测试

xyh 2 years ago
parent
commit
0d3109e5f7

+ 102 - 0
cypress/e2e/otherIn.cy.ts

@@ -0,0 +1,102 @@
+import {
+  beforeSetup,
+  generateNetworkResult,
+  intercept,
+  intoMenu,
+  selectAllFilters,
+  successIntercept,
+  validateDelete,
+  validateTableList,
+  validateTableSearch,
+} from './utils';
+
+const basicData = {
+  id: '50',
+  noticeId: '00000000000000000024',
+  noticeCode: 'SYS202304081555149178913',
+  companyNumber: '8130',
+  noticeTime: '2023-01-31',
+  sourceType: '0',
+  moveType: '109',
+  entryNumber: '0005',
+  productionCode: null,
+  materialId: '00000000000000072550',
+  wbs: ' ',
+  measurementId: '00000000000000000001',
+  num: '2.0',
+  type: null,
+  warehousingNum: '2',
+  page: 0,
+  limit: 0,
+  startTime: null,
+  endTime: null,
+  materialName: '瑞银;一体式电表;DJZ1226;600A',
+  companyName: '青岛特来电智能设备有限公司',
+  wllbClass: null,
+  materialCode: '5TK540010437W87',
+  userId: null,
+  askGoodsId: null,
+  wllbCode: null,
+  serial: null,
+  producBatch: null,
+  attribute: null,
+  storageLocationCode: null,
+  storageLocationName: null,
+  storageCode: null,
+  seq: null,
+  userName: null,
+  realName: null,
+  scrq: null,
+  uniqueCode: null,
+  partType: '原材料',
+  supplierId: null,
+  capacity: null,
+  accountName: null,
+  wmsItemId: null,
+  wmsId: null,
+  code: null,
+  name: null,
+  warehouseWhere: null,
+};
+
+describe('其他入库', function () {
+  beforeEach(function () {
+    beforeSetup();
+    intoMenu('入库管理', '其他入库');
+  });
+
+  beforeEach(function () {
+    intercept('/queryList/getOtherReceivingGoods', function ({search, reply}) {
+      generateNetworkResult({reply, search, basicData, title: 'noticeCode'});
+    });
+
+    successIntercept('/warehousing/delOtherReceivingGoods');
+  });
+
+  it('table', function () {
+    selectAllFilters('other_in_filter', 7);
+
+    validateTableList('other_in_table');
+
+    validateTableSearch(
+      'other_in_table',
+      [
+        'noticeCode',
+        'materialCode',
+        'materialName',
+        {id: 'startTime', type: 'date'},
+        {id: 'companyNumber', type: 'select', value: '8130'},
+        'wbs',
+        {id: 'type', type: 'select', value: '1'},
+      ],
+      {
+        toolId: 'other_in_filter',
+        url: '/queryList/getOtherReceivingGoods',
+      },
+    );
+  });
+
+  it('opertaion', function () {
+    validateDelete('other_in_table', '其他入库', {eq: 0, title: 'page-1'});
+  });
+});

+ 117 - 0
cypress/e2e/otherOut.cy.ts

@@ -0,0 +1,117 @@
+import {
+  beforeSetup,
+  generateNetworkResult,
+  intercept,
+  intoMenu,
+  selectAllFilters,
+  successIntercept,
+  validateDelete,
+  validateTableList,
+  validateTableSearch,
+} from './utils';
+
+const basicData = {
+  id: '28',
+  askGoodsId: '00000000000000040445',
+  entryNumber: null,
+  productionCode: null,
+  storageLocationName: null,
+  userName: null,
+  realName: null,
+  materialId: '00000000000000057928',
+  wbs: '00000000000007160127',
+  measurementId: '00000000000000000001',
+  num: '1.0',
+  outNum: '1',
+  askGoodsCode: '710202301310003',
+  companyNumber: '8130',
+  companyCode: null,
+  sqrq: '2023-01-31',
+  departmentId: null,
+  departmentName: null,
+  department: '充电箱变产线',
+  departmentCode: null,
+  name: null,
+  code: null,
+  sourceType: '8',
+  moveType: '209',
+  materialName: '箱变非金属顶盖-左侧端盖总成1;5T.X22.000.0003',
+  materialCode: '5TX220000003',
+  uniqueCode: null,
+  storageLocationCode: null,
+  supplierId: null,
+  serial: null,
+  type: null,
+  userId: null,
+  scrq: null,
+  supplierName: null,
+  producDate: null,
+  wllbCode: null,
+  page: 0,
+  limit: 0,
+  askGoodsType: null,
+  startTime: null,
+  endTime: null,
+  process: null,
+  askGoodsApplyType: null,
+  partType: '半成品',
+  attribute: null,
+  deliveryId: null,
+  deliveryCode: null,
+  customerName: null,
+  customerCode: null,
+  warehouseWhere: null,
+  companyName: '青岛特来电智能设备有限公司',
+  storageCode: null,
+  accountSleeve: null,
+  inventoryId: null,
+  storageLocationCodeRk: null,
+  accountName: null,
+  requestTypeNumber: 'Z09',
+  requestTypeName: '其他发货通知_青岛工厂',
+  ifCommodity: '0',
+  amount: null,
+};
+
+describe('其他出库', function () {
+  beforeEach(function () {
+    beforeSetup();
+    intoMenu('出库管理', '其他出库');
+  });
+
+  beforeEach(function () {
+    intercept('/queryList/getOtherShipments', function ({search, reply}) {
+      generateNetworkResult({reply, search, basicData, title: 'askGoodsCode'});
+    });
+
+    successIntercept('/warehousing/delOtherShipments');
+  });
+
+  it('table', function () {
+    selectAllFilters('other_out_filter', 8);
+
+    validateTableList('other_out_table');
+
+    validateTableSearch(
+      'other_out_table',
+      [
+        'askGoodsCode',
+        'materialCode',
+        'materialName',
+        {id: 'startTime', type: 'date'},
+        {id: 'companyNumber', type: 'select', value: '8130'},
+        'wbs',
+        {id: 'departmentCode', type: 'select', value: '00029999'},
+        {id: 'type', type: 'select', value: '1'},
+      ],
+      {
+        toolId: 'other_out_filter',
+        url: '/queryList/getOtherShipments',
+      },
+    );
+  });
+
+  it('opertaion', function () {
+    validateDelete('other_out_table', '其他出库', {eq: 0, title: 'page-1'});
+  });
+});

+ 190 - 158
cypress/fixtures/menu/basic.json

@@ -11,7 +11,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "xitongguanli",
       "modifyUser": null,
       "modifyTime": null,
@@ -27,44 +27,12 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "7"
     },
-    {
-      "id": "79",
-      "name": "接口日志",
-      "url": "/log/gsinterface",
-      "pId": "78",
-      "idCode": null,
-      "type": null,
-      "page": 0,
-      "limit": 0,
-      "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
-      "img": "",
-      "modifyUser": null,
-      "modifyTime": null,
-      "pid": "78"
-    },
-    {
-      "id": "64",
-      "name": "呆滞品明细",
-      "url": "/deadproduct",
-      "pId": "45",
-      "idCode": null,
-      "type": null,
-      "page": 0,
-      "limit": 0,
-      "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
-      "img": "",
-      "modifyUser": null,
-      "modifyTime": null,
-      "pid": "45"
-    },
     {
       "id": "47",
       "name": "库位管理",
@@ -75,7 +43,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
@@ -91,28 +59,44 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "43"
     },
     {
-      "id": "65",
-      "name": "物料储量预警",
-      "url": "/reservewarning",
+      "id": "64",
+      "name": "呆滞品明细",
+      "url": "/deadproduct",
       "pId": "45",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "45"
     },
+    {
+      "id": "79",
+      "name": "接口日志",
+      "url": "/log/gsinterface",
+      "pId": "78",
+      "idCode": null,
+      "type": null,
+      "page": 0,
+      "limit": 0,
+      "orderBy": null,
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
+      "img": "",
+      "modifyUser": null,
+      "modifyTime": null,
+      "pid": "78"
+    },
     {
       "id": "42",
       "name": "角色管理",
@@ -123,7 +107,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
@@ -139,7 +123,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
@@ -155,7 +139,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "jichuziliao",
       "modifyUser": null,
       "modifyTime": null,
@@ -171,12 +155,28 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "44"
     },
+    {
+      "id": "65",
+      "name": "物料储量预警",
+      "url": "/reservewarning",
+      "pId": "45",
+      "idCode": null,
+      "type": null,
+      "page": 0,
+      "limit": 0,
+      "orderBy": null,
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
+      "img": "",
+      "modifyUser": null,
+      "modifyTime": null,
+      "pid": "45"
+    },
     {
       "id": "88",
       "name": "单据删除日志",
@@ -187,7 +187,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
@@ -203,7 +203,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
@@ -219,7 +219,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "rukuguanli",
       "modifyUser": null,
       "modifyTime": null,
@@ -235,27 +235,27 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "46"
     },
     {
-      "id": "93",
-      "name": "GS错误日志",
-      "url": "/log/error",
-      "pId": "78",
+      "id": "54",
+      "name": "质检单列表",
+      "url": "/quality",
+      "pId": "43",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "78"
+      "pid": "43"
     },
     {
       "id": "59",
@@ -267,43 +267,59 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "44"
     },
     {
-      "id": "54",
-      "name": "质检单列表",
-      "url": "/quality",
-      "pId": "43",
+      "id": "66",
+      "name": "库存明细",
+      "url": "/stock",
+      "pId": "45",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "43"
+      "pid": "45"
     },
     {
-      "id": "66",
-      "name": "库存明细",
-      "url": "/stock",
-      "pId": "45",
+      "id": "93",
+      "name": "GS错误日志",
+      "url": "/log/error",
+      "pId": "78",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "45"
+      "pid": "78"
+    },
+    {
+      "id": "28",
+      "name": "PDA菜单管理",
+      "url": "/pda",
+      "pId": "7",
+      "idCode": null,
+      "type": null,
+      "page": 0,
+      "limit": 0,
+      "orderBy": null,
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
+      "img": "",
+      "modifyUser": null,
+      "modifyTime": null,
+      "pid": "7"
     },
     {
       "id": "45",
@@ -315,7 +331,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "pandianguanli",
       "modifyUser": null,
       "modifyTime": null,
@@ -331,7 +347,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
@@ -347,7 +363,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
@@ -363,91 +379,91 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "44"
     },
     {
-      "id": "28",
-      "name": "PDA菜单管理",
-      "url": "/pda",
-      "pId": "7",
+      "id": "44",
+      "name": "出库管理",
+      "url": ".",
+      "pId": "0",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
-      "img": "",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
+      "img": "chukuguanli",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "7"
+      "pid": "0"
     },
     {
-      "id": "55",
-      "name": "半成品报工单管理",
-      "url": "/semi/report",
-      "pId": "43",
+      "id": "50",
+      "name": "容器管理",
+      "url": "/container",
+      "pId": "46",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "43"
+      "pid": "46"
     },
     {
-      "id": "69",
-      "name": "部门管理",
-      "url": "/dictionary/department",
-      "pId": "46",
+      "id": "55",
+      "name": "半成品报工单管理",
+      "url": "/semi/report",
+      "pId": "43",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "46"
+      "pid": "43"
     },
     {
-      "id": "50",
-      "name": "容器管理",
-      "url": "/container",
-      "pId": "46",
+      "id": "63",
+      "name": "销售发货明细",
+      "url": "/stream/productout",
+      "pId": "44",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "46"
+      "pid": "44"
     },
     {
-      "id": "44",
-      "name": "出库管理",
-      "url": ".",
-      "pId": "0",
+      "id": "69",
+      "name": "部门管理",
+      "url": "/dictionary/department",
+      "pId": "46",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
-      "img": "chukuguanli",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
+      "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "0"
+      "pid": "46"
     },
     {
       "id": "83",
@@ -459,59 +475,59 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "45"
     },
     {
-      "id": "63",
-      "name": "销售发货明细",
-      "url": "/stream/productout",
+      "id": "80",
+      "name": "生产领料明细",
+      "url": "/production/requisition",
       "pId": "44",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "44"
     },
     {
-      "id": "57",
-      "name": "半成品入库明细",
-      "url": "/stream/semiin",
-      "pId": "43",
+      "id": "70",
+      "name": "公司管理",
+      "url": "/dictionary/corporation",
+      "pId": "46",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "43"
+      "pid": "46"
     },
     {
-      "id": "70",
-      "name": "公司管理",
-      "url": "/dictionary/corporation",
-      "pId": "46",
+      "id": "85",
+      "name": "产成品报工单",
+      "url": "/product/report",
+      "pId": "43",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "46"
+      "pid": "43"
     },
     {
       "id": "78",
@@ -523,59 +539,75 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "gongzuoguanli",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "0"
     },
     {
-      "id": "80",
-      "name": "生产领料明细",
-      "url": "/production/requisition",
-      "pId": "44",
+      "id": "89",
+      "name": "盘点明细",
+      "url": "/inventory",
+      "pId": "45",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "44"
+      "pid": "45"
     },
     {
-      "id": "85",
-      "name": "产成品报工单",
-      "url": "/product/report",
+      "id": "57",
+      "name": "半成品入库明细",
+      "url": "/stream/semiin",
       "pId": "43",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "43"
     },
     {
-      "id": "89",
-      "name": "盘点明细",
-      "url": "/inventory",
-      "pId": "45",
+      "id": "71",
+      "name": "库存组织管理",
+      "url": "/dictionary/inventory",
+      "pId": "46",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "45"
+      "pid": "46"
+    },
+    {
+      "id": "81",
+      "name": "销售单明细",
+      "url": "/sellorder",
+      "pId": "44",
+      "idCode": null,
+      "type": null,
+      "page": 0,
+      "limit": 0,
+      "orderBy": null,
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
+      "img": "",
+      "modifyUser": null,
+      "modifyTime": null,
+      "pid": "44"
     },
     {
       "id": "58",
@@ -587,59 +619,59 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "43"
     },
     {
-      "id": "71",
-      "name": "库存组织管理",
-      "url": "/dictionary/inventory",
+      "id": "72",
+      "name": "库管理",
+      "url": "/dictionary/storehouse",
       "pId": "46",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
       "pid": "46"
     },
     {
-      "id": "81",
-      "name": "销售单明细",
-      "url": "/sellorder",
-      "pId": "44",
+      "id": "98",
+      "name": "其他入库",
+      "url": "/other/in",
+      "pId": "43",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "44"
+      "pid": "43"
     },
     {
-      "id": "72",
-      "name": "仓库管理",
-      "url": "/dictionary/storehouse",
-      "pId": "46",
+      "id": "99",
+      "name": "其他出库",
+      "url": "/other/out",
+      "pId": "44",
       "idCode": null,
       "type": null,
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
-      "pid": "46"
+      "pid": "44"
     },
     {
       "id": "73",
@@ -651,7 +683,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
@@ -667,7 +699,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
@@ -683,7 +715,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,
@@ -699,7 +731,7 @@
       "page": 0,
       "limit": 0,
       "orderBy": null,
-      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,95,96,",
+      "menu": "28,7,27,65,45,64,63,44,62,61,59,58,43,57,56,55,54,52,50,46,51,49,48,47,42,41,66,69,76,75,74,73,72,71,70,79,78,80,81,83,85,88,89,93,98,99,",
       "img": "",
       "modifyUser": null,
       "modifyTime": null,

+ 1 - 1
packages/app/src/pages/other-in/filter/state.ts

@@ -15,7 +15,7 @@ export const sourceMap: FilterGroupMap<typeof contextState> = new Map([
       type: 'keySelect',
       label: '所属公司',
       selectKey: '公司',
-      value: 'startTime',
+      value: 'companyNumber',
     },
   ],
   ['3', {type: 'field', label: 'WBS编号', value: 'wbs'}],

+ 1 - 1
packages/app/src/pages/other-in/table/index.tsx

@@ -26,7 +26,7 @@ const TableList: FC = function () {
         pageContext={pageContext}
         searchContext={searchContext}
         columns={columns}
-        data-testid='outer_in_table'
+        data-testid='other_in_table'
       />
     </Card>
   );

+ 1 - 1
packages/app/src/pages/other-out/filter/state.ts

@@ -15,7 +15,7 @@ export const sourceMap: FilterGroupMap<typeof contextState> = new Map([
       type: 'keySelect',
       label: '所属公司',
       selectKey: '公司',
-      value: 'startTime',
+      value: 'companyNumber',
     },
   ],
   ['3', {type: 'field', label: 'WBS编号', value: 'wbs'}],