diff --git a/src/views/oa_arrival/edit.vue b/src/views/oa_arrival/edit.vue index 38e2dc1..6f6b37c 100644 --- a/src/views/oa_arrival/edit.vue +++ b/src/views/oa_arrival/edit.vue @@ -51,14 +51,14 @@ - - {{ formData.is_cash }} + + {{ formData.is_cash_text }} {{ (+formData.amount) - (+formData.enter_amount) }} - {{ formData.is_cash_text }} + {{ formData.enter_amount }} @@ -223,6 +223,9 @@ const fdz = async () => { const amountChange = (index) => { + if (+ detail.value[index].amount < 0) { + return detail.value[index].amount = '' + } detail.value[index].amount = (+detail.value[index].amount).toFixed(2) }