gjy %!s(int64=3) %!d(string=hai) anos
pai
achega
aa402d29c1
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/warehouse/warehouseManagementGross.vue

+ 2 - 2
src/views/warehouse/warehouseManagementGross.vue

@@ -951,7 +951,7 @@ export default {
         })
         return
       }
-      if (!this.deptBudgetList.tare) {
+      if (!String(this.deptBudgetList.tare)) {
         this.$message({
           message: '皮重不能为空',
           type: 'warning',
@@ -972,7 +972,7 @@ export default {
         })
         return
       }
-      if (!this.deptBudgetList.deductionWeight) {
+      if (!String(this.deptBudgetList.deductionWeight)) {
         this.$message({
           message: '扣重不能为空',
           type: 'warning',