var a1 = this.options.form.getWidgetByName("dpname").getValue() var len1 = a1.length; var b = FR.remoteEvaluate('=SQL("stmit_adl","SELECT dpid FROM TB_BAS_DPXX WHERE dpname =' + a1 + ' ",1)'); var dpid = this.options.form.getWidgetByName("dpid"); if (len1 == 0) { 1 == 1; } else { dpid.setValue(b); } 哪里有问题呢,还有这个该选初始化后,还是编辑结束后 |