Browse Source

领料出库

1 năm trước cách đây
mục cha
commit
04c2612fbb
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/views/store/outstoreform/modules/BaseFormYY.vue

+ 4 - 1
src/views/store/outstoreform/modules/BaseFormYY.vue

@@ -431,7 +431,10 @@ export default {
       this.data = record.detailList
     },
     setTree (record = {}) {
-      fetchSbTypeTree({ type: 1 }).then((res) => {
+      console.log(111)
+      fetchSbTypeTree().then((res) => {
+        this.treeData = res.data
+        console.log(this.treeData)
         this.treeData = res.data.map( item =>{
           item.selectable = item.children == null
           return item