yangan
2024-06-20 2490d3321f6d6f9b5bacf29225387f7c3f89a2b4
pages/driver-page/driver-index/driver-index.vue
@@ -487,7 +487,13 @@
                  uni.hideLoading()
                  if (res.code == 0) {
                     this.$u.toast('接单成功');
                     //判断是不是集装箱 是否需要输入
                     if(this.activeObj.isContainerNum){
                     this.enterCode = true;
                     }else{
                        this.enterCode = false;
                     }
                  } else {
                     this.$u.toast(res.msg ? res.msg : '接单失败');
                  }
@@ -611,7 +617,10 @@
         },
         cancelCodeEnter(){
            this.activeObj.containerNumber = this.enterCodeStr;
             this.$reqPut('tmtaskCoalPut',this.activeObj).then(res=>{
             this.$reqPut('addContainer',{
               id:this.activeObj.tmId,
               containerNumber:this.activeObj.containerNumber
            }).then(res=>{
               this.$u.toast('操作成功');
               this.enterCodeStr = '';
               this.enterCode = false;