zxz 3 лет назад
Родитель
Сommit
330476a25c
1 измененных файлов с 1 добавлено и 1 удалено
  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
 				}