Explorar o código

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

yusheng hai 9 meses
pai
achega
0d1245d26b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/warehouseManagement/inventoryAllocation/add.vue

+ 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) {