Browse Source

盘点新增库存筛选条件bug处理

dev_web_online
安虹睿 2 years ago
parent
commit
fae8ad4456
  1. 2
      fe/PC/public/version.json
  2. 23
      fe/PC/src/components/StepsCountPlanForm/index.vue

2
fe/PC/public/version.json

@ -1,3 +1,3 @@
{ {
"version": "1.0.29" "version": "1.0.31"
} }

23
fe/PC/src/components/StepsCountPlanForm/index.vue

@ -412,17 +412,6 @@ export default {
// //
advancedFilter(url, list, TotalCount, data, oldSkipCount) { advancedFilter(url, list, TotalCount, data, oldSkipCount) {
return () => { return () => {
// 线 20230417
// Excel(this.CreateFormData.requestType != 1)线 20230626
list.condition.filters = []
if (data == 'locationData' && this.CreateFormData.requestType != 1) {
list.condition.filters.push({
action: "!=",
column: "type",
logic: "And",
value: "5"
})
}
list.SkipCount = (oldSkipCount - 1) * list.MaxResultCount; list.SkipCount = (oldSkipCount - 1) * list.MaxResultCount;
this.tableLoading = true; this.tableLoading = true;
getPageList(list, url) getPageList(list, url)
@ -540,6 +529,7 @@ export default {
// //
editFormClick(val) { editFormClick(val) {
// Moment(this.CreateFormData.arriveTime).format() // Moment(this.CreateFormData.arriveTime).format()
console.log(543,val)
if (val[0] == 0) { if (val[0] == 0) {
if (this.active == 0) { if (this.active == 0) {
this.close(0); this.close(0);
@ -551,6 +541,17 @@ export default {
if (valid) { if (valid) {
// //
if (this.active == 0) { if (this.active == 0) {
this.pageListLocation.condition.filters = []
// 线 20230417
// Excel(this.CreateFormData.requestType != 1)线 20230626
if ( this.CreateFormData.requestType != 1) {
this.pageListLocation.condition.filters.push({
action: "!=",
column: "type",
logic: "And",
value: "5"
})
}
const Function = this.advancedFilter( const Function = this.advancedFilter(
// "basedata/item-basic", // "basedata/item-basic",
// this.pageListItemBasic, // this.pageListItemBasic,

Loading…
Cancel
Save