同比旁边加/ 表单searchtype问题

This commit is contained in:
mll
2026-05-08 11:39:20 +08:00
parent 41a1d6f433
commit 7a09ec4481
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@
<template v-for="prop in Object.keys(textAlignFiels)" :key="prop" #[`${prop}`]="scope">
<div v-if="textAlignFiels[prop]" >
<span>
{{scope.row[prop]}}
{{scope.row[prop]}}/
<div>{{scope.row[newProps[prop]]}}</div>
</span>
</div>

View File

@@ -140,7 +140,7 @@ const initColumn = (data, componentData, columnParams) => {
label: t(`${tableId}.${fieldCode}`),
prop: fieldCode,
type: controlType,
searchType: fieldName == '年'?'year' : controlType,
searchType: fieldName == '年'?'year' : undefined,
valueFormat: fieldName == '年'?'YYYY' : undefined,
span,
display: isShowForm == 'Y',