产品上架带出资源描述
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -1260,7 +1260,7 @@ const selectChange = async (val, row, info) => { | ... | @@ -1260,7 +1260,7 @@ const selectChange = async (val, row, info) => { |
| 1260 | const dataInfo = data.length ? data[0] : {}; | 1260 | const dataInfo = data.length ? data[0] : {}; |
| 1261 | currProductInfo.value = dataInfo; | 1261 | currProductInfo.value = dataInfo; |
| 1262 | let coverageArea = (data.length && data[0].coverageArea) ? data[0].coverageArea : []; | 1262 | let coverageArea = (data.length && data[0].coverageArea) ? data[0].coverageArea : []; |
| 1263 | await setFormItems({ ...info, ...dataInfo, coverageArea: coverageArea }); | 1263 | await setFormItems({ ...info, ...dataInfo, coverageArea: coverageArea, content: dataInfo.propertyDescription || dataInfo.sceneDescription || info.content }); |
| 1264 | // formInfo.value.items.forEach((item: any) => { | 1264 | // formInfo.value.items.forEach((item: any) => { |
| 1265 | // if (item.field == 'costAssessmentFileInfo') { | 1265 | // if (item.field == 'costAssessmentFileInfo') { |
| 1266 | // item.default = data?.[0]?.assessmentFile || []; | 1266 | // item.default = data?.[0]?.assessmentFile || []; | ... | ... |
-
Please register or sign in to post a comment