上下架读取商品名称

master
e 2019-05-31 22:40:05 +08:00
parent b0c560cd09
commit 171cede588
5 changed files with 20 additions and 14 deletions

View File

@ -1859,7 +1859,7 @@ public class WmOmNoticeHController extends BaseController {
@ResponseBody @ResponseBody
public AjaxJson doUpdate(WmOmNoticeHEntity wmOmNoticeH,WmOmNoticeHPage wmOmNoticeHPage, HttpServletRequest request) { public AjaxJson doUpdate(WmOmNoticeHEntity wmOmNoticeH,WmOmNoticeHPage wmOmNoticeHPage, HttpServletRequest request) {
List<WmOmNoticeIEntity> wmOmNoticeIList = wmOmNoticeHPage.getWmOmNoticeIList(); List<WmOmNoticeIEntity> wmOmNoticeIList = wmOmNoticeHPage.getWmOmNoticeIList();
List<TmsYwDingdanEntity> wmOmtmsIList = wmOmNoticeHPage.getWmOmtmsIList(); List<TmsYwDingdanEntity> wmOmtmsIList = wmOmNoticeHPage.getWmOmtmsIList();
AjaxJson j = new AjaxJson(); AjaxJson j = new AjaxJson();
String message = "更新成功"; String message = "更新成功";
try{ try{

View File

@ -187,8 +187,11 @@ public class WmOmNoticeHServiceImpl extends CommonServiceImpl implements WmOmNot
} }
//3.筛选更新明细数据-运输商品明细 //3.筛选更新明细数据-运输商品明细
String hql1 ="from TmsYwDingdanEntity where 1 = 1 AND ywkhdh = ? ";
List<TmsYwDingdanEntity> wmOmtmsIOldList = this.findHql(hql1,id0);
if(wmOmtmsIList!=null&&wmOmtmsIList.size()>0){ if(wmOmtmsIList!=null&&wmOmtmsIList.size()>0){
for(TmsYwDingdanEntity oldE:wmOmtmsIList){ for(TmsYwDingdanEntity oldE:wmOmtmsIOldList){
boolean isUpdate = false; boolean isUpdate = false;
for(TmsYwDingdanEntity sendE:wmOmtmsIList){ for(TmsYwDingdanEntity sendE:wmOmtmsIList){
//需要更新的明细数据-出货商品明细 //需要更新的明细数据-出货商品明细

View File

@ -37,7 +37,8 @@
</tr> </tr>
<tr> <tr>
<td align="center" width="100px"><label class="Validform_label">checkbox:</label></td> <td align="center" width="100px"><label class="Validform_label">checkbox:</label></td>
<td class="value"><t:dictSelect field="dbtype" type="checkbox" typeGroupCode="dbtype" hasLabel="false" title="数据库类型" defaultVal="oracle,mysql"></t:dictSelect> <td class="value">
<t:dictSelect field="dbtype" type="checkbox" typeGroupCode="dbtype" hasLabel="false" title="数据库类型" defaultVal="oracle,mysql"></t:dictSelect>
<span class="Validform_checktip"></span> <span class="Validform_checktip"></span>
</td> </td>
</tr> </tr>

View File

@ -513,18 +513,18 @@
<%-- dictCondition="${wmOmNoticeHPage.wherecon}" dictTable="mv_goods" dictField="goods_code" dictText="goods_name" defaultVal="" hasLabel="false" title="商品编码"></t:dictSelect> --%> <%-- dictCondition="${wmOmNoticeHPage.wherecon}" dictTable="mv_goods" dictField="goods_code" dictText="goods_name" defaultVal="" hasLabel="false" title="商品编码"></t:dictSelect> --%>
<input id="wmOmtmsIList[#index#].fahuoren" maxlength="32" <%--<input id="wmOmtmsIList[#index#].fahuoren" maxlength="32"--%>
ignore="ignore" <%--ignore="ignore"--%>
type="text" class="form-control searchbox-inputtext" style="width:420px;text-align: left" > <%--type="text" class="form-control searchbox-inputtext" style="width:120px;text-align: left" >--%>
<t:dictSelect field="wmOmtmsIList[#index#].fahuoren" type="select" typeGroupCode="tms_kd" hasLabel="false" defaultVal=""></t:dictSelect>
<label class="Validform_label" style="display: none;">快递公司</label>
<label class="Validform_label" style="display: none;">快递公司</label>
</td> </td>
<td align="left"> <td align="left">
<input name="wmOmtmsIList[#index#].fadh" maxlength="32" <input name="wmOmtmsIList[#index#].fadh" maxlength="32"
ignore="ignore" ignore="ignore"
type="text" class="form-control" style="width:120px;" > type="text" class="form-control" style="width:220px;" >
<label class="Validform_label" style="display: none;">运单号</label> <label class="Validform_label" style="display: none;">运单号</label>
</td> </td>

View File

@ -114,10 +114,10 @@
<th scope="row"><div name="xh"></div></th> <th scope="row"><div name="xh"></div></th>
<td><input style="width:20px;" type="checkbox" name="ck"/></td> <td><input style="width:20px;" type="checkbox" name="ck"/></td>
<td> <td>
<input id="wmOmtmsIList[0].fahuoren" name="wmOmtmsIList[0].fahuoren" maxlength="32" <%--<input id="wmOmtmsIList[0].fahuoren" name="wmOmtmsIList[0].fahuoren" maxlength="32"--%>
type="text" style="width:420px;text-align: left" > <%--type="text" style="width:420px;text-align: left" >--%>
<t:dictSelect field="wmOmtmsIList[#index#].fahuoren" type="select" typeGroupCode="tms_kd" hasLabel="false" defaultVal=""></t:dictSelect>
<label class="Validform_label" style="display: none;">快递公司</label> <label class="Validform_label" style="display: none;">快递公司</label>
</td> </td>
@ -154,8 +154,10 @@
<td align="left"> <td align="left">
<input id="wmOmtmsIList[${stuts.index }].fahuoren" value="${poVal.fahuoren }" maxlength="32" <%--<input id="wmOmtmsIList[${stuts.index }].fahuoren" value="${poVal.fahuoren }" maxlength="32"--%>
type="text" class="form-control" style="width:120px;" > <%--type="text" class="form-control" style="width:120px;" >--%>
<t:dictSelect field="wmOmtmsIList[${stuts.index }].fahuoren" type="select" typeGroupCode="tms_kd" hasLabel="false" defaultVal="${poVal.fahuoren }"></t:dictSelect>
<label class="Validform_label" style="display: none;">快递公司</label> <label class="Validform_label" style="display: none;">快递公司</label>
</td> </td>