Commit a91cf7cd authored by wanghang's avatar wanghang

工序物料

parent f030eb31
...@@ -12,7 +12,15 @@ ...@@ -12,7 +12,15 @@
<div class="blank_div clearfix"></div> <div class="blank_div clearfix"></div>
<form class="hg-form" method="post" action="" id="submitForm"> <form class="hg-form" method="post" action="" id="submitForm">
<div><h3>基本信息</h3></div> <div style="display: flex; align-items: center;">
<div style="flex: 1;">
<h3>基本信息</h3>
</div>
<div style="text-align: right;padding-right: 50px;">
<x:button value="保存" onclick="saveForm()" icon="fa-save"/>
<x:button value="重置" onclick="resetForm(this.form)" icon="fa-history"/>
</div>
</div>
<div style="margin: 10px;"> <div style="margin: 10px;">
<div class="hg-form-cols"> <div class="hg-form-cols">
<%-- <x:hidden name="bizId"/>--%> <%-- <x:hidden name="bizId"/>--%>
...@@ -149,10 +157,6 @@ ...@@ -149,10 +157,6 @@
</div> </div>
<%@ include file="technologyAndBom/technologyAndBom.jsp" %> <%@ include file="technologyAndBom/technologyAndBom.jsp" %>
<div class="blank_div clearfix"></div>
<div style="min-height: 40px; text-align: center;" id="formButton">
<x:button value="保存" onclick="saveForm()" icon="fa-save"/>
<x:button value="重置" onclick="resetForm(this.form)" icon="fa-history"/>
</div>
</form> </form>
</div> </div>
...@@ -195,7 +195,7 @@ function showTable(params) { ...@@ -195,7 +195,7 @@ function showTable(params) {
} }
setTimeout(function() { setTimeout(function() {
resolve(); resolve();
}, 1000); }, 1200);
}); });
promise.then(function() { promise.then(function() {
let technologyResult = DataUtil.getGridData({ let technologyResult = DataUtil.getGridData({
...@@ -241,6 +241,10 @@ function showTechnologyTable(productId){ ...@@ -241,6 +241,10 @@ function showTechnologyTable(productId){
processObj.parms={technologyId:-1};//手动切换gridManager processObj.parms={technologyId:-1};//手动切换gridManager
reloadGrid(processObj); reloadGrid(processObj);
} }
if(processBomObj.gridManager!=null){
processBomObj.parms={a:-1};//手动切换gridManager
reloadGrid(processBomObj);
}
}else { }else {
technologyObj.parms={productId:productId}; technologyObj.parms={productId:productId};
loadProofingApplyGrid(technologyObj); loadProofingApplyGrid(technologyObj);
......
...@@ -11,7 +11,15 @@ ...@@ -11,7 +11,15 @@
<x:billTitle title="作业指导书" needStatus="false" needPerson="true"/> <x:billTitle title="作业指导书" needStatus="false" needPerson="true"/>
<div style="margin: 10px;"> <div style="margin: 10px;">
<x:title title="基本信息" name="group"/> <div style="display: flex; align-items: center;">
<div style="flex: 1;">
<x:title title="基本信息" name="group"/>
</div>
<div style="text-align: right;padding-right: 50px;">
<x:button value="保存" onclick="saveForm()" icon="fa-save"/>
<x:button value="重置" onclick="resetForm(this.form)" icon="fa-history"/>
</div>
</div>
<div class="hg-form-cols"> <div class="hg-form-cols">
<x:hidden name="workInstructionApplyId"/> <x:hidden name="workInstructionApplyId"/>
...@@ -247,11 +255,6 @@ ...@@ -247,11 +255,6 @@
fieldCol="2"/> fieldCol="2"/>
</div> </div>
</div> </div>
<div class="blank_div clearfix"></div>
<div style="min-height: 40px; text-align: center;">
<x:button value="保存" onclick="saveForm()" icon="fa-save"/>
<x:button value="重置" onclick="resetForm(this.form)" icon="fa-history"/>
</div>
</form> </form>
</div> </div>
...@@ -8,7 +8,16 @@ ...@@ -8,7 +8,16 @@
<div class="container-fluid" style="padding: 10px;"> <div class="container-fluid" style="padding: 10px;">
<form class="hg-form" method="post" action="" id="submitForm"> <form class="hg-form" method="post" action="" id="submitForm">
<x:billTitle title="作业指导申请书" needStatus="false" needPerson="true"/> <x:billTitle title="作业指导申请书" needStatus="false" needPerson="true"/>
<x:title title="基本信息" name="group"/> <div style="display: flex; align-items: center;">
<div style="flex: 1;">
<x:title title="基本信息" name="group"/>
</div>
<div style="text-align: right;padding-right: 50px;">
<x:button value="保存" onclick="saveForm()" icon="fa-save"/>
<x:button value="重置" onclick="resetForm(this.form)" icon="fa-history"/>
</div>
</div>
<div style="margin: 10px;"> <div style="margin: 10px;">
<div class="hg-form-cols"> <div class="hg-form-cols">
<x:hidden name="proofingApplyId"/> <x:hidden name="proofingApplyId"/>
...@@ -49,11 +58,6 @@ ...@@ -49,11 +58,6 @@
fieldCol="2"/> fieldCol="2"/>
</div> </div>
</div> </div>
<div class="blank_div clearfix"></div>
<div style="min-height: 40px; text-align: center;">
<x:button value="保存" onclick="saveForm()" icon="fa-save"/>
<x:button value="重置" onclick="resetForm(this.form)" icon="fa-history"/>
</div>
</form> </form>
</div> </div>
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