Commit 47262c93 authored by youjie's avatar youjie

no message

parent 8ebd729d
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.importFileUrl2=this.domainManager().UploadFileUrl + this.importFileUrl2=this.domainManager().UploadFileUrl +
"?cmd=dmc_post_LocalFileUpload&KingdeeBId=0&Type=10&fileType=1&fileLimit=1&EmployeeId="+userInfo.Id "?cmd=dmc_post_LocalFileUpload&KingdeeBId=0&Type=10&fileType=1&fileLimit=1&EmployeeId="+userInfo.Id
+'&RB_Group_id='+userInfo.Group_Id +'&BranchId=' + this.addMsg.BranchId +'&RB_Group_id='+userInfo.Group_Id +'&KingdeeBId=' + this.addMsg.BranchId
; ;
this.downList =this.domainManager().LocalTemplateFileDownLoadUrl +"/Upload/Template/未认款导入模板.xls"; this.downList =this.domainManager().LocalTemplateFileDownLoadUrl +"/Upload/Template/未认款导入模板.xls";
this.getList(); this.getList();
......
...@@ -670,11 +670,6 @@ ...@@ -670,11 +670,6 @@
</ul> </ul>
</div> </div>
<div class="_fnDm_content" v-loading='loading'> <div class="_fnDm_content" v-loading='loading'>
<!-- <v-table is-horizontal-resize column-width-drag style="width:100%" :columns="columns" :table-data="DataList"-->
<!-- :filter-method="filterMethod" :row-height='100' @on-custom-comp="customCompFunc" @sort-change="sortChange"-->
<!-- multiple-sort>-->
<!-- &lt;!&ndash; 多个排序 &ndash;&gt;-->
<!-- </v-table>-->
<el-table :data="DataList" border style="width: 100%;font-size: 12px"> <el-table :data="DataList" border style="width: 100%;font-size: 12px">
<el-table-column prop="FrID" label="单号" width="100"> <el-table-column prop="FrID" label="单号" width="100">
<template slot-scope='scope'> <template slot-scope='scope'>
...@@ -1360,100 +1355,20 @@ ...@@ -1360,100 +1355,20 @@
}, err => {}) }, err => {})
}, },
getPageList() { // 获取列表数据 getPageList() { // 获取列表数据
if (!this.msg.ClientID) this.msg.ClientID = 0;
if (!this.msg.ClientType) this.msg.ClientType = 0;
if (!this.msg.CurrencyId) this.msg.CurrencyId = 0;
if (!this.msg.CostTypeID) this.msg.CostTypeID = 0;
if (!this.msg.TemplateId) this.msg.TemplateId = 0;
if (this.msg.RB_Branch_Id === '') this.msg.RB_Branch_Id = -1;
if (!this.msg.RB_Depart_Id) this.msg.RB_Depart_Id = 0;
if (!this.msg.UpdateBy) this.msg.UpdateBy = 0;
if (!this.msg.TCID) this.msg.TCID = 0;
if (!this.msg.OrderID) this.msg.OrderID = 0;
if (!this.msg.Status) this.msg.Status = 0;
if (!this.msg.FrID) this.msg.FrID = 0;
if (!this.msg.Conditon) this.msg.Conditon = 1;
if (!this.msg.TradeWay) this.msg.TradeWay = 0;
if (!this.msg.AccountType) this.msg.AccountType = 0;
if (!this.msg.KJCostTypeId) this.msg.KJCostTypeId = 0;
if (!this.msg.IsSelectKJSetCostType) this.msg.IsSelectKJSetCostType = 0;
this.loading = true; this.loading = true;
// Financial_post_GetALLPageList // Financial_post_GetALLPageList
this.apipost('Financial_post_GetFinanceToKingdeePageList', this.msg, res => { this.apipost('Financial_post_GetFinanceToKingdeePageList', this.msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data.pageData;
let data = res.data.data.pageData.list;
let userInfo = this.getLocalStorage();
data&&data.forEach(x => {
if (("," + userInfo.ActionMenuCode + ",").indexOf(',Finance_CreateByCareOf,') != -1) {
x.isExchange = true
} else {
x.isExchange = false
}
})
this.total = res.data.data.count; this.total = res.data.data.count;
let da = [];
let study = [];
if (this.total == 0) { if (this.total == 0) {
this.DataList = []; this.DataList = [];
} else { }
data&&data.forEach(x => {
x.modelShow = false;
if (x.TCIDList.length > 0) {
if (x.OrderSource == 17) {
da = da.concat(x.TCIDList)
} else if (x.OrderSource == 18) {
study = study.concat(x.TCIDList)
}
}
})
this.DataList = data;
if (da && da.length > 0) {
let str = da.join(',')
getClassNameList({
ClassIds: str
}).then(res => {
this.DataList.forEach(x => {
if (x.TCIDList.length > 0) {
x.TCIDList.forEach(z => {
res.Data.forEach(j => {
if (z == j.ClassId) {
x.TCIDAndTCNUMList.push(j)
}
})
})
}
})
}).catch(() => {})
}
if (study && study.length > 0) {
let str = study.join(',')
queryStudyNameList({
Ids: str
}).then(res => {
this.DataList.forEach(x => {
if (x.TCIDList.length > 0) {
x.TCIDList.forEach(z => {
res.Data.forEach(j => {
if (z == j.ClassId) {
x.TCIDAndTCNUMList.push(j)
}
})
})
}
})
}).catch(() => {})
}
}
this.loading = false; this.loading = false;
} else { } else {
this.loading = false; this.loading = false;
this.$message.error(res.data.message); this.$message.error(res.data.message);
} }
// this.msg.TCID= this.msg.TCID==0?this.msg.TCID:'';
// this.queryInfoInit();
this.currentPage = parseInt(this.msg.pageIndex); this.currentPage = parseInt(this.msg.pageIndex);
}, err => {}) }, err => {})
}, },
......
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