qingyiay
2023-06-25 5a46eb96564990957f393854e198bcee910c2e54
pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue
@@ -103,15 +103,36 @@
         style="width: 100%;height: 40rpx;"></view>
      <view class="bottom-block">
         <view class="block-main">
            <view class="main-information">
            <view class="main-information"
               v-if="weighList.orderType=='转入'||weighList.orderType=='转出'">
               <view class="prefix">
                  发货地煤场:
               </view>
               <view class="suffix">
                  {{ weighList.filedName || '' }}
               </view>
            </view>
            <view class="main-information"
               v-if="weighList.orderType=='转入'||weighList.orderType=='转出'">
               <view class="prefix">
                  收货地煤场:
               </view>
               <view class="suffix">
                  {{ weighList.toFiledName || '' }}
               </view>
            </view>
            <view class="main-information"
               v-if="weighList.orderType!=='转入'||weighList.orderType!=='转出'">
               <view class="prefix">客户:</view>
               <view class="suffix">{{ weighList.customerName }}</view>
            </view>
            <view class="main-information">
               <view class="prefix">矿场:</view>
            <view class="main-information"
               v-if="weighList.orderType!=='转入'||weighList.orderType!=='转出'">
               <view class="prefix">矿场:</view>
               <view class="suffix">{{ weighList.deptName || '' }}</view>
            </view>
            <view class="main-information">
            <view class="main-information"
               v-if="weighList.orderType!=='转入'||weighList.orderType!=='转出'">
               <view class="prefix">煤场:</view>
               <view class="suffix">{{ weighList.filedName || '' }}</view>
            </view>
@@ -327,13 +348,17 @@
         isEvacuation() {
            if (this.weighList.orderType == '外销' || this.weighList.orderType == '内销' || this.weighList.orderType ==
               '转出') {
               return this.weighList.skin == this.temporaryWeighObj.hair || this.temporaryWeighObj.skin == this
               return (this.weighList.skin === 0 ? this.temporaryWeighObj.skin : this.weighList.skin) == this
                  .temporaryWeighObj.hair;
               // return this.weighList.skin == this.temporaryWeighObj.hair || this.temporaryWeighObj.skin == this
               //    .temporaryWeighObj.hair;
            }
            if (this.weighList.orderType == '外购' || this.weighList.orderType == '内购' || this.weighList.orderType ==
               '转入') {
               return this.weighList.hair == this.temporaryWeighObj.skin || this.temporaryWeighObj.skin == this
               return (this.weighList.hair === 0 ? this.temporaryWeighObj.skin : this.weighList.hair) == this
                  .temporaryWeighObj.hair;
               // return this.weighList.hair == this.temporaryWeighObj.skin || this.temporaryWeighObj.skin == this
               //    .temporaryWeighObj.hair;
            }
         },
         sideline() {
@@ -421,7 +446,9 @@
            this.$reqPost('addAndSubtractCoal', {
               deptId: this.weighData.deptId,
               sceneId: this.weighData.sceneId,
               carNo: this.weighData.carNo
               carNo: this.weighData.carNo,
               tmId: this.weighData.tmId,
               filedId: this.weighData.filedId
            }, 'json').then(res => {
               if (res.code == 0) {
                  this.$u.toast('操作成功,即将返回上一页');