RFID API
parent
a3d1f40abc
commit
0b8a64a914
17
pom.xml
17
pom.xml
|
@ -28,7 +28,9 @@
|
|||
<ant.version>1.6.5</ant.version>
|
||||
|
||||
<mybatis-spring.version>1.1.1</mybatis-spring.version>
|
||||
|
||||
<!-- jedis -->
|
||||
<spring-data-redis.version>1.6.2.RELEASE</spring-data-redis.version>
|
||||
<jedis.version>2.9.0</jedis.version>
|
||||
<!-- 工具包 -->
|
||||
<!-- json start -->
|
||||
<jackson.version>1.8.4</jackson.version>
|
||||
|
@ -982,7 +984,18 @@
|
|||
<version>2.8.8.1</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- redis cache start -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-redis</artifactId>
|
||||
<version>${spring-data-redis.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>redis.clients</groupId>
|
||||
<artifactId>jedis</artifactId>
|
||||
<version>${jedis.version}</version>
|
||||
</dependency>
|
||||
<!-- redis cache end -->
|
||||
|
||||
|
||||
</dependencies>
|
||||
|
|
|
@ -111,6 +111,7 @@ public class WmOmNoticeHServiceImpl extends CommonServiceImpl implements WmOmNot
|
|||
tmsYwDingdanEntity.setYwddbz(wmOmNoticeH.getOmBeizhu());
|
||||
tmsYwDingdanEntity.setYwkhdh(wmOmNoticeH.getOmNoticeId());
|
||||
tmsYwDingdanEntity.setZhuangtai("已下单");
|
||||
tmsYwDingdanEntity.setFadh(wmOmNoticeH.getOmNoticeId());
|
||||
this.save(tmsYwDingdanEntity);
|
||||
}catch (Exception e){
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#MySQL
|
||||
hibernate.dialect=org.hibernate.dialect.MySQLDialect
|
||||
validationQuery.sqlserver=SELECT 1
|
||||
jdbc.url.jeecg=jdbc:mysql://localhost:3306/wms?useUnicode=true&characterEncoding=UTF-8
|
||||
jdbc.url.jeecg=jdbc:mysql://127.0.0.1:3306/wms?useUnicode=true&characterEncoding=UTF-8
|
||||
|
||||
jdbc.username.jeecg=root
|
||||
jdbc.password.jeecg=Zzerp123
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
#IP
|
||||
redis.host=127.0.0.1
|
||||
#\u7AEF\u53E3
|
||||
redis.port=6379
|
||||
#\u5BC6\u7801
|
||||
redis.password=
|
||||
#\u8D85\u65F6\uFF0C\u5355\u4F4D\u6BEB\u79D2
|
||||
redis.timeout=10000
|
||||
#\u6700\u5927\u7A7A\u95F2\u6570
|
||||
redis.maxIdle=300
|
||||
#\u6700\u5927\u8FDE\u63A5\u6570
|
||||
redis.maxTotal=600
|
||||
#\u6700\u5927\u7A7A\u95F2\u6570
|
||||
redis.minIdle=1
|
||||
#\u6700\u5927\u5EFA\u7ACB\u8FDE\u63A5\u7B49\u5F85\u65F6\u95F4
|
||||
redis.maxWait=1000
|
||||
#\u6307\u660E\u662F\u5426\u5728\u4ECE\u6C60\u4E2D\u53D6\u51FA\u8FDE\u63A5\u524D\u8FDB\u884C\u68C0\u9A8C,\u5982\u679C\u68C0\u9A8C\u5931\u8D25,\u5219\u4ECE\u6C60\u4E2D\u53BB\u9664\u8FDE\u63A5\u5E76\u5C1D\u8BD5\u53D6\u51FA\u53E6\u4E00\u4E2A
|
||||
redis.testOnBorrow=false
|
||||
#\u4F7F\u7528redis\u5757\u5206\u533A,0-15
|
||||
redis.database=0
|
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:cache="http://www.springframework.org/schema/cache"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:redis="http://www.springframework.org/schema/redis"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context-3.1.xsd
|
||||
http://www.springframework.org/schema/cache
|
||||
http://www.springframework.org/schema/cache/spring-cache-3.1.xsd
|
||||
http://www.springframework.org/schema/redis
|
||||
http://www.springframework.org/schema/redis/spring-redis-1.0.xsd">
|
||||
<context:property-placeholder location="classpath:redis.properties" ignore-unresolvable="true"/>
|
||||
|
||||
<!-- jedis 配置 -->
|
||||
<bean id="poolConfig" class="redis.clients.jedis.JedisPoolConfig">
|
||||
<!-- 最大空闲连接数 -->
|
||||
<property name="maxIdle" value="${redis.maxIdle}" />
|
||||
<!-- 最小空闲连接数 -->
|
||||
<property name="minIdle" value="${redis.minIdle}" />
|
||||
<property name="maxWaitMillis" value="${redis.maxWait}" />
|
||||
<!-- 在获取连接的时候检查有效性 -->
|
||||
<property name="testOnBorrow" value="${redis.testOnBorrow}" />
|
||||
</bean>
|
||||
|
||||
<!-- redis服务器中心 -->
|
||||
<bean id="redisConnectionFactory" class="org.springframework.data.redis.connection.jedis.JedisConnectionFactory">
|
||||
<property name="poolConfig" ref="poolConfig" />
|
||||
<property name="port" value="${redis.port}" />
|
||||
<property name="hostName" value="${redis.host}" />
|
||||
<property name="password" value="${redis.password}" />
|
||||
<property name="timeout" value="${redis.timeout}" />
|
||||
<property name="database" value="${redis.database}" />
|
||||
</bean>
|
||||
|
||||
<!-- redis操作模板,面向对象的模板 -->
|
||||
<bean id="redisTemplate" class="org.springframework.data.redis.core.StringRedisTemplate">
|
||||
<property name="connectionFactory" ref="redisConnectionFactory" />
|
||||
<!-- 将key和value序列化后存入redis,读取时再进行反序列化 -->
|
||||
<!-- 对key的默认序列化器 -->
|
||||
<property name="keySerializer">
|
||||
<bean class="org.springframework.data.redis.serializer.StringRedisSerializer" />
|
||||
</property>
|
||||
<!-- 对value的默认序列化器 -->
|
||||
<property name="valueSerializer">
|
||||
<bean class="org.springframework.data.redis.serializer.JdkSerializationRedisSerializer"/>
|
||||
</property>
|
||||
<!-- 对hash结构数据的hashkey的默认序列化器 -->
|
||||
<property name="hashKeySerializer">
|
||||
<bean class="org.springframework.data.redis.serializer.JdkSerializationRedisSerializer" />
|
||||
</property>
|
||||
<!-- 对hash结构数据的hashvalue的默认序列化器 -->
|
||||
<property name="hashValueSerializer">
|
||||
<bean class="org.springframework.data.redis.serializer.JdkSerializationRedisSerializer" />
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
|
@ -7,8 +7,8 @@
|
|||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context-3.0.xsd
|
||||
http://www.springframework.org/schema/mvc
|
||||
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
|
||||
http://cxf.apache.org/jaxws
|
||||
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
|
||||
http://cxf.apache.org/jaxws
|
||||
http://cxf.apache.org/schemas/jaxws.xsd">
|
||||
<!-- 自动扫描controller包下的所有类,使其认为spring mvc的控制器 -->
|
||||
<!-- 加载controller的时候,不加载service,因为此时事物并未生效,若此时加载了service,那么事物无法对service进行拦截 -->
|
||||
|
@ -160,5 +160,6 @@
|
|||
<import resource="classpath*:org/jeecgframework/web/cgform/common/spring-mvc-cgform.xml" />
|
||||
<!-- jeecg plugin dev -->
|
||||
<import resource="classpath:config/spring-config-p3.xml" />
|
||||
<!-- <import resource="classpath:redis.xml" />-->
|
||||
|
||||
</beans>
|
||||
</beans>
|
||||
|
|
|
@ -16,7 +16,7 @@ office_home=D://OpenOffice
|
|||
#DEV(\u5F00\u53D1\u6A21\u5F0F)/PUB(\u751F\u4EA7\u6A21\u5F0F)
|
||||
sqlReadMode=PUB
|
||||
|
||||
#database type for spring jdbc
|
||||
#database type for spring jdbc
|
||||
jdbc.url.jeecg=mysql
|
||||
|
||||
#\u6309\u94AE\u6743\u9650\u5F00\u5173
|
||||
|
@ -142,12 +142,12 @@ systuopan=yes
|
|||
#\u5BF9\u8D26\u5355\u663E\u793A\u660E\u7EC6
|
||||
sysdzd=yes
|
||||
#\u4ED3\u5E93\u4FE1\u606F
|
||||
comname=\u53A6\u95E8\u5E02\u7075\u9E7F\u8C37\u79D1\u6280\u6709\u9650\u516C\u53F8
|
||||
comaddr=\u53A6\u95E8\u5E02\u7075\u9E7F\u8C37\u79D1\u6280\u6709\u9650\u516C\u53F8
|
||||
comname=\u65B0\u7586\u534E\u5B9C\u4E07\u901A\u7F51\u7EDC\u79D1\u6280\u6709\u9650\u516C\u53F8
|
||||
comaddr=\u65B0\u7586\u4E4C\u9C81\u6728\u9F50\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A\u5929\u6D25\u5357\u8DEF682\u53F7\u521B\u4E1A\u670D\u52A1\u4E2D\u5FC3\u7559\u521B\u56ED215-21
|
||||
comtel=
|
||||
#\u5BF9\u8D26\u4FE1\u606F
|
||||
comfiname=\u53A6\u95E8\u5E02\u7075\u9E7F\u8C37\u79D1\u6280\u6709\u9650\u516C\u53F8
|
||||
comfiaddr=\u53A6\u95E8\u5E02\u7075\u9E7F\u8C37\u79D1\u6280\u6709\u9650\u516C\u53F8
|
||||
comfiname=\u65B0\u7586\u534E\u5B9C\u4E07\u901A\u7F51\u7EDC\u79D1\u6280\u6709\u9650\u516C\u53F8
|
||||
comfiaddr=\u65B0\u7586\u4E4C\u9C81\u6728\u9F50\u9AD8\u65B0\u6280\u672F\u4EA7\u4E1A\u5F00\u53D1\u533A\u5929\u6D25\u5357\u8DEF682\u53F7\u521B\u4E1A\u670D\u52A1\u4E2D\u5FC3\u7559\u521B\u56ED215-21
|
||||
comfitel=
|
||||
comfibankid=
|
||||
comfibankname=
|
||||
|
@ -179,7 +179,7 @@ scrq=2099-12-31
|
|||
|
||||
|
||||
#\u662F\u5426\u542F\u7528\u5546\u54C1\u6761\u7801
|
||||
sptmon=no
|
||||
sptmon=yes
|
||||
#beijingend
|
||||
|
||||
yydbkey=mssql
|
||||
|
@ -189,7 +189,7 @@ yy.cuscode=hwm
|
|||
interfacetype=DSC
|
||||
|
||||
#\u96C6\u56E2\u7248\u672C on
|
||||
comgroup=on
|
||||
comgroup=off
|
||||
|
||||
#\u62E3\u8D27\u5355\u5355\u4F4D
|
||||
tijiunit=\u7ACB\u65B9\u5206\u7C73
|
||||
|
@ -208,7 +208,7 @@ wm.rkd=hr
|
|||
show.noticeurl=http://120.78.150.43/wmstest/wmOmNoticeHController.do?showlist&id=
|
||||
show.goodsurl=http://120.78.150.43/wmstest/wmOmNoticeHController.do?showgoods&id=
|
||||
|
||||
wms.totms=no
|
||||
wms.totms=yes
|
||||
|
||||
|
||||
sys.del=database
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
<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/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/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/tools/dataformat.js"></script>
|
||||
<script type="text/javascript" src="plug-in/easyui/jquery.easyui.min.1.3.2.js"></script>
|
||||
|
@ -33,14 +33,14 @@
|
|||
<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.all.min.js"></script>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
function sumin(){
|
||||
|
||||
|
||||
// console.log($("#wmImNoticeI_table").children("tr"));
|
||||
trList = $("#add_wmImNoticeI_table").children("tr");
|
||||
alert(trList.length);
|
||||
|
@ -48,34 +48,34 @@
|
|||
var dh = 0;
|
||||
for (var i=0;i<trList.length;i++) {
|
||||
var tdArr = trList.eq(i).find("td");
|
||||
|
||||
|
||||
var history_income_remark = tdArr.eq(2).find('input').val();// 合计
|
||||
dh = history_income_remark;
|
||||
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");
|
||||
// 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").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
|
||||
|
||||
|
||||
//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();
|
||||
//$(""+activeTab).show();
|
||||
if( $(activeTab).html()!="") {
|
||||
return false;
|
||||
}else{
|
||||
|
@ -84,11 +84,11 @@
|
|||
$.post(url, {}, function(data) {
|
||||
//$(this).attr("tab-ajax-cached", true);
|
||||
$(activeTab).html(data);
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
//初始化下标
|
||||
function resetTrNum(tableId) {
|
||||
|
@ -113,10 +113,10 @@
|
|||
$(this).find('div[name=\'xh\']').html(i+1);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function init(){
|
||||
var tabHead =$("#jform_tab li:first");
|
||||
var tabBox = $("#jform_tab .con-wrapper:first");
|
||||
var tabBox = $("#jform_tab .con-wrapper:first");
|
||||
var url = tabHead.attr("tab-ajax-url");
|
||||
tabBox.html('正在加载内容,请稍后...');
|
||||
$.post(url, {}, function(data) {
|
||||
|
@ -158,10 +158,10 @@
|
|||
</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">
|
||||
|
@ -171,45 +171,44 @@
|
|||
<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>
|
||||
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()"
|
||||
<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>
|
||||
<b>客户订单号*:</b>
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
<input id="imCusCode" name="imCusCode" 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>
|
||||
|
||||
|
||||
ignore="ignore" 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>
|
||||
|
@ -221,8 +220,8 @@
|
|||
<label class="Validform_label" style="display: none">运输号码</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row show-grid">
|
||||
<div class="col-xs-1 text-center">
|
||||
<b>运输公司:</b>
|
||||
|
@ -260,13 +259,13 @@
|
|||
<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>
|
||||
<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>--%>
|
||||
|
@ -277,8 +276,8 @@
|
|||
<%--<label class="Validform_label" style="display: none">月台</label>--%>
|
||||
<%--</div>--%>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row show-grid">
|
||||
<div class="col-xs-1 text-center">
|
||||
<b>备注:</b>
|
||||
|
@ -296,7 +295,7 @@
|
|||
</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>
|
||||
|
@ -304,19 +303,19 @@
|
|||
</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");
|
||||
|
@ -329,7 +328,7 @@
|
|||
|
||||
var neibuClickFlag = false;
|
||||
function neibuClick() {
|
||||
neibuClickFlag = true;
|
||||
neibuClickFlag = true;
|
||||
$('#btn_sub').trigger('click');
|
||||
}
|
||||
</script>
|
||||
|
@ -339,12 +338,12 @@
|
|||
<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">
|
||||
|
@ -418,7 +417,7 @@
|
|||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</form>
|
||||
<!-- 添加 产品明细 模版 -->
|
||||
<table style="display:none">
|
||||
|
@ -443,26 +442,26 @@
|
|||
<%----%>
|
||||
<%-- <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="*"
|
||||
<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#].goodsPrdData" maxlength="32" -->
|
||||
<!-- type="text" class="form-control" onClick="WdatePicker()" style="background: url('plug-in/ace/images/datetime.png') no-repeat scroll right center transparent;width:160px;" -->
|
||||
|
@ -471,14 +470,14 @@
|
|||
<!-- <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>
|
||||
<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>
|
||||
<script src = "webpage/com/zzjee/wm/wmImNoticeH.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<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/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/tablefrom.css" type="text/css"/>
|
||||
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.js"></script>
|
||||
|
@ -41,19 +41,19 @@
|
|||
<script type="text/javascript">
|
||||
$(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").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
|
||||
|
||||
|
||||
//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();
|
||||
//$(""+activeTab).show();
|
||||
if( $(activeTab).html()!="") {
|
||||
return false;
|
||||
}else{
|
||||
|
@ -62,11 +62,11 @@
|
|||
$.post(url, {}, function(data) {
|
||||
//$(this).attr("tab-ajax-cached", true);
|
||||
$(activeTab).html(data);
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
//初始化下标
|
||||
function resetTrNum(tableId) {
|
||||
|
@ -88,10 +88,10 @@
|
|||
$(this).find('div[name=\'xh\']').html(i+1);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function init(){
|
||||
var tabHead =$("#jform_tab li:first");
|
||||
var tabBox = $("#jform_tab .con-wrapper:first");
|
||||
var tabBox = $("#jform_tab .con-wrapper:first");
|
||||
var url = tabHead.attr("tab-ajax-url");
|
||||
tabBox.html('正在加载内容,请稍后...');
|
||||
$.post(url, {}, function(data) {
|
||||
|
@ -130,10 +130,10 @@
|
|||
</script>
|
||||
<body>
|
||||
<form id="formobj" action="wmOmNoticeHController.do?doAdd" name="formobj" method="post"><input type="hidden" id="btn_sub" class="btn_sub"/>
|
||||
|
||||
|
||||
<input type="hidden" id="btn_sub" class="btn_sub"/>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="tab-wrapper">
|
||||
<!-- tab -->
|
||||
<ul class="nav nav-tabs">
|
||||
|
@ -148,12 +148,12 @@
|
|||
</div>
|
||||
<div class="col-xs-2">
|
||||
<t:dictSelect field="cusCode" type="list" extendJson="{class:'form-control',datatype:'*',style:'width:230px'}"
|
||||
defaultVal="${wmOmNoticeHPage.cusCode}" readonly="${wmOmNoticeHPage.readonly}" dictTable="mv_cus" dictField="cus_code" dictText="cus_name" hasLabel="false" title="客户编码"></t:dictSelect>
|
||||
defaultVal="${wmOmNoticeHPage.cusCode}" readonly="${wmOmNoticeHPage.readonly}" 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-xs-1 text-center">
|
||||
<b>要求交货时间:</b>
|
||||
</div>
|
||||
|
@ -164,26 +164,25 @@
|
|||
<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="${wmOmNoticeHPage.orderTypeCode}" hasLabel="false" title="订单类型"></t:dictSelect>
|
||||
<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="${wmOmNoticeHPage.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>
|
||||
<b>客户订单号*:</b>
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
<input id="imCusCode" name="imCusCode" type="text" class="form-control"
|
||||
ignore="ignore"
|
||||
ignore="ignore" validType="wm_om_notice_h,im_cus_code,id"
|
||||
/>
|
||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||
<label class="Validform_label" style="display: none">客户订单号</label>
|
||||
</div>
|
||||
<span class="Validform_checktip"> 不能重复</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row show-grid">
|
||||
|
@ -232,8 +231,8 @@
|
|||
<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 +243,8 @@
|
|||
<label class="Validform_label" style="display: none">收货人电话</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row show-grid">
|
||||
<div class="col-xs-1 text-center">
|
||||
<b>收货人地址:</b>
|
||||
|
@ -256,8 +255,8 @@
|
|||
<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>
|
||||
|
@ -273,7 +272,7 @@
|
|||
<label class="Validform_label" style="display: none">运输人</label>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<%--<div class="col-xs-1 text-center">--%>
|
||||
<%--<b>承运人电话:</b>--%>
|
||||
<%--</div>--%>
|
||||
|
@ -283,8 +282,8 @@
|
|||
<%--<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>
|
||||
|
@ -292,14 +291,14 @@
|
|||
|
||||
<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>
|
||||
<label class="Validform_label" style="display: none">发货运单号或车号</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row show-grid">
|
||||
<%--<div class="col-xs-1 text-center">--%>
|
||||
<%--<b>发货月台:</b>--%>
|
||||
|
@ -310,7 +309,7 @@
|
|||
<%--<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,35 +320,35 @@
|
|||
<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");
|
||||
|
@ -362,7 +361,7 @@
|
|||
|
||||
var neibuClickFlag = false;
|
||||
function neibuClick() {
|
||||
neibuClickFlag = true;
|
||||
neibuClickFlag = true;
|
||||
$('#btn_sub').trigger('click');
|
||||
}
|
||||
</script>
|
||||
|
@ -372,12 +371,12 @@
|
|||
<ul class="nav nav-tabs">
|
||||
<li role="presentation" tab-ajax-url="wmOmNoticeHController.do?wmOmNoticeIList&omNoticeId=${wmOmNoticeHPage.omNoticeId}"><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">
|
||||
|
@ -451,7 +450,7 @@
|
|||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</form>
|
||||
<!-- 添加 产品明细 模版 -->
|
||||
<table style="display:none">
|
||||
|
@ -462,9 +461,9 @@
|
|||
<td align="left">
|
||||
<%-- <t:dictSelect field="wmOmNoticeIList[#index#].goodsId" type="list" extendJson="{class:'form-control',datatype:'*',style:'width:350px'}" --%>
|
||||
<%-- dictCondition="${wmOmNoticeHPage.wherecon}" dictTable="mv_goods" dictField="goods_code" dictText="goods_name" defaultVal="" hasLabel="false" title="商品编码"></t:dictSelect> --%>
|
||||
|
||||
|
||||
<input id="wmOmNoticeIList[#index#].goodsId" name="wmOmNoticeIList[#index#].goodsId" maxlength="32"
|
||||
|
||||
|
||||
<input id="wmOmNoticeIList[#index#].goodsId" name="wmOmNoticeIList[#index#].goodsId" maxlength="32"
|
||||
ignore="ignore"
|
||||
type="text" class="form-control searchbox-inputtext" onclick="popClickone('wmOmNoticeIList[#index#].goodsId','goodsName','mvGoodsController.do?list')" style="width:420px;text-align: left" >
|
||||
|
||||
|
@ -473,15 +472,15 @@
|
|||
<label class="Validform_label" style="display: none;">出货商品</label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<input name="wmOmNoticeIList[#index#].goodsQua" maxlength="32"
|
||||
<input name="wmOmNoticeIList[#index#].goodsQua" maxlength="32"
|
||||
ignore="ignore"
|
||||
type="text" class="form-control" style="width:120px;" >
|
||||
<label class="Validform_label" style="display: none;">出货数量</label>
|
||||
</td>
|
||||
|
||||
|
||||
<td>
|
||||
<t:dictSelect field="wmOmNoticeIList[#index#].planSta" type="radio" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
typeGroupCode="sf_yn" hasLabel="false" title="下架任务是否已生成"></t:dictSelect>
|
||||
<t:dictSelect field="wmOmNoticeIList[#index#].planSta" type="radio" extendJson="{class:'form-control',style:'width:150px'}"
|
||||
typeGroupCode="sf_yn" hasLabel="false" title="下架任务是否已生成"></t:dictSelect>
|
||||
<label class="Validform_label" style="display: none;">下架任务是否已生成</label>
|
||||
</td>
|
||||
<%--<td align="left">--%>
|
||||
|
@ -507,6 +506,6 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<script src = "webpage/com/zzjee/wm/wmOmNoticeH.js"></script>
|
||||
<script src = "webpage/com/zzjee/wm/wmOmNoticeH.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue