Commit a3779b84 authored by 黄奎's avatar 黄奎

页面修改

parent 704a7be5
......@@ -156,24 +156,24 @@
},
changeTitle() {
if (this.addMsg.AccountClassify == 1) {
this.nameA = this.$t("ground.pingtaimingcheng")
this.nameB = this.$t("ground.yonghumingcheng")
this.nameC = this.$t("fnc.ptAcc")
this.nameD = this.$t("fnc.accBming")
this.nameA = "平台名称";
this.nameB = "用户名称";
this.nameC = "平台账户";
this.nameD = "账号别名";
this.addMsg.AccountType = '1'
} else if (this.addMsg.AccountClassify == 2) {
this.nameA = this.$t("ground.zhanghumingcheng2")
this.nameB = this.$t("fnc.khuren")
this.nameC = this.$t("ground.kahao")
this.nameD = this.$t("fnc.accBming")
this.nameA = "账号名称";
this.nameB = "开户人";
this.nameC = "卡号";
this.nameD = "账号别名";
} else if (this.addMsg.AccountClassify == 3) {
this.nameA = this.$t("ground.pingtaimingcheng")
this.nameB = this.$t("ground.yonghumingcheng")
this.nameC = this.$t("fnc.ptAcc")
this.nameD = this.$t("fnc.accBming")
this.nameA = "平台名称";
this.nameB = "用户名称";
this.nameC = "平台账户";
this.nameD = "账号别名";
} else if (this.addMsg.AccountClassify == 4) {
this.nameA = this.$t("ground.pingtaimingcheng")
this.nameB = this.$t("ground.yonghumingcheng")
this.nameA = "平台名称";
this.nameB = "用户名称";
this.nameC = "账号"
this.nameD = "名称"
}
......@@ -190,7 +190,83 @@
})
return;
}
} else {
} else if (this.IsAddBankCount == 1) {
if (this.addMsg.AccountClassify == 2) {
if (this.addMsg.BankName == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请选择填写所属机构!`
})
return;
}
if (this.addMsg.OpenBankName == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请填写账号名称!`
})
return;
}
if (this.addMsg.AccountHolder == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请填写开户人!`
})
return;
}
if (this.addMsg.CardNum == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请填写卡号!`
})
return;
}
if (this.addMsg.AccountAlias == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请填写账户别名!`
})
return;
}
} else if (this.addMsg.AccountClassify == 3) {
if (this.addMsg.CardNum == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请填写平台账号!`
})
return;
}
if (this.addMsg.AccountAlias == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请填写账户别名!`
})
return;
}
} else if (this.addMsg.AccountClassify == 4) {
if (this.addMsg.CardNum == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请填写账号!`
})
return;
}
if (this.addMsg.AccountAlias == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请填写别名!`
})
return;
}
}
this.apipost("admin_post_SetEmpBankAccount", this.addMsg, res => {
if (res.data.resultCode == 1) {
this.FinanceMsg.ClientId = res.data.data;
......
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