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',