{
 "hidden": false,
 "children": [{
  "configs": {
   "itemId": "module",
   "serverScript": "var rs = app.run(\"select E_COLUMN, C_COLUMN, JNDI from  SUPCAN_DATA_SOURCE where COD={?COD?}\",{jndi:'default'});//{?COD?}\
var xml = '<?xml version=\"1.0\" encoding=\"UTF-8\" ?><cols>',eColumn,cColumn;\
var  intStr='  datatype=\"double\" ';\
if (rs.next()) {\
   \
    eColumn = rs.getString(1);\
    cColumn = rs.getString(2);\
    var es = eColumn.split(\",\");\
    var cs = cColumn.split(\",\");\
    for (var i = 0; i < es.length; i++) {\
//       app.log(cs[i].indexOf('费')+\"=====\"+cs[i]);\
//       if(cs[i].indexOf('数')>=0|| cs[i].indexOf('价')>=0|| cs[i].indexOf('金额')>=0|| cs[i].indexOf('数量')>=0|| cs[i].indexOf('件数')>=0 || cs[i].indexOf('重量')>=0|| cs[i].indexOf('体积')>=0)\
//          xml += \"<col name=\\\"\" + es[i] + \"\\\" datatype=\\\"double\\\" >\" +cs[i] + \"<\/col>\";\
//         else\
     xml += \"<col name=\\\"\" + es[i] + \"\\\" >\" +cs[i] + \"<\/col>\";\
    }\
//    xml += \"<col name=\\\"gxw\\\" >gxw<\/col>\";\
}\
xml += \"<\/cols>\";\
app.log(xml);\
app.send(xml);",
   "loginRequired": "false"
  },
  "expanded": true,
  "children": [],
  "type": "module"
 }],
 "roles": {"default": 1},
 "title": "加载数据项说明",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}