帆软JS实现SQL查询—控件值设置

var kh = this.options.form.getWidgetByName(“kh”).getValue(); var zhmc = this.options.form.getWidgetByName(“zhmc”); if(kh.trim().length=28){ zhmc.setValue(FR.remoteEvaluate(“sql(\“JDBC1\”,\“select t.mc from 表名 t where t.编号=“ +参数+”\”,1,1)”)); }
默认分类 | 2017-08-16 15:03 | 阅读 1189 次 | 评论 0 条
文章分类
文章归档
最新评论