错误信息提示

This commit is contained in:
THK3121 2023-09-12 16:20:31 +08:00
commit 541a0fede4
3 changed files with 547 additions and 540 deletions

View File

@ -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"
})
}) })
}, },

View File

@ -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' //测试环境
} }

1040
pages.json

File diff suppressed because it is too large Load Diff