fix: 智聪记账管理,bug修复。
This commit is contained in:
@@ -150,6 +150,8 @@
|
||||
function getList() {
|
||||
getAccountsAnalysis({...queryParams.value }).then(res => {
|
||||
accountsBalance.value = { ...res.data }
|
||||
secondListData.value=[]
|
||||
listData.value=[]
|
||||
listData.value = listData.value.concat(res.data.accountsBalancesList)
|
||||
secondListData.value = secondListData.value.concat(res.data.creditBalancesList)
|
||||
}).catch(() => {
|
||||
|
||||
@@ -362,6 +362,8 @@ const start = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-
|
||||
function getList() {
|
||||
getDailyExpensesAnalysis({...queryParams.value }).then(res => {
|
||||
account.value = { ...res.data }
|
||||
secondListData.value=[]
|
||||
listData.value=[]
|
||||
listData.value = listData.value.concat(res.data.tableAccountsDateList)
|
||||
secondListData.value = secondListData.value.concat(res.data.accountsList)
|
||||
}).catch(() => {
|
||||
|
||||
@@ -318,6 +318,8 @@ const secondListData = ref([])
|
||||
function getList() {
|
||||
getDebitCardAnalysis({...queryParams.value }).then(res => {
|
||||
debitCardAnalysis.value = { ...res.data }
|
||||
secondListData.value=[]
|
||||
listData.value=[]
|
||||
listData.value = listData.value.concat(res.data.debitCardTableList)
|
||||
secondListData.value = secondListData.value.concat(res.data.debitCardList)
|
||||
}).catch(() => {
|
||||
|
||||
@@ -317,6 +317,8 @@ onLoad(() => {
|
||||
function getList() {
|
||||
getPosStatics({...queryParams.value }).then(res => {
|
||||
debitCardAnalysis.value = { ...res.data }
|
||||
secondListData.value=[]
|
||||
listData.value=[]
|
||||
listData.value = listData.value.concat(res.data.posTableList)
|
||||
secondListData.value = secondListData.value.concat(res.data.posList)
|
||||
}).catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user