private List<SystemDict> GetBoolConvertYesOrNoDicts() { List<SystemDict> dicts = new List<SystemDict>(); SystemDict status1 = new SystemDict(); SystemDict status2 = new SystemDict(); status1.DictName = "否"; status1.DictValue = 0; status2.DictName = "是"; status2.DictValue = 1; dicts.Add(status1); dicts.Add(status2); return dicts; }
private List<SystemDict> GetStockDetailStatusDicts() { List<SystemDict> dicts = new List<SystemDict>(); SystemDict status1 = new SystemDict(); SystemDict status2 = new SystemDict(); SystemDict status3 = new SystemDict(); SystemDict status4 = new SystemDict(); SystemDict status5 = new SystemDict(); SystemDict status6 = new SystemDict(); SystemDict status7 = new SystemDict(); SystemDict status8 = new SystemDict(); status1.DictName = "未入库"; status1.DictValue = 0; status2.DictName = "已入库"; status2.DictValue = 1; status3.DictName = "减薄后"; status3.DictValue = 2; status4.DictName = "抛光后"; status4.DictValue = 3; status5.DictName = "已出库";//做完镀膜便为已出库 status5.DictValue = 4; status6.DictName = "已出库"; status6.DictValue = 5; status7.DictName = "返工中"; status7.DictValue = 8; status8.DictName = "退货"; status8.DictValue = -1; dicts.Add(status1); dicts.Add(status2); dicts.Add(status3); dicts.Add(status4); dicts.Add(status5); dicts.Add(status6); dicts.Add(status7); dicts.Add(status8); return dicts; }