ccjgmwz %!s(int64=3) %!d(string=hai) anos
pai
achega
f2ceb8add3
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      src/views/outboundManagement/weighingManagementNew.vue

+ 8 - 0
src/views/outboundManagement/weighingManagementNew.vue

@@ -1097,6 +1097,14 @@
                   })
                   .catch((response) => {
                     this.$notify.warning(response)
+                    if (this.weighingList.grossWeight) {
+                      this.weighingList.grossWeight = this.weighingList.grossWeight * 1000
+                    }
+
+                    if (this.weighingList.netWeight) {
+                      this.weighingList.netWeight = this.weighingList.netWeight * 1000
+                    }
+                    this.weighingList.tare = this.weighingList.tare * 1000
                   })
               } else {
                 this.weighingList.relationId = this.relationId