发起售后问题修复
This commit is contained in:
parent
460a9b5091
commit
09e15d9619
|
|
@ -11,9 +11,9 @@ export default {
|
|||
title: '加载中'
|
||||
})
|
||||
// request 触发前拼接 url
|
||||
// args.url = 'https://www.opsoul.com' + args.url;
|
||||
args.url = 'https://www.opsoul.com' + args.url;
|
||||
// args.url = 'http://192.168.2.20:80' + args.url;
|
||||
args.url = 'http://127.0.0.1:80' + args.url;
|
||||
// args.url = 'http://127.0.0.1:80' + args.url;
|
||||
if (args.data && Object.prototype && Object.prototype.toString.call(args.data) === '[object Object]') {
|
||||
args.data.deptId = globalData.deptId;
|
||||
args.data.from = globalData.from;
|
||||
|
|
|
|||
|
|
@ -160,9 +160,9 @@
|
|||
let errMsg = null;
|
||||
if (!this.detailObj) {
|
||||
errMsg = "请选择子单";
|
||||
} else if (this.refund == null) {
|
||||
} else if (this.afterServiceType == 1 && this.refund == null) {
|
||||
errMsg = "退款金额不能为空";
|
||||
} else if (this.refund > this.detailObj.payMoney) {
|
||||
} else if (this.afterServiceType == 1 && this.refund > this.detailObj.payMoney) {
|
||||
errMsg = "不可超出最大退款金额";
|
||||
}
|
||||
if (errMsg) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue