qingyiay
2023-04-08 237a32aadb51f4c7f51d4734f6e62663f8acde36
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -100,7 +100,7 @@
            sceneId: '',
            gateCameraId: '',
            equipmentCode: '',
            weigh: 0
            weigh: 30
         }
      };
   },
@@ -286,11 +286,11 @@
         });
         socket.onClose(() => {
            console.log('webSocketClose');
            this.$u.toast('磅房接口终端');
            this.$u.toast('磅房中断');
         });
         socket.onError(err => {
            console.log('socket报错', err);
            this.$u.toast('磅房接口暂时不能使用,请重新进入该页面,重试!!');
            this.$u.toast('出现错误,请重新进入该页面,重试!!');
         });
      },
      // 放空
@@ -302,7 +302,13 @@
         let mix = Object.assign(this.weighData, this.getWeightHouseObj);
         this.$reqPost('getOneEvacuation', mix, 'json').then(res => {
            console.log(res, '第一次放空');
            this.evacuationModalShow = false;
            if (res.code == 0) {
               this.$u.toast('已放空');
               this.evacuationModalShow = false;
            } else {
               this.$u.toast('放空失败,请稍后重试');
               this.evacuationModalShow = false;
            }
         });
      },
      // 放空弹窗取消