dwzteam / dwz_jui

jUI
http://jui.org
Other
470 stars 263 forks source link

在使用combox和lookup控件同时存在时取值的问题。 #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
页面上同时有:combox和lookup控件,如下:
<th>供货商</th><td><input type="text"  class="required textInput valid"  
readonly="readonly"  name="supplier.supplierName"   lookuppk="supplierNo"  
value="${supplier.supplierName!}" />
<a class="btnLook"  url="/jbsupplier/lookuplst"   lookupgroup="supplier"  
lookuppk="supplierNo"  title="查找带回">查找带回</a></td>

<th>部门:</th><td><select name="cgOrd.partmentNo" class="combox"  
val="${cgOrd.partmentNo!}"><@partSelect/></select></td>

使用freemark展现,当先combox选择值再lookup控件选择值后,combox
修改的值提交被原值又替换了,好像是用了dwz.min.js中combox: 
function()里var value = $this.val();造成的,有没有谁碰到过呀?

Original issue reported on code.google.com by gowish...@gmail.com on 27 Sep 2013 at 9:43