|
|
@ -21,7 +21,7 @@ const rowRef = ref({ |
|
|
|
const cdfValue = computed({ |
|
|
|
const cdfValue = computed({ |
|
|
|
get: () => { |
|
|
|
get: () => { |
|
|
|
if (vModel.value.uidt === UITypes.MultiSelect || vModel.value.uidt === UITypes.SingleSelect) { |
|
|
|
if (vModel.value.uidt === UITypes.MultiSelect || vModel.value.uidt === UITypes.SingleSelect) { |
|
|
|
return (vModel.value.cdf ?? '').replaceAll("'", '') |
|
|
|
return (vModel.value.cdf ?? '').replace(/^'|'$/g, '') |
|
|
|
} else if ( |
|
|
|
} else if ( |
|
|
|
vModel.value.uidt === UITypes.SingleLineText || |
|
|
|
vModel.value.uidt === UITypes.SingleLineText || |
|
|
|
vModel.value.uidt === UITypes.LongText || |
|
|
|
vModel.value.uidt === UITypes.LongText || |
|
|
@ -33,7 +33,7 @@ const cdfValue = computed({ |
|
|
|
vModel.value.uidt === UITypes.Year || |
|
|
|
vModel.value.uidt === UITypes.Year || |
|
|
|
vModel.value.uidt === UITypes.Date |
|
|
|
vModel.value.uidt === UITypes.Date |
|
|
|
) { |
|
|
|
) { |
|
|
|
return (vModel.value.cdf ?? '').replace(/^'/, '').replace(/'$/, '') |
|
|
|
return (vModel.value.cdf ?? '').replace(/^'|'$/g, '') |
|
|
|
} |
|
|
|
} |
|
|
|
return vModel.value.cdf |
|
|
|
return vModel.value.cdf |
|
|
|
}, |
|
|
|
}, |
|
|
|