Commit e08aa9d3 authored by 华国豪's avatar 华国豪 🙄

修复资金调拨单不显示驳回、审核结束标签问题

parent a697a4f4
......@@ -654,6 +654,7 @@ export default {
GetDetail:{
AuditSteps:[]
},
endDate: ''
}
},
create(){
......@@ -667,7 +668,16 @@ export default {
getList(){
this.apipost('Financial_get_GetFundTransfer', this.msg, res => {
if(res.data.resultCode == 1) {
this.dataList=res.data.data;
this.dataList = res.data.data;
this.GetDetail = this.dataList
if(this.dataList.Status==2){
let len = this.dataList.AuditSteps.length - 1;
let sLen = this.dataList.AuditSteps[len].AuditRecordList[this.dataList.AuditSteps[len].AuditRecordList.length-1];
let begTime = this.dataList.AuditSteps[0].AuditRecordList[0].AduitDate;
let enTime = sLen && sLen.AduitDate ? sLen.AduitDate : begTime;
let newTime = this.$commonUtils.formatMsgTime2(begTime,enTime);
this.endDate = newTime.replace("前","");
}
this.dataList.AuditSteps.forEach(y=>{
if(y.Sort>0){
y.contentTips = y.AuditDescription+(y.AuditWay=='2'? this.$t('fnc.huiqian') : this.$t('fnc.huoqian'));
......
......@@ -1006,7 +1006,6 @@ export default {
this.$message.error(res.data.message);
}
this.queryInfoInit();
this.currentPage = res.data.data.pageCount
},err=>{})
},
financeRemove(id){//作废
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment