|
|
@@ -195,6 +195,7 @@ export default {
|
|
|
let total = ref();
|
|
|
let status = ref(1);
|
|
|
async function getVoyageList() {
|
|
|
+ tableData.value = [];
|
|
|
let res = await api.getVoyageList({
|
|
|
cargoOwnerId: 0,
|
|
|
shipId: 0,
|
|
|
@@ -203,7 +204,7 @@ export default {
|
|
|
currentPage: currentPage.value,
|
|
|
size: 10,
|
|
|
});
|
|
|
-
|
|
|
+ term.value = "";
|
|
|
if (res.data.status == 0) {
|
|
|
tableData.value = res.data.result;
|
|
|
} else {
|
|
|
@@ -214,7 +215,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
function changeVoyageType(s) {
|
|
|
- tableData.value = [];
|
|
|
term.value = "";
|
|
|
currentPage.value = 1;
|
|
|
currentbtn.value = s == 1;
|