Commit ba3c63a8 authored by youjie's avatar youjie

no message

parent 5c7e86d5
......@@ -134,7 +134,7 @@
class="normalBtn"
value="查询"
/>
<input type="button" @click="AddAccount" class="normalBtn" :value="$t('pub.addBtn')" />
<input type="button" @click="AddAccountBank" class="normalBtn" :value="$t('pub.addBtn')" />
</li>
</ul>
</div>
......@@ -169,7 +169,9 @@
<td class="empBankAccountIcon">
<el-button-group>
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start">
<el-button @click="outerVisible = true,dialogTitle=$t('ground.xiugaizhanghu'),updateData(item.ID)" type="primary" style='background:#409EFF; border-color:#409EFF' icon="iconfont icon-bianji-smal" ></el-button>
<el-button @click="outerVisible = true,dialogTitle=$t('ground.xiugaizhanghu'),updateData(item.ID)"
type="primary" style='background:#409EFF; border-color:#409EFF'
icon="iconfont icon-bianji-smal" ></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="item.Status=='1'? $t('fnc.qiyong'):$t('pub.fressSel')" placement="top-start">
<el-button v-if='item.Status==1' @click="deleteData(item.ID)" type="primary" style='background:#09D49D; border-color:#09D49D' icon="iconfont icon-qidong" ></el-button>
......@@ -266,14 +268,13 @@
this.changeTitle()
},
methods: {
AddAccount(){
if(this.list&&this.list.length==1){
this.$message.info('已有账户,试试编辑已有账户吧!')
return
AddAccountBank(){
if(this.list&&this.list.length>0){
return this.$message.info('已有账户,试试编辑已有账户吧!')
}
this.outerVisible = true
this.dialogTitle= this.$t('ground.xinzengzhanghu')
this.resetForm('addMsg')
this.outerVisible = true
this.dialogTitle= this.$t('ground.xinzengzhanghu')
this.resetForm('addMsg')
},
changeTitle(){
if(this.addMsg.AccountClassify==1){
......
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