Commit 11cd37d1 authored by youjie's avatar youjie

no message

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