|
|
|
@ -3,8 +3,10 @@ import moment from 'moment'
|
|
|
|
|
import { numberThousandFormat, digitUppercase } from '/@/utils/commonUtil'
|
|
|
|
|
import { BillItem } from '../columns'
|
|
|
|
|
import { GetClientBankList } from '../api'
|
|
|
|
|
import { h, nextTick } from 'vue'
|
|
|
|
|
import { h, nextTick, computed } from 'vue'
|
|
|
|
|
import { getDictDropDown } from '/@/api/common'
|
|
|
|
|
import { useUserStore } from '/@/store/modules/user'
|
|
|
|
|
const userInfo = computed(() => useUserStore().getUserInfo)
|
|
|
|
|
|
|
|
|
|
export type PageType = '' | 'ADD' | 'EDIT' | 'VIEW' | 'AUDIT'
|
|
|
|
|
|
|
|
|
@ -186,8 +188,7 @@ export const getDetailForm = (type: PageType): FormSchema[] => {
|
|
|
|
|
return new Promise((resolve) => {
|
|
|
|
|
GetClientBankList({
|
|
|
|
|
pageCondition: { sortConditions: [] },
|
|
|
|
|
queryCondition:
|
|
|
|
|
'[{"FieldName":"clientId","FieldValue":"1844556123181551616","ConditionalType":1}]',
|
|
|
|
|
queryCondition: `[{"FieldName":"clientId","FieldValue":${userInfo.value.userId},"ConditionalType":1}]`,
|
|
|
|
|
}).then((res) => {
|
|
|
|
|
const dataResult = res?.data || []
|
|
|
|
|
const defaultData = dataResult.find((item) => item.isInvoiceDefault)
|
|
|
|
|