table 加载
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
<Table
|
||||
style="margin-top: 20px"
|
||||
|
||||
:loading="loading"
|
||||
size="small"
|
||||
border
|
||||
:columns="columns"
|
||||
@@ -59,6 +59,7 @@ import { pageingData, export_col_to_excel, sortByKey } from "@/libs/tools";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
PageSizeOpts: [10, 15, 20, 30],
|
||||
pageNo: 1,
|
||||
strfilter: "",
|
||||
@@ -311,10 +312,12 @@ export default {
|
||||
inv_std: this.filter.inv_std,
|
||||
so_code: this.filter.so_code,
|
||||
};
|
||||
this.loading=true;
|
||||
let resp = await getInventorymonth(_filert);
|
||||
this.pageNo = 1;
|
||||
this.datas = sortByKey(resp.data.data, "cInvCode");
|
||||
} catch (error) {}
|
||||
finally{this.loading=false;}
|
||||
},
|
||||
handlePagechange(page) {
|
||||
this.pageNo = page;
|
||||
|
||||
Reference in New Issue
Block a user