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

zth
yujinlong 6 days ago
parent 750cd388b5
commit 45a9f11ac5

@ -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)

Loading…
Cancel
Save