Explorar el Código

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

yusheng hace 9 meses
padre
commit
0d1245d26b
Se han modificado 1 ficheros con 1 adiciones y 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) {