Commit ad458bbb authored by 吴春's avatar 吴春

1

parent 52bc2cad
......@@ -78,6 +78,10 @@
<th>{{$t("ground.zhanghuleibie")}}</th>
<th>{{$t("ground.suoshujigou")}}</th>
<th>{{$t("fnc.acc")}}</th>
<th>{{ $t("fnc.khleixing") }}</th>
<th>创建人</th>
<th>{{$t("admin.admin_status")}}</th>
<th v-if="addMsg.Type==8">{{ $t("admin.admin_operate") }}</th>
</tr>
<tr v-for="(item,index) in accountList">
<td>{{item.OpenBankName}}</td>
......@@ -91,6 +95,36 @@
<td>{{item.BankName}}</td>
<td>{{item.CardNum}}
<br/>{{item.AccountHolder}}</td>
<td>{{ item.TypeName }}</td>
<td>
{{item.CreateByName?item.CreateByName:'-'}}
<p>{{item.CreateDate?item.CreateDate:'-'}}</p>
</td>
<td>
<span v-if='item.Status!=0' style="color: #E95252;">{{$t('pub.fressSel')}}</span>
<span v-if='item.Status==0' style="color: #09D49D;">{{$t('pub.normalSel')}}</span>
</td>
<td class="empBankAccountIcon" v-if="addMsg.Type==8">
<el-button-group>
<el-tooltip
class="item"
effect="dark"
content="绑定"
placement="top-start"
>
<el-button v-if="item.Type == 10"
@click="bindData(item.ID)"
type="primary"
style="background: #09d49d; border-color: #09d49d"
icon="iconfont icon-bianji-smal"
></el-button>
</el-tooltip>
</el-button-group>
</td>
</tr>
</table>
</div>
......@@ -407,6 +441,33 @@
that.$message.info('操作失败')
});
},
bindData(id){
let that = this
this.$confirm("是否绑定当前付款对象", '提示', {
confirmButtonText: that.$t('pub.sureBtn'),
cancelButtonText: that.$t('pub.cancelBtn'),
type: 'warning'
}).then(() => {
this.apipost('admin_post_BindEmpBankAccount', {
BAId:id,
ObjID:this.$route.query.id,
Type:this.$route.query.type
}, res => {
if(res.data.resultCode == 1) {
that.$message.success('操作成功')
this.outerVisible=false;
that.getList();
}else{
that.$message.info('操作失败')
}
}, err => {})
}).catch(() => {
that.$message.info('操作失败')
});
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.getList();
......
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