1234567891011121314151617181920212223242526272829 |
- import { getStorehouse } from "@/api/system.js"
- export default {
- data() {
- return {
- houseOptions: []
- }
- },
-
- methods: {
- getHouseOptions(orgId) {
- console.log('123123123', orgId);
- this.houseOptions = []
- return getStorehouse({
- orgId
- }).then(resp => {
- if (resp.data) {
- this.houseOptions = resp.data.map(d => {
- return {
- text: d.storehouseName,
- value: d.storehouseId,
- raw: d,
- }
- })
- }
- })
- },
- }
- }
|