|
@@ -140,15 +140,15 @@
|
|
var refundAmount = this.refundAmount;
|
|
var refundAmount = this.refundAmount;
|
|
var refundReason = this.refundReason;
|
|
var refundReason = this.refundReason;
|
|
var token = uni.getStorageSync("token");
|
|
var token = uni.getStorageSync("token");
|
|
- if(refundReason == null || refundAmount == "") {
|
|
|
|
- uni.showToast({
|
|
|
|
- title: '请输入退款原因',
|
|
|
|
- duration: 3000,
|
|
|
|
- icon: 'error'
|
|
|
|
- });
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
if(order.payPlatform != null && order.payPlatform == '3') {
|
|
if(order.payPlatform != null && order.payPlatform == '3') {
|
|
|
|
+ if(refundReason == null || refundAmount == "") {
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: '请输入退款原因',
|
|
|
|
+ duration: 3000,
|
|
|
|
+ icon: 'error'
|
|
|
|
+ });
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
//如果为直接对接微信支付
|
|
//如果为直接对接微信支付
|
|
uni.request({
|
|
uni.request({
|
|
url: this.serverurl + '/tWeixinPay/refund',
|
|
url: this.serverurl + '/tWeixinPay/refund',
|