Browse Source

修改备货入库仓库查询

fix_bug_pro20231227
caoyizhong 2 years ago
parent
commit
6fc15967c3
  1. 10
      src/api/basicdata/basicdataWarehouse.js
  2. 1
      src/views/distribution/stockup/distributionStockup.vue
  3. 1
      src/views/distribution/stockup/distributionStockupDiscuss.vue
  4. 1
      src/views/distribution/stockup/distributionStockupMarket.vue
  5. 1
      src/views/distribution/stockup/distributionStockupSelf.vue
  6. 21
      src/views/warehouse/warehousingentry/warehouseWarehouseingAddReceipt.vue
  7. 2
      src/views/warehouse/warehousingentry/warehouseWarehousingEntry.vue

10
src/api/basicdata/basicdataWarehouse.js

@ -39,6 +39,16 @@ export const getDeptWarehouse = (params) => { //查询部门下的仓库
})
}
export const getDetailWarehouse = (params) => { //查询部门下的仓库
return request({
url: '/api/logpm-basicdata/warehouse/detailWarehouse',
method: 'get',
params: {
...params,
}
})
}
export const getListBinName = (current, size, params) => {
return request({
url: '/api/logpm-basicdata/warehouse/list',

1
src/views/distribution/stockup/distributionStockup.vue

@ -617,7 +617,6 @@ export default {
});
this.forkliftData = fo;
this.deptId = res.data.data.deptId;
})
await this.getStorageArea();
await this.getTeam();

1
src/views/distribution/stockup/distributionStockupDiscuss.vue

@ -744,7 +744,6 @@ export default {
});
this.forkliftData = fo;
this.deptId = res.data.data.deptId;
})
await this.getStorageArea();
await this.getTeam();

1
src/views/distribution/stockup/distributionStockupMarket.vue

@ -684,7 +684,6 @@ export default {
});
this.forkliftData = fo;
this.deptId = res.data.data.deptId;
})
await this.getStorageArea();
await this.getTeam();

1
src/views/distribution/stockup/distributionStockupSelf.vue

@ -682,7 +682,6 @@ export default {
});
this.forkliftData = fo;
this.deptId = res.data.data.deptId;
})
await this.getStorageArea();
await this.getTeam();

21
src/views/warehouse/warehousingentry/warehouseWarehouseingAddReceipt.vue

@ -445,11 +445,9 @@ import {
import option from '@/option/warehouse/warehouseWarehousingDetail';
import { mapGetters, mapMutations } from 'vuex';
import { getDictionaryBiz } from '@/api/system/dict';
import { getListUser } from '@/api/distribution/distributionStockup';
import { getListClient } from '@/api/basicdata/basicClient';
import { getDept } from '@/api/system/dept';
import { getListMaterial } from '@/api/basic/basicMaterial';
import { getListCopy } from '@/api/basicdata/basicdataWarehouse';
import { getDetailWarehouse, getListCopy } from '@/api/basicdata/basicdataWarehouse';
import { getListIdsName } from '@/api/basicdata/basicdataStoreBrand';
import { getListName } from '@/api/basicdata/basicdataStoreBusiness';
@ -1205,19 +1203,12 @@ export default {
* @returns {Promise<void>}
*/
async getWareHoust(page, params = {}) {
let a = await getListUser();
let b = await getDept(a.data.data.deptId);
// console.log("aaa",a);
// console.log("bbb",b);
//
let sl = {};
if (b.data.data.deptCategory == '4') {
sl.department = b.data.data.id;
}
let li = await getListCopy(page.currentPage, page.pageSize, sl);
// console.log("li>>>>",li.data.data);
let sl ={};
let li = await getDetailWarehouse( sl);
console.log("li>>>>",li.data.data);
this.store = [];
li.data.data.records.forEach(i => {
li.data.data.forEach(i => {
let st = {
label: i.name,
value: i.id,

2
src/views/warehouse/warehousingentry/warehouseWarehousingEntry.vue

@ -648,7 +648,9 @@ export default {
this.website.tokenHeader
}=${getToken()}`
).then(res => {
// console.log("",res.data);
downloadXls(res.data, '入库物品数据模板.xlsx');
// window.open("http://192.168.10.100:9000/htlogpm/upload/20230926/f40fc92786ace87e993399454d4468f1.xlsx",'_blank')
});
},
handleImport() {

Loading…
Cancel
Save