国内库查询
This commit is contained in:
@@ -3576,7 +3576,7 @@ export default {
|
||||
// },
|
||||
// 清空搜索框
|
||||
clearAllSearch(flag) {
|
||||
if (flag === 'sarStandardsSearch') {
|
||||
if (flag === 'sarStandardsSearch' || flag === 'standCommonlySearch') {
|
||||
// 标准搜索
|
||||
this.sarStandardsSearch.country = ''
|
||||
this.sarStandardsSearch.standSort = ''
|
||||
@@ -3593,7 +3593,7 @@ export default {
|
||||
this.sarStandardsSearch.synopsis = ''
|
||||
this.sarStandardsSearch.category = ''
|
||||
this.isAdvancedSearch = false
|
||||
} else if (flag === 'standCommonlySearch') {
|
||||
// } else if (flag === 'standCommonlySearch') {
|
||||
this.standCommonlySearch.standName = ''
|
||||
this.standCommonlySearch.standNumber = ''
|
||||
this.pageChange(1)
|
||||
@@ -4272,7 +4272,12 @@ export default {
|
||||
this.sarStandardsSearch.page = page
|
||||
}
|
||||
this.standCommonlySearch.page = page
|
||||
this.getDomesticStandardTable(this.standCommonlySearch)
|
||||
if (this.sarStandardsSearch) {
|
||||
this.getDomesticStandardTable(this.sarStandardsSearch)
|
||||
} else {
|
||||
this.getDomesticStandardTable(this.standCommonlySearch)
|
||||
}
|
||||
|
||||
},
|
||||
// 分页每页显示数改变后方法
|
||||
pageSizeChange(pageSize) {
|
||||
@@ -4283,6 +4288,7 @@ export default {
|
||||
},
|
||||
// 分页查询国内标准
|
||||
getDomesticStandardTable(item) {
|
||||
console.log(item)
|
||||
if (item !== '' && item !== null && item !== undefined) {
|
||||
item.pageSize = this.$store.getters.userInfo.configContent
|
||||
}
|
||||
@@ -4293,6 +4299,7 @@ export default {
|
||||
}
|
||||
// this.sarStandardsSearch.menuId = this.selectSarMenu.id
|
||||
const formData = {...data}
|
||||
console.log(formData)
|
||||
if (!item) {
|
||||
formData.menuId = this.sarStandardsSearch.menuId
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user