Commit 2893f64e authored by youjie's avatar youjie

制单优惠券 未输入卡尾号提示

parent c229c833
...@@ -1585,6 +1585,28 @@ ...@@ -1585,6 +1585,28 @@
}); });
this.msg.OrderTradeWay = this.tradeWay; this.msg.OrderTradeWay = this.tradeWay;
this.msg.PlatformAccountId = this.platformAccount; this.msg.PlatformAccountId = this.platformAccount;
if(this.isReceivablesAccount&&!this.msg.PayReceipt_No&&this.msg.PayReceipt_No==''){
let text = '平台用户昵称'
if(this.msg.CourseId!=12&&this.msg.CourseId>0){
text = '卡尾号'
}
let that = this
this.$confirm(`此单是签约送优惠券订单, 因尚未输入${text} 本单将不会享受优惠券发放,确认要提交吗?`, this.$t('tips.tips'), {
confirmButtonText: '确认提交',
cancelButtonText: '取消提交',
type: 'warning'
}).then(() => {
that.Financial_post_Set()
}).catch(() => {
})
}else{
this.Financial_post_Set()
}
},
Financial_post_Set(){
this.loading = true; this.loading = true;
this.apipost('Financial_post_Set', this.msg, res => { this.apipost('Financial_post_Set', this.msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 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