示例#1
0
        public string PostStorage(dynamic data)
        {
            string msg = "";

            var result = new MES_GoodsInspectionDetailService().AuditBillCode(data["mainID"].ToString(), out msg);

            return(msg);
        }
示例#2
0
        //todo 改成支持多个Tab
        // 地址:GET api/mms/@(controller)/getnewrowid 预取得新的明细表的行号
        public string GetNewRowId(string type, string key, int qty = 1)
        {
            switch (type)
            {
            case "grid0":
                var service0 = new MES_GoodsInspectionDetailService();
                return(service0.GetNewKey("ID", "maxplus", qty, ParamQuery.Instance().AndWhere("ID", key, Cp.Equal)));

            default:
                return("");
            }
        }