diff --git a/apps/hand-factory/pages/todo/index.vue b/apps/hand-factory/pages/todo/index.vue index e7a0657..59d93b1 100644 --- a/apps/hand-factory/pages/todo/index.vue +++ b/apps/hand-factory/pages/todo/index.vue @@ -42,7 +42,7 @@ this.mapDataFields(row)) + console.log('映射后的数据:', { mappedRows, total: this.total }) if (isLoadMore) { - this.list = [...this.list, ...rows] + this.list = [...this.list, ...mappedRows] } else { - this.list = rows + this.list = mappedRows } // 更新待贴标签数量 @@ -249,7 +277,7 @@ export default { // 查看记录 handleViewRecord(coilInfo) { - const coilId = coilInfo.coilId || coilInfo.materialCoilId + const coilId = coilInfo.coilId if (!coilId) { uni.showToast({ title: '无法获取钢卷ID', @@ -262,7 +290,7 @@ export default { // 查看详情 handleViewDetail(coilInfo) { - const coilId = coilInfo.coilId || coilInfo.materialCoilId + const coilId = coilInfo.coilId if (!coilId) { uni.showToast({ title: '无法获取钢卷ID',