html界面添加判断

 

 

 

  toolbar: [



                      @if (Model.flag == 1 || Model.flag == 2)
                         {


                                 @:{
                                 @:    text: '添加品番 ',
                                 @:    iconCls: 'icon-add',
                                 @:     handler: function () {  ShowDPPRTNSearchDlg(); }
                                 @:  }
                           }
]

  

posted @ 2017-05-17 18:29  人生为卒  阅读(1033)  评论(0编辑  收藏  举报