Commit 5644c837 authored by huangyuanyuan's avatar huangyuanyuan

现金账户新增导出

parent 2dc8ac64
......@@ -136,7 +136,7 @@
<li>
<input type="button" class="hollowFixedBtn" :value="$t('fnc.a_hbdanju')" @click="addChuNaFun"/>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="getList()"/>
<!-- <input type="button" class="normalBtn" :value="$t('visa.v_daochu')" /> -->
<input type="button" class="normalBtn" :value="$t('visa.v_daochu')" @click="Export()"/>
</li>
</ul>
</div>
......@@ -472,8 +472,10 @@ export default {
count:0,
allBPrice:0,
allWPrice:0,
userInfo:{},
}
},created(){
this.userInfo = this.getLocalStorage();
if(this.$route.query.TypeId&&!this.$route.query.ID){
this.msg.Is_Cashier = parseInt(this.$route.query.Is_Cashier);
this.accType = parseInt(this.$route.query.TypeId);
......@@ -502,6 +504,13 @@ export default {
}
},methods:{
Export(){
let msg=this.msg;
msg.EmployeeId = this.userInfo.EmployeeId;
msg.AccountToExcelType=1;
var fileName = "现金账户明细.xls";
this.GetLocalFile("Financial_post_OutToExcelAccountDetailList", msg, fileName);
},
addChuNaFun(){ // 添加出纳按钮点击事件
let count = 0;
let allBPrice = 0;
......
......@@ -367,7 +367,9 @@
<div class="approval_page_title">{{$t('fnc.lcshezhi')}}</div>
<div class="approval_page_content">
<div class="approval_person_content">
<span class="approval_span_type">{{$t('fnc.mrspliucheng')}}</span>
<span class="approval_span_type">流程设置{{$t('fnc.mrspliucheng')}}</span>
<span style="float:right"><el-button @click="Auditshow=true,EditAudit()" style="padding:4px" type="primary" icon="el-icon-edit" circle></el-button></span>
<div class="approval_person_list fl">
<span class="approval_person_list_tit">{{$t('fnc.mrspiren')}}</span>
<div class="padding_l88">
......@@ -494,6 +496,25 @@
<button class="normalBtn" type="primary" @click="saveAuditUser">{{$t('pub.sureBtn')}}</button>
</div>
</el-dialog>
<el-dialog
title="修改审批人"
:visible.sync="Auditshow"
width="30%">
<div>
<el-tree
:data="myAuditList"
node-key="id"
default-expand-all
draggable
:allow-drop="allowDrop">
</el-tree>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
......@@ -504,7 +525,9 @@ export default {
components: { Treeselect },
data(){
return{
accListShow: true,
NewAuditList:[],
Auditshow:false,
accListShow: true,
TemplateId:0,
radio:1,
addMsg:{
......@@ -566,7 +589,7 @@ export default {
name:"分公司OP"
},
],
accListMsg:[],
accListMsg:[],
SpecialNodeSelectType:'',
AuditDescription:'',
AuditWay:2,
......@@ -666,7 +689,8 @@ export default {
filterText2(val) {
this.$refs.treeUser.filter(val);
}
},created(){
},
created(){
let userInfo=this.getLocalStorage();
this.TemplateId = this.$route.query.id;
this.getCompanyMsg.RB_Group_Id=userInfo.RB_Group_id; //集团ID
......@@ -679,7 +703,8 @@ export default {
this.addMsg.RB_BranchId = this.$route.query.Branch_Id;
};
}
},mounted(){
},
mounted(){
this.getCompanyList();
this.getMaxDepartmentTierList();
......@@ -690,7 +715,20 @@ export default {
}
this.getFinancialFlowTemplate_post_GetNodeList();
this.getRole()
},methods:{
},
methods:{
allowDrop(){
console.log("myAuditList",this.myAuditList)
},
EditAudit(){
let msg={};
msg.label="审批人";
// this.NewAuditList.push(msg);
// this.NewAuditList[0].children=[];
// this.NewAuditList[0].children.push(this.myAuditList);
console.log("myAuditList",this.myAuditList)
},
handleCheckAllChangeAcc(val) {
this.accListMsg = val ? [1,2,3,4] : [];
this.isIndeterminate = false;
......
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