zxz 3 vuotta sitten
vanhempi
commit
330476a25c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      pages/erp/warehousing/warehousing.vue

+ 1 - 1
pages/erp/warehousing/warehousing.vue

@@ -514,7 +514,7 @@
 					this.$api.msg('扣重输入错误!')
 					return
 				}
-				if (this.detailData.tare > this.detailData.grossWeight) {
+				if (Number(this.detailData.tare) > Number(this.detailData.grossWeight)) {
 					this.$api.msg('皮重不能大于毛重')
 					return
 				}