Merge branch 'WarehouseArticle/import' into 'master'
fixed distributor loading See merge request fronk/thetool!1954
This commit is contained in:
@@ -269,7 +269,7 @@ Vue.component('warehouse-article-distributor', {
|
|||||||
methods: {
|
methods: {
|
||||||
async fetchAllDistributors() {
|
async fetchAllDistributors() {
|
||||||
const res = await axios.post(`${window['TT_CONFIG']['BASE_PATH']}/WarehouseDistributor/get`, {
|
const res = await axios.post(`${window['TT_CONFIG']['BASE_PATH']}/WarehouseDistributor/get`, {
|
||||||
pagination: false,
|
pagination: { per_page: 10000 },
|
||||||
order: { key: 'name', order: 'ASC' }
|
order: { key: 'name', order: 'ASC' }
|
||||||
});
|
});
|
||||||
this.allDistributors = res.data.rows || [];
|
this.allDistributors = res.data.rows || [];
|
||||||
|
|||||||
Reference in New Issue
Block a user