Commit 929cf7a5 authored by 仇晓婷's avatar 仇晓婷

产品bom

parent 7e87c011
......@@ -170,6 +170,7 @@ export default {
this.entity.productUrl = liUrl;
},
handleSelect1(data) {
console.log(data)
if (data.length > 0) {
this.selectdata1 = [];
this.selectdata1 = data;
......
......@@ -81,7 +81,7 @@ export default {
await store.dispatch("loadDictionary"); // 加载数据字典
},
created() {
// this.getTree();
this.getTree();
},
methods: {
getTree() {
......
......@@ -224,9 +224,7 @@ export default {
},
componayId(v) {
if (v != null) {
var url = `${designUrl}/productlevel/getdepartmentstree`;
service.get(`${url}`).then(response => {
var arr = response.result;
var arr = this.data2;
var id = this.componayId;
var returnedItem = "";
var finds = function(arr, id) {
......@@ -243,7 +241,6 @@ export default {
finds(arr, id);
this.label = returnedItem;
this.value = id;
});
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment