Przeglądaj źródła

借阅的时候只能借状态是在库的物资

zhaozhiqiang 5 lat temu
rodzic
commit
a253a86a03

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/archives/archivesController.cs

@@ -440,7 +440,7 @@ namespace CallCenterApi.Interface.Controllers.archives
440 440
                
441 441
 
442 442
                Model.archives  arc=   archivesbll.GetModel(Convert.ToInt32(item));
443
-                if (arc.stateName == "已出库" || arc.stateName == "借阅中" || arc.stateName == "丢失")
443
+                if (arc.stateName == "在库")
444 444
                 {
445 445
                     //根据获取到的状态id修改物资状态
446 446
                     var upstate = archivesbll.updateState(Convert.ToInt32(item), stateid);