Ejemplo n.º 1
0
        //修改供应商
        public ActionResult UdpateGongYing(string supplierLeix, string supplierName, string phone, string chuanzhen, string email, string contacts, string address, string contents, string supplierNum)
        {
            GongYingBLL     bll  = new GongYingBLL();
            List <supplier> list = bll.Suppliers();
            supplier        a    = new supplier();

            a.supplierNum = supplierNum; a.supplierLeix = supplierLeix; a.supplierName = supplierName; a.phone = phone; a.chuanzhen = chuanzhen;
            a.email       = email; a.contacts = contacts; a.address = address; a.contents = contents; a.isDel = 1;
            bll.Udpate(a);

            return(Json("修改成功!", JsonRequestBehavior.AllowGet));
        }