ccjgmwz пре 3 година
родитељ
комит
f2ceb8add3
1 измењених фајлова са 8 додато и 0 уклоњено
  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