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