错误提示
This commit is contained in:
parent
c9d309e1d6
commit
e48399a0b6
@ -371,7 +371,7 @@
|
|||||||
}
|
}
|
||||||
this.doneGood()
|
this.doneGood()
|
||||||
this.showPop = false
|
this.showPop = false
|
||||||
this.showMore()
|
// this.showMore()
|
||||||
|
|
||||||
},
|
},
|
||||||
// 送达
|
// 送达
|
||||||
@ -380,8 +380,15 @@
|
|||||||
take_code: this.take_code,
|
take_code: this.take_code,
|
||||||
logistics_id: this.goodsInfo.id
|
logistics_id: this.goodsInfo.id
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
console.log(res)
|
||||||
this.$emit('showTost')
|
this.$emit('showTost')
|
||||||
this.$emit('getlist')
|
this.$emit('getlist')
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err.msg)
|
||||||
|
uni.showToast({
|
||||||
|
title: err.msg,
|
||||||
|
icon: "none"
|
||||||
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -1,26 +1,26 @@
|
|||||||
let httpApiThree;
|
let httpApiThree;
|
||||||
let httpApi; // 总域名
|
let httpApi; // 总域名
|
||||||
let httpApiTwo; // 物流系统域名
|
let httpApiTwo; // 物流系统域名
|
||||||
|
|
||||||
// const env = 'dev'; // 开发
|
// const env = 'dev'; // 开发
|
||||||
const env = 'prod'; // 生产
|
const env = 'prod'; // 生产
|
||||||
// const env = 'prew'; // 预上线
|
// const env = 'prew'; // 预上线
|
||||||
|
|
||||||
switch(env){
|
switch (env) {
|
||||||
case 'prod':
|
case 'prod':
|
||||||
httpApi = 'https://worker-task.lihaink.cn' //正式
|
httpApi = 'https://worker-task.lihaink.cn' //正式
|
||||||
httpApiTwo = 'https://logistics.lihaink.cn' //正式环境
|
httpApiTwo = 'https://logistics.lihaink.cn' //正式环境
|
||||||
httpApiThree = 'https://worker-task.lihaink.cn' //正式
|
httpApiThree = 'https://worker-task.lihaink.cn' //正式
|
||||||
break;
|
break;
|
||||||
case 'prew':
|
case 'prew':
|
||||||
httpApi = 'https://preview-worker-task.lihaink.cn' //预上线
|
httpApi = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||||
httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
|
httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||||
httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线
|
httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
|
httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||||
httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
|
httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||||
httpApiTwo = 'https://ceshi-logistics.lihaink.cn' //测试环境
|
httpApiTwo = 'https://ceshi-logistics.lihaink.cn' //测试环境
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
1212
pages.json
1212
pages.json
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user