Commit afd01e4c by crushh

update: dist

parent 60a6d7d3
......@@ -717,8 +717,22 @@ export default {
}).then(() => {
this.submit(data);
});
} else {
this.$confirm(`本次外呼费用预计需要消费 ${totalCount}元,当前账户余额不足,请充值`, '提示', {
}
if (totalCount > this.money && this.money > 0) {
this.$confirm(`本次外呼费用预计需要消费 ${totalCount} 元,当前账户余额为${this.money}元可能会存在部分客户拨打失败,是否继续创建活动?`, '提示', {
confirmButtonText: '去充值',
cancelButtonText: '继续保存',
type: 'warning'
})
.then(() => {
window.open(`${window.location.origin}/marketing/#/recharge/do`, '_blank');
})
.catch(() => {
this.submit(data);
});
}
if (this.money < 0) {
this.$confirm(`本次外呼费用预计需要消费 ${totalCount}元,当前账户余额为${this.money}元,请先充值后再创建活动?`, '提示', {
confirmButtonText: '去充值',
cancelButtonText: '取消',
type: 'warning'
......
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