Browse Source

修复物料资料报错

MY 5 months ago
parent
commit
4874a85ea4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      JLHWEB/src/views/baseinfo/mtrldef/index.vue

+ 1 - 1
JLHWEB/src/views/baseinfo/mtrldef/index.vue

@@ -75,7 +75,7 @@ import { traverseNode } from "@/utils/index";
 const dwname = "web_mtrldeflist";
 const dwname = "web_mtrldeflist";
 const mainData = ref({});
 const mainData = ref({});
 const mtrltype = ref({});
 const mtrltype = ref({});
-const initParams = ref({ mtrltypeids: undefined as Number[] });
+const initParams = ref({ mtrltypeids: undefined as Number[], pricelistid: 0 });
 const tableProps = {
 const tableProps = {
   height: "auto",
   height: "auto",
   editConfig: { trigger: "click", mode: "cell" }
   editConfig: { trigger: "click", mode: "cell" }