Commit a1483129 authored by youjie's avatar youjie

no message

parent 9b9344bf
......@@ -98,7 +98,7 @@
</style>
<template >
<div class="page_fnDm page_RecPayQuery" @keyup.enter="getPageList()">
<div class="page_RecPayQuery" @keyup.enter="getPageList()">
<div class="query-box">
<el-form class="_info_box clearfix" label-width="110px">
<el-row style="padding:15px 20px 0 0;">
......@@ -324,7 +324,12 @@
</el-table-column>
<el-table-column
prop="HandFeeFrId"
label="关联代付单" width="120"></el-table-column>
label="关联代付单" width="120">
<template slot-scope="scope">
<template v-if="scope.row.HandFeeFrId">{{scope.row.HandFeeFrId}}</template>
<p v-else style="cursor: pointer;color: #00C6FF;" @click="isshezhiBox=true,shezhiMsg.FinanceId=scope.row.FinanceId">设置关联</p>
</template>
</el-table-column>
<el-table-column
prop=""
label="关联手配费收入单"
......@@ -351,6 +356,19 @@
</div>
</template>
</el-dialog>
<el-dialog custom-class='w400' title="设置手配费关联" :visible.sync="isshezhiBox" center>
<template>
<el-form label-width="120px" :model="shezhiMsg" :rules="rules" ref="shezhiMsg">
<el-form-item label="关联手配费单号" prop="HandFeeFrId">
<el-input v-model="shezhiMsg.HandFeeFrId" placeholder="请输入关联手配费单号"></el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="isshezhiBox=false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="setHandFeeFr()">{{$t('pub.sureBtn')}}</button>
</div>
</template>
</el-dialog>
</div>
</template>
<script>
......@@ -361,6 +379,11 @@ import Vue from 'vue'
export default {
data(){
return{
shezhiMsg:{
FinanceId:0,
HandFeeFrId:null
},
isshezhiBox: false,
GetHandFeeList:[],
multipleSelection: [],
showID:false,
......@@ -449,6 +472,13 @@ export default {
StandardCurrencyName: "",
Money: 0
},
rules:{
HandFeeFrId: [{
required: true,
message: '请输入关联手配费单号',
trigger: 'blur'
}],
}
}
},created(){
if(this.$route.query.FrID){
......@@ -477,22 +507,30 @@ export default {
this.getCompanyMsg.RB_Group_Id= this.employeeMsg.GroupId = this.getDepartmentMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
this.DepartIDs = userInfo.RB_Department_Id;
this.userId = userInfo.EmployeeId;
this.financeinfo_post_GetCostTypeList();
this.getCompanyList();//获取公司列表
this.FinancialFlowTemplate_post_GetStatusList();
this.getFKList()//付款对象
this.GetHandFee()//手配费公司
},
methods:{
// 设置手配费关联
setHandFeeFr(){
this.$refs['shezhiMsg'].validate((valid) => {
if (valid) {
this.apipost('Financial_post_SetFinanceHandFeeCode',this.shezhiMsg,res=>{
if(res.data.resultCode==1){
this.iszhidanBox = false
this.getPageList()
}else{
this.Error(res.data.message);
}
},err=>{})
} else {
return false;
}
});
},
DocumentMaking(){
let ids = this.multipleSelection.map(x=>{ return x.FinanceId})
if(ids.length==0){
......
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