Commit 97435f21 by yuzhenWang

Merge branch 'feature-20250827wyz-写业务' into 'dev'

去除证件有效期时间校验

See merge request !67
parents 35a52763 02ea644a
......@@ -69,7 +69,7 @@ const customer = [
timeType: 'daterange',
custom: true,
placeholder: '请选择证件有效期',
required: true,
// required: true,
width:300
}
],
......
......@@ -261,6 +261,7 @@
@change="
handleIsPermanentChange(father, scope.row, column.prop, $event)
"
:disabled="editStatus"
>
<el-radio value="1" size="large"></el-radio>
<el-radio value="0" size="large"></el-radio>
......@@ -1446,16 +1447,16 @@ const handleFormValues = source => {
processedData.forEach(item => {
if (item.key == 'apiCertificateDtoList' && item.data.length > 0) {
item.data.forEach((item1, index) => {
if (!item1.isPermanent || item1.isPermanent == '0') {
if (!item1.certificateStartDate) {
obj1.certificateStartDate = '证件开始时间'
}
if (!item1.certificateEndDate) {
obj1.certificateEndDate = '证件结束时间'
}
} else if (item1.isPermanent == '1' && !item1.certificateStartDate) {
obj1.certificateStartDate = '证件有效时间'
}
// if (!item1.isPermanent || item1.isPermanent == '0') {
// if (!item1.certificateStartDate) {
// obj1.certificateStartDate = '证件开始时间'
// }
// if (!item1.certificateEndDate) {
// obj1.certificateEndDate = '证件结束时间'
// }
// } else if (item1.isPermanent == '1' && !item1.certificateStartDate) {
// obj1.certificateStartDate = '证件有效时间'
// }
for (const key in obj1) {
if (!item1[key]) {
errorFields.value.push({
......
......@@ -423,6 +423,7 @@ const handleRemoteSelectChange = async (row, column, father) => {
//如果险种选择了重疾险,则显示重疾险的输入框
row.insuranceTypeOption.forEach(item => {
if (item.value == row.insuranceType) {
row.sumInsured = ''
if (item.code == 'CATEGORY5934890141') {
row.showSumInsured = true
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment