|
|
|
@ -176,7 +176,7 @@ Scene({ |
|
|
|
}).catch(err => { |
|
|
|
wx.hideLoading() |
|
|
|
this.data.requesting = false |
|
|
|
if(err.code = 200101){ |
|
|
|
if((typeof err == 'object') && err.code == 200101){ |
|
|
|
Dialog.confirm({ title: '温馨提示', message: '该客户注册成为纸通宝用户,才可以使用千鸟代付,现在去注册?' }).then(() => { |
|
|
|
var cid = this.data.orderList[0].factoryCustomerId |
|
|
|
wx.navigateTo({ url: '/pages/home/registe/index?id=' + cid }) |
|
|
|
@ -193,7 +193,7 @@ Scene({ |
|
|
|
wx.navigateTo({ url: '/pages/home/registe/index?id=' + cid }) |
|
|
|
}).catch(err => { |
|
|
|
}) |
|
|
|
} else if(err.indexOf('没有开通代付') >= 0){ |
|
|
|
} else if(err.indexOf('没有开通') >= 0){ |
|
|
|
Dialog.confirm({ title: '温馨提示', message: '您还没有开通千鸟代付,现在去了解并开通?' }).then(() => { |
|
|
|
wx.navigateTo({ url: '/pages/htmls/auths/index' }) |
|
|
|
}).catch(err => { |
|
|
|
|