Commit 41abf78b by zhangxw

合并代码后跑流程

1 parent 56e766bb
...@@ -101,15 +101,12 @@ Component({ ...@@ -101,15 +101,12 @@ Component({
}) })
} else { } else {
wx.navigateTo({ wx.navigateTo({
url: `/tabWorkOrder/pages/refundApply/refundApply?orderCode=${orderInfo.orderCode}&shopMerchantName=${orderInfo.merchantName}&shopMerchantId=${orderInfo.merchantId}` url: `/tabWorkOrder/pages/refundApply/refundApply?orderCode=${orderInfo.orderCode}&shopMerchantName=${orderInfo.merchantName}&shopMerchantId=${orderInfo.merchantId}&refundPayType=${orderInfo.selectPayType == 2 ? 2 : 1}`
}) })
this.closeSelect() this.closeSelect()
} }
} else { } else {
wx.navigateTo({ return wx.$util.showToast(message)
url: `/tabWorkOrder/pages/refundApply/refundApply?orderCode=${orderInfo.orderCode}&shopMerchantName=${orderInfo.merchantName}&shopMerchantId=${orderInfo.merchantId}&refundPayType=${orderInfo.selectPayType == 2 ? 2 : 1}`,
})
this.closeSelect()
} }
}) })
} else { } else {
...@@ -129,6 +126,7 @@ Component({ ...@@ -129,6 +126,7 @@ Component({
}) })
} }
this.closeSelect() this.closeSelect()
}
}) })
} }
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<apply-refund-btn <apply-refund-btn
orderInfo="{{ orderInfo }}" orderInfo="{{ orderInfo }}"
updateFlag="{{ updateFlag&&filter.btnPermissions(userPermissions, 'CHUANGJIANSHIGONGDAN') }}" updateFlag="{{ updateFlag&&filter.btnPermissions(userPermissions, 'CHUANGJIANSHIGONGDAN') }}"
showRefundBtn="{{ isStaff && orderInfo.selectPayType != 2 && showMoreBtn && (orderInfo.status == 4 || orderInfo.status == 6 || orderInfo.status == 12) }}" showRefundBtn="{{ isStaff && showMoreBtn && (orderInfo.status == 4 || orderInfo.status == 6 || orderInfo.status == 12) }}"
></apply-refund-btn> ></apply-refund-btn>
</view> </view>
<view <view
......
...@@ -1677,10 +1677,5 @@ Page({ ...@@ -1677,10 +1677,5 @@ Page({
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */
<<<<<<< HEAD
onReady: function () {}
})
=======
onReady: function () { } onReady: function () { }
}) })
>>>>>>> SAAS+V5.0.0-1014
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!