出库通知增加字段SKU

master
erzhongxmu 2022-03-21 11:05:26 +08:00
parent 0111f4365e
commit 523507c7f2
4 changed files with 34 additions and 16 deletions

View File

@ -13,6 +13,8 @@ import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import com.zzjee.md.entity.MdGoodsEntity;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;
@ -125,6 +127,9 @@ public class WmOmNoticeIEntity implements java.io.Serializable {
private java.lang.String chpShuXing;
@Excel(name="商品条码")
private java.lang.String barCode;
@Excel(name="sku")
private String sku;
/**
*: java.lang.String
*@return: java.lang.String
@ -696,4 +701,14 @@ public class WmOmNoticeIEntity implements java.io.Serializable {
public void setBarCode(java.lang.String barCode){
this.barCode = barCode;
}
@Column(name ="sku",nullable=true,length=32)
public String getSku() {
return sku;
}
public void setSku(String sku) {
this.sku = sku;
}
}

View File

@ -57,6 +57,7 @@ public class WmOmNoticeHServiceImpl extends CommonServiceImpl implements WmOmNot
if(mvgoods!=null){
huowu=huowu+mvgoods.getGoodsName();
wmOmNoticeI.setGoodsName(mvgoods.getGoodsName());
wmOmNoticeI.setSku(mvgoods.getSku());//SKU
wmOmNoticeI.setChpShuXing(mvgoods.getChpShuXing());//产品属性
wmOmNoticeI.setBarCode(mvgoods.getShpTiaoMa());//商品条码
try{
@ -150,6 +151,7 @@ public class WmOmNoticeHServiceImpl extends CommonServiceImpl implements WmOmNot
if(mvgoods!=null){
huowu=huowu+";"+mvgoods.getGoodsName()+","+wmOmNoticeI.getBaseGoodscount();
wmOmNoticeI.setGoodsName(mvgoods.getGoodsName());
try{
wmOmNoticeI.setBaseUnit(mvgoods.getBaseunit());
wmOmNoticeI.setGoodsUnit(mvgoods.getShlDanWei());

View File

@ -96,9 +96,9 @@
<th>
下架任务是否已生成
</th>
<%--<th>--%>
<%--出货储位--%>
<%--</th>--%>
<th>
SKU
</th>
<%--<th>--%>
<%--出货托盘--%>
<%--</th>--%>
@ -130,11 +130,11 @@
<label class="Validform_label" style="display: none;">下架任务是否已生成</label>
</td>
<%--<td>--%>
<%--<input name="wmOmNoticeIList[0].binOm" maxlength="32"--%>
<%--type="text" class="form-control" style="width:120px;" >--%>
<%--<label class="Validform_label" style="display: none;">出货储位</label>--%>
<%--</td>--%>
<td>
<input name="wmOmNoticeIList[0].sku" maxlength="32"
type="text" class="form-control" style="width:120px;" >
<label class="Validform_label" style="display: none;">SKU</label>
</td>
<%--<td>--%>
<%--<input name="wmOmNoticeIList[0].binId" maxlength="32"--%>
@ -205,11 +205,11 @@ wmOmNoticeIList[${stuts.index }].goodsId<input name="wmOmNoticeIList[${stuts.ind
typeGroupCode="sf_yn" defaultVal="${poVal.planSta}" hasLabel="false" title="下架任务是否已生成"></t:dictSelect>
<label class="Validform_label" style="display: none;">下架任务是否已生成</label>
</td>
<%--<td align="left">--%>
<%--<input name="wmOmNoticeIList[${stuts.index }].binOm" maxlength="32"--%>
<%--type="text" class="form-control" style="width:120px;" value="${poVal.binOm }">--%>
<%--<label class="Validform_label" style="display: none;">出货储位</label>--%>
<%--</td>--%>
<td align="left">
<input name="wmOmNoticeIList[${stuts.index }].sku" maxlength="32"
type="text" class="form-control" style="width:120px;" value="${poVal.sku }">
<label class="Validform_label" style="display: none;">SKU</label>
</td>
<%--<td align="left">--%>
<%--<input name="wmOmNoticeIList[${stuts.index }].binId" maxlength="32"--%>
<%--type="text" class="form-control" style="width:120px;" value="${poVal.binId }">--%>

View File

@ -20,6 +20,7 @@
<t:dgCol title="客户订单号" field="imCusCode" query="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="备注" field="omBeizhu" query="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="商品名称" field="goodsName" query="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="SKU" field="sku" query="true" queryMode="single" width="120"></t:dgCol>
<t:dgCol title="出货数量" field="goodsQua" extendParams="editor:'text'" queryMode="single" width="80"></t:dgCol>
<t:dgCol title="出货单位" field="goodsUnit" queryMode="single" width="80"></t:dgCol>
<t:dgCol title="生产日期" field="goodsProData" formatter="yyyy-MM-dd" extendParams="editor:'text'" queryMode="single" width="120"></t:dgCol>
@ -29,7 +30,7 @@
<t:dgCol title="下架计划生成状态" field="planSta" extendParams="editor:'text'" queryMode="single" width="80"></t:dgCol>
<%-- <t:dgToolBar operationCode="add" title="录入" icon="icon-add" funname="addRow"></t:dgToolBar> --%>
<t:dgToolBar operationCode="edit" title="选择修改" icon="icon-edit" funname="editRow"></t:dgToolBar>
<t:dgToolBar operationCode="save" title="修改保存" icon="icon-save" url="wmOmNoticeHController.do?saveOmnotice" funname="saveData"></t:dgToolBar>
@ -108,5 +109,5 @@
}
</script>
</script>