Commit 9d25ac05 authored by Mac's avatar Mac

平台账户

parent eff10603
...@@ -14,25 +14,67 @@ ...@@ -14,25 +14,67 @@
</li> </li>
</ul> </ul>
</div> </div>
<v-table <!-- <v-table-->
v-if="isReady" <!-- v-if="isReady"-->
is-horizontal-resize <!-- is-horizontal-resize-->
column-width-drag <!-- column-width-drag-->
style="width:100%;" <!-- style="width:100%;"-->
:columns="columns" <!-- :columns="columns"-->
:table-data="DataList" <!-- :table-data="DataList"-->
:filter-method="filterMethod" <!-- :filter-method="filterMethod"-->
:total="total" <!-- :total="total"-->
:pageSize="msg.pageSize" <!-- :pageSize="msg.pageSize"-->
:pageIndex="msg.pageIndex" <!-- :pageIndex="msg.pageIndex"-->
:handleCurrentChange="handleCurrentChanges" <!-- :handleCurrentChange="handleCurrentChanges"-->
:multiple-sort="multipleSort" <!-- :multiple-sort="multipleSort"-->
:is-loading="loading" <!-- :is-loading="loading"-->
sort-always <!-- sort-always-->
@sort-change="sortChange" <!-- @sort-change="sortChange"-->
@on-custom-comp='customCompFunc' <!-- @on-custom-comp='customCompFunc'-->
:row-click="rowClick" <!-- :row-click="rowClick"-->
></v-table> <!-- ></v-table>-->
<el-table
:data="DataList"
border
style="width: 100%;font-size: 12px">
<el-table-column prop="Alias" label="账户" width="100"></el-table-column>
<el-table-column prop="allName" label="校区" width="150"></el-table-column>
<el-table-column prop="Accountholder" label="开户人"></el-table-column>
<el-table-column prop="Initialbalance" label="账户余额">
<template slot-scope="scope">
<span style='color:red;font-weight:bold' v-if="scope.row.Initialbalance>=scope.row.RiskLimitMoney&&scope.row.Initialbalance!=0">
{{scope.row.Initialbalance?scope.row.Initialbalance.toFixed(2):0}} <span style="margin-left:12px">超限</span>
</span>
<span style='color:red;font-weight:bold' v-else>{{scope.row.Initialbalance?scope.row.Initialbalance.toFixed(2):0}}</span>
</template>
</el-table-column>
<el-table-column prop="Accountholder" label="平台交易费">
<template slot-scope="scope">
<span>
{{scope.row.SettlementType==1?(scope.row.Commission.toFixed(2)+'%'):(scope.row.Commission+'/人')}}
</span>
</template>
</el-table-column>
<el-table-column prop="Royalty" label="平台使用费"></el-table-column>
<el-table-column prop="HaveContract" label="合同">
<template slot-scope="scope">
<span :style="{'color':scope.row.HaveContract==0?'red':'blue'}">{{scope.row.HaveContract==0?'无合同':'有合同'}} </span>
<span>{{scope.row.ContraceDateRange?scope.row.ContraceDateRange:''}} </span>
</template>
</el-table-column>
<el-table-column prop="Accountholder" label="签约线路"></el-table-column>
<el-table-column prop="BindBankName" label="绑定银行"></el-table-column>
<el-table-column prop="Remark" label="备注"></el-table-column>
<el-table-column prop="Remark" label="操作">
<template slot-scope="scope">
<div>
<el-button type="primary" size='mini' icon="el-icon-edit" circle @click="customCompFunc(scope.row,1)"></el-button>
<el-button type="danger" size='mini' icon="el-icon-delete" circle @click="customCompFunc(scope.row,2)"></el-button>
</div>
</template>
</el-table-column>
</el-table>
<div class="_vMG_edit _scrollbar" v-if="addShow" :class="addShow==true?'edHeight':''"> <div class="_vMG_edit _scrollbar" v-if="addShow" :class="addShow==true?'edHeight':''">
<el-row> <el-row>
<el-col :span="20"> <el-col :span="20">
...@@ -166,7 +208,7 @@ ...@@ -166,7 +208,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" :gutter="35" class="_BranchIdS"> <el-col :span="4" :gutter="35" class="_BranchIdS">
<el-form-item :label="$t('fnc.ssgongsi')" prop="BranchIdS"> <el-form-item label="校区" prop="BranchIdS">
<el-select filterable v-model="addMsg.BranchIdS" collapse-tags> <el-select filterable v-model="addMsg.BranchIdS" collapse-tags>
<el-option <el-option
v-for="item in CompanyList" v-for="item in CompanyList"
...@@ -511,11 +553,12 @@ export default { ...@@ -511,11 +553,12 @@ export default {
}) })
} }
}, },
customCompFunc(params){ customCompFunc(params,index){
if (params.type === 'delete'){ console.log(params)
this.financeinfoRemove(params.id,params.alias) if (index == '2'){
}else if (params.type === 'edit'){ this.financeinfoRemove(params.ID,params.Alias)
this.editCurency(params.id) }else if (index =='1'){
this.editCurency(params.ID)
this.text= this.$t('pub.updateMsg') this.text= this.$t('pub.updateMsg')
this.addShow=true this.addShow=true
this.addCuren=true this.addCuren=true
......
...@@ -833,6 +833,7 @@ ...@@ -833,6 +833,7 @@
GuestInfoList: [], GuestInfoList: [],
RB_BranchName:'', RB_BranchName:'',
RB_DepartName:'', RB_DepartName:'',
OrderSource : 17,
}, },
detailList: { detailList: {
ID: 0, ID: 0,
......
...@@ -716,6 +716,8 @@ ...@@ -716,6 +716,8 @@
Type: 0, Type: 0,
RB_BranchName:'', RB_BranchName:'',
RB_DepartName:'', RB_DepartName:'',
OrderSource : 17,
}, },
AccountNumber: '', AccountNumber: '',
queryAccMsg: { queryAccMsg: {
......
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