opt:越南富佳优化增导出功能

This commit is contained in:
2025-11-21 16:37:00 +08:00
parent 85d349eda2
commit eb4f82025a
7 changed files with 14 additions and 12 deletions

View File

@@ -440,7 +440,8 @@ public class BigScreenServiceImpl implements BigScreenService {
// 库位数量
QueryWrapper<Structattr> structattrWrapper = new QueryWrapper<>();
structattrWrapper.lambda().eq(Structattr::getStor_code, storCode)
.eq(Structattr::getIs_used, Boolean.TRUE);
.eq(Structattr::getIs_used, Boolean.TRUE)
.ne(Structattr::getSect_code,"SSX");
stats.put("locationCount", iStructattrService.count(structattrWrapper));
// 在库数量

View File

@@ -480,7 +480,8 @@ public class PdaBigScreenServiceImpl implements PdaBigScreenService {
// 库位数量
QueryWrapper<Structattr> structattrWrapper = new QueryWrapper<>();
structattrWrapper.lambda().eq(Structattr::getStor_code, storCode)
.eq(Structattr::getIs_used, Boolean.TRUE);
.eq(Structattr::getIs_used, Boolean.TRUE)
.ne(Structattr::getSect_code,"SSX");
stats.put("locationCount", iStructattrService.count(structattrWrapper));
// 在库数量

View File

@@ -27,21 +27,21 @@ export function edit(data) {
export function getFormType() {
return request({
url: 'api/bmFormStruc/getTypes',
method: 'get',
method: 'get'
})
}
export function getParentFormTypes() {
return request({
url: 'api/bmFormStruc/getParentFormTypes',
method: 'get',
method: 'get'
})
}
export function getSonFormData(id) {
return request({
url: 'api/pmFormData/getSonFormData/' + id,
method: 'get',
method: 'get'
})
}
@@ -54,4 +54,4 @@ export function exportFile(query) {
})
}
export default {add, edit, del, getFormType, getParentFormTypes, getSonFormData}
export default { add, edit, del, getFormType, getParentFormTypes, getSonFormData }

View File

@@ -304,7 +304,7 @@ export default {
const fileName = `入库管理导出${year}${month}${day}.xlsx`
if (this.query.createTime) {
this.query.start_time = this.query.createTime[0]
this.query.begin_time= this.query.createTime[0]
this.query.begin_time = this.query.createTime[0]
if (this.query.createTime.length > 1) {
this.query.end_time = this.query.createTime[1]
}

View File

@@ -297,7 +297,7 @@ export default {
const fileName = `出库管理导出${year}${month}${day}.xlsx`
if (this.query.createTime) {
this.query.start_time = this.query.createTime[0]
this.query.begin_time= this.query.createTime[0]
this.query.begin_time = this.query.createTime[0]
if (this.query.createTime.length > 1) {
this.query.end_time = this.query.createTime[1]
}