解决对账单的单据点击弹出失败的bug

This commit is contained in:
季圣华 2022-02-23 23:41:08 +08:00
parent a523080185
commit 33fe6e807e
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@
this.queryParam.endTime=dateString[1];
},
myHandleDetail(record) {
if(record.type === '收入' || record.type === '收款') {
if(record.type === '收入' || record.type === '支出' || record.type === '收款') {
findFinancialDetailByNumber({ billNo: record.number }).then((res) => {
if (res && res.code === 200) {
this.$refs.modalFinancialDetail.show(res.data, record.type);

View File

@ -181,7 +181,7 @@
this.queryParam.endTime=dateString[1];
},
myHandleDetail(record) {
if(record.type === '支出' || record.type === '付款') {
if(record.type === '收入' || record.type === '支出' || record.type === '付款') {
findFinancialDetailByNumber({ billNo: record.number }).then((res) => {
if (res && res.code === 200) {
this.$refs.modalFinancialDetail.show(res.data, record.type);