上下架读取商品名称

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
public AjaxJson doUpdate(WmOmNoticeHEntity wmOmNoticeH,WmOmNoticeHPage wmOmNoticeHPage, HttpServletRequest request) {
List<WmOmNoticeIEntity> wmOmNoticeIList = wmOmNoticeHPage.getWmOmNoticeIList();
List<TmsYwDingdanEntity> wmOmtmsIList = wmOmNoticeHPage.getWmOmtmsIList();
List<TmsYwDingdanEntity> wmOmtmsIList = wmOmNoticeHPage.getWmOmtmsIList();
AjaxJson j = new AjaxJson();
String message = "更新成功";
try{

View File

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

View File

@ -37,7 +37,8 @@
</tr>
<tr>
<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>
</td>
</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> --%>
<input id="wmOmtmsIList[#index#].fahuoren" maxlength="32"
ignore="ignore"
type="text" class="form-control searchbox-inputtext" style="width:420px;text-align: left" >
<%--<input id="wmOmtmsIList[#index#].fahuoren" maxlength="32"--%>
<%--ignore="ignore"--%>
<%--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 align="left">
<input name="wmOmtmsIList[#index#].fadh" maxlength="32"
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>
</td>

View File

@ -114,10 +114,10 @@
<th scope="row"><div name="xh"></div></th>
<td><input style="width:20px;" type="checkbox" name="ck"/></td>
<td>
<input id="wmOmtmsIList[0].fahuoren" name="wmOmtmsIList[0].fahuoren" maxlength="32"
type="text" style="width:420px;text-align: left" >
<%--<input id="wmOmtmsIList[0].fahuoren" name="wmOmtmsIList[0].fahuoren" maxlength="32"--%>
<%--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>
</td>
@ -154,8 +154,10 @@
<td align="left">
<input id="wmOmtmsIList[${stuts.index }].fahuoren" value="${poVal.fahuoren }" maxlength="32"
type="text" class="form-control" style="width:120px;" >
<%--<input id="wmOmtmsIList[${stuts.index }].fahuoren" value="${poVal.fahuoren }" maxlength="32"--%>
<%--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>
</td>