Ejemplo n.º 1
0
        /// <summary>
        /// 新建串货订单
        /// </summary>
        /// <param name="filter"></param>
        /// <param name="callback"></param>
        public void CreateCH(CHMaintainVM cm, EventHandler <RestClientEventArgs <dynamic> > callback)
        {
            string   relativeUrl = "/CustomerService/CHSet/CreateCH";
            CHSetReq request     = cm.ConvertVM <CHMaintainVM, CHSetReq>();

            restClient.Create(relativeUrl, request, callback);
        }
Ejemplo n.º 2
0
 public CHSetMaintain(bool isCateogryDefault)
 {
     viewModel        = new CHMaintainVM();
     this.DataContext = viewModel;
     InitializeComponent();
     this.grpCategory.IsChecked = isCateogryDefault;
     this.grpProduct.IsChecked  = !isCateogryDefault;
 }
Ejemplo n.º 3
0
 public CHSetMaintain()
 {
     viewModel        = new CHMaintainVM();
     this.DataContext = viewModel;
     InitializeComponent();
 }