Commit 29f2be99 authored by liudong1993's avatar liudong1993

1

parent f680cd87
......@@ -385,7 +385,7 @@
<span v-if="item.AccountClassify == 4">{{$t('objFill.weixinzfb')}}</span>
</td>
<td>{{ item.BankName }}</td>
<td>{{ item.CardNum }} <br />{{ item.AccountHolder }}</td>
<td>{{ item.CardNum }}<span v-if="item.ClientAccountType==1" style="color: #e6a014;">【日本账户】</span> <br />{{ item.AccountHolder }}</td>
<td>
<span v-if="item.Status != 0" style="color: #e95252">{{
$t("pub.fressSel")
......@@ -453,6 +453,29 @@
icon="iconfont icon-rizhi1"
></el-button>
</el-tooltip>
<el-tooltip
class="item"
effect="dark"
:content="
item.ClientAccountType == '1' ? '取消日本账户标识' : '设置为日本账户'
"
placement="top-start"
>
<el-button
v-if="item.ClientAccountType == 1"
@click="SetJapanPayObj(item.ID)"
type="primary"
style="background: #09d49d; border-color: #09d49d"
icon="el-icon-sunset"
></el-button>
<el-button
v-else
@click="SetJapanPayObj(item.ID)"
type="primary"
style="background: #e95252; border-color: #e95252"
icon="el-icon-sunrise"
></el-button>
</el-tooltip>
<el-tooltip v-if="item.Type==7"
class="item"
effect="dark"
......@@ -1025,6 +1048,31 @@ export default {
this.$message.info(this.$t("ground.yiquxiao"));
});
},
SetJapanPayObj(id) {
this.$confirm('确认设置/取消此为日本账户', this.$t('tips.tips'), {
confirmButtonText: this.$t("pub.sureBtn"),
cancelButtonText: this.$t("pub.cancelBtn"),
type: "warning",
})
.then(() => {
this.apipost(
"admin_post_SetEmpBankToJapan",
{
ClientAccountId: id,
},
(res) => {
if (res.data.resultCode == 1) {
this.$message.success(res.data.message);
this.getList();
}
},
(err) => {}
);
})
.catch(() => {
this.$message.info(this.$t("ground.yiquxiao"));
});
},
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