[update] 物流信息查询改为后端查,之前是直接跳快递100
This commit is contained in:
@@ -419,7 +419,14 @@ export default {
|
||||
// this.model.sendMethod 1是ems 2是顺丰
|
||||
// https://www.kuaidi100.com/chaxun?com=[]&nu=[]
|
||||
const com = Number(this.model.sendMethod) === 1 && 'ems' || 'shunfeng'
|
||||
window.open(`https://www.kuaidi100.com/chaxun?com=${com}&nu=${this.model.postNo}`)
|
||||
// window.open(`https://www.kuaidi100.com/chaxun?com=${com}&nu=${this.model.postNo}`)
|
||||
let url = ''
|
||||
if (com === 'shunfeng' && this.model.mobile) {
|
||||
url = `${window._CONFIG['lookExpressDomainURL']}?com=${ com }&nu=${ this.model.postNo }&phone=${ this.model.mobile }`
|
||||
} else {
|
||||
url = `${window._CONFIG['lookExpressDomainURL']}?com=${ com }&nu=${ this.model.postNo }`
|
||||
}
|
||||
window.open(url, '_blank')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user