qingyiay
2023-07-26 b3c833eeb97a7ef0e32d05f9ee3604fed6e4a37b
pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue
@@ -291,10 +291,8 @@
            } else if (this.weighList.orderType == '外购' || this.weighList.orderType == '内购' || this.weighList
               .orderType == '转入') {
               if (this.weighList.hair == 0) {
                  // this.temporaryWeighObj.hair = this.realTimeWeigh;
                  this.temporaryWeighObj.hair = newV;
               } else {
                  // this.temporaryWeighObj.skin = this.realTimeWeigh;
                  this.temporaryWeighObj.skin = newV;
                  this.temporaryWeighObj.clean = (this.weighList.hair - this.temporaryWeighObj.skin).toFixed(2);
                  this.isweigh = this.temporaryWeighObj.clean > this.weighList.orderSurplus || this.temporaryWeighObj
@@ -303,13 +301,6 @@
            }
         },
         // 监听重量变化
         // globalweigh: {
         //    handler(v) {
         //       this.weighData.weigh = this.realTimeWeigh = v;
         //       console.log(this.realTimeWeigh, '真实重量改变了');
         //    },
         //    deep: true
         // },
         globalweigh(newV) {
            this.weighData.weigh = this.realTimeWeigh = newV;
            console.log(this.realTimeWeigh, '真实重量改变了');
@@ -334,13 +325,6 @@
         // 加减煤按钮禁用与否
         addAndSubtractCoalDisabled() {
            return this.realTimeWeigh == 0;
            // if (this.weighList.orderType == '外销' || this.weighList.orderType == '内销' || this.weighList.orderType == '转出') {
            //    if (this.weighList.hair == 0) {
            //       return true;
            //    } else if (this.weighList.hair != 0) {
            //       return false;
            //    }
            // }
         },
         // 是否放空按钮禁用
         isEvacuation() {
@@ -348,15 +332,11 @@
               '转出') {
               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 === 0 ? this.temporaryWeighObj.skin : this.weighList.hair) == this
                  .temporaryWeighObj.hair;
               // return this.weighList.hair == this.temporaryWeighObj.skin || this.temporaryWeighObj.skin == this
               //    .temporaryWeighObj.hair;
            }
         },
         sideline() {