|
|
|
@ -966,13 +966,15 @@ const Setheight = () => {
|
|
|
|
|
const tabchange = () => { |
|
|
|
|
onLoad(); |
|
|
|
|
}; |
|
|
|
|
const onLoad = val => { |
|
|
|
|
const onLoad = (isOnLoad = false) => { |
|
|
|
|
let data = { |
|
|
|
|
current: details.page.currentPage, |
|
|
|
|
size: details.page.pageSize, |
|
|
|
|
pageType: tabName.value, |
|
|
|
|
...val, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
isOnLoad && (data.currentPage = 1); |
|
|
|
|
|
|
|
|
|
details.loadingObj.list = true; //开启表格加载 |
|
|
|
|
$_basicdataWarehouse(data) |
|
|
|
|
.then(async res => { |
|
|
|
@ -1081,12 +1083,12 @@ const newlyadd = () => {
|
|
|
|
|
const selectsc = (index, row) => { |
|
|
|
|
console.log(details, 'details'); |
|
|
|
|
processRowProperty(index, row, details); |
|
|
|
|
onLoad(); |
|
|
|
|
onLoad(true); |
|
|
|
|
}; |
|
|
|
|
/** 表格表头输入框搜索 */ |
|
|
|
|
const inputsc = (index, row) => { |
|
|
|
|
processRowProperty(index, row, details); |
|
|
|
|
onLoad(); |
|
|
|
|
onLoad(true); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// 批量删除 |
|
|
|
|