Commit 219ae851 by zhangxw

bug修复

1 parent 4cd957c2
...@@ -400,9 +400,9 @@ export default { ...@@ -400,9 +400,9 @@ export default {
if (!specialCondition(item)) return false if (!specialCondition(item)) return false
const value = item[field.key] const value = item[field.key]
if (field.isArray) { if (field.isArray) {
return !value || value.length === 0 return (value ?? '') === '' || value.length === 0
} }
return !value return (value ?? '') === ''
}) })
if (flagItem) { if (flagItem) {
......
...@@ -907,11 +907,11 @@ export default { ...@@ -907,11 +907,11 @@ export default {
[claimsId]: this.orderMsg.id, [claimsId]: this.orderMsg.id,
[lossType]: item.serviceItemType == 4 ? item.lossTypeList.join(',') : item.lossType, [lossType]: item.serviceItemType == 4 ? item.lossTypeList.join(',') : item.lossType,
[damageType]: item.serviceItemType == 2 && item?.damageType?.length ? item.damageType.join(',') : '', [damageType]: item.serviceItemType == 2 && item?.damageType?.length ? item.damageType.join(',') : '',
[hurtFlag]: item.hurtFlag || '', [hurtFlag]: item.hurtFlag,
[underwritingCompany]: item.underwritingCompany || '', [underwritingCompany]: item.underwritingCompany || '',
[compensationCompany]: item.compensationCompany || '', [compensationCompany]: item.compensationCompany || '',
[accidentTypes]: ([1, 6, 7].includes(item.serviceItemType)) && item.accidentTypes?.length ? item.accidentTypes.join(',') : '', [accidentTypes]: ([1, 6, 7].includes(item.serviceItemType)) && item.accidentTypes?.length ? item.accidentTypes.join(',') : '',
[carType]: item.carType || '', [carType]: item.carType,
[batterySystemFee]: this.handlePrice(item.batterySystemFee), [batterySystemFee]: this.handlePrice(item.batterySystemFee),
[motorFee]: this.handlePrice(item.motorFee), [motorFee]: this.handlePrice(item.motorFee),
[electronicControlSystemFee]: this.handlePrice(item.electronicControlSystemFee), [electronicControlSystemFee]: this.handlePrice(item.electronicControlSystemFee),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!