fix:财税-报销单 获取账户列表 传参错误问题

zth
yujinlong 2 weeks ago
parent 750cd388b5
commit 45a9f11ac5

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

Loading…
Cancel
Save