qingyiay
2023-04-12 1ef0e393913961c11ea05f868a537015572d7b7c
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -3,7 +3,7 @@
      <view class="bangDanMessage">
         <view class="">
            <text>客户:{{ coalDetailsData.customerName || '' }}</text>
            <text>矿厂:{{ coalDetailsData.deptName || '' }}</text>
            <text>矿场:{{ coalDetailsData.deptName || '' }}</text>
         </view>
         <view class="">
            <text>皮重:{{ coalDetailsData.skin || '' }}</text>
@@ -11,7 +11,7 @@
            <text>净重:{{ coalDetailsData.clean || '' }}</text>
         </view>
         <view class="">
            <text>磅单类型:{{ coalDetailsData.orderTye || '' }}</text>
            <text>磅单类型:{{ coalDetailsData.orderType || '' }}</text>
            <text>状态:{{ coalStatus[coalDetailsData.status] }}</text>
         </view>
         <view class="">
@@ -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;
            }
         });
      },
      // 放空弹窗取消