2024-1-12-1 基础信息-bom结构更改 2

master
A0010407 11 months ago
parent 92c17c204c
commit de47aa371c

@ -83,7 +83,6 @@
<el-table
v-loading="loading"
row-key="handle"
:indent="indent"
:data="bomList"
@selection-change="handleSelectionChange"
default-expand-all
@ -446,6 +445,7 @@ export default {
/** 查询BOM管理 列表 */
getList() {
this.loading = true;
this.queryParams.bomHierarchy = "0";
listBom(this.queryParams).then((response) => {
this.bomList = response.rows;
@ -566,6 +566,9 @@ export default {
},
load(tree, treeNode, resolve) {
console.log("treeNode:",treeNode);
console.log("tree:",tree);
console.log("resolve:",resolve);
this.queryParams.pageNum = null;
this.queryParams.pageSize = null;
if(tree.bomHierarchy == " " || tree.bomHierarchy == null){
@ -589,8 +592,8 @@ export default {
listBom(this.queryParams).then(response => {
resolve(response.rows)
})
this.queryParams.bomCode = null;
},
},
};
</script>

Loading…
Cancel
Save