Commit 8e7093e5 authored by youjie's avatar youjie

no message

parent 47262c93
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
<el-row> <el-row>
<el-col :span="15" style="margin-left: 100px;"> <el-col :span="15" style="margin-left: 100px;">
<el-form-item label="公司" prop="BranchId"> <el-form-item label="公司" prop="BranchId">
<el-select filterable v-model='addMsg.BranchId' placeholder="请选择公司再上传文件"> <el-select filterable v-model='addMsg.BranchId' placeholder="请选择公司再上传文件" @change="getID">
<!-- <el-option label="不限" value=0></el-option> --> <!-- <el-option label="不限" value=0></el-option> -->
<el-option v-for="(item,index) in TheAliasList" :label="item.Name" :value='item.Id' :key="index"> <el-option v-for="(item,index) in TheAliasList" :label="item.Name" :value='item.Id' :key="index">
</el-option> </el-option>
...@@ -243,11 +243,7 @@ ...@@ -243,11 +243,7 @@
} }
}, },
created(){ created(){
let userInfo = this.getLocalStorage();
this.importFileUrl2=this.domainManager().UploadFileUrl +
"?cmd=dmc_post_LocalFileUpload&KingdeeBId=0&Type=10&fileType=1&fileLimit=1&EmployeeId="+userInfo.Id
+'&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();
this.Financial_post_GetEduBranchEnumList() this.Financial_post_GetEduBranchEnumList()
...@@ -256,6 +252,15 @@ ...@@ -256,6 +252,15 @@
}, },
methods: { methods: {
getID(ID){
let userInfo = this.getLocalStorage();
this.importFileUrl2=this.domainManager().UploadFileUrl +
"?cmd=dmc_post_LocalFileUpload&Type=10&fileType=1&fileLimit=1&EmployeeId="+userInfo.Id
+'&RB_Group_id='+userInfo.Group_Id +'&KingdeeBId=' + this.addMsg.BranchId
;
// console.log(this.addMsg.BranchId)
// console.log(this.importFileUrl2,'=====')
},
Financial_post_GetEduBranchEnumList() { Financial_post_GetEduBranchEnumList() {
this.apipost('Financial_post_GetEduBranchEnumList', {}, res => { this.apipost('Financial_post_GetEduBranchEnumList', {}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
......
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