本帖最后由 irene 于 2012-8-7 15:47 编辑
http://www.teemlink.com/bbs/view ... mp;extra=#pid201182
这个帖子为参考背景:
计算脚本中:- #include "business";
- ....
- if( null != receiptUnit && ""!= receiptUnit && null != bankOfDeposit && "" != bankOfDeposit && null != receiptBankCode && ""!= receiptBankCode && null != depositBankAddress && "" != depositBankAddress ){
- println("页面获取的值:" + receiptUnit + " === " + bankOfDeposit + "===" + receiptBankCode + "===" + depositBankAddress );
- rtn = "<a href="" onclick=""+insertUnit(receiptUnit,bankOfDeposit,receiptBankCode,depositBankAddress)+""><img src="/obpm/lib/icon/16x16_0020/application_add.png" style="border:0px;height:14;witdth:14" alt="添加单位" /></a>"
- }
- }
- rtn;
复制代码 在公共的函数库中有 insertUnit(receiptUnit,bankOfDeposit,receiptBankCode,depositBankAddress) 这个函数;
我想点击按钮的时候才出发这个函数, 但是现在是不需要点击就出发了这个函数。(PS:页面上每个文本框的属性都勾选了 刷新) |