Commit 12ac6646 by 宋祥

1.采购合同和采购收货显示采购员名称

parent f7ef37cc
...@@ -63,17 +63,17 @@ ...@@ -63,17 +63,17 @@
<EF:EFComboColumn ename="status" cname="状态" enable="false" width="80" align="center" defaultValue="0"> <EF:EFComboColumn ename="status" cname="状态" enable="false" width="80" align="center" defaultValue="0">
<EF:EFCodeOption codeName="hggp.hgcg.contractStatus" condition="ITEM_CODE IN ('0','2','4','5')"/> <EF:EFCodeOption codeName="hggp.hgcg.contractStatus" condition="ITEM_CODE IN ('0','2','4','5')"/>
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFComboColumn ename="supCode" cname="供应商名称" width="120" align="left" defaultValue="" <EF:EFComboColumn ename="supCode" cname="供应商名称" readonly="true" width="120" align="left"
filter="contains" required="true"> defaultValue="" filter="contains" required="true">
<EF:EFOptions blockId="sup_record_block_id" valueField="valueField" textField="textField"/> <EF:EFOptions blockId="sup_record_block_id" valueField="valueField" textField="textField"/>
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFColumn ename="supName" cname="供应商名称" enable="false" width="120" align="center" hidden="true"/> <EF:EFColumn ename="supName" cname="供应商名称" enable="false" width="120" align="center" hidden="true"/>
<EF:EFComboColumn ename="purUserId" cname="采购员" width="120" align="left" defaultValue="" <%-- <EF:EFComboColumn ename="purUserId" cname="采购员" readonly="true" width="120" align="left" defaultValue=""--%>
filter="contains" required="true" columnTemplate="#=valueField# - #=textField#" <%-- filter="contains" required="true" columnTemplate="#=valueField# - #=textField#"--%>
itemTemplate="#=valueField# - #=textField#"> <%-- itemTemplate="#=valueField# - #=textField#">--%>
<EF:EFOptions blockId="user_block_id" valueField="valueField" textField="textField"/> <%-- <EF:EFOptions blockId="user_block_id" valueField="valueField" textField="textField"/>--%>
</EF:EFComboColumn> <%-- </EF:EFComboColumn>--%>
<EF:EFColumn ename="purUserName" cname="采购员姓名" enable="false" width="120" align="center" hidden="true"/> <EF:EFColumn ename="purUserName" cname="采购员姓名" readonly="true" width="120" align="center"/>
<EF:EFColumn ename="purQty" cname="采购数量" width="120" align="right" format="{0:N3}" enable="false" <EF:EFColumn ename="purQty" cname="采购数量" width="120" align="right" format="{0:N3}" enable="false"
defaultValue="0" sumType="page"/> defaultValue="0" sumType="page"/>
<EF:EFColumn ename="purWeight" cname="采购重量" width="120" align="right" format="{0:N3}" enable="false" <EF:EFColumn ename="purWeight" cname="采购重量" width="120" align="right" format="{0:N3}" enable="false"
......
...@@ -92,13 +92,11 @@ let checkParam = function () { ...@@ -92,13 +92,11 @@ let checkParam = function () {
} }
let supCode = $("#inqu_status-0-supCode").val(); let supCode = $("#inqu_status-0-supCode").val();
if (isBlank(supCode)) { if (isBlank(supCode)) {
message("供应商不能为空"); return "供应商不能为空";
return;
} }
let purUserId = $("#inqu_status-0-purUserId").val(); let purUserId = $("#inqu_status-0-purUserId").val();
if (isBlank(purUserId)) { if (isBlank(purUserId)) {
message("采购员不能为空"); return "采购员不能为空";
return;
} }
return ""; return "";
} }
\ No newline at end of file
...@@ -65,12 +65,12 @@ ...@@ -65,12 +65,12 @@
<EF:EFOptions blockId="sup_record_block_id" valueField="valueField" textField="textField"/> <EF:EFOptions blockId="sup_record_block_id" valueField="valueField" textField="textField"/>
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFColumn ename="supName" cname="供应商名称" enable="false" width="120" align="center" hidden="true"/> <EF:EFColumn ename="supName" cname="供应商名称" enable="false" width="120" align="center" hidden="true"/>
<EF:EFComboColumn ename="purUserId" cname="采购员" width="120" align="left" defaultValue="" <%-- <EF:EFComboColumn ename="purUserId" cname="采购员" width="120" align="left" defaultValue=""--%>
filter="contains" required="true" columnTemplate="#=valueField# - #=textField#" <%-- filter="contains" required="true" columnTemplate="#=valueField# - #=textField#"--%>
itemTemplate="#=valueField# - #=textField#"> <%-- itemTemplate="#=valueField# - #=textField#">--%>
<EF:EFOptions blockId="user_block_id" valueField="valueField" textField="textField"/> <%-- <EF:EFOptions blockId="user_block_id" valueField="valueField" textField="textField"/>--%>
</EF:EFComboColumn> <%-- </EF:EFComboColumn>--%>
<EF:EFColumn ename="purUserName" cname="采购员姓名" enable="false" width="120" align="center" hidden="true"/> <EF:EFColumn ename="purUserName" cname="采购员姓名" width="120" align="center"/>
<EF:EFColumn ename="receiveQty" cname="收货数量" enable="false" width="120" align="right" format="{0:N3}" <EF:EFColumn ename="receiveQty" cname="收货数量" enable="false" width="120" align="right" format="{0:N3}"
sumType="page"/> sumType="page"/>
<EF:EFColumn ename="deliverQty" cname="退货数量" enable="false" width="120" align="right" format="{0:N3}" <EF:EFColumn ename="deliverQty" cname="退货数量" enable="false" width="120" align="right" format="{0:N3}"
......
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