fix: 优化列表数据显示

This commit is contained in:
lonewolfyx 2026-03-05 16:37:08 +08:00
parent 7dd0b7460e
commit 730b48b2c1
2 changed files with 16 additions and 16 deletions

View File

@ -27,14 +27,14 @@
<text>货主:</text>
<text>{{ item.companyName }}</text>
</view>
<view class="label">
<text>状态:</text>
<text>{{ item.stateText }}</text>
</view>
<view class="label">
<text>制单日期:</text>
<text>{{ formatDate(item.adddate) }}</text>
</view>
<!-- <view class="label">-->
<!-- <text>状态:</text>-->
<!-- <text>{{ item.stateText }}</text>-->
<!-- </view>-->
<!-- <view class="label">-->
<!-- <text>制单日期:</text>-->
<!-- <text>{{ formatDate(item.adddate) }}</text>-->
<!-- </view>-->
<view class="label">
<text>订单金额:</text>
<text>{{ item.contractmoney.toFixed(2) }}</text>

View File

@ -53,13 +53,13 @@
}"
:status="'no-more'"
/>
<MBPagination
v-if="total > 0"
v-model:limit="paging.pageSize"
v-model:page="paging.pageNum"
:total="total"
@pagination="handleQuery"
/>
<!-- <MBPagination-->
<!-- v-if="total > 0"-->
<!-- v-model:limit="paging.pageSize"-->
<!-- v-model:page="paging.pageNum"-->
<!-- :total="total"-->
<!-- @pagination="handleQuery"-->
<!-- />-->
</view>
</view>
</template>
@ -88,7 +88,7 @@ const loading = ref(true)
const total = ref(0)
const paging = ref({
pageNum: 1,
pageSize: 10,
pageSize: 99999,
isAsc: 'descending',
orderByColumn: 'adddate'
})