给报表中的单据展示界面去掉反审核按钮
This commit is contained in:
@@ -241,7 +241,8 @@
|
|||||||
myHandleDetail(record) {
|
myHandleDetail(record) {
|
||||||
findBillDetailByNumber({ number: record.number }).then((res) => {
|
findBillDetailByNumber({ number: record.number }).then((res) => {
|
||||||
if (res && res.code === 200) {
|
if (res && res.code === 200) {
|
||||||
this.handleDetail(res.data, record.newType);
|
this.$refs.modalDetail.isCanBackCheck = false
|
||||||
|
this.handleDetail(res.data, record.newType)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
||||||
import { getNowFormatYear, openDownloadDialog, sheet2blob} from "@/utils/util"
|
import { getNowFormatYear, openDownloadDialog, sheet2blob} from "@/utils/util"
|
||||||
import { getAction } from '@/api/manage'
|
import { getAction } from '@/api/manage'
|
||||||
import {findBySelectCus, findBillDetailByNumber, findFinancialDetailByNumber} from '@/api/api'
|
import {findBySelectCus} from '@/api/api'
|
||||||
import JEllipsis from '@/components/jeecg/JEllipsis'
|
import JEllipsis from '@/components/jeecg/JEllipsis'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
export default {
|
export default {
|
||||||
@@ -179,23 +179,6 @@
|
|||||||
this.queryParam.beginTime=dateString[0];
|
this.queryParam.beginTime=dateString[0];
|
||||||
this.queryParam.endTime=dateString[1];
|
this.queryParam.endTime=dateString[1];
|
||||||
},
|
},
|
||||||
myHandleDetail(record) {
|
|
||||||
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);
|
|
||||||
this.$refs.modalFinancialDetail.title="详情";
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
findBillDetailByNumber({ number: record.number }).then((res) => {
|
|
||||||
if (res && res.code === 200) {
|
|
||||||
this.$refs.modalBillDetail.show(res.data, record.type);
|
|
||||||
this.$refs.modalBillDetail.title="详情";
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
loadData(arg) {
|
loadData(arg) {
|
||||||
//加载数据 若传入参数1则加载第一页的内容
|
//加载数据 若传入参数1则加载第一页的内容
|
||||||
if (arg === 1) {
|
if (arg === 1) {
|
||||||
|
|||||||
@@ -234,7 +234,8 @@
|
|||||||
myHandleDetail(record) {
|
myHandleDetail(record) {
|
||||||
findBillDetailByNumber({ number: record.number }).then((res) => {
|
findBillDetailByNumber({ number: record.number }).then((res) => {
|
||||||
if (res && res.code === 200) {
|
if (res && res.code === 200) {
|
||||||
this.handleDetail(res.data, record.newType);
|
this.$refs.modalDetail.isCanBackCheck = false
|
||||||
|
this.handleDetail(res.data, record.newType)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -234,7 +234,8 @@
|
|||||||
myHandleDetail(record) {
|
myHandleDetail(record) {
|
||||||
findBillDetailByNumber({ number: record.number }).then((res) => {
|
findBillDetailByNumber({ number: record.number }).then((res) => {
|
||||||
if (res && res.code === 200) {
|
if (res && res.code === 200) {
|
||||||
this.handleDetail(res.data, record.newType);
|
this.$refs.modalDetail.isCanBackCheck = false
|
||||||
|
this.handleDetail(res.data, record.newType)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
||||||
import { getNowFormatYear, openDownloadDialog, sheet2blob} from "@/utils/util"
|
import { getNowFormatYear, openDownloadDialog, sheet2blob} from "@/utils/util"
|
||||||
import { getAction } from '@/api/manage'
|
import { getAction } from '@/api/manage'
|
||||||
import {findBySelectSup, findBillDetailByNumber,findFinancialDetailByNumber} from '@/api/api'
|
import {findBySelectSup} from '@/api/api'
|
||||||
import JEllipsis from '@/components/jeecg/JEllipsis'
|
import JEllipsis from '@/components/jeecg/JEllipsis'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
export default {
|
export default {
|
||||||
@@ -179,23 +179,6 @@
|
|||||||
this.queryParam.beginTime=dateString[0];
|
this.queryParam.beginTime=dateString[0];
|
||||||
this.queryParam.endTime=dateString[1];
|
this.queryParam.endTime=dateString[1];
|
||||||
},
|
},
|
||||||
myHandleDetail(record) {
|
|
||||||
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);
|
|
||||||
this.$refs.modalFinancialDetail.title="详情";
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
findBillDetailByNumber({ number: record.number }).then((res) => {
|
|
||||||
if (res && res.code === 200) {
|
|
||||||
this.$refs.modalBillDetail.show(res.data, record.type);
|
|
||||||
this.$refs.modalBillDetail.title="详情";
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
loadData(arg) {
|
loadData(arg) {
|
||||||
//加载数据 若传入参数1则加载第一页的内容
|
//加载数据 若传入参数1则加载第一页的内容
|
||||||
if (arg === 1) {
|
if (arg === 1) {
|
||||||
|
|||||||
@@ -146,6 +146,7 @@
|
|||||||
if(record.fromType === 'bill') {
|
if(record.fromType === 'bill') {
|
||||||
findBillDetailByNumber({ number: record.number }).then((res) => {
|
findBillDetailByNumber({ number: record.number }).then((res) => {
|
||||||
if (res && res.code === 200) {
|
if (res && res.code === 200) {
|
||||||
|
this.$refs.billDetail.isCanBackCheck = false
|
||||||
that.$refs.billDetail.show(res.data, record.type);
|
that.$refs.billDetail.show(res.data, record.type);
|
||||||
that.$refs.billDetail.title="详情";
|
that.$refs.billDetail.title="详情";
|
||||||
}
|
}
|
||||||
@@ -153,6 +154,7 @@
|
|||||||
} else if(record.fromType === 'financial') {
|
} else if(record.fromType === 'financial') {
|
||||||
findFinancialDetailByNumber({ billNo: record.number }).then((res) => {
|
findFinancialDetailByNumber({ billNo: record.number }).then((res) => {
|
||||||
if (res && res.code === 200) {
|
if (res && res.code === 200) {
|
||||||
|
this.$refs.financialDetail.isCanBackCheck = false
|
||||||
that.$refs.financialDetail.show(res.data, record.type);
|
that.$refs.financialDetail.show(res.data, record.type);
|
||||||
that.$refs.financialDetail.title="详情";
|
that.$refs.financialDetail.title="详情";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -158,6 +158,7 @@
|
|||||||
if (res && res.code === 200) {
|
if (res && res.code === 200) {
|
||||||
let type = res.data.depotHeadType
|
let type = res.data.depotHeadType
|
||||||
type = type.replace('其它','')
|
type = type.replace('其它','')
|
||||||
|
this.$refs.modalDetail.isCanBackCheck = false
|
||||||
this.handleDetail(res.data, type)
|
this.handleDetail(res.data, type)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -119,6 +119,7 @@
|
|||||||
this.toFromType = record.fromType
|
this.toFromType = record.fromType
|
||||||
findBillDetailByNumber({ number: record.number }).then((res) => {
|
findBillDetailByNumber({ number: record.number }).then((res) => {
|
||||||
if (res && res.code === 200) {
|
if (res && res.code === 200) {
|
||||||
|
this.$refs.billDetail.isCanBackCheck = false
|
||||||
that.$refs.billDetail.show(res.data, record.type);
|
that.$refs.billDetail.show(res.data, record.type);
|
||||||
that.$refs.billDetail.title="详情";
|
that.$refs.billDetail.title="详情";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user