Commit bfbe6eef by chenwq

fix(采购订单): 调整订单详情分页大小和购物车提交数据格式

修改订单详情对话框的分页大小从20调整为10,优化性能
购物车组件提交时仅传递必要字段(id和goodsNumber),减少不必要的数据传输
1 parent debc4a60
......@@ -92,7 +92,7 @@ export default {
dialogShow: {
get() {
if (this.visible) {
this.getDetail({ currentPage: 1, pageSize: 20 })
this.getDetail({ currentPage: 1, pageSize: 10 })
}
return this.visible
},
......
......@@ -417,7 +417,7 @@ export default {
cityName,
areaId,
areaName,
shoppingCarList: this.selectList,
shoppingCarList: this.selectList.map(item => ({ id: item.id, goodsNumber: item.goodsNumber })),
remark: this.remarks
}
// console.log(params)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!