qingyiay
2023-07-02 d6a5b791f86f132dfb24c75021a200538b68b929
称重逻辑增加判断
1个文件已修改
5 ■■■■■ 已修改文件
pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue
@@ -315,12 +315,13 @@
            },
            currentHair() {
                return this.temporaryWeighObj.hair ? this.temporaryWeighObj.hair : this.showWeigh.skin ? (this.showWeigh
                    .skin || 0) : (this.showWeigh.hair || 0)
                    .skin || '') : (this.showWeigh.hair || '')
            },
            currentSkin() {
                return this.temporaryWeighObj.skin || 0
                return this.temporaryWeighObj.skin || ''
            },
            currentClean() {
                if (!this.currentSkin) return ''
                return (this.currentHair - this.currentSkin).toFixed(2)
            }
        },