Selaa lähdekoodia

feat: 半成品入库单

xyh 2 vuotta sitten
vanhempi
commit
2d32532351

+ 1 - 0
cypress/e2e/goods.cy.ts

@@ -61,6 +61,7 @@ describe('物料管理', function() {
       cy.getTestId('field_goodsSize').should('have.value', '1');
       validateSelect('select_goodsMixin', '是');
       validateSelect('select_goodsRecommend', '是');
+      cy.get('#operation_goodsPartType').should('have.value', '半成品');
     });
   });
 });

+ 3 - 0
cypress/fixtures/dictonary/list1.json

@@ -19,6 +19,7 @@
         "wllbClass": "456546",
         "isNotDisable": "1",
         "isRecommend": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       },
@@ -38,6 +39,7 @@
         "wllbClass": "456546",
         "isNotDisable": "1",
         "isRecommend": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       },
@@ -57,6 +59,7 @@
         "wllbClass": "456546",
         "isNotDisable": "1",
         "isRecommend": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       }

+ 2 - 0
cypress/fixtures/dictonary/list2.json

@@ -18,6 +18,7 @@
         "materialType": "546",
         "wllbClass": "456546",
         "isNotDisable": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       },
@@ -36,6 +37,7 @@
         "materialType": "546",
         "wllbClass": "456546",
         "isNotDisable": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       }

+ 3 - 0
cypress/fixtures/dictonary/search1.json

@@ -19,6 +19,7 @@
         "wllbClass": "456546",
         "isNotDisable": "1",
         "isRecommend": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       },
@@ -38,6 +39,7 @@
         "wllbClass": "456546",
         "isNotDisable": "1",
         "isRecommend": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       },
@@ -56,6 +58,7 @@
         "materialType": "546",
         "wllbClass": "456546",
         "isNotDisable": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       }

+ 3 - 0
cypress/fixtures/dictonary/search2.json

@@ -18,6 +18,7 @@
         "materialType": "546",
         "wllbClass": "456546",
         "isNotDisable": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       },
@@ -36,6 +37,7 @@
         "materialType": "546",
         "wllbClass": "456546",
         "isNotDisable": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       },
@@ -54,6 +56,7 @@
         "materialType": "546",
         "wllbClass": "456546",
         "isNotDisable": "1",
+        "partType": "半成品",
         "page": 0,
         "limit": 0
       }