Commit ddd1121d authored by youjie's avatar youjie

no message

parent f16ce0f8
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
<el-col :span="4" :gutter="35" v-if="addMsg.Type!=0&&addMsg.Type!=10&&ClientTypeList.length>0"> <el-col :span="4" :gutter="35" v-if="addMsg.Type!=0&&addMsg.Type!=10&&ClientTypeList.length>0">
<el-form-item label="客户名称" prop="ObjID"> <el-form-item label="客户名称" prop="ObjID">
<el-select filterable remote reserve-keyword v-model="addMsg.ObjID" :remote-method="remoteMethod" <el-select filterable remote reserve-keyword v-model="addMsg.ObjID" :remote-method="remoteMethod"
@change="getObjName" :loading="supplierLoading" placeholder="请输入关键词"> @change="getObjName" :loading="supplierLoading" :placeholder="$t('pub.PleaseKeyWords')">
<el-option v-for="(item,index) in supplierList" :label="item.Name" :value="item.ID" :key="index"> <el-option v-for="(item,index) in supplierList" :label="item.Name" :value="item.ID" :key="index">
</el-option> </el-option>
</el-select> </el-select>
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
<li> <li>
<span style="margin-left: 80px"><em>账户分类</em> <span style="margin-left: 80px"><em>账户分类</em>
<el-select v-model="msg.AccountClassify" :placeholder="$t('pub.pleaseSel')" @change="changeTitle"> <el-select v-model="msg.AccountClassify" :placeholder="$t('pub.pleaseSel')" @change="changeTitle">
<el-option label="不限" value="" key="0"> </el-option> <el-option :label="$t('pub.unlimitedSel')" value="" key="0"> </el-option>
<el-option :label="$t('fnc.yinhang')" value="2" key="2"></el-option> <el-option :label="$t('fnc.yinhang')" value="2" key="2"></el-option>
<el-option :label="$t('ground.xunizhanghu')" value="3" key="3"></el-option> <el-option :label="$t('ground.xunizhanghu')" value="3" key="3"></el-option>
<el-option label="微信支付宝" value="4" key="4"></el-option> <el-option label="微信支付宝" value="4" key="4"></el-option>
...@@ -740,9 +740,9 @@ ...@@ -740,9 +740,9 @@
}, err => {}) }, err => {})
}, },
checkCanAdd() { checkCanAdd() {
this.$confirm("客户类型与税号请务必填写正确,避免单据驳回!!", "提示", { this.$confirm("客户类型与税号请务必填写正确,避免单据驳回!!", `${this.$t('tips.tips')}`, {
confirmButtonText: "确定", confirmButtonText: `${this.$t('pub.sureBtn')}`,
cancelButtonText: "取消", confirmButtonText: `${this.$t('pub.cancelBtn')}`,
type: "warning" type: "warning"
}) })
.then(() => { .then(() => {
...@@ -788,7 +788,7 @@ ...@@ -788,7 +788,7 @@
}, },
deleteData(id) { deleteData(id) {
let that = this let that = this
this.$confirm(that.$t('ground.querenqiyong'), '提示', { this.$confirm(that.$t('ground.querenqiyong'), this.$t('tips.tips'), {
confirmButtonText: that.$t('pub.sureBtn'), confirmButtonText: that.$t('pub.sureBtn'),
cancelButtonText: that.$t('pub.cancelBtn'), cancelButtonText: that.$t('pub.cancelBtn'),
type: 'warning' type: 'warning'
...@@ -797,7 +797,7 @@ ...@@ -797,7 +797,7 @@
BAId: id BAId: id
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
that.$message.success('操作成功') that.$message.success(this.$t('tips.czchenggong'))
that.getList(); that.getList();
} else { } else {
that.$message.info('操作失败') that.$message.info('操作失败')
...@@ -810,7 +810,7 @@ ...@@ -810,7 +810,7 @@
}, },
bindData(id) { bindData(id) {
let that = this let that = this
this.$confirm("是否绑定当前付款对象", '提示', { this.$confirm("是否绑定当前付款对象", this.$t('tips.tips'), {
confirmButtonText: that.$t('pub.sureBtn'), confirmButtonText: that.$t('pub.sureBtn'),
cancelButtonText: that.$t('pub.cancelBtn'), cancelButtonText: that.$t('pub.cancelBtn'),
type: 'warning' type: 'warning'
...@@ -821,7 +821,7 @@ ...@@ -821,7 +821,7 @@
Type: this.$route.query.type Type: this.$route.query.type
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
that.$message.success('操作成功') that.$message.success(this.$t('tips.czchenggong'))
this.outerVisible = false; this.outerVisible = false;
that.getList(); that.getList();
} else { } else {
......
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