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