入库通知,出库通知样式修改

master
cez 2021-12-11 23:07:03 +08:00
parent 8053a75df7
commit 4b2b490b6d
4 changed files with 518 additions and 511 deletions

View File

@ -63,6 +63,7 @@
$('#cuscodeh').val(cuscode);
// var controls=document.getElementsByName("wmImNoticeIList[0].goodsCode");
}
$(document).ready(function () {
init();
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
@ -92,6 +93,7 @@
return false;
});
});
//初始化下标
function resetTrNum(tableId) {
$tbody = $("#" + tableId + "");
@ -109,7 +111,6 @@
}
}
});
$(this).find('div[name=\'xh\']').html(i + 1);
@ -126,15 +127,17 @@
//tabHead.attr("tab-ajax-cached", true);
});
}
// function selectfun(){
// alert($("#cuscodeid").val);
// }
$(document).ready(function () {
//绑定下拉框change事件当下来框改变时调用 SelectChange()方法
$("select[name='cusCode']").change(function() { SelectChange(); });
$("select[name='cusCode']").change(function () {
SelectChange();
});
SelectChange();
})
@ -159,7 +162,9 @@
</script>
<body>
<form id="formobj" action="wmImNoticeHController.do?doAdd" name="formobj" method="post"><input type="hidden" id="btn_sub" class="btn_sub"/>
<form id="formobj" action="wmImNoticeHController.do?doAdd" name="formobj" method="post"><input type="hidden"
id="btn_sub"
class="btn_sub"/>
<input type="hidden" id="btn_sub" class="btn_sub"/>
<input type="hidden" id="cuscodeh" name="cuscodeh"/>
@ -178,24 +183,25 @@
<b>货主:</b>
</div>
<div class="col-xs-2">
<t:dictSelect readonly="${wmImNoticeHPage.readonly}" field="cusCode" type="list" extendJson=" {class:'form-control',datatype:'*',style:'width:230px'}"
defaultVal="${wmImNoticeHPage.cusCode}" dictTable="mv_cus" dictField="cus_code" dictText="cus_name" hasLabel="false" title="货主"></t:dictSelect>
<t:dictSelect readonly="${wmImNoticeHPage.readonly}" field="cusCode" type="list"
extendJson=" {class:'form-control',datatype:'*',style:'width:230px'}"
defaultVal="${wmImNoticeHPage.cusCode}" dictTable="mv_cus" dictField="cus_code"
dictText="cus_name" hasLabel="false" title="货主"></t:dictSelect>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">供应商编码</label>
<%-- <t:autocomplete searchField="cusName" name="cusCode" entityName="MvCusEntity" ></t:autocomplete> --%>
</div>
<div class="col-xs-1 text-center">
<b>预计到货时间:</b>
</div>
<div class="col-xs-2">
<input id="imData" name="imData" type="text"
ignore="ignore" onchange="setcond()"
style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;" class="form-control" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="date" pattern="yyyy-MM-dd hh:mm:ss" />
style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;"
class="form-control" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="date"
pattern="yyyy-MM-dd hh:mm:ss"/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">预计到货时间</label>
</div>
@ -205,9 +211,10 @@
</div>
<div class="col-xs-2">
<input id="imCusCode" name="imCusCode" type="text" class="form-control"
required="required" ignore="ignore" datatype="*" validType="wm_im_notice_h,im_cus_code,id"
required="required" ignore="ignore" datatype="*"
validType="wm_im_notice_h,im_cus_code,id"
/>
<span class="Validform_checktip"> 不能重复</span>
<%-- <span class="Validform_checktip"> 不能重复</span>--%>
</div>
@ -232,21 +239,24 @@
<input id="imCarDri" name="imCarDri" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">运输公司</label>
</div>
<div class="col-xs-1 text-center">
<b>供应商:</b>
</div>
<t:dictSelect field="supCode" type="list" extendJson=" {class:'form-control',style:'width:230px'}"
dictTable="md_sup" dictField="GYS_BIAN_MA" dictText="ZHONG_WEN_QCH" hasLabel="false" title="供应商"></t:dictSelect>
<div class="col-xs-2">
<t:dictSelect field="supCode" type="list" extendJson=" {class:'form-control',style:'width:230px'}"
dictTable="md_sup" dictField="GYS_BIAN_MA" dictText="ZHONG_WEN_QCH" hasLabel="false"
title="供应商"></t:dictSelect>
</div>
<div class="col-xs-1 text-center">
<b>预约库区:</b>
</div>
<div class="col-xs-2">
<t:dictSelect field="areaCode" type="list" extendJson=" {class:'form-control',datatype:'*',style:'width:230px'}"
defaultVal="存货区" typeGroupCode="area_type" hasLabel="false" title="预约库区"></t:dictSelect>
<t:dictSelect field="areaCode" type="list"
extendJson=" {class:'form-control',datatype:'*',style:'width:230px'}"
defaultVal="存货区" typeGroupCode="area_type" hasLabel="false"
title="预约库区"></t:dictSelect>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">预约库区</label>
<%-- <t:autocomplete searchField="cusName" name="cusCode" entityName="MvCusEntity" ></t:autocomplete> --%>
@ -273,40 +283,35 @@
<%-- <label class="Validform_label" style="display: none">司机电话</label>--%>
<%-- </div>--%>
<div class="col-xs-1 text-center">
<b>订单类型:</b>
</div>
<div class="col-xs-2">
<t:dictSelect field="orderTypeCode" type="list" extendJson="{class:'form-control',style:'width:150px'}"
dictTable="ba_order_type" dictField="order_type_code" dictText="order_type_name" defaultVal="${wmImNoticeHPage.orderTypeCode}" hasLabel="false" title="订单类型"></t:dictSelect>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">订单类型</label>
</div>
<div class="col-xs-1 text-center">
<b>仓库:</b>
</div>
<div class="col-xs-2">
<t:dictSelect field="storeCode" type="list" extendJson=" {class:'form-control',datatype:'*',style:'width:230px'}"
<t:dictSelect field="storeCode" type="list"
extendJson=" {class:'form-control',datatype:'*',style:'width:230px'}"
dictTable="ba_store" dictField="store_code" dictText="store_name"></t:dictSelect>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">仓库</label>
<%-- <t:autocomplete searchField="cusName" name="cusCode" entityName="MvCusEntity" ></t:autocomplete> --%>
</div>
</div>
<%--<div class="col-xs-1 text-center">--%>
<%--<b>月台:</b>--%>
<%--</div>--%>
<%--<div class="col-xs-2">--%>
<%--<t:dictSelect field="platformCode" type="list" extendJson="{class:'form-control',style:'width:150px'}" --%>
<%--dictTable="ba_platform" dictField="platform_code" dictText="platform_name" hasLabel="false" title="月台"></t:dictSelect> --%>
<%--<span class="Validform_checktip" style="float:left;height:0px;"></span>--%>
<%--<label class="Validform_label" style="display: none">月台</label>--%>
<%--</div>--%>
</div>
<div class="row show-grid">
<div class="col-xs-1 text-center">
<b>订单类型:</b>
</div>
<div class="col-xs-2">
<t:dictSelect field="orderTypeCode" type="list"
extendJson="{class:'form-control',style:'width:150px'}"
dictTable="ba_order_type" dictField="order_type_code" dictText="order_type_name"
defaultVal="${wmImNoticeHPage.orderTypeCode}" hasLabel="false"
title="订单类型"></t:dictSelect>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">订单类型</label>
</div>
<div class="col-xs-1 text-center">
<b>备注:</b>
</div>
@ -321,7 +326,7 @@
<div class="col-xs-1 text-center">
<b>附件:</b>
</div>
<div class="col-xs-5">
<div class="col-xs-2">
<t:webUploader auto="true" name="fuJian" duplicate="true" fileNumLimit="3"></t:webUploader>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
@ -336,7 +341,6 @@
</div>
<script type="text/javascript">
$(function () {
//查看模式情况下,删除和上传附件功能禁止使用
@ -355,6 +359,7 @@
});
var neibuClickFlag = false;
function neibuClick() {
neibuClickFlag = true;
$('#btn_sub').trigger('click');
@ -364,15 +369,17 @@
<div id="jform_tab" class="tab-wrapper">
<!-- tab -->
<ul class="nav nav-tabs">
<li role="presentation" tab-ajax-url="wmImNoticeHController.do?wmImNoticeIList&noticeId=${wmImNoticeHPage.noticeId}"><a href="#con-wrapper0">进货通知明细</a></li>
<li role="presentation"
tab-ajax-url="wmImNoticeHController.do?wmImNoticeIList&noticeId=${wmImNoticeHPage.noticeId}"><a
href="#con-wrapper0">进货通知明细</a></li>
</ul>
<div class="con-wrapper" id="con-wrapper0" style="display: none;"></div>
</div>
<div align="center" id = "sub_tr" style="display: none;" > <input type="button" value="提交" onclick="neibuClick();" class="ui_state_highlight"></div>
<div align="center" id="sub_tr" style="display: none;"><input type="button" value="提交" onclick="neibuClick();"
class="ui_state_highlight"></div>
<script src="plug-in/layer/layer.js"></script>
<script type="text/javascript">
$(function () {
@ -451,7 +458,9 @@
<table style="display:none">
<tbody id="add_wmImNoticeI_table_template">
<tr>
<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 align="left">
<%-- <t:dictSelect field="wmImNoticeIList[#index#].goodsCode" type="list" extendJson="{class:'form-control',style:'width:350px'}" --%>
@ -459,11 +468,12 @@
<%--<td>--%>
<input id="wmImNoticeIList[#index#].goodsCode" name="wmImNoticeIList[#index#].goodsCode" maxlength="32"
type="text" onclick="popClickone('wmImNoticeIList[#index#].goodsCode','goodsName','mvGoodsController.do?list')" style="width:420px;text-align: left" >
type="text"
onclick="popClickone('wmImNoticeIList[#index#].goodsCode','goodsName','mvGoodsController.do?list')"
style="width:420px;text-align: left">
<%--</td>--%>
<%--<input id="wmImNoticeIList[#index#].goodsCode" name="wmImNoticeIList[#index#].goodsCode" maxlength="32" --%>
<%--ignore="ignore" type="text" style="width:420px;text-align: left" >--%>
<%--<t:choose hiddenName="wmImNoticeIList[#index#].goodsCode" hiddenid="goodsName" url="mvGoodsController.do?list" name="mvGoodsList" width="600" height="410" icon="icon-search" title="选择" textname="goodsName" isInit="true"></t:choose>--%>
@ -497,7 +507,8 @@
<label class="Validform_label" style="display: none;">计划占用储位数</label>
</td>
<td align="left">
<t:dictSelect field="wmImNoticeIList[#index#].binPre" type="radio" extendJson="{class:'form-control',style:'width:150px'}"
<t:dictSelect field="wmImNoticeIList[#index#].binPre" type="radio"
extendJson="{class:'form-control',style:'width:150px'}"
typeGroupCode="sf_yn" defaultVal="N" hasLabel="false" title="收货完成"></t:dictSelect>
<label class="Validform_label" style="display: none;">收货完成</label>
</td>

View File

@ -115,8 +115,8 @@
<div class="tab-wrapper">
<!-- tab -->
<ul class="nav nav-tabs">
<li role="presentation" class="active"><a href="javascript:void(0);"> 预约通知</a></li>
<b style="margin-top: 10px">${wmImNoticeHPage.noticeId}</b>
<li role="presentation" class="active"><a href="javascript:void(0);"> 预约通知(${wmImNoticeHPage.noticeId})</a></li>
<%-- <b style="margin-top: 10px"></b>--%>
</ul>
<!-- tab内容 -->
<div class="con-wrapper" style="display: block;">
@ -201,8 +201,17 @@
<input id="supCode" name="supCode" type="text" class="form-control"
ignore="ignore" value='${wmImNoticeHPage.supCode}'
/>
</div>
<div class="col-xs-1 text-center">
<b>供应商名称:</b>
</div>
<div class="col-xs-2">
<input id="supName" name="supName" type="text" class="form-control"
ignore="ignore" value='${wmImNoticeHPage.supName}'
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">供应商/label>
<label class="Validform_label" style="display: none">司机电话</label>
</div>
<div class="col-xs-1 text-center">
<b>预约库区:</b>
@ -214,17 +223,6 @@
<label class="Validform_label" style="display: none">预约库区</label>
<%-- <t:autocomplete searchField="cusName" name="cusCode" entityName="MvCusEntity" ></t:autocomplete> --%>
</div>
<div class="col-xs-1 text-center">
<b>供应商名称:</b>
</div>
<div class="col-xs-2">
<input id="supName" name="supName" type="text" class="form-control"
ignore="ignore" value='${wmImNoticeHPage.supName}'
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">司机电话</label>
</div>
<div class="col-xs-1 text-center">
<b>订单类型:</b>
</div>
@ -244,8 +242,26 @@
<label class="Validform_label" style="display: none">仓库</label>
<%-- <t:autocomplete searchField="cusName" name="cusCode" entityName="MvCusEntity" ></t:autocomplete> --%>
</div>
<div class="col-xs-1 text-center">
<b>备注:</b>
</div>
<div class="col-xs-2">
<input id="imBeizhu" name="imBeizhu" type="text" class="form-control"
ignore="ignore"
value='${wmImNoticeHPage.imBeizhu}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">备注</label>
</div>
<div class="col-xs-1 text-center">
<b>附件 </b>
</div>
<div class="col-xs-2">
<t:webUploader auto="true" pathValues="${wmImNoticeHPage.fuJian}" name="fuJian" duplicate="true" fileNumLimit="3"></t:webUploader>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">附件</label>
</div>
<%--<div class="col-xs-1 text-center">--%>
<%--<b>月台:</b>--%>
<%--</div>--%>
@ -258,30 +274,12 @@
</div>
<div class="row show-grid">
<div class="col-xs-1 text-center">
<b>备注:</b>
</div>
<div class="col-xs-5">
<input id="imBeizhu" name="imBeizhu" type="text" class="form-control"
ignore="ignore"
value='${wmImNoticeHPage.imBeizhu}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">备注</label>
</div>
<%-- <div class="row show-grid">--%>
<%-- --%>
<div class="col-xs-1 text-center">
<b>附件 </b>
</div>
<div class="col-xs-5">
<t:webUploader auto="true" pathValues="${wmImNoticeHPage.fuJian}" name="fuJian" duplicate="true" fileNumLimit="3"></t:webUploader>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">附件</label>
</div>
</div>
<%-- </div>--%>
</div>
</div>

View File

@ -181,7 +181,7 @@
<input id="imCusCode" name="imCusCode" type="text" class="form-control"
required="required" ignore="ignore" datatype="*" validType="wm_om_notice_h,im_cus_code,id"
/>
<span class="Validform_checktip"> 不能重复</span>
<%-- <span class="Validform_checktip"> 不能重复</span>--%>
</div>
</div>
<div class="row show-grid">
@ -274,7 +274,7 @@
<div class="col-xs-1 text-center">
<b>发货运单号或车号:</b>
<b>运单号或车号:</b>
</div>
<div class="col-xs-2">
@ -283,7 +283,7 @@
<%-- <input id="reCarno" name="reCarno" type="text" class="form-control"--%>
<%-- />--%>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">发货运单号或车号</label>
<label class="Validform_label" style="display: none">运单号或车号</label>
</div>
<div class="col-xs-1 text-center">
@ -292,7 +292,7 @@
<div class="col-xs-2">
<t:dictSelect field="delvMethod" type="list" extendJson="{class:'form-control',style:'width:150px'}"
typeGroupCode="dev_method" defaultVal="${wmOmNoticeHPage.delvMethod}" title="订单类型"></t:dictSelect>
typeGroupCode="tms_thfs" defaultVal="${wmOmNoticeHPage.delvMethod}" title="送货方式"></t:dictSelect>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">送货方式</label>
</div>

View File

@ -111,8 +111,8 @@
<div class="tab-wrapper">
<!-- tab -->
<ul class="nav nav-tabs">
<li role="presentation" class="active"><a href="javascript:void(0);">出货通知</a></li>
${wmOmNoticeHPage.omNoticeId}
<li role="presentation" class="active"><a href="javascript:void(0);">出货通知( ${wmOmNoticeHPage.omNoticeId})</a></li>
</ul>
<!-- tab内容 -->
<div class="con-wrapper" style="display: block;">
@ -255,7 +255,7 @@
<div class="col-xs-1 text-center">
<b>发货运单号或车号:</b>
<b>运单号或车号:</b>
</div>
<div class="col-xs-2">
<input id="reCarno" name="reCarno" type="text" class="form-control"
@ -269,10 +269,8 @@
<div class="col-xs-2">
<t:dictSelect field="delvMethod" type="list" extendJson="{class:'form-control',style:'width:150px'}"
typeGroupCode="dev_method" defaultVal="${wmOmNoticeHPage.delvMethod}" hasLabel="false" title="订单类型"></t:dictSelect>
typeGroupCode="tms_thfs" defaultVal="${wmOmNoticeHPage.delvMethod}" hasLabel="false" title="送货方式"></t:dictSelect>
<%-- <input id="reCarno" name="reCarno" type="text" class="form-control"--%>
<%-- />--%>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">送货方式</label>
</div>