zhoufan 3 vuotta sitten
vanhempi
commit
cbce866922

+ 17 - 17
MadRunFabric.EquipmentApi/EquipmentApi/Controllers/workordermanage/WoRepairBaseController.cs

@@ -6087,7 +6087,7 @@ namespace EquipmentApi.Controllers.workordermanage
6087 6087
             }
6088 6088
             if (string.IsNullOrWhiteSpace(input.faultdescripe))
6089 6089
             {
6090
-                return Error("故障说明不能为空");
6090
+                return Error("设备名称不能为空");
6091 6091
             }
6092 6092
 
6093 6093
             Wo_Repair_Base clmodel = new Wo_Repair_Base();
@@ -6443,22 +6443,22 @@ namespace EquipmentApi.Controllers.workordermanage
6443 6443
                 //{
6444 6444
                 //    return Error("请选择项目");
6445 6445
                 //}
6446
-                //if (string.IsNullOrWhiteSpace(input.repairreplace))
6447
-                //{
6448
-                //    return Error("请选择保修地点");
6449
-                //}
6450
-                //if (string.IsNullOrWhiteSpace(input.repairman))
6451
-                //{
6452
-                //    return Error("报修人不能为空");
6453
-                //}
6454
-                //if (string.IsNullOrWhiteSpace(input.contactway))
6455
-                //{
6456
-                //    return Error("联系方式不能为空");
6457
-                //}
6458
-                //if (string.IsNullOrWhiteSpace(input.faultdescripe))
6459
-                //{
6460
-                //    return Error("故障说明不能为空");
6461
-                //}
6446
+                if (string.IsNullOrWhiteSpace(input.repairreplace))
6447
+                {
6448
+                    return Error("请选择保修地点");
6449
+                }
6450
+                if (string.IsNullOrWhiteSpace(input.repairman))
6451
+                {
6452
+                    return Error("报修人不能为空");
6453
+                }
6454
+                if (string.IsNullOrWhiteSpace(input.contactway))
6455
+                {
6456
+                    return Error("联系方式不能为空");
6457
+                }
6458
+                if (string.IsNullOrWhiteSpace(input.faultdescripe))
6459
+                {
6460
+                    return Error("设备名称不能为空");
6461
+                }
6462 6462
 
6463 6463
                 //clmodel.province = input.province;//省
6464 6464
                 //clmodel.city = input.city;//市