|
@@ -116,7 +116,7 @@
|
|
|
:columns="fabricLossesColumns"
|
|
|
:data-source="fabricLossesData"
|
|
|
:loading="loading"
|
|
|
- :pagination="pagination"
|
|
|
+ :pagination="ipagination"
|
|
|
:scroll="{ x: 1200 }"
|
|
|
@change="handleTableChange"
|
|
|
>
|
|
@@ -274,9 +274,6 @@ export default {
|
|
|
// customerShortame: '',
|
|
|
pageNo: '' // 点击的页数
|
|
|
},
|
|
|
- // 分页
|
|
|
- pagination: {
|
|
|
- },
|
|
|
dateFormat: 'YYYY-MM-DD',
|
|
|
loading: false, // 表格加载
|
|
|
apply:"",
|
|
@@ -291,10 +288,12 @@ export default {
|
|
|
// 分页查询
|
|
|
getCostList() {
|
|
|
this.$nextTick(() => {
|
|
|
+ this.loading = true
|
|
|
checkList(this.queryParam).then(res => {
|
|
|
+ this.loading = false
|
|
|
if (res.success) {
|
|
|
this.fabricLossesData = res.result.records
|
|
|
- this.pagination = {
|
|
|
+ this.ipagination = {
|
|
|
total: res.result.total,
|
|
|
current: res.result.current,
|
|
|
pageSize: res.result.size
|