qingyiay
2023-09-21 c234dffcd3adaf7b8d87a5a8301871493c0cadbd
pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue
@@ -549,6 +549,7 @@
                        let yy = new BigNumber(this.globalweigh)
                        if (xx.minus(yy).toNumber() <= -0.2 || xx.minus(yy).toNumber() >= 0.2) {
                           this.abnormalModalShow = true
                           this.skinAbnormal()
                        } else {
                           this.saveWeigh();
                        }
@@ -566,6 +567,7 @@
         // 确认称重接口
         saveWeigh() {
            this.weighData.coalContactClean = this.coalContactClean;
            console.log(this.weighData);
            this.$reqPost('saveWeigh', this.weighData, 'json')
               .then(res => {
                  console.log(res, '称重接口');
@@ -682,13 +684,11 @@
         // 提交异常原因
         abnormalConfirm() {
            this.weighData.abnormalText = this.abnormalContent
            this.skinAbnormal()
            this.saveWeigh()
            this.abnormalModalShow = false
         },
         skinAbnormal() {
            this.$reqPost('skinAbnormal', { sceneId: this.weighData.sceneId }, 'params').then(() => {
               this.abnormalModalShow = false
            })
            this.$reqPost('skinAbnormal', { sceneId: this.weighData.sceneId, tmId: this.weighData.tmId }, 'params')
         },
         mergeStateChange(e) {
            if (e.length !== 0) {