Commit ddbdb81d by 张立顺

样式修改

1 parent d1430a30
...@@ -311,13 +311,13 @@ export default { ...@@ -311,13 +311,13 @@ export default {
if (val.recordType == 1) { if (val.recordType == 1) {
val.content = `【${val.recordType == 1 ? '删除' : '修改'}】状态:${val.useStatus ? '禁用' : '启用'},投保成本${val.insuranceCost}元,上架成本${val.shelfCost}元,嘀加成本${val.salesCost}元,` val.content = `【${val.recordType == 1 ? '删除' : '修改'}】状态:${val.useStatus ? '禁用' : '启用'},投保成本${val.insuranceCost}元,上架成本${val.shelfCost}元,嘀加成本${val.salesCost}元,`
val?.deleteList?.forEach((v, index) => { val?.deleteList?.forEach((v, index) => {
childContent = `${v.fieldName}${v.beforeValue}${v.valueUnit}${index < val?.detailList?.length - 1 ? ',' : ''}` childContent = `${v.fieldName}${v.beforeValue}${v.valueUnit || ''}${index < val?.deleteList?.length - 1 ? ',' : ''}`
val.content += childContent val.content += childContent
}) })
} else { } else {
val?.detailList?.forEach((v, index) => { val?.detailList?.forEach((v, index) => {
val.content = `【${val.recordType == 1 ? '删除' : '修改'}】状态:${val.useStatus ? '禁用' : '启用'},` val.content = `【${val.recordType == 1 ? '删除' : '修改'}】状态:${val.useStatus ? '禁用' : '启用'},`
childContent = `${v.fieldName}由${v.beforeValue}${v.valueUnit}变为${v.afterValue}${v.valueUnit}${index < val?.detailList?.length - 1 ? ',' : ''}` childContent = `${v.fieldName}由${v.beforeValue}${v.valueUnit || ''}变为${v.afterValue}${v.valueUnit || ''}${index < val?.detailList?.length - 1 ? ',' : ''}`
val.content += childContent val.content += childContent
}) })
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!