wenjie 4 settimane fa
parent
commit
64f3550295

+ 9 - 5
pages/DetailsOfRefund/DetailsOfRefund.js

@@ -26,11 +26,15 @@ Page({
     refundStatusObj:{
       1:'申请原因',
       2:'商家待审核',
-      3:'审核通过',
-      4:'驳回',
-      5:'退款成功',
-      6:'待填写配送信息',
-      7:'商家待收货'
+      3:'申请已通过',
+      4:'用户撤回申请',
+      5:'用户待发货',
+      // 6:'待填写配送信息',
+      7:'商家待收货',
+      10:'审核通过',
+      20:'驳回',
+      25:'已收货',
+      30:'退款成功',
     },
     refundDelivery: [], //收货地址对象
     refundId: '', //记录ID

+ 1 - 1
pages/writeReturnLogistics/writeReturnLogistics.js

@@ -48,7 +48,6 @@ Page({
    * 填写&提交物流信息
    */
   writeLogisticsMsg: function (e) {
-    wx.showLoading();
     let that = this
     if(this.loading) return
     if (this.data.expressNo.length == 0) {
@@ -65,6 +64,7 @@ Page({
       if (pics != '') {
         pics = pics.substring(0, pics.length - 1)
       }
+     wx.showLoading();
       this.loading = true
       var parmas = {
         url:this.data.type == 'edit'?"/refund/delivery/update": "/refund/delivery/save",

+ 1 - 1
utils/config.js

@@ -4,7 +4,7 @@
 
 var domain = "https://shop.api.zswlgz.com"; //统一接口域名,测试环境 
 var wsDomain = "wss://shop-h5.dev.zswllife.cn/api"; //统一接口域名,测试环境 
-var domain = "https://63332824.r36.cpolar.top"; //统一接口域名,正式环境 
+// var domain = "https://63332824.r36.cpolar.top"; //统一接口域名,正式环境 
 // var wsDomain = "wss://shop.haimamart.com/api"; //统一接口域名,正式环境 
 
 // var domain = "http://192.168.1.206:8112"; //统一接口域名,测试环境

+ 1 - 1
utils/http.js

@@ -22,7 +22,7 @@ function request(params, isGetTonken) {
     dataType: 'json',
     responseType: params.responseType == undefined ? 'text' : params.responseType,
     success: function (res) {
-      // console.log(`接口地址${config.domain + params.url}:成功返回`,res);
+      console.log(`接口地址${config.domain + params.url}:成功返回`,res);
       if (res.statusCode == 200) {
         //如果有定义了params.callBack,则调用 params.callBack(res.data)
         if (params.callBack) {