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