var obj=mini.get("StationeryType");
alert("obj="+obj)
var typeId = obj.getValue();
alert("typeId="+typeId)
var materialObj = mini.get("materialId");
materialObj.load("${ctx}/BM/WF/bgtypeliandong.jsp?typeId="+typeId);
}, function () {
alert("加载数据失败");
}
var grid = e.sender;
var record = e.record;
var rowIndex = e.rowIndex;
var typeId = record.typeId;
var materialId = record.materialId;
var StationeryUnit = record.StationeryUnit;
var materialObj = mini.get("materialId");
//alert("materialObj="+materialObj);
materialObj.load("${ctx}/BM/WF/bgtypeliandong.jsp?typeId="+typeId);
//record.materialId =materialId;
alert("materialId="+materialId);
materialObj.setValue(materialId);
return StationeryUnit;
}