入库通知,出库通知样式修改
parent
8053a75df7
commit
4b2b490b6d
|
@ -1,510 +1,521 @@
|
||||||
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
|
||||||
<%@include file="/context/mytags.jsp"%>
|
<%@include file="/context/mytags.jsp" %>
|
||||||
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<title>预约通知</title>
|
<title>预约通知</title>
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="online/template/ledefault/css/vendor.css">
|
<link rel="stylesheet" href="online/template/ledefault/css/vendor.css">
|
||||||
<link rel="stylesheet" href="online/template/ledefault/css/bootstrap-theme.css">
|
<link rel="stylesheet" href="online/template/ledefault/css/bootstrap-theme.css">
|
||||||
<link rel="stylesheet" href="online/template/ledefault/css/bootstrap.css">
|
<link rel="stylesheet" href="online/template/ledefault/css/bootstrap.css">
|
||||||
<link rel="stylesheet" href="online/template/ledefault/css/app.css">
|
<link rel="stylesheet" href="online/template/ledefault/css/app.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="plug-in/Validform/css/metrole/style.css" type="text/css"/>
|
<link rel="stylesheet" href="plug-in/Validform/css/metrole/style.css" type="text/css"/>
|
||||||
<link rel="stylesheet" href="plug-in/Validform/css/metrole/tablefrom.css" type="text/css"/>
|
<link rel="stylesheet" href="plug-in/Validform/css/metrole/tablefrom.css" type="text/css"/>
|
||||||
|
|
||||||
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.js"></script>
|
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/tools/dataformat.js"></script>
|
<script type="text/javascript" src="plug-in/tools/dataformat.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/easyui/jquery.easyui.min.1.3.2.js"></script>
|
<script type="text/javascript" src="plug-in/easyui/jquery.easyui.min.1.3.2.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/easyui/locale/zh-cn.js"></script>
|
<script type="text/javascript" src="plug-in/easyui/locale/zh-cn.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/tools/syUtil.js"></script>
|
<script type="text/javascript" src="plug-in/tools/syUtil.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/My97DatePicker/WdatePicker.js"></script>
|
<script type="text/javascript" src="plug-in/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/lhgDialog/lhgdialog.min.js"></script>
|
<script type="text/javascript" src="plug-in/lhgDialog/lhgdialog.min.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/tools/curdtools_zh-cn.js"></script>
|
<script type="text/javascript" src="plug-in/tools/curdtools_zh-cn.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/tools/easyuiextend.js"></script>
|
<script type="text/javascript" src="plug-in/tools/easyuiextend.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/Validform/js/Validform_v5.3.1_min_zh-cn.js"></script>
|
<script type="text/javascript" src="plug-in/Validform/js/Validform_v5.3.1_min_zh-cn.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/Validform/js/Validform_Datatype_zh-cn.js"></script>
|
<script type="text/javascript" src="plug-in/Validform/js/Validform_Datatype_zh-cn.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/Validform/js/datatype_zh-cn.js"></script>
|
<script type="text/javascript" src="plug-in/Validform/js/datatype_zh-cn.js"></script>
|
||||||
<script type="text/javascript" src="plug-in/Validform/plugin/passwordStrength/passwordStrength-min.js"></script>
|
<script type="text/javascript" src="plug-in/Validform/plugin/passwordStrength/passwordStrength-min.js"></script>
|
||||||
<link rel="stylesheet" href="plug-in/uploadify/css/uploadify.css" type="text/css"></link>
|
<link rel="stylesheet" href="plug-in/uploadify/css/uploadify.css" type="text/css"></link>
|
||||||
<script type="text/javascript" src="plug-in/uploadify/jquery.uploadify-3.1.js"></script>
|
<script type="text/javascript" src="plug-in/uploadify/jquery.uploadify-3.1.js"></script>
|
||||||
<script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.config.js"></script>
|
<script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.config.js"></script>
|
||||||
<script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.all.min.js"></script>
|
<script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.all.min.js"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
function sumin(){
|
function sumin() {
|
||||||
|
|
||||||
// console.log($("#wmImNoticeI_table").children("tr"));
|
// console.log($("#wmImNoticeI_table").children("tr"));
|
||||||
trList = $("#add_wmImNoticeI_table").children("tr");
|
trList = $("#add_wmImNoticeI_table").children("tr");
|
||||||
alert(trList.length);
|
alert(trList.length);
|
||||||
var heji = 0;
|
var heji = 0;
|
||||||
var dh = 0;
|
var dh = 0;
|
||||||
for (var i=0;i<trList.length;i++) {
|
for (var i = 0; i < trList.length; i++) {
|
||||||
var tdArr = trList.eq(i).find("td");
|
var tdArr = trList.eq(i).find("td");
|
||||||
|
|
||||||
var history_income_remark = tdArr.eq(2).find('input').val();// 合计
|
var history_income_remark = tdArr.eq(2).find('input').val();// 合计
|
||||||
dh = history_income_remark;
|
dh = history_income_remark;
|
||||||
heji = heji*1 + dh*1;
|
heji = heji * 1 + dh * 1;
|
||||||
}
|
|
||||||
alert(heji);
|
|
||||||
}
|
|
||||||
|
|
||||||
function setcond(){
|
|
||||||
var cuscode = $("#cusCodeid").find("option:selected").val();
|
|
||||||
$('#cuscodeh').val(cuscode);
|
|
||||||
// var controls=document.getElementsByName("wmImNoticeIList[0].goodsCode");
|
|
||||||
}
|
|
||||||
$(document).ready(function(){
|
|
||||||
init();
|
|
||||||
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
|
||||||
$("#jform_tab li:first").addClass("active").show(); //Activate first tab
|
|
||||||
$("#jform_tab .con-wrapper:first").show(); //Show first tab content
|
|
||||||
|
|
||||||
|
|
||||||
//On Click Event
|
|
||||||
$("#jform_tab li").click(function() {
|
|
||||||
$("#jform_tab li").removeClass("active"); //Remove any "active" class
|
|
||||||
$(this).addClass("active"); //Add "active" class to selected tab
|
|
||||||
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
|
||||||
var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
|
|
||||||
$(activeTab).fadeIn(); //Fade in the active content
|
|
||||||
//$(""+activeTab).show();
|
|
||||||
if( $(activeTab).html()!="") {
|
|
||||||
return false;
|
|
||||||
}else{
|
|
||||||
$(activeTab).html('正在加载内容,请稍后...');
|
|
||||||
var url = $(this).attr("tab-ajax-url");
|
|
||||||
$.post(url, {}, function(data) {
|
|
||||||
//$(this).attr("tab-ajax-cached", true);
|
|
||||||
$(activeTab).html(data);
|
|
||||||
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
return false;
|
alert(heji);
|
||||||
|
}
|
||||||
|
|
||||||
|
function setcond() {
|
||||||
|
var cuscode = $("#cusCodeid").find("option:selected").val();
|
||||||
|
$('#cuscodeh').val(cuscode);
|
||||||
|
// var controls=document.getElementsByName("wmImNoticeIList[0].goodsCode");
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
|
init();
|
||||||
|
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
||||||
|
$("#jform_tab li:first").addClass("active").show(); //Activate first tab
|
||||||
|
$("#jform_tab .con-wrapper:first").show(); //Show first tab content
|
||||||
|
|
||||||
|
|
||||||
|
//On Click Event
|
||||||
|
$("#jform_tab li").click(function () {
|
||||||
|
$("#jform_tab li").removeClass("active"); //Remove any "active" class
|
||||||
|
$(this).addClass("active"); //Add "active" class to selected tab
|
||||||
|
$("#jform_tab .con-wrapper").hide(); //Hide all tab content
|
||||||
|
var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
|
||||||
|
$(activeTab).fadeIn(); //Fade in the active content
|
||||||
|
//$(""+activeTab).show();
|
||||||
|
if ($(activeTab).html() != "") {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
|
$(activeTab).html('正在加载内容,请稍后...');
|
||||||
|
var url = $(this).attr("tab-ajax-url");
|
||||||
|
$.post(url, {}, function (data) {
|
||||||
|
//$(this).attr("tab-ajax-cached", true);
|
||||||
|
$(activeTab).html(data);
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
//初始化下标
|
//初始化下标
|
||||||
function resetTrNum(tableId) {
|
function resetTrNum(tableId) {
|
||||||
$tbody = $("#"+tableId+"");
|
$tbody = $("#" + tableId + "");
|
||||||
$tbody.find('>tr').each(function(i){
|
$tbody.find('>tr').each(function (i) {
|
||||||
$(':input, select', this).each(function(){
|
$(':input, select', this).each(function () {
|
||||||
var $this = $(this), name = $this.attr('name'), val = $this.val();
|
var $this = $(this), name = $this.attr('name'), val = $this.val();
|
||||||
if(name!=null){
|
if (name != null) {
|
||||||
if (name.indexOf("#index#") >= 0){
|
if (name.indexOf("#index#") >= 0) {
|
||||||
$this.attr("name",name.replace('#index#',i));
|
$this.attr("name", name.replace('#index#', i));
|
||||||
}else{
|
} else {
|
||||||
var s = name.indexOf("[");
|
var s = name.indexOf("[");
|
||||||
var e = name.indexOf("]");
|
var e = name.indexOf("]");
|
||||||
var new_name = name.substring(s+1,e);
|
var new_name = name.substring(s + 1, e);
|
||||||
$this.attr("name",name.replace(new_name,i));
|
$this.attr("name", name.replace(new_name, i));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
});
|
||||||
});
|
$(this).find('div[name=\'xh\']').html(i + 1);
|
||||||
$(this).find('div[name=\'xh\']').html(i+1);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function init(){
|
|
||||||
var tabHead =$("#jform_tab li:first");
|
|
||||||
var tabBox = $("#jform_tab .con-wrapper:first");
|
|
||||||
var url = tabHead.attr("tab-ajax-url");
|
|
||||||
tabBox.html('正在加载内容,请稍后...');
|
|
||||||
$.post(url, {}, function(data) {
|
|
||||||
tabBox.html(data);
|
|
||||||
//tabHead.attr("tab-ajax-cached", true);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// function selectfun(){
|
|
||||||
// alert($("#cuscodeid").val);
|
function init() {
|
||||||
// }
|
var tabHead = $("#jform_tab li:first");
|
||||||
|
var tabBox = $("#jform_tab .con-wrapper:first");
|
||||||
|
var url = tabHead.attr("tab-ajax-url");
|
||||||
|
tabBox.html('正在加载内容,请稍后...');
|
||||||
|
$.post(url, {}, function (data) {
|
||||||
|
tabBox.html(data);
|
||||||
|
//tabHead.attr("tab-ajax-cached", true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// function selectfun(){
|
||||||
|
// alert($("#cuscodeid").val);
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
$(document).ready(function(){
|
//绑定下拉框change事件,当下来框改变时调用 SelectChange()方法
|
||||||
//绑定下拉框change事件,当下来框改变时调用 SelectChange()方法
|
$("select[name='cusCode']").change(function () {
|
||||||
$("select[name='cusCode']").change(function() { SelectChange(); });
|
SelectChange();
|
||||||
SelectChange();
|
});
|
||||||
})
|
SelectChange();
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
function SelectChange() {
|
function SelectChange() {
|
||||||
var selectcusValue = $("select[name='cusCode']").val();
|
var selectcusValue = $("select[name='cusCode']").val();
|
||||||
var url = "mvGoodsController.do?setvalue&cusCode="+selectcusValue;
|
var url = "mvGoodsController.do?setvalue&cusCode=" + selectcusValue;
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:url,
|
url: url,
|
||||||
type:"GET",
|
type: "GET",
|
||||||
dataType:"JSON",
|
dataType: "JSON",
|
||||||
async: false,
|
async: false,
|
||||||
success:function(data){
|
success: function (data) {
|
||||||
if(data.success){
|
if (data.success) {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
|
||||||
<body>
|
|
||||||
<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"/>
|
|
||||||
|
|
||||||
<div class="tab-wrapper">
|
|
||||||
<!-- tab -->
|
|
||||||
<ul class="nav nav-tabs">
|
|
||||||
<li role="presentation" class="active"><a href="javascript:void(0);">预约通知</a></li>
|
|
||||||
</ul>
|
|
||||||
<!-- tab内容 -->
|
|
||||||
<div class="con-wrapper" style="display: block;">
|
|
||||||
<div class="row form-wrapper">
|
|
||||||
<div class="row show-grid">
|
|
||||||
|
|
||||||
<div class="col-xs-1 text-center">
|
|
||||||
<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>
|
|
||||||
<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" />
|
|
||||||
<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">
|
|
||||||
<input id="imCusCode" name="imCusCode" type="text" class="form-control"
|
|
||||||
required="required" ignore="ignore" datatype="*" validType="wm_im_notice_h,im_cus_code,id"
|
|
||||||
/>
|
|
||||||
<span class="Validform_checktip"> 不能重复</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="col-xs-1 text-center">
|
|
||||||
<b>运输号码:</b>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-2">
|
|
||||||
<input id="imCarNo" name="imCarNo" 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>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="row show-grid">
|
|
||||||
<div class="col-xs-1 text-center">
|
|
||||||
<b>运输公司:</b>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-2">
|
|
||||||
<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-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>
|
|
||||||
<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="supCode" name="supCode" 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>--%>
|
|
||||||
<%-- <div class="col-xs-2">--%>
|
|
||||||
<%-- <input id="supName" name="supName" 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>
|
|
||||||
<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'}"
|
|
||||||
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-5">
|
|
||||||
<input id="imBeizhu" name="imBeizhu" 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>
|
|
||||||
<div class="col-xs-5">
|
|
||||||
<t:webUploader auto="true" 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 class="con-wrapper" style="display: block;"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function(){
|
|
||||||
//查看模式情况下,删除和上传附件功能禁止使用
|
|
||||||
if(location.href.indexOf("load=detail")!=-1){
|
|
||||||
$(".jeecgDetail").hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
if(location.href.indexOf("mode=read")!=-1){
|
|
||||||
//查看模式控件禁用
|
|
||||||
$("#formobj").find(":input").attr("disabled","disabled");
|
|
||||||
}
|
|
||||||
if(location.href.indexOf("mode=onbutton")!=-1){
|
|
||||||
//其他模式显示提交按钮
|
|
||||||
$("#sub_tr").show();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
var neibuClickFlag = false;
|
|
||||||
function neibuClick() {
|
|
||||||
neibuClickFlag = true;
|
|
||||||
$('#btn_sub').trigger('click');
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
<body>
|
||||||
|
<form id="formobj" action="wmImNoticeHController.do?doAdd" name="formobj" method="post"><input type="hidden"
|
||||||
|
id="btn_sub"
|
||||||
|
class="btn_sub"/>
|
||||||
|
|
||||||
<div id="jform_tab" class="tab-wrapper">
|
<input type="hidden" id="btn_sub" class="btn_sub"/>
|
||||||
<!-- tab -->
|
<input type="hidden" id="cuscodeh" name="cuscodeh"/>
|
||||||
<ul class="nav nav-tabs">
|
|
||||||
<li role="presentation" tab-ajax-url="wmImNoticeHController.do?wmImNoticeIList¬iceId=${wmImNoticeHPage.noticeId}"><a href="#con-wrapper0">进货通知明细</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<div class="con-wrapper" id="con-wrapper0" style="display: none;"></div>
|
<div class="tab-wrapper">
|
||||||
</div>
|
<!-- tab -->
|
||||||
|
<ul class="nav nav-tabs">
|
||||||
|
<li role="presentation" class="active"><a href="javascript:void(0);">预约通知</a></li>
|
||||||
|
</ul>
|
||||||
|
<!-- tab内容 -->
|
||||||
|
<div class="con-wrapper" style="display: block;">
|
||||||
|
<div class="row form-wrapper">
|
||||||
|
<div class="row show-grid">
|
||||||
|
|
||||||
|
<div class="col-xs-1 text-center">
|
||||||
|
<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>
|
||||||
|
<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"/>
|
||||||
|
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||||
|
<label class="Validform_label" style="display: none">预计到货时间</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div align="center" id = "sub_tr" style="display: none;" > <input type="button" value="提交" onclick="neibuClick();" class="ui_state_highlight"></div>
|
<div class="col-xs-1 text-center">
|
||||||
<script src="plug-in/layer/layer.js"></script>
|
<b>客户订单号*:</b>
|
||||||
<script type="text/javascript">
|
</div>
|
||||||
$(function() {
|
<div class="col-xs-2">
|
||||||
$("#formobj").Validform({
|
<input id="imCusCode" name="imCusCode" type="text" class="form-control"
|
||||||
tiptype: function(msg, o, cssctl) {
|
required="required" ignore="ignore" datatype="*"
|
||||||
if (o.type == 3) {
|
validType="wm_im_notice_h,im_cus_code,id"
|
||||||
layer.open({
|
/>
|
||||||
title: '提示信息',
|
<%-- <span class="Validform_checktip"> 不能重复</span>--%>
|
||||||
content: msg,
|
</div>
|
||||||
icon: 5,
|
|
||||||
shift: 6,
|
|
||||||
btn: false,
|
|
||||||
shade:false,time:5000,
|
|
||||||
cancel: function(index) {
|
|
||||||
o.obj.focus();
|
|
||||||
layer.close(index);
|
|
||||||
},
|
|
||||||
yes: function(index) {
|
|
||||||
o.obj.focus();
|
|
||||||
layer.close(index);
|
|
||||||
},
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
btnSubmit: "#btn_sub",
|
|
||||||
btnReset: "#btn_reset",
|
|
||||||
ajaxPost: true,
|
|
||||||
beforeSubmit: function(curform) {
|
|
||||||
var tag = true;
|
|
||||||
//提交前处理
|
|
||||||
return tag;
|
|
||||||
},
|
|
||||||
usePlugin: {
|
|
||||||
passwordstrength: {
|
|
||||||
minLen: 6,
|
|
||||||
maxLen: 18,
|
|
||||||
trigger: function(obj, error) {
|
|
||||||
if (error) {
|
|
||||||
obj.parent().next().find(".Validform_checktip").show();
|
|
||||||
obj.find(".passwordStrength").hide();
|
|
||||||
} else {
|
|
||||||
$(".passwordStrength").show();
|
|
||||||
obj.parent().next().find(".Validform_checktip").hide();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
callback: function(data) {
|
|
||||||
if (data.success == true) {
|
|
||||||
var win = frameElement.api.opener;
|
|
||||||
win.reloadTable();
|
|
||||||
win.tip(data.msg);
|
|
||||||
frameElement.api.close();
|
|
||||||
} else {
|
|
||||||
if (data.responseText == '' || data.responseText == undefined) {
|
|
||||||
$.messager.alert('错误', data.msg);
|
|
||||||
$.Hidemsg();
|
|
||||||
} else {
|
|
||||||
try {
|
|
||||||
var emsg = data.responseText.substring(data.responseText.indexOf('错误描述'), data.responseText.indexOf('错误信息'));
|
|
||||||
$.messager.alert('错误', emsg);
|
|
||||||
$.Hidemsg();
|
|
||||||
} catch(ex) {
|
|
||||||
$.messager.alert('错误', data.responseText + '');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</form>
|
|
||||||
<!-- 添加 产品明细 模版 -->
|
|
||||||
<table style="display:none">
|
|
||||||
<tbody id="add_wmImNoticeI_table_template">
|
|
||||||
<tr>
|
|
||||||
<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'}" --%>
|
|
||||||
<%-- dictCondition="${wmImNoticeHPage.wherecon}" dictTable="mv_goods" dictField="goods_code" dictText="goods_name" defaultVal="" hasLabel="false" title="商品编码"></t:dictSelect> --%>
|
|
||||||
|
|
||||||
<%--<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" >
|
|
||||||
<%--</td>--%>
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-xs-1 text-center">
|
||||||
<%--<input id="wmImNoticeIList[#index#].goodsCode" name="wmImNoticeIList[#index#].goodsCode" maxlength="32" --%>
|
<b>运输号码:</b>
|
||||||
<%--ignore="ignore" type="text" style="width:420px;text-align: left" >--%>
|
</div>
|
||||||
<%--<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>--%>
|
<div class="col-xs-2">
|
||||||
<%----%>
|
<input id="imCarNo" name="imCarNo" type="text" class="form-control"
|
||||||
<%-- <t:choose hiddenName="wmImNoticeIList[#index#].goodsCode" hiddenid="id" url="mdGoodsController.do?list" name="mdGoodsList" --%>
|
ignore="ignore"
|
||||||
<%-- icon="icon-search" title="common.role.list" textname="wmImNoticeIList[#index#].goodsCode" isclear="true" isInit="true"></t:choose> --%>
|
/>
|
||||||
|
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||||
|
<label class="Validform_label" style="display: none">运输号码</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<label class="Validform_label" style="display: none;">商品编码</label>
|
<div class="row show-grid">
|
||||||
</td>
|
<div class="col-xs-1 text-center">
|
||||||
<td align="left">
|
<b>运输公司:</b>
|
||||||
<input name="wmImNoticeIList[#index#].goodsCount" maxlength="32"
|
</div>
|
||||||
ignore="ignore" datatype="*"
|
<div class="col-xs-2">
|
||||||
type="text" class="form-control" style="width:120px;text-align: right" >
|
<input id="imCarDri" name="imCarDri" type="text" class="form-control"
|
||||||
<label class="Validform_label" style="display: none;">数量</label>
|
ignore="ignore"
|
||||||
</td>
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-1 text-center">
|
||||||
|
<b>供应商:</b>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-2">
|
||||||
|
|
||||||
<!-- <td align="left"> -->
|
<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>
|
||||||
|
<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>
|
||||||
|
|
||||||
<%-- <t:dictSelect field="wmImNoticeIList[#index#].goodsUnit" type="list" extendJson="{class:'form-control'}" --%>
|
<%-- <div class="col-xs-1 text-center">--%>
|
||||||
<%-- dictTable="ba_unit" dictField="unit_code" dictText="unit_zh_name" hasLabel="false" title="单位"></t:dictSelect> --%>
|
<%-- <b>供应商编码:</b>--%>
|
||||||
|
<%-- </div>--%>
|
||||||
|
<%-- <div class="col-xs-2">--%>
|
||||||
|
<%-- <input id="supCode" name="supCode" 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>--%>
|
||||||
|
<%-- <div class="col-xs-2">--%>
|
||||||
|
<%-- <input id="supName" name="supName" 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>--%>
|
||||||
|
|
||||||
|
|
||||||
<!-- <label class="Validform_label" style="display: none;">单位</label> -->
|
<div class="col-xs-1 text-center">
|
||||||
<!-- </td> -->
|
<b>仓库:</b>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-2">
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
|
||||||
<td align="left">
|
</div>
|
||||||
<input name="wmImNoticeIList[#index#].binPlan" maxlength="32"
|
|
||||||
ignore="ignore"
|
|
||||||
type="text" class="form-control" style="width:120px;text-align: right" >
|
|
||||||
<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'}"
|
|
||||||
typeGroupCode="sf_yn" defaultVal="N" hasLabel="false" title="收货完成"></t:dictSelect>
|
|
||||||
<label class="Validform_label" style="display: none;">收货完成</label>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
</tr>
|
</div>
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<script src = "webpage/com/zzjee/wm/wmImNoticeH.js"></script>
|
<div class="row show-grid">
|
||||||
</body>
|
<div class="col-xs-1 text-center">
|
||||||
</html>
|
<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-5">
|
||||||
|
<input id="imBeizhu" name="imBeizhu" 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>
|
||||||
|
<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>
|
||||||
|
<label class="Validform_label" style="display: none">附件</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="con-wrapper" style="display: block;"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(function () {
|
||||||
|
//查看模式情况下,删除和上传附件功能禁止使用
|
||||||
|
if (location.href.indexOf("load=detail") != -1) {
|
||||||
|
$(".jeecgDetail").hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (location.href.indexOf("mode=read") != -1) {
|
||||||
|
//查看模式控件禁用
|
||||||
|
$("#formobj").find(":input").attr("disabled", "disabled");
|
||||||
|
}
|
||||||
|
if (location.href.indexOf("mode=onbutton") != -1) {
|
||||||
|
//其他模式显示提交按钮
|
||||||
|
$("#sub_tr").show();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
var neibuClickFlag = false;
|
||||||
|
|
||||||
|
function neibuClick() {
|
||||||
|
neibuClickFlag = true;
|
||||||
|
$('#btn_sub').trigger('click');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div id="jform_tab" class="tab-wrapper">
|
||||||
|
<!-- tab -->
|
||||||
|
<ul class="nav nav-tabs">
|
||||||
|
<li role="presentation"
|
||||||
|
tab-ajax-url="wmImNoticeHController.do?wmImNoticeIList¬iceId=${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>
|
||||||
|
<script src="plug-in/layer/layer.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(function () {
|
||||||
|
$("#formobj").Validform({
|
||||||
|
tiptype: function (msg, o, cssctl) {
|
||||||
|
if (o.type == 3) {
|
||||||
|
layer.open({
|
||||||
|
title: '提示信息',
|
||||||
|
content: msg,
|
||||||
|
icon: 5,
|
||||||
|
shift: 6,
|
||||||
|
btn: false,
|
||||||
|
shade: false, time: 5000,
|
||||||
|
cancel: function (index) {
|
||||||
|
o.obj.focus();
|
||||||
|
layer.close(index);
|
||||||
|
},
|
||||||
|
yes: function (index) {
|
||||||
|
o.obj.focus();
|
||||||
|
layer.close(index);
|
||||||
|
},
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
btnSubmit: "#btn_sub",
|
||||||
|
btnReset: "#btn_reset",
|
||||||
|
ajaxPost: true,
|
||||||
|
beforeSubmit: function (curform) {
|
||||||
|
var tag = true;
|
||||||
|
//提交前处理
|
||||||
|
return tag;
|
||||||
|
},
|
||||||
|
usePlugin: {
|
||||||
|
passwordstrength: {
|
||||||
|
minLen: 6,
|
||||||
|
maxLen: 18,
|
||||||
|
trigger: function (obj, error) {
|
||||||
|
if (error) {
|
||||||
|
obj.parent().next().find(".Validform_checktip").show();
|
||||||
|
obj.find(".passwordStrength").hide();
|
||||||
|
} else {
|
||||||
|
$(".passwordStrength").show();
|
||||||
|
obj.parent().next().find(".Validform_checktip").hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
callback: function (data) {
|
||||||
|
if (data.success == true) {
|
||||||
|
var win = frameElement.api.opener;
|
||||||
|
win.reloadTable();
|
||||||
|
win.tip(data.msg);
|
||||||
|
frameElement.api.close();
|
||||||
|
} else {
|
||||||
|
if (data.responseText == '' || data.responseText == undefined) {
|
||||||
|
$.messager.alert('错误', data.msg);
|
||||||
|
$.Hidemsg();
|
||||||
|
} else {
|
||||||
|
try {
|
||||||
|
var emsg = data.responseText.substring(data.responseText.indexOf('错误描述'), data.responseText.indexOf('错误信息'));
|
||||||
|
$.messager.alert('错误', emsg);
|
||||||
|
$.Hidemsg();
|
||||||
|
} catch (ex) {
|
||||||
|
$.messager.alert('错误', data.responseText + '');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<!-- 添加 产品明细 模版 -->
|
||||||
|
<table style="display:none">
|
||||||
|
<tbody id="add_wmImNoticeI_table_template">
|
||||||
|
<tr>
|
||||||
|
<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'}" --%>
|
||||||
|
<%-- dictCondition="${wmImNoticeHPage.wherecon}" dictTable="mv_goods" dictField="goods_code" dictText="goods_name" defaultVal="" hasLabel="false" title="商品编码"></t:dictSelect> --%>
|
||||||
|
|
||||||
|
<%--<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">
|
||||||
|
<%--</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>--%>
|
||||||
|
<%----%>
|
||||||
|
<%-- <t:choose hiddenName="wmImNoticeIList[#index#].goodsCode" hiddenid="id" url="mdGoodsController.do?list" name="mdGoodsList" --%>
|
||||||
|
<%-- icon="icon-search" title="common.role.list" textname="wmImNoticeIList[#index#].goodsCode" isclear="true" isInit="true"></t:choose> --%>
|
||||||
|
|
||||||
|
|
||||||
|
<label class="Validform_label" style="display: none;">商品编码</label>
|
||||||
|
</td>
|
||||||
|
<td align="left">
|
||||||
|
<input name="wmImNoticeIList[#index#].goodsCount" maxlength="32"
|
||||||
|
ignore="ignore" datatype="*"
|
||||||
|
type="text" class="form-control" style="width:120px;text-align: right">
|
||||||
|
<label class="Validform_label" style="display: none;">数量</label>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<!-- <td align="left"> -->
|
||||||
|
|
||||||
|
<%-- <t:dictSelect field="wmImNoticeIList[#index#].goodsUnit" type="list" extendJson="{class:'form-control'}" --%>
|
||||||
|
<%-- dictTable="ba_unit" dictField="unit_code" dictText="unit_zh_name" hasLabel="false" title="单位"></t:dictSelect> --%>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- <label class="Validform_label" style="display: none;">单位</label> -->
|
||||||
|
<!-- </td> -->
|
||||||
|
|
||||||
|
<td align="left">
|
||||||
|
<input name="wmImNoticeIList[#index#].binPlan" maxlength="32"
|
||||||
|
ignore="ignore"
|
||||||
|
type="text" class="form-control" style="width:120px;text-align: right">
|
||||||
|
<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'}"
|
||||||
|
typeGroupCode="sf_yn" defaultVal="N" hasLabel="false" title="收货完成"></t:dictSelect>
|
||||||
|
<label class="Validform_label" style="display: none;">收货完成</label>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<script src="webpage/com/zzjee/wm/wmImNoticeH.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
|
@ -115,8 +115,8 @@
|
||||||
<div class="tab-wrapper">
|
<div class="tab-wrapper">
|
||||||
<!-- tab -->
|
<!-- tab -->
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li role="presentation" class="active"><a href="javascript:void(0);"> 预约通知</a></li>
|
<li role="presentation" class="active"><a href="javascript:void(0);"> 预约通知(${wmImNoticeHPage.noticeId})</a></li>
|
||||||
<b style="margin-top: 10px">${wmImNoticeHPage.noticeId}</b>
|
<%-- <b style="margin-top: 10px"></b>--%>
|
||||||
</ul>
|
</ul>
|
||||||
<!-- tab内容 -->
|
<!-- tab内容 -->
|
||||||
<div class="con-wrapper" style="display: block;">
|
<div class="con-wrapper" style="display: block;">
|
||||||
|
@ -201,8 +201,17 @@
|
||||||
<input id="supCode" name="supCode" type="text" class="form-control"
|
<input id="supCode" name="supCode" type="text" class="form-control"
|
||||||
ignore="ignore" value='${wmImNoticeHPage.supCode}'
|
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>
|
<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>
|
||||||
<div class="col-xs-1 text-center">
|
<div class="col-xs-1 text-center">
|
||||||
<b>预约库区:</b>
|
<b>预约库区:</b>
|
||||||
|
@ -214,17 +223,6 @@
|
||||||
<label class="Validform_label" style="display: none">预约库区</label>
|
<label class="Validform_label" style="display: none">预约库区</label>
|
||||||
<%-- <t:autocomplete searchField="cusName" name="cusCode" entityName="MvCusEntity" ></t:autocomplete> --%>
|
<%-- <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">
|
|
||||||
<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">
|
<div class="col-xs-1 text-center">
|
||||||
<b>订单类型:</b>
|
<b>订单类型:</b>
|
||||||
</div>
|
</div>
|
||||||
|
@ -244,8 +242,26 @@
|
||||||
<label class="Validform_label" style="display: none">仓库</label>
|
<label class="Validform_label" style="display: none">仓库</label>
|
||||||
<%-- <t:autocomplete searchField="cusName" name="cusCode" entityName="MvCusEntity" ></t:autocomplete> --%>
|
<%-- <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">
|
||||||
|
<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">--%>
|
<%--<div class="col-xs-1 text-center">--%>
|
||||||
<%--<b>月台:</b>--%>
|
<%--<b>月台:</b>--%>
|
||||||
<%--</div>--%>
|
<%--</div>--%>
|
||||||
|
@ -258,30 +274,12 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="row show-grid">
|
<%-- <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="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>
|
<%-- </div>--%>
|
||||||
<label class="Validform_label" style="display: none">附件</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -181,7 +181,7 @@
|
||||||
<input id="imCusCode" name="imCusCode" type="text" class="form-control"
|
<input id="imCusCode" name="imCusCode" type="text" class="form-control"
|
||||||
required="required" ignore="ignore" datatype="*" validType="wm_om_notice_h,im_cus_code,id"
|
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>
|
</div>
|
||||||
<div class="row show-grid">
|
<div class="row show-grid">
|
||||||
|
@ -274,16 +274,16 @@
|
||||||
|
|
||||||
|
|
||||||
<div class="col-xs-1 text-center">
|
<div class="col-xs-1 text-center">
|
||||||
<b>发货运单号或车号:</b>
|
<b>运单号或车号:</b>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-2">
|
<div class="col-xs-2">
|
||||||
|
|
||||||
<t:autocomplete entityName="TmsMdCheliangEntity" searchField="chepaihao" name="reCarno"></t:autocomplete>
|
<t:autocomplete entityName="TmsMdCheliangEntity" searchField="chepaihao" name="reCarno"></t:autocomplete>
|
||||||
|
|
||||||
<%-- <input id="reCarno" name="reCarno" type="text" class="form-control"--%>
|
<%-- <input id="reCarno" name="reCarno" type="text" class="form-control"--%>
|
||||||
<%-- />--%>
|
<%-- />--%>
|
||||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
<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>
|
||||||
|
|
||||||
<div class="col-xs-1 text-center">
|
<div class="col-xs-1 text-center">
|
||||||
|
@ -292,7 +292,7 @@
|
||||||
<div class="col-xs-2">
|
<div class="col-xs-2">
|
||||||
|
|
||||||
<t:dictSelect field="delvMethod" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
<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>
|
<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>
|
||||||
|
|
|
@ -111,8 +111,8 @@
|
||||||
<div class="tab-wrapper">
|
<div class="tab-wrapper">
|
||||||
<!-- tab -->
|
<!-- tab -->
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li role="presentation" class="active"><a href="javascript:void(0);">出货通知</a></li>
|
<li role="presentation" class="active"><a href="javascript:void(0);">出货通知( ${wmOmNoticeHPage.omNoticeId})</a></li>
|
||||||
${wmOmNoticeHPage.omNoticeId}
|
|
||||||
</ul>
|
</ul>
|
||||||
<!-- tab内容 -->
|
<!-- tab内容 -->
|
||||||
<div class="con-wrapper" style="display: block;">
|
<div class="con-wrapper" style="display: block;">
|
||||||
|
@ -255,7 +255,7 @@
|
||||||
|
|
||||||
|
|
||||||
<div class="col-xs-1 text-center">
|
<div class="col-xs-1 text-center">
|
||||||
<b>发货运单号或车号:</b>
|
<b>运单号或车号:</b>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-2">
|
<div class="col-xs-2">
|
||||||
<input id="reCarno" name="reCarno" type="text" class="form-control"
|
<input id="reCarno" name="reCarno" type="text" class="form-control"
|
||||||
|
@ -269,10 +269,8 @@
|
||||||
<div class="col-xs-2">
|
<div class="col-xs-2">
|
||||||
|
|
||||||
<t:dictSelect field="delvMethod" type="list" extendJson="{class:'form-control',style:'width:150px'}"
|
<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>
|
<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>
|
||||||
|
|
Loading…
Reference in New Issue