From 94ebac05e5394173de5eac99a2bc87f7a82fd06f Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期日, 13 八月 2023 22:25:23 +0800 Subject: [PATCH] 1、处理basemodel与dataMap里面大小写不一致问题。 --- Source/UBCS-WEB/src/components/work/BusinessWork.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/work/BusinessWork.vue b/Source/UBCS-WEB/src/components/work/BusinessWork.vue index bfba631..503cf32 100644 --- a/Source/UBCS-WEB/src/components/work/BusinessWork.vue +++ b/Source/UBCS-WEB/src/components/work/BusinessWork.vue @@ -107,12 +107,14 @@ this.editingRow = null; //淇濆瓨 let datas=this.tableData.map(item=> { - let newitem = Object.assign(item, { + let newitem = { codeClassifyOid: item.codeclsfid, templateOid: this.templateId, editInProcess: true, - data: item - }); + data: item, + oid:item.oid, + ts:item.ts + } return newitem; }) batchUpdateCode(datas).then(res => { -- Gitblit v1.9.3