|
|
@@ -6,12 +6,12 @@ import { decryptAES } from '@/utils/websocket/crypto'
|
|
|
import moment from "moment";
|
|
|
|
|
|
// 历史资金流水列表
|
|
|
-export function useBankStatementList() {
|
|
|
+export function useHisAmountStatementList() {
|
|
|
const { getFirstAccountId } = useLoginStore()
|
|
|
const { dataList, total, pageIndex, pageSize, pageCount } = useDataTable<Model.HisAmountLogRsp>()
|
|
|
const loading = shallowRef(false)
|
|
|
|
|
|
- const getBankStatementList = () => {
|
|
|
+ const getHisAmountStatementList = () => {
|
|
|
loading.value = true
|
|
|
return queryHisAmountLog({
|
|
|
data: {
|
|
|
@@ -36,12 +36,12 @@ export function useBankStatementList() {
|
|
|
pageIndex,
|
|
|
pageSize,
|
|
|
pageCount,
|
|
|
- getBankStatementList,
|
|
|
+ getHisAmountStatementList,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// 获取出入金流水列表
|
|
|
-export function getAccountInOutApplyList() {
|
|
|
+export function useAmountStatementList() {
|
|
|
|
|
|
const { getUserId } = useLoginStore()
|
|
|
const { dataList, total, pageIndex, pageSize, pageCount } = useDataTable<Model.AccountOutInApplyRsp>()
|
|
|
@@ -295,7 +295,7 @@ export function useDoBankSign() {
|
|
|
branchbankname: formData.OpenBankName,
|
|
|
bankaccountno: formData.BankAccountNo,
|
|
|
bankid:formData.OpenBankAccId,
|
|
|
- }=bankInfo.value)
|
|
|
+ }=bankInfo.value ?? {})
|
|
|
})
|
|
|
|
|
|
/// 数据
|
|
|
@@ -358,26 +358,10 @@ export function useDoCancelBankSign() {
|
|
|
currency:formData.Currency,
|
|
|
cusbankid:formData.CusBankID,
|
|
|
accountcode:formData.AccountCode,
|
|
|
- }=bankInfo.value)
|
|
|
+ }=bankInfo.value ?? {})
|
|
|
|
|
|
})
|
|
|
|
|
|
- // /// 请求签约信息
|
|
|
- // const request = queryBankAccountSign({
|
|
|
- // data: {
|
|
|
- // userid: getUserId()
|
|
|
- // },
|
|
|
- // success: (res) => {
|
|
|
- // if (res.data.length) {
|
|
|
- // sign.value = res.data
|
|
|
- // const data = res.data[0]
|
|
|
- // formData.Currency = data.currency,
|
|
|
- // formData.CusBankID = data. cusbankid,
|
|
|
- // formData.AccountCode = data. accountcode
|
|
|
- // }
|
|
|
- // }
|
|
|
- // })
|
|
|
-
|
|
|
const cancelSubmit = async () => {
|
|
|
// await request
|
|
|
loading.value = true
|