Compare commits

...

4 Commits

@ -799,7 +799,17 @@ export default {
console.log('textarea fieldName:' + fieldName + "--- " + input.value)
} else {
// value
input.setAttribute('value', input.value)
//
if (this.getForms && this.getForms.includes('资金划拨审批单')) {
const amountFields = ['contractAmount', 'auditAmount', 'previousPayment', 'currentPayment', 'currentDuePayment', 'totalPaid', 'totalPlanned']
if (amountFields.includes(fieldName) && (!input.value || input.value === '')) {
input.setAttribute('value', '0')
} else {
input.setAttribute('value', input.value)
}
} else {
input.setAttribute('value', input.value)
}
}
}
}

Loading…
Cancel
Save