添加 账户简称
This commit is contained in:
@@ -653,15 +653,14 @@
|
||||
@change="
|
||||
(val) =>
|
||||
(payment.account_id =
|
||||
(accountOptions || []).find((x: any) => x.account_number === val)?.id ||
|
||||
'')
|
||||
(accountOptions || []).find((x: any) => x.short_desc === val)?.id || '')
|
||||
"
|
||||
>
|
||||
<ElOption
|
||||
v-for="item in accountOptions"
|
||||
:key="item.id"
|
||||
:label="item.account_number"
|
||||
:value="item.account_number"
|
||||
:label="item.short_desc"
|
||||
:value="item.id"
|
||||
/>
|
||||
</ElSelect>
|
||||
<ElInput v-model="payment.account_id" type="hidden" />
|
||||
|
||||
Reference in New Issue
Block a user