[update] 修改bug80698

This commit is contained in:
lideqin
2024-01-15 14:20:22 +08:00
parent 79a7393d0b
commit 603077a768
@@ -273,19 +273,22 @@ export default {
return obj
}
},
{
{ // 扣分理由
title: this.$t('enterpriseStandardLibrary.reviewMeeting.groundsForDemerit'),
align: 'center',
width: 300,
dataIndex: 'deductionScoreReason',
customRender: (text, row, index) => {
const obj = {
children: <a-input v-model={this.dataSource[index].deductionScoreReason} maxLength={50}
// children: <a-input v-model={this.dataSource[index].deductionScoreReason} maxLength={50}
// title={this.dataSource[index].deductionScoreReason} placeholder={'请输入'}
// onChange={ e => {
// e.target.value = e.target.value.trim()
// this.dataSource[index].deductionScoreReason = e.target.value.trim()
// } }
// />,
children: <a-textarea v-model={this.dataSource[index].deductionScoreReason} maxLength={500}
title={this.dataSource[index].deductionScoreReason} placeholder={'请输入'}
onChange={ e => {
e.target.value = e.target.value.trim()
this.dataSource[index].deductionScoreReason = e.target.value.trim()
} }
/>,
attrs: {}
}