ysy %!s(int64=2) %!d(string=hai) anos
pai
achega
589e76a2d1

+ 1 - 1
src/views/material/product/components/codeDialog.vue

@@ -56,7 +56,7 @@ export default {
             loading: false,
 
             formData: {
-                leave: 'CCSB',
+                leave: 'SL',
                 leave2: null,
                 leave3: null,
                 code: null

+ 15 - 6
src/views/technology/productParam/components/ProductModal.vue

@@ -213,13 +213,22 @@ export default {
     /* 表格数据源 */
     datasource({ page, where, limit }) {
       let URL = this.isLedger ? getAssetList : getMaterialList
-      return URL({
-        ...where,
-        pageNum: page,
-        size: limit,
-        categoryLevelId: this.isCategory ? this.categoryLevelId : null,
 
-      });
+      if (this.isCategory) {
+        return URL({
+          ...where,
+          pageNum: page,
+          size: limit,
+          categoryLevelId: this.categoryLevelId
+        });
+      } else {
+        return URL({
+          ...where,
+          pageNum: page,
+          size: limit,
+        });
+      }
+
     },
     handleNodeClick(data) {
       this.isCategory = true