|
@@ -968,6 +968,7 @@
|
|
//确定领取
|
|
//确定领取
|
|
function handleConfirm() {
|
|
function handleConfirm() {
|
|
unbindInspectionCarrier({carrierCode:carrierCode.value}).then(res => {
|
|
unbindInspectionCarrier({carrierCode:carrierCode.value}).then(res => {
|
|
|
|
+ if(res.code == 200) {
|
|
let pages = getCurrentPages();
|
|
let pages = getCurrentPages();
|
|
let index = 0
|
|
let index = 0
|
|
for (let i = 0; i < pages.length; i++) {
|
|
for (let i = 0; i < pages.length; i++) {
|
|
@@ -981,6 +982,13 @@
|
|
uni.navigateBack({
|
|
uni.navigateBack({
|
|
delta: index
|
|
delta: index
|
|
});
|
|
});
|
|
|
|
+ }else{
|
|
|
|
+ uni.showToast({
|
|
|
|
+ icon: 'none',
|
|
|
|
+ title: res.msg,
|
|
|
|
+ duration: 2000
|
|
|
|
+ })
|
|
|
|
+ }
|
|
})
|
|
})
|
|
}
|
|
}
|
|
//图纸
|
|
//图纸
|