gjy hace 3 años
padre
commit
aa402d29c1
Se han modificado 1 ficheros con 2 adiciones y 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',