public void cERP(DataRow dr, MODEL.CompeleteERP list)
        {
            list.org         = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["org"]));
            list.myNumber    = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["myNumber"]));
            list.orderID     = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["orderID"]));
            list.moveOrderID = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["moveOrderID"]));
            list.finishID    = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["finishID"]));
            list.custID      = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["custID"]));
            list.custName    = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["custName"]));

            list.Style           = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["Style"]));
            list.taskProcessName = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["taskProcessName"]));
            list.OrderQty        = Convert.ToInt32(ERP_SqlHelper.FromDbValue(dr["OrderQty"]));
            list.makeQty         = Convert.ToInt32(ERP_SqlHelper.FromDbValue(dr["makeQty"]));
            list.FinishDate      = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FinishDate"]));
            list.emploreeID      = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["emploreeID"]));
            list.caption         = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["caption"]));

            list.ProcessID     = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["ProcessID"]));
            list.processName   = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["processName"]));
            list.lineID        = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["lineID"]));
            list.WorkID        = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["WorkID"]));
            list.workMachineID = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["workMachineID"]));
            list.finishQty     = Convert.ToInt32(ERP_SqlHelper.FromDbValue(dr["finishQty"]));
            list.BonusQty      = Convert.ToInt32(ERP_SqlHelper.FromDbValue(dr["BonusQty"]));
            list.checkedID     = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["checkedID"]));
        }
 public void cMes(DataRow dr, MODEL.CompeleteMes list)
 {
     list.orderSKU     = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["orderSKU"]));
     list.my_no        = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["my_no"]));
     list.productModel = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["productModel"]));
     list.partName     = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["partName"]));
     list.QTY          = Convert.ToInt32(ERP_SqlHelper.FromDbValue(dr["QTY"]));
     list.sysAddTime   = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["sysAddTime"]));
 }
 public void propertys(DataRow dr, MODEL.propertys list)
 {
     list.id           = 0;                                                                                                                               // 索引
     list.erpid        = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ01"]));                                                                        // ERP索引
     list.org          = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ22"]));                                                                        // 厂别
     list.propertyID   = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ02"]));                                                                        // 财编
     list.propertyName = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ06"]));                                                                        // 资产名称
     list.propertyMode = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ08"]));                                                                        // 资产型号
     list.propertyType = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ93"]));                                                                        // 固资分类
     // DateTime.Now.ToString("yyyy/MM/dd  hh:mm:ss")
     list.buyDate            = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ25"]));                                                                  // 购入日期
     list.propertyDept       = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ20"]));                                                                  // 资产归属部门
     list.propertyLocal      = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ21"])) + "-" + Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAF02"])); // 资产存放位置
     list.propertyBuyID      = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ47"]));                                                                  // 资产采购单号
     list.propertySavePerson = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ19"])) + "-" + Convert.ToString(ERP_SqlHelper.FromDbValue(dr["GEN02"])); // 资产保管人
     list.propertyUnit       = Convert.ToString(ERP_SqlHelper.FromDbValue(dr["FAJ18"]));                                                                  // 资产单位
     list.propertyPrintTims  = 0;                                                                                                                         // 财编打印次数
     list.propertyPrintPC    = "";                                                                                                                        // 资产建立者PC名
     list.propertyIsDel      = 0;                                                                                                                         // 删除标记
     list.propertyDelPC      = "";                                                                                                                        // 删除者PC
     list.propertyDelDate    = "";                                                                                                                        // 删除日期
     list.propertyDelNote    = "";                                                                                                                        // 删除备注
 }