gjy 3 лет назад
Родитель
Сommit
aa402d29c1
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/views/warehouse/warehouseManagementGross.vue

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

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