diff --git a/common/js/request.js b/common/js/request.js index cf8c0e3..561726c 100644 --- a/common/js/request.js +++ b/common/js/request.js @@ -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; diff --git a/pages/my/components/modal/apply-after-service.vue b/pages/my/components/modal/apply-after-service.vue index 9550e82..fcbe771 100644 --- a/pages/my/components/modal/apply-after-service.vue +++ b/pages/my/components/modal/apply-after-service.vue @@ -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) {