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>货主:</text>
<text>{{ item.companyName }}</text> <text>{{ item.companyName }}</text>
</view> </view>
<view class="label"> <!-- <view class="label">-->
<text>状态:</text> <!-- <text>状态:</text>-->
<text>{{ item.stateText }}</text> <!-- <text>{{ item.stateText }}</text>-->
</view> <!-- </view>-->
<view class="label"> <!-- <view class="label">-->
<text>制单日期:</text> <!-- <text>制单日期:</text>-->
<text>{{ formatDate(item.adddate) }}</text> <!-- <text>{{ formatDate(item.adddate) }}</text>-->
</view> <!-- </view>-->
<view class="label"> <view class="label">
<text>订单金额:</text> <text>订单金额:</text>
<text>{{ item.contractmoney.toFixed(2) }}</text> <text>{{ item.contractmoney.toFixed(2) }}</text>

View File

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