This commit is contained in:
parent
d4270444d4
commit
ccdf344ba4
|
|
@ -59,10 +59,10 @@ namespace NP.BO.Controllers
|
|||
//{
|
||||
// vm.CGs2 = Dao.Get<CG>("cm.cgs", new System.Collections.Hashtable() { { "isuse", 1 }, { "pcgno", vm.stringval },{ "isdel", 0 } });
|
||||
//}
|
||||
if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval12))
|
||||
{
|
||||
vm.stringval12 = DateTime.Now.Year.ToString();
|
||||
}
|
||||
//if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval12))
|
||||
//{
|
||||
// vm.stringval12 = DateTime.Now.Year.ToString();
|
||||
//}
|
||||
if (vm.viewidx == 0 && !string.IsNullOrEmpty(vm.stringval10))
|
||||
{
|
||||
vm.stringval10 = vm.stringval10 ?? DateTime.Now.AddMonths(-1).ToString("yyyy-MM-01");
|
||||
|
|
|
|||
Loading…
Reference in New Issue