Commit fdbbb9d5 by liuyang

2024-08-31 材料计划详情导入优化不填规格拼接长宽厚

parent 4f57beb2
...@@ -697,6 +697,7 @@ public class HGPZTools { ...@@ -697,6 +697,7 @@ public class HGPZTools {
pz005.setCoefficient(hgsc009a.getCoefficient()); pz005.setCoefficient(hgsc009a.getCoefficient());
pz005.setUnit(hgsc009a.getUnit()); pz005.setUnit(hgsc009a.getUnit());
pz005.setStatus(1); //默认启用 pz005.setStatus(1); //默认启用
jointSpec(pz005);
DaoUtils.insert(HGPZ005.INSERT,pz005); DaoUtils.insert(HGPZ005.INSERT,pz005);
......
...@@ -421,7 +421,7 @@ public class HGSCTools { ...@@ -421,7 +421,7 @@ public class HGSCTools {
pz005.setCoefficient(hgsc004a.getCoefficient()); pz005.setCoefficient(hgsc004a.getCoefficient());
pz005.setUnit(hgsc004a.getUnit()); pz005.setUnit(hgsc004a.getUnit());
pz005.setStatus(1); //默认启用 pz005.setStatus(1); //默认启用
HGPZTools.HgPz005.jointSpec(pz005);
DaoUtils.insert(HGPZ005.INSERT,pz005); DaoUtils.insert(HGPZ005.INSERT,pz005);
} }
hgsc004a.setProductId(pz005.getId()); hgsc004a.setProductId(pz005.getId());
......
...@@ -44,17 +44,17 @@ ...@@ -44,17 +44,17 @@
<%-- </EF:EFComboColumn>--%> <%-- </EF:EFComboColumn>--%>
<EF:EFColumn ename="inventCode" required="true" cname="产品编号" width="160"/> <EF:EFColumn ename="inventCode" required="true" cname="产品编号" width="160"/>
<EF:EFColumn ename="inventTypeDetail" cname="存货类型大类" hidden="true"/> <EF:EFColumn ename="inventTypeDetail" cname="存货类型大类" hidden="true"/>
<EF:EFColumn ename="inventName" cname="存货名称" width="120" align="center" required="true"/> <EF:EFColumn ename="inventName" cname="存货名称" enable="false" width="120" align="center" required="true"/>
<EF:EFComboColumn ename="inventType" cname="存货类型" width="120" align="center" required="false" <EF:EFComboColumn ename="inventType" cname="存货类型" width="120" align="center" required="false"
blockName="invent_type_box_block_id" textField="textField" valueField="valueField" blockName="invent_type_box_block_id" textField="textField" valueField="valueField"
columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="true" columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="true"
filter="contains" enable="false" > filter="contains" enable="false" >
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFColumn ename="material" cname="材质" width="120" align="center" required="false"/> <EF:EFColumn ename="material" cname="材质" enable="false" width="120" align="center" required="false"/>
<EF:EFColumn ename="spec" cname="规格" width="120" align="center" required="false"/> <EF:EFColumn ename="spec" cname="规格" enable="false" width="120" align="center" required="false"/>
<EF:EFColumn ename="length" cname="长(MM)" width="80" align="right" format="{0:N0}" required="false"/> <EF:EFColumn ename="length" cname="长(MM)" enable="false" width="80" align="right" format="{0:N0}" required="false"/>
<EF:EFColumn ename="width" cname="宽(MM)" width="80" align="right" format="{0:N0}" required="false"/> <EF:EFColumn ename="width" cname="宽(MM)" enable="false" width="80" align="right" format="{0:N0}" required="false"/>
<EF:EFColumn ename="thick" cname="厚(MM)" width="80" align="right" format="{0:N0}" required="false"/> <EF:EFColumn ename="thick" cname="厚(MM)" enable="false" width="80" align="right" format="{0:N0}" required="false"/>
<EF:EFColumn ename="quantity" cname="数量" width="120" align="right" format="{0:N3}" <EF:EFColumn ename="quantity" cname="数量" width="120" align="right" format="{0:N3}"
defaultValue="0" required="true" defaultValue="0" required="true"
data-regex="/^-?[0-9]{1,17}([.][0-9]{1,3})?$/" data-regex="/^-?[0-9]{1,17}([.][0-9]{1,3})?$/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment