gjy 3 년 전
부모
커밋
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
       }
-      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',