Commit c2b5d2b4 authored by guoyou's avatar guoyou

旅游订单管理公司联动

parent b28c1092
...@@ -173,6 +173,7 @@ ...@@ -173,6 +173,7 @@
formatDate formatDate
} from '../../../utils/dateFormattor'; } from '../../../utils/dateFormattor';
import {getAllCompany } from 'api/base_info/branch_company'
export default { export default {
name: 'branchCompanyStock', name: 'branchCompanyStock',
components: { components: {
...@@ -348,6 +349,9 @@ ...@@ -348,6 +349,9 @@
} }
} }
this.getList(); this.getList();
getAllCompany(codeAndBranchCompany => {
this.allBranchCompany = codeAndBranchCompany;
});
this.btn_del = this.elements['branchCompany/stockApply:btn_delete']; this.btn_del = this.elements['branchCompany/stockApply:btn_delete'];
}, },
computed: { computed: {
...@@ -524,11 +528,11 @@ ...@@ -524,11 +528,11 @@
getProvinceRegions(item) { getProvinceRegions(item) {
this.listQuery.zoneId = item this.listQuery.zoneId = item
this.baranchQuery.zoneId = item this.baranchQuery.zoneId = item
this.listQuery.startCompanyId = undefined; // this.listQuery.startCompanyId = undefined;
getAllBranchCompanyByZoneId(this.baranchQuery) // getAllBranchCompanyByZoneId(this.baranchQuery)
.then(response => { // .then(response => {
this.allBranchCompany = response.data; // this.allBranchCompany = response.data;
}) // })
}, },
getAllBranchCompanyChange(item) { getAllBranchCompanyChange(item) {
this.listQuery.startCompanyId = item this.listQuery.startCompanyId = item
......
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