直接调用后台方法: 公共字符串GetTransType(对象) { 字符串type_flag = convert.tostring(obj); 字符串strreturn = ; 开关(type_flag) { 例1:strreturn =工厂的产品;打破; 例2:strreturn =在厂半成品;打破; 例3:strreturn =已出库未申报成品;打破; 案例我:strreturn =数量的原材料在工厂;打破; Case Y: strReturn = the number of items that have not been sent to the library; break; 案例W:strreturn = 尚未提交的报关项目数;打破; 默认值;中断; } 返回strreturn; } 在repeader控制更换标识值的方法: