收货通知增加计划占用储位数

master
erzhongxmu 2020-10-07 00:16:07 +08:00
parent 36a195b06c
commit 15e9d87abd
4 changed files with 121 additions and 105 deletions

View File

@ -17,12 +17,12 @@ import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;
/**
/**
* @Title: Entity
* @Description:
* @author erzhongxmu
* @date 2017-09-11 15:08:34
* @version V1.0
* @version V1.0
*
*/
@Entity
@ -32,28 +32,28 @@ public class WmImNoticeIEntity implements java.io.Serializable {
/**主键*/
private java.lang.String id;
/**创建人名称*/
private java.lang.String createName;
/**创建人登录名称*/
private java.lang.String createBy;
/**创建日期*/
private java.util.Date createDate;
/**更新人名称*/
private java.lang.String updateName;
/**更新人登录名称*/
private java.lang.String updateBy;
/**更新日期*/
private java.util.Date updateDate;
/**所属部门*/
private java.lang.String sysOrgCode;
/**所属公司*/
private java.lang.String sysCompanyCode;
/**到货通知单号*/
@Excel(name="到货通知单号")
@ -80,40 +80,41 @@ public class WmImNoticeIEntity implements java.io.Serializable {
@Excel(name="生产日期",format = "yyyy-MM-dd")
private java.util.Date goodsPrdData;
/**批次*/
private java.lang.String goodsBatch;
/**库位整理*/
@Excel(name="收货完成")
private java.lang.String binPre;
/**体积*/
private java.lang.String goodsFvol;
/**重量*/
private java.lang.String goodsWeight;
/**计划库位*/
@Excel(name="计划储位数量")
private java.lang.String binPlan;
/**单位*/
@Excel(name="单位")
private java.lang.String goodsUnit;
/**未清数量*/
private java.lang.String goodsWqmCount;
/**批量收货数量*/
private java.lang.String goodsQmCount;
/**行项目状态*/
private java.lang.String noticeiSta;
/**基本单位*/
private java.lang.String baseUnit;
/**基本单位数量*/
private java.lang.String baseGoodscount;
/**基本单位收货数量*/
private java.lang.String baseQmcount;
@Excel(name="商品条码")
private java.lang.String barCode;
@ -128,7 +129,7 @@ public class WmImNoticeIEntity implements java.io.Serializable {
@Id
@GeneratedValue(generator = "paymentableGenerator")
@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
@Column(name ="ID",nullable=false,length=36)
public java.lang.String getId(){
return this.id;
@ -141,7 +142,7 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setId(java.lang.String id){
this.id = id;
}
/**
*: java.lang.String
*@return: java.lang.String
@ -184,12 +185,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setCreateName(java.lang.String createName){
this.createName = createName;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="CREATE_BY",nullable=true,length=50)
public java.lang.String getCreateBy(){
return this.createBy;
@ -202,12 +203,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setCreateBy(java.lang.String createBy){
this.createBy = createBy;
}
/**
*: java.util.Date
*@return: java.util.Date
*/
@Column(name ="CREATE_DATE",nullable=true)
public java.util.Date getCreateDate(){
return this.createDate;
@ -220,12 +221,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setCreateDate(java.util.Date createDate){
this.createDate = createDate;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="UPDATE_NAME",nullable=true,length=50)
public java.lang.String getUpdateName(){
return this.updateName;
@ -238,12 +239,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setUpdateName(java.lang.String updateName){
this.updateName = updateName;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="UPDATE_BY",nullable=true,length=50)
public java.lang.String getUpdateBy(){
return this.updateBy;
@ -256,12 +257,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setUpdateBy(java.lang.String updateBy){
this.updateBy = updateBy;
}
/**
*: java.util.Date
*@return: java.util.Date
*/
@Column(name ="UPDATE_DATE",nullable=true)
public java.util.Date getUpdateDate(){
return this.updateDate;
@ -274,12 +275,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setUpdateDate(java.util.Date updateDate){
this.updateDate = updateDate;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="SYS_ORG_CODE",nullable=true,length=50)
public java.lang.String getSysOrgCode(){
return this.sysOrgCode;
@ -292,12 +293,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setSysOrgCode(java.lang.String sysOrgCode){
this.sysOrgCode = sysOrgCode;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="SYS_COMPANY_CODE",nullable=true,length=50)
public java.lang.String getSysCompanyCode(){
return this.sysCompanyCode;
@ -310,12 +311,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setSysCompanyCode(java.lang.String sysCompanyCode){
this.sysCompanyCode = sysCompanyCode;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="IM_NOTICE_ID",nullable=true,length=36)
public java.lang.String getImNoticeId(){
return this.imNoticeId;
@ -328,12 +329,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setImNoticeId(java.lang.String imNoticeId){
this.imNoticeId = imNoticeId;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="IM_NOTICE_ITEM",nullable=true,length=36)
public java.lang.String getImNoticeItem(){
return this.imNoticeItem;
@ -346,12 +347,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setImNoticeItem(java.lang.String imNoticeItem){
this.imNoticeItem = imNoticeItem;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="GOODS_CODE",nullable=true,length=32)
public java.lang.String getGoodsCode(){
return this.goodsCode;
@ -364,12 +365,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setGoodsCode(java.lang.String goodsCode){
this.goodsCode = goodsCode;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="GOODS_COUNT",nullable=true,length=32)
public java.lang.String getGoodsCount(){
return this.goodsCount;
@ -382,12 +383,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setGoodsCount(java.lang.String goodsCount){
this.goodsCount = goodsCount;
}
/**
*: java.util.Date
*@return: java.util.Date
*/
@Column(name ="GOODS_PRD_DATA",nullable=true)
public java.util.Date getGoodsPrdData(){
return this.goodsPrdData;
@ -400,12 +401,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setGoodsPrdData(java.util.Date goodsPrdData){
this.goodsPrdData = goodsPrdData;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="GOODS_BATCH",nullable=true,length=32)
public java.lang.String getGoodsBatch(){
return this.goodsBatch;
@ -418,12 +419,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setGoodsBatch(java.lang.String goodsBatch){
this.goodsBatch = goodsBatch;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="BIN_PRE",nullable=true,length=32)
public java.lang.String getBinPre(){
return this.binPre;
@ -436,12 +437,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setBinPre(java.lang.String binPre){
this.binPre = binPre;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="GOODS_FVOL",nullable=true,length=32)
public java.lang.String getGoodsFvol(){
return this.goodsFvol;
@ -454,12 +455,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setGoodsFvol(java.lang.String goodsFvol){
this.goodsFvol = goodsFvol;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="GOODS_WEIGHT",nullable=true,length=32)
public java.lang.String getGoodsWeight(){
return this.goodsWeight;
@ -472,12 +473,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setGoodsWeight(java.lang.String goodsWeight){
this.goodsWeight = goodsWeight;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="BIN_PLAN",nullable=true,length=128)
public java.lang.String getBinPlan(){
return this.binPlan;
@ -490,12 +491,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setBinPlan(java.lang.String binPlan){
this.binPlan = binPlan;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="GOODS_UNIT",nullable=true,length=36)
public java.lang.String getGoodsUnit(){
return this.goodsUnit;
@ -508,12 +509,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setGoodsUnit(java.lang.String goodsUnit){
this.goodsUnit = goodsUnit;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="GOODS_WQM_COUNT",nullable=true,length=32)
public java.lang.String getGoodsWqmCount(){
return this.goodsWqmCount;
@ -526,12 +527,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setGoodsWqmCount(java.lang.String goodsWqmCount){
this.goodsWqmCount = goodsWqmCount;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="GOODS_QM_COUNT",nullable=true,length=32)
public java.lang.String getGoodsQmCount(){
return this.goodsQmCount;
@ -544,12 +545,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setGoodsQmCount(java.lang.String goodsQmCount){
this.goodsQmCount = goodsQmCount;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="NOTICEI_STA",nullable=true,length=45)
public java.lang.String getNoticeiSta(){
return this.noticeiSta;
@ -562,12 +563,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setNoticeiSta(java.lang.String noticeiSta){
this.noticeiSta = noticeiSta;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="BASE_UNIT",nullable=true,length=45)
public java.lang.String getBaseUnit(){
return this.baseUnit;
@ -580,12 +581,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setBaseUnit(java.lang.String baseUnit){
this.baseUnit = baseUnit;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="BASE_GOODSCOUNT",nullable=true,length=45)
public java.lang.String getBaseGoodscount(){
return this.baseGoodscount;
@ -598,12 +599,12 @@ public class WmImNoticeIEntity implements java.io.Serializable {
public void setBaseGoodscount(java.lang.String baseGoodscount){
this.baseGoodscount = baseGoodscount;
}
/**
*: java.lang.String
*@return: java.lang.String
*/
@Column(name ="BASE_QMCOUNT",nullable=true,length=45)
public java.lang.String getBaseQmcount(){
return this.baseQmcount;

View File

@ -468,13 +468,12 @@
<!-- <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;" -->
<!-- ignore="ignore" -->
<!-- > -->
<!-- <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>

View File

@ -429,6 +429,12 @@
<!-- > -->
<!-- <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>
@ -440,4 +446,4 @@
</table>
<script src = "webpage/com/zzjee/wm/wmImNoticeH.js"></script>
</body>
</html>
</html>

View File

@ -6,27 +6,27 @@
<button id="addBtn_WmImNoticeI" type="button" class="btn btn-default">添加</button>
<!-- <button id="delBtn_WmImNoticeI" type="button" class="btn btn-default">删除</button> -->
<button id="sum_WmImNoticeI" type="button" class="btn btn-default">合计</button>
<script type="text/javascript">
<script type="text/javascript">
$('#addBtn_WmImNoticeI').bind('click', function(){
var tr = $("#add_wmImNoticeI_table_template tr").clone();
$("#add_wmImNoticeI_table").append(tr);
resetTrNum('add_wmImNoticeI_table');
return false;
});
$('#delBtn_WmImNoticeI').bind('click', function(){
$("#add_wmImNoticeI_table").find("input:checked").parent().parent().remove();
$('#delBtn_WmImNoticeI').bind('click', function(){
$("#add_wmImNoticeI_table").find("input:checked").parent().parent().remove();
resetTrNum('add_wmImNoticeI_table');
return false;
});
$('#sum_WmImNoticeI').bind('click', function(){
$('#sum_WmImNoticeI').bind('click', function(){
trList = $("#add_wmImNoticeI_table").children("tr");
var heji = 0;
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;
@ -41,13 +41,13 @@
}
resetTrNum('add_wmImNoticeI_table');
});
</script>
</div>
</div>
<div style="margin: 0 15px; background-color: white;">
<div style="margin: 0 15px; background-color: white;">
<!-- Table -->
<table id="wmImNoticeI_table" class="table table-bordered table-hover" style="margin-bottom: 0;">
<thead>
@ -55,7 +55,7 @@
<th style="white-space:nowrap;width:50px;">序号</th>
<th style="white-space:nowrap;width:50px;">操作</th>
<th>
商品编码
商品编码
</th>
<th>
数量
@ -63,9 +63,9 @@
<!-- <th> -->
<!-- 单位 -->
<!-- </th> -->
<!-- <th> -->
<!-- 生产日期 -->
<!-- </th> -->
<th>
计划占用储位数
</th>
<th>
收货完成
</th>
@ -74,8 +74,8 @@
<!-- </th> -->
</tr>
</thead>
<tbody id="add_wmImNoticeI_table">
<tbody id="add_wmImNoticeI_table">
<c:if test="${fn:length(wmImNoticeIList) <= 0 }">
<tr>
<th scope="row"><div name="xh"></div></th>
@ -93,7 +93,12 @@
<label class="Validform_label" style="display: none;">数量</label>
</td>
<td>
<input name="wmImNoticeIList[0].binPlan" maxlength="32"
type="text" class="form-control" style="width:120px;text-align: right" >
<label class="Validform_label" style="display: none;">计划占用储位数</label>
</td>
<td>
<t:dictSelect field="wmImNoticeIList[0].binPre" type="radio" extendJson="{class:'form-control',style:'width:150px'}"
typeGroupCode="sf_yn" defaultVal="N" hasLabel="false" title="收货完成"></t:dictSelect>
@ -126,8 +131,7 @@
<input name="wmImNoticeIList[${stuts.index }].goodsBatch" type="hidden" value="${poVal.goodsBatch }"/>
<input name="wmImNoticeIList[${stuts.index }].goodsFvol" type="hidden" value="${poVal.goodsFvol }"/>
<input name="wmImNoticeIList[${stuts.index }].goodsWeight" type="hidden" value="${poVal.goodsWeight }"/>
<input name="wmImNoticeIList[${stuts.index }].binPlan" type="hidden" value="${poVal.binPlan }"/>
<input name="wmImNoticeIList[${stuts.index }].goodsQmCount" type="hidden" value="${poVal.goodsQmCount }"/>
<input name="wmImNoticeIList[${stuts.index }].goodsQmCount" type="hidden" value="${poVal.goodsQmCount }"/>
<input name="wmImNoticeIList[${stuts.index }].goodsWqmCount" type="hidden" value="${poVal.goodsWqmCount }"/>
<input name="wmImNoticeIList[${stuts.index }].baseUnit" type="hidden" value="${poVal.baseUnit }"/>
<input name="wmImNoticeIList[${stuts.index }].baseGoodscount" type="hidden" value="${poVal.baseGoodscount }"/>
@ -146,33 +150,39 @@
<%--dictCondition="${wmImNoticeHPage.wherecon}" dictTable="mv_goods" dictField="goods_code" dictText="goods_name" defaultVal="${poVal.goodsCode }" hasLabel="false" title="商品编码"></t:dictSelect> --%>
<label class="Validform_label" style="display: none;">商品编码</label>
<%-- <input id="wmImNoticeIList[${stuts.index }].goodsCode" name="wmImNoticeIList[${stuts.index }].goodsCode" maxlength="32" --%>
<%-- value="${poVal.goodsCode }" type="text" style="width:420px;text-align: left" > --%>
<%-- <t:choose hiddenName="wmImNoticeIList[${stuts.index }].goodsCode" hiddenid="goodsName" url="mvGoodsController.do?list" name="mvGoodsList" width="900" height="610" icon="icon-search" title="选择" textname="goodsName" isInit="true"></t:choose> --%>
</td>
<td align="left">
<input name="wmImNoticeIList[${stuts.index }].goodsCount" maxlength="32" datatype="*"
<input name="wmImNoticeIList[${stuts.index }].goodsCount" maxlength="32" datatype="*"
type="text" class="form-control" style="width:120px;text-align: right" value="${poVal.goodsCount }">
<label class="Validform_label" style="display: none;">数量</label>
</td>
<td align="left">
<input name="wmImNoticeIList[${stuts.index }].binPlan" maxlength="32"
type="text" class="form-control" style="width:120px;text-align: right" value="${poVal.binPlan }">
<label class="Validform_label" style="display: none;">计划占用储位数</label>
</td>
<!-- <td align="left"> -->
<%-- <t:dictSelect field="wmImNoticeIList[${stuts.index }].goodsUnit" type="list" extendJson="{class:'form-control',style:'width:250px'}" --%>
<%-- dictTable="ba_unit" dictField="unit_code" dictText="unit_zh_name" defaultVal="${poVal.goodsUnit }" hasLabel="false" title="单位"></t:dictSelect> --%>
<!-- <label class="Validform_label" style="display: none;">单位</label> -->
<!-- </td> -->
<!-- <td align="left"> -->
<%-- <input name="wmImNoticeIList[${stuts.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;" value="<fmt:formatDate value='${poVal.goodsPrdData}' type="date" pattern="yyyy-MM-dd"/>"> --%>
<!-- <label class="Validform_label" style="display: none;">生产日期</label> -->
<!-- </td> -->
<td align="left">
<t:dictSelect field="wmImNoticeIList[${stuts.index }].binPre" type="radio" extendJson="{class:'form-control',style:'width:150px'}"
typeGroupCode="sf_yn" defaultVal="${poVal.binPre }" hasLabel="false" title="收货完成"></t:dictSelect>
<t:dictSelect field="wmImNoticeIList[${stuts.index }].binPre" type="radio" extendJson="{class:'form-control',style:'width:150px'}"
typeGroupCode="sf_yn" defaultVal="${poVal.binPre }" hasLabel="false" title="收货完成"></t:dictSelect>
<label class="Validform_label" style="display: none;">收货完成</label>
</td>
<!-- <td align="left"> -->
@ -182,7 +192,7 @@
<!-- </td> -->
</tr>
</c:forEach>
</c:if>
</c:if>
</tbody>
</table>
</div>
</div>