|
|
@ -51,12 +51,13 @@ |
|
|
|
'locationData', |
|
|
|
oldSkipCountLocation |
|
|
|
)" |
|
|
|
:setUTableHeight="330" |
|
|
|
:setUTableHeight="355" |
|
|
|
:filterPageListParams="[]" |
|
|
|
:formTitle="''" |
|
|
|
:displayDialog="active == 1" |
|
|
|
:selectionTable="false" |
|
|
|
:editHandle="editHandle" |
|
|
|
:buttonsAllIsRight="true" |
|
|
|
:searchTableData="locationData" |
|
|
|
:searchTableColumns="initSearchPageTableColums()" |
|
|
|
:searchTotalCount="totalCountLocation" |
|
|
@ -79,6 +80,7 @@ |
|
|
|
)" |
|
|
|
@tableButtonClick="addFormData(arguments)" |
|
|
|
></searchPage> |
|
|
|
<!-- @filterBtnClickHandle="filterBtnClickHandle" --> |
|
|
|
<!-- 其他参数 --> |
|
|
|
<curren-Form |
|
|
|
v-loading="loading" |
|
|
@ -426,6 +428,25 @@ export default { |
|
|
|
return () => { |
|
|
|
list.SkipCount = (oldSkipCount - 1) * list.MaxResultCount; |
|
|
|
this.tableLoading = true; |
|
|
|
// 盘点库存 过滤线边仓数据 20230703更新 |
|
|
|
// 如果不是Excel盘点类型(this.CreateFormData.requestType != 1),过滤线边仓数据 20230703更新 |
|
|
|
if ( this.CreateFormData.requestType != 1) { |
|
|
|
let _filter = { |
|
|
|
action: "!=", |
|
|
|
column: "type", |
|
|
|
logic: "And", |
|
|
|
value: "5", |
|
|
|
hide:true |
|
|
|
} |
|
|
|
if(this.pageListLocation.condition.filters.length <= 0){ |
|
|
|
this.pageListLocation.condition.filters.push(_filter) |
|
|
|
} |
|
|
|
list.condition.filters.forEach((item,key)=>{ |
|
|
|
if(item.action == '!=' && item.column == 'type' && item.value == '5'){ |
|
|
|
item.hide = true |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
getPageList(list, url) |
|
|
|
.then((res) => { |
|
|
|
this[data] = res.items; |
|
|
@ -553,17 +574,6 @@ export default { |
|
|
|
// 总体信息 |
|
|
|
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", |
|
|
|
hide:true |
|
|
|
}) |
|
|
|
} |
|
|
|
const Function = this.advancedFilter( |
|
|
|
// "basedata/item-basic", |
|
|
|
// this.pageListItemBasic, |
|
|
|