|
@@ -813,7 +813,7 @@ import { isArray } from "@/utils/validate";
|
|
import { addSet, select, resetModule } from "@/api/system/set";
|
|
import { addSet, select, resetModule } from "@/api/system/set";
|
|
import Cookies from "js-cookie";
|
|
import Cookies from "js-cookie";
|
|
import draggable from "vuedraggable";
|
|
import draggable from "vuedraggable";
|
|
-import { treeselect } from "@/api/system/dept";
|
|
|
|
|
|
+import { treeselect, belongSelect} from "@/api/system/dept";
|
|
import upLoad from "@/views/Warehousing/components/upLoad";
|
|
import upLoad from "@/views/Warehousing/components/upLoad";
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
@@ -1073,7 +1073,10 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getTreeselect() {
|
|
getTreeselect() {
|
|
- treeselect().then((response) => {
|
|
|
|
|
|
+ // treeselect().then((response) => {
|
|
|
|
+ // this.deptOptions = response.data;
|
|
|
|
+ // });
|
|
|
|
+ belongSelect().then((response) => {
|
|
this.deptOptions = response.data;
|
|
this.deptOptions = response.data;
|
|
});
|
|
});
|
|
},
|
|
},
|