Commit 5644c837 authored by huangyuanyuan's avatar huangyuanyuan

现金账户新增导出

parent 2dc8ac64
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
<li> <li>
<input type="button" class="hollowFixedBtn" :value="$t('fnc.a_hbdanju')" @click="addChuNaFun"/> <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="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> </li>
</ul> </ul>
</div> </div>
...@@ -472,8 +472,10 @@ export default { ...@@ -472,8 +472,10 @@ export default {
count:0, count:0,
allBPrice:0, allBPrice:0,
allWPrice:0, allWPrice:0,
userInfo:{},
} }
},created(){ },created(){
this.userInfo = this.getLocalStorage();
if(this.$route.query.TypeId&&!this.$route.query.ID){ if(this.$route.query.TypeId&&!this.$route.query.ID){
this.msg.Is_Cashier = parseInt(this.$route.query.Is_Cashier); this.msg.Is_Cashier = parseInt(this.$route.query.Is_Cashier);
this.accType = parseInt(this.$route.query.TypeId); this.accType = parseInt(this.$route.query.TypeId);
...@@ -502,6 +504,13 @@ export default { ...@@ -502,6 +504,13 @@ export default {
} }
},methods:{ },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(){ // 添加出纳按钮点击事件 addChuNaFun(){ // 添加出纳按钮点击事件
let count = 0; let count = 0;
let allBPrice = 0; let allBPrice = 0;
......
...@@ -367,7 +367,9 @@ ...@@ -367,7 +367,9 @@
<div class="approval_page_title">{{$t('fnc.lcshezhi')}}</div> <div class="approval_page_title">{{$t('fnc.lcshezhi')}}</div>
<div class="approval_page_content"> <div class="approval_page_content">
<div class="approval_person_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"> <div class="approval_person_list fl">
<span class="approval_person_list_tit">{{$t('fnc.mrspiren')}}</span> <span class="approval_person_list_tit">{{$t('fnc.mrspiren')}}</span>
<div class="padding_l88"> <div class="padding_l88">
...@@ -494,6 +496,25 @@ ...@@ -494,6 +496,25 @@
<button class="normalBtn" type="primary" @click="saveAuditUser">{{$t('pub.sureBtn')}}</button> <button class="normalBtn" type="primary" @click="saveAuditUser">{{$t('pub.sureBtn')}}</button>
</div> </div>
</el-dialog> </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> </div>
</template> </template>
...@@ -504,6 +525,8 @@ export default { ...@@ -504,6 +525,8 @@ export default {
components: { Treeselect }, components: { Treeselect },
data(){ data(){
return{ return{
NewAuditList:[],
Auditshow:false,
accListShow: true, accListShow: true,
TemplateId:0, TemplateId:0,
radio:1, radio:1,
...@@ -666,7 +689,8 @@ export default { ...@@ -666,7 +689,8 @@ export default {
filterText2(val) { filterText2(val) {
this.$refs.treeUser.filter(val); this.$refs.treeUser.filter(val);
} }
},created(){ },
created(){
let userInfo=this.getLocalStorage(); let userInfo=this.getLocalStorage();
this.TemplateId = this.$route.query.id; this.TemplateId = this.$route.query.id;
this.getCompanyMsg.RB_Group_Id=userInfo.RB_Group_id; //集团ID this.getCompanyMsg.RB_Group_Id=userInfo.RB_Group_id; //集团ID
...@@ -679,7 +703,8 @@ export default { ...@@ -679,7 +703,8 @@ export default {
this.addMsg.RB_BranchId = this.$route.query.Branch_Id; this.addMsg.RB_BranchId = this.$route.query.Branch_Id;
}; };
} }
},mounted(){ },
mounted(){
this.getCompanyList(); this.getCompanyList();
this.getMaxDepartmentTierList(); this.getMaxDepartmentTierList();
...@@ -690,7 +715,20 @@ export default { ...@@ -690,7 +715,20 @@ export default {
} }
this.getFinancialFlowTemplate_post_GetNodeList(); this.getFinancialFlowTemplate_post_GetNodeList();
this.getRole() 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) { handleCheckAllChangeAcc(val) {
this.accListMsg = val ? [1,2,3,4] : []; this.accListMsg = val ? [1,2,3,4] : [];
this.isIndeterminate = false; 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