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