Răsfoiți Sursa

库存调拨表单校验修复,将名称校验字段从tableData改为params

yusheng 9 luni în urmă
părinte
comite
0d1245d26b

+ 1 - 1
src/views/warehouseManagement/inventoryAllocation/add.vue

@@ -1095,7 +1095,7 @@
         }
       },
       submit(status) {
-        if (!this.tableData.name) {
+        if (!this.params.name) {
           return this.$message.error('名称不能为空!');
         }
         if (this.tableData.length > 0) {