| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../css/body.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>
- <![CDATA[炼钢作业 >> 板坯库管理 >> 中厚板移送实绩登录与查询(UIG040090) ]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <resData/>
- <reqData/>
- <searchData>
- <DTIME/>
- <CAR_NO/>
- <SYS_DATE/>
- <INVOICE_NO/>
- <HCR_CLF/>
- <SLAB_NO/>
- <SLAB_NO_1/>
- <PRINT_CHK>Y</PRINT_CHK>
- </searchData>
- <saveData>
- <PLT_TRS_WKSHIFT/>
- <PLT_TRS_WKGROUP/>
- <PLT_TRS_EMP_ID/>
- <TRS_INVOICE_NO/>
- <TRS_INVOICE_NO_MANUAL/>
- <PLT_TRS_EMP_NM/>
- </saveData>
- <datagrid1/>
- <datagrid2/>
- <datagrid3>
- <PltBlabNo_VO/>
- </datagrid3>
- <selectData>
- <SELECT_CAR_NO/>
- <SELECT_INVOICE_NO/>
- <SELECT_INVOICE_NO_MANUAL/>
- <SELECT_ARRV_LOC/>
- </selectData>
- <count/>
- <returnData>
- <Delete>
- <SLAB_NO/>
- <rowStatus>u</rowStatus>
- </Delete>
- <Update>
- <rowStatus>u</rowStatus>
- <RTN_CUR_STORE_LOC/>
- <SLAB_NO/>
- </Update>
- </returnData>
- <ErrorData>
- <Delete>
- <SLAB_NO/>
- <rowStatus>u</rowStatus>
- </Delete>
- <Update>
- <SLAB_NO/>
- <rowStatus>u</rowStatus>
- </Update>
- </ErrorData>
- <Row/>
- <tempData/>
- <HCR_CLF/>
- </root>
- </instance>
- </model>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript">
- <![CDATA[
- var L2_SCH_NO = null;
- var PLT_TRS_CAR_NO = null;
- var PLT_TRS_INVOICE_NO_MANUAL = null;
- var PLT_TRS_INVOICE_NO = null;
- var PLT_PLANT_ARRV_LOC = null;
-
-
- function setColor()
- {
- datagrid2.rebuildStyle();
- var ZXISJS = datagrid2.colRef("ZXISJS");
- for(var i = datagrid2.fixedRows; i < datagrid2.rows; i++)
- {
- if(datagrid2.valueMatrix(i , ZXISJS) == "1")
- {
- //datagrid2.rowstyle(i, "data", "color") = "#0000ff";
- datagrid2.cellStyle("background-color" , i , ZXISJS) == "#ff0000";
- }
- }
-
- }
-
- function excelExport(){
- return datagrid3;
- }
- function valueChg(){
- if(datagrid1.col == datagrid1.colRef("L2_SCH_NO")){
- L2_SCH_NO = datagrid1.valueMatrix(datagrid1.row,datagrid1.col);
- }
- if(datagrid1.col == datagrid1.colRef("L2_SCH_NO")){
- L2_SCH_NO = datagrid1.valueMatrix(datagrid1.row,datagrid1.col);
- }
- if(datagrid1.col == datagrid1.colRef("L2_SCH_NO")){
- L2_SCH_NO = datagrid1.valueMatrix(datagrid1.row,datagrid1.col);
- }
- if(datagrid1.col == datagrid1.colRef("L2_SCH_NO")){
- L2_SCH_NO = datagrid1.valueMatrix(datagrid1.row,datagrid1.col);
- }
- if(datagrid1.col == datagrid1.colRef("L2_SCH_NO")){
- L2_SCH_NO = datagrid1.valueMatrix(datagrid1.row,datagrid1.col);
- }
-
- }
- //查询方法
- function find(){
- //清空发送接点
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- //把需要的数据放入发送接点
- commSendReq("/root/searchData");
- var hcr = model.getValue("/root/searchData/HCR_CLF");
- if(hcr == "Y") commSubmit("UIG040090-service","rs","glueAction.do");
- else commSubmit("UIG040090-service","ls","glueAction.do");
- //获取移动对象信息
- // commSubmit("UIG040090-service","find","glueAction.do");
-
- commAppendData("/root/datagrid1/PltBlabNo_VO","/root/resData/PltBlabNo_VO");
- // commAppendData("/root/datagrid2/PltTrsBlabNo_VO","/root/resData/PltTrsBlabNo_VO");
-
- model.refresh();
- input5.value = model.getValue("/root/initData/rcvInfo/REG_ID");
- }
-
- //保存
- function save(){
-
- // 表格中的行数
- var gridRows = datagrid1.rows - datagrid1.fixedRows;
-
- //清空发送接点
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- //控制输入数据不能为空,前提是该行已经CHK 选择
- for(var i = datagrid1.fixedRows ; i < (gridRows + datagrid1.fixedRows) ; i++){
- if(datagrid1.valueMatrix(i,datagrid1.colRef("CHK")) == "Y" &&
- ( datagrid1.valueMatrix(i,datagrid1.colRef("PLT_TRS_CAR_NO")) == "" ||
- datagrid1.valueMatrix(i,datagrid1.colRef("PLT_TRS_INVOICE_NO_MANUAL")) == ""||
- datagrid1.valueMatrix(i,datagrid1.colRef("PLT_PLANT_ARRV_LOC")) == "" )){
-
- alert(" 提交数据有误,不能有空值 ");return;
- }
-
- if(datagrid1.valueMatrix(i,datagrid1.colRef("CHK")) == "Y" &&
- ( datagrid1.valueMatrix(i,datagrid1.colRef("SLAB_OUT_TP")) == "不允许出库")){
-
- alert(" 坯料不允许出库,联系质检! ");return;
- }
-
- datagrid1.valueMatrix(i,datagrid1.colRef("PLT_TRS_WKSHIFT")) = model.getValue("/root/saveData/PLT_TRS_WKSHIFT");
- datagrid1.valueMatrix(i,datagrid1.colRef("PLT_TRS_WKGROUP")) = model.getValue("/root/saveData/PLT_TRS_WKGROUP");
- //datagrid1.valueMatrix(i,datagrid1.colRef("PLT_TRS_EMP_ID")) = model.getValue("/root/saveData/PLT_TRS_EMP_ID");
- model.duplicate("/root/reqData","/root/saveData/PLT_TRS_EMP_NM");
- datagrid1.valueMatrix(i,datagrid1.colRef("HCR_CLF")) = model.getValue("/root/searchData/HCR_CLF");
- }
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStuts");
- //把需要存储的数据放入发送接点
- commSubmit("UIG040090-service","save","glueAction.do");
-
-
-
- var msgs = model.getValue("/root/resData/MESSAGES_VO/MESSAGES_Row");
- if(msgs != "")
- alert(msgs);
-
-
- for(var i = 0 ; i <= (datagrid1.rows);i++)
- { var ref = "/root/datagrid1/PltBlabNo_VO/PltBlabNo_Row[" + (i-1) +"]";
-
- if(datagrid1.valueMatrix(i,datagrid1.colRef("CHK")) == "Y"){
- model.duplicate("/root/datagrid3/PltBlabNo_VO",ref);
- }
- }
- find();
- excelExport();
- model.removenode("/root/datagrid3/PltBlabNo_VO");
- model.makeNode("/root/datagrid3/PltBlabNo_VO");
- model.refresh();
- }
-
- //对从中厚板退回的板坯,返回我们自己仓库的保存按钮
- function SaveReturn(){
-
- //表格中的行数
- var gridRows = datagrid2.rows - datagrid1.fixedRows;
- var flag = 0;
- //清空发送接点
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
-
- //如何选择的行的移送状态为 2 时 目标接受标志为 退回
- for(var i = datagrid2.fixedRows ; i < (gridRows + datagrid2.fixedRows) ; i++){
-
- /*if(datagrid2.valueMatrix(i,datagrid2.colRef("CHK")) == "Y"
- || datagrid2.valueMatrix(i,datagrid2.colRef("RECEV_FLAG")) != "2"
- || datagrid2.valueMatrix(i,datagrid2.colRef("RTN_CUR_STORE_LOC")) == ""){
- alert("移送状态是否为 ”接收“ 或则 回送板坯位置为空 !");return;
- }*/
- if(datagrid2.valueMatrix(i,datagrid2.colRef("CHK")) == "Y" ){
- if(datagrid2.valueMatrix(i,datagrid2.colRef("ZXISJS")) == "1" ){
- alert("中厚板已接收并入库,不允许撤回,请联系中厚板!");
- return;
- }
- if(datagrid2.valueMatrix(i,datagrid2.colRef("RTN_CUR_STORE_LOC")) == ""){
- alert("回送板坯位置为空 ,不允许撤回!");
- return;
- }
- flag++;
- }
- }
- if(flag == 0){
- alert("请选中一条数据再进行撤回操作!");
- return;
- }
- commMultiUpdate(datagrid2,"/root/reqData","A",true,"rowStatus");
- model.duplicate("/root/reqData","/root/saveData/PLT_TRS_EMP_NM");
- //把需要存储的数据放入发送接点
- commSubmit("UIG040090-service","saveReturn","glueAction.do");
- }
-
- function chemResend(){
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commMultiUpdate(datagrid2,"/root/reqData","A",true,"rowStatus");
-
- //把需要存储的数据放入发送接点
- commSubmit("UIG040090-service","chemResend","glueAction.do");
- }
-
- //操作员手工录入错误的情况
- function SaveError(){
- //表格中的行数
- var gridRows = datagrid2.rows - datagrid1.fixedRows;
- var flag = 0;
- //清空发送接点
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- for(var i = datagrid2.fixedRows ; i < (gridRows + datagrid2.fixedRows) ; i++){
- /*if( datagrid2.valueMatrix(i,datagrid2.colRef("CHK")) == "Y"
- && ( datagrid2.valueMatrix(i,datagrid2.colRef("RECEV_FLAG")) != "0"
- || datagrid2.valueMatrix(i,datagrid2.colRef("RTN_CUR_STORE_LOC")) == "")){
- alert("移送状态是否为 ”等待“ 或则 回送板坯位置为空 !");return;
- }*/
- if(datagrid2.valueMatrix(i,datagrid2.colRef("CHK")) == "Y" ){
- if(datagrid2.valueMatrix(i,datagrid2.colRef("ZXISJS")) == "1" ){
- alert("中厚板已接收并入库,不允许撤回,请联系中厚板撤回已接收的板坯!");
- return;
- }
- if(datagrid2.valueMatrix(i,datagrid2.colRef("RTN_CUR_STORE_LOC")) == ""){
- alert("回送板坯位置为空 ,不允许撤回!");
- return;
- }
- flag++;
- }
- }
- if(flag == 0){
- alert("请选中一条数据再进行撤回操作!");
- return;
- }
- model.duplicate("/root/reqData","/root/saveData/PLT_TRS_EMP_NM");
- commMultiUpdate(datagrid2,"/root/reqData","A",true,"rowStatus");
- commSubmit("UIG040090-service","saveError","glueAction.do");
- commAppendData("/root/datagrid1/PltBlabNo_VO","/root/resData/PltBlabNo_VO");
- commAppendData("/root/datagrid2/PltTrsBlabNo_VO","/root/resData/PltTrsBlabNo_VO");
- model.refresh();
- }
-
- function xformSelect(){
- if(datagrid1.valueMatrix(datagrid1.row-1,datagrid1.colRef("PLT_TRS_CAR_NO")) == "" ||
- datagrid1.valueMatrix(datagrid1.row-1,datagrid1.colRef("PLT_TRS_INVOICE_NO_MANUAL")) == "" ||
- datagrid1.valueMatrix(datagrid1.row-1,datagrid1.colRef("PLT_PLANT_ARRV_LOC")) == ""
- )return;
- if(datagrid1.row != datagrid1.fixedRows){
- datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("PLT_TRS_CAR_NO")) = datagrid1.valueMatrix(datagrid1.row-1,datagrid1.colRef("PLT_TRS_CAR_NO"));
- datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("PLT_TRS_INVOICE_NO_MANUAL")) = datagrid1.valueMatrix(datagrid1.row-1,datagrid1.colRef("PLT_TRS_INVOICE_NO_MANUAL"));
- datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("PLT_PLANT_ARRV_LOC")) = datagrid1.valueMatrix(datagrid1.row-1,datagrid1.colRef("PLT_PLANT_ARRV_LOC"));
-
- }
- }
-
- function xformDeselect(){
- datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("PLT_TRS_CAR_NO")) = "";
- datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("PLT_TRS_INVOICE_NO_MANUAL")) = "";
- datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("PLT_PLANT_ARRV_LOC")) = "";
-
- datagrid1.rowStatus(datagrid1.row) = 0;
-
- }
-
- function call_righ_UIG040090()
- {
- var rowId = datagrid2.row;
- // 设置跺位查询的默认跺位为 L 开头的炼钢板坯库
- model.setValue("/root/tempData","L");
- window.load("UIG040044.xrw","modal","", "left:600; top:78; width:320; height:480; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
-
- datagrid2.valueMatrix(rowId,datagrid2.colRef("RTN_CUR_STORE_LOC")) = model.getValue("/root/tempData");
-
-
- model1.removenode("/root/tempData");
- model1.makeNode("/root/tempData");
-
- }
-
- function excelSubmit1(submitID, serviceTag)
- {
- var reqData = setReqData(model.instances(0).selectSingleNode("/root/reqData"));
- //window.load(url + "etAction.jsp?ServiceName=" + submitID + "&" + serviceTag + "=1" + reqData, "html");
- // model.download(url + "etAction.jsp?ServiceName=" + submitID + "&" + serviceTag + "=1" + reqData, "C:\\WINDOWS\\excel.xls", false);
- var flag = downURL(url + "etAction.jsp?ServiceName=" + submitID + "&" + serviceTag + "=1" + reqData, "C:\\WINDOWS\\excel.xls");
-
- if(!flag)
- {
- return;
- }
-
- //print() ;
- //var fso = new ActiveXObject("Scripting.FileSystemObject");
- //fso.DeleteFile("C:\\WINDOWS\\excel.xls");
- }
- function print()
- {
- try
- {
- var xlApp = new ActiveXObject("Excel.Application");
- }
- catch(e)
- {
- window.alert("未安装Microsoft Office Excel 2003,请安装" , "提示");
- }
-
- try
- {
-
- xlApp.Visible = false;
- xlApp.Workbooks.Add();
- xlApp.Workbooks.Open("C:\\WINDOWS\\excel.xls");
- var ExcelSheet = xlApp.Worksheets(1);
- ExcelSheet.PrintOut(1, 1, 2, false,"打印机名称", false, false);//打印两份
- //ExcelSheet.PrintOut();
- xlApp.Quit();
- xlApp=null;
- }
- catch(e)
- {
- window.alert("未安装打印机,请安装" , "提示");
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620" guideline="2,0;">
- <caption id="caption9" class="cell" style="left:800px; top:265px; width:80px; height:20px; font-weight:bold; border-color:#000000; "/>
- <caption id="caption8" class="cell" visibility="hidden" style="left:885px; top:265px; width:80px; height:20px; font-weight:bold; border-color:#000000; "/>
- <caption id="caption10" class="cell" style="left:0px; top:0px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">移送对象</caption>
- <caption id="caption2" class="cell" style="left:465px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">班次</caption>
- <select1 id="combo2" ref="/root/saveData/PLT_TRS_WKGROUP" appearance="minimal" editmode="input" style="left:685px; top:0px; width:105px; height:20px; background-color:#ffff99; border-color:#000000; ">
- <choices>
- <item>
- <label>甲</label>
- <value>甲</value>
- </item>
- <item>
- <label>乙</label>
- <value>乙</value>
- </item>
- <item>
- <label>丙</label>
- <value>丙</value>
- </item>
- <item>
- <label>丁</label>
- <value>丁</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="cell" style="left:630px; top:0px; width:55px; height:20px; font-weight:bold; border-color:#000000; ">组</caption>
- <select1 id="combo1" ref="/root/saveData/PLT_TRS_WKSHIFT" appearance="minimal" editmode="input" style="left:525px; top:0px; width:105px; height:20px; background-color:#ffff99; border-color:#000000; ">
- <choices>
- <item>
- <label>早班</label>
- <value>1</value>
- </item>
- <item>
- <label>中班</label>
- <value>2</value>
- </item>
- <item>
- <label>晚班</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="cell" style="left:790px; top:0px; width:75px; height:20px; font-weight:bold; border-color:#000000; ">登录人</caption>
- <select1 id="combo3" ref="/root/saveData/PLT_TRS_EMP_ID" appearance="minimal" editmode="input" style="left:865px; top:0px; width:105px; height:20px; background-color:#ffff99; border-color:#000000; ">
- <choices>
- <item>
- <label>tt</label>
- <value>tt</value>
- </item>
- <item>
- <label>yy</label>
- <value>yy</value>
- </item>
- <item>
- <label>uu</label>
- <value>uu</value>
- </item>
- </choices>
- </select1>
- <datagrid id="datagrid1" nodeset="/root/datagrid1/PltBlabNo_VO/PltBlabNo_Row" scroll="both" allowuserresize="true" caption="选择^板坯号^钢码^合同号^炉次号^出库判定^板坯^板坯^板坯^板坯^板坯^堆置位置^车辆号^移送货单^移送货单^目的地^移送日期^外观等级^成分判定等级^瑕疵代码1^瑕疵代码2^瑕疵代码3^瑕疵代码4^PLT_TRS_WKSHIFT^PLT_TRS_WKGROUP^PLT_TRS_EMP_ID^热送区分|选择^板坯号^钢码^合同号^炉次号^出库判定^厚度^宽度^长度^重量^称重重量(吨)^堆置位置^车辆号^移送货单^移送货单^目的地^移送日期^外观等级^成分判定等级^瑕疵代码1^瑕疵代码2^瑕疵代码3^瑕疵代码4^PLT_TRS_WKSHIFT^PLT_TRS_WKGROUP^PLT_TRS_EMP_ID^热送区分" colsep="^" colwidth="31, 100, 75, 100, 81, 100, 39, 39, 38, 39, 100, 70, 87, 83, 49, 51, 100, 39, 45, 100, 100, 100, 100, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:21px; width:975px; height:235px; border-color:#000000; ">
- <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col ref="L2_SCH_NO"/>
- <col editable="false" ref="CHARGE_NO" type="input"/>
- <col ref="SLAB_OUT_TP"/>
- <col editable="false" ref="SLAB_THK" type="input"/>
- <col editable="false" ref="SLAB_WTH" type="input"/>
- <col editable="false" ref="SLAB_LEN" type="input"/>
- <col editable="false" ref="SLAB_WGT" type="input"/>
- <col editable="false" ref="WEIGHT_WGT" type="input"/>
- <col editable="false" ref="CUR_LOAD_LOC" type="input"/>
- <col editmode="input" ref="PLT_TRS_CAR_NO" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>01</label>
- <value>01</value>
- </item>
- <item>
- <label>02</label>
- <value>02</value>
- </item>
- <item>
- <label>03</label>
- <value>03</value>
- </item>
- <item>
- <label>04</label>
- <value>04</value>
- </item>
- <item>
- <label>05</label>
- <value>05</value>
- </item>
- <item>
- <label>06</label>
- <value>06</value>
- </item>
- <item>
- <label>07</label>
- <value>07</value>
- </item>
- <item>
- <label>08</label>
- <value>08</value>
- </item>
- <item>
- <label>09</label>
- <value>09</value>
- </item>
- <item>
- <label>10</label>
- <value>10</value>
- </item>
- </choices>
- </col>
- <col ref="PLT_TRS_INVOICE_NO" type="input" style="background-color:#ffff99; "/>
- <col editmode="input" ref="PLT_TRS_INVOICE_NO_MANUAL" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>01</label>
- <value>01</value>
- </item>
- <item>
- <label>02</label>
- <value>02</value>
- </item>
- <item>
- <label>03</label>
- <value>03</value>
- </item>
- <item>
- <label>04</label>
- <value>04</value>
- </item>
- <item>
- <label>05</label>
- <value>05</value>
- </item>
- <item>
- <label>06</label>
- <value>06</value>
- </item>
- <item>
- <label>07</label>
- <value>07</value>
- </item>
- <item>
- <label>08</label>
- <value>08</value>
- </item>
- <item>
- <label>09</label>
- <value>09</value>
- </item>
- <item>
- <label>10</label>
- <value>10</value>
- </item>
- <item>
- <label>11</label>
- <value>11</value>
- </item>
- </choices>
- </col>
- <col ref="PLT_PLANT_ARRV_LOC" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>厚板厂</label>
- <value>hb</value>
- </item>
- <item>
- <label>中板厂</label>
- <value>zb</value>
- </item>
- <item>
- <label>外销</label>
- <value>lg</value>
- </item>
- </choices>
- </col>
- <col editable="false" ref="PLT_TRS_DTIME" type="input" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="EXTSHAPE_GRD"/>
- <col ref="SLAB_INGR_DEC_GRD"/>
- <col ref="CRK_CD1" type="output"/>
- <col ref="CRK_CD2" type="output"/>
- <col ref="CRK_CD3" type="output"/>
- <col ref="CRK_CD4" type="output"/>
- <col ref="PLT_TRS_WKSHIFT" visibility="hidden"/>
- <col ref="PLT_TRS_WKGROUP" visibility="hidden"/>
- <col ref="PLT_TRS_EMP_ID" visibility="hidden"/>
- <col ref="HCR_CLF"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- xformSelect();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- xformDeselect();
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid2" nodeset="/root/datagrid2/PltTrsBlabNo_VO/PltTrsBlabNo_Row" allowuserresize="true" caption="选择^板坯号^钢码^合同号^板坯^板坯^板坯^板坯^车辆号^移送货单^目的地^移送日期^中厚板接收^板坯退回放置位置^移送状态^接收人^接收时间^热送区分|选择^板坯号^钢码^合同号^厚度^宽度^长度^重量^车辆号^移送货单^目的地^移送日期^中厚板接收^板坯退回放置位置^移送状态^接收人^接收时间^热送区分" colsep="^" colwidth="43, 91, 84, 70, 32, 33, 33, 51, 83, 89, 65, 88, 54, 90, 43, 45, 71, 100" defaultrows="18" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:310px; width:975px; height:300px; border-color:#000000; ">
- <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col editable="false" ref="ORD_NO" type="input"/>
- <col editable="false" ref="SLAB_THK" type="input"/>
- <col editable="false" ref="SLAB_WTH" type="input"/>
- <col editable="false" ref="SLAB_LEN" type="input"/>
- <col editable="false" ref="SLAB_WGT" type="input"/>
- <col editable="false" ref="PLT_TRS_CAR_NO" type="input"/>
- <col editable="false" ref="PLT_TRS_INVOICE_NO" type="input"/>
- <col disabled="true" ref="PLT_PLANT_ARRV_LOC" type="combo">
- <choices>
- <item>
- <label>厚板厂</label>
- <value>hb</value>
- </item>
- <item>
- <label>中板厂</label>
- <value>zb</value>
- </item>
- <item>
- <label>外销</label>
- <value>lg</value>
- </item>
- </choices>
- </col>
- <col editable="false" ref="PLT_TRS_DTIME" type="input" format="yyyy-mm-dd hh:nn:ss"/>
- <col disabled="true" editable="false" ref="ZXISJS" type="combo">
- <choices>
- <item>
- <label>未接收</label>
- <value>0</value>
- </item>
- <item>
- <label>已接收</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col ref="RTN_CUR_STORE_LOC" type="inputbutton" style="background-color:#ffff99; "/>
- <col disabled="true" ref="RECEV_FLAG" type="combo">
- <choices>
- <item>
- <label>等待</label>
- <value>0</value>
- </item>
- <item>
- <label>接收</label>
- <value>1</value>
- </item>
- <item>
- <label>退回</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col editable="false" ref="RECEV_REG_ID" type="input"/>
- <col editable="false" ref="RECEV_DTIME" type="input"/>
- <col ref="HCR_CLF"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- call_righ_UIG040090();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- datagrid2.rowStatus(datagrid2.row) = 0;
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="cell" style="left:0px; top:265px; width:85px; height:20px; font-weight:bold; border-color:#000000; ">移送日期</caption>
- <caption id="caption6" class="cell" style="left:0px; top:290px; width:80px; height:20px; font-weight:bold; border-color:#000000; ">车辆号</caption>
- <input id="input2" ref="/root/searchData/DTIME" inputtype="date" style="left:75px; top:265px; width:110px; height:20px; background-color:#ffff99; "/>
- <input id="input1" ref="/root/searchData/CAR_NO" style="left:75px; top:290px; width:110px; height:20px; background-color:#ffff99; "/>
- <input id="input3" ref="/root/searchData/INVOICE_NO" style="left:280px; top:265px; width:100px; height:20px; background-color:#ffff99; "/>
- <caption id="caption7" class="cell" style="left:195px; top:265px; width:85px; height:20px; font-weight:bold; border-color:#000000; ">移送货单</caption>
- <button id="button3" visibility="hidden" style="left:890px; top:265px; width:65px; height:20px; border-color:#000000; ">
- <caption>中厚板退回</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- SaveReturn();
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/searchData/HCR_CLF" class="cell" overflow="visible" appearance="full" style="left:102px; top:3px; width:80px; height:14px; border-style:none; ">
- <choices>
- <item>
- <label>是否热坯</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- find();
- ]]>
- </script>
- </select>
- <input id="combo4" ref="/root/searchData/SLAB_NO" editmode="input" appearance="minimal" style="left:260px; top:0px; width:105px; height:20px; background-color:#ffff99; border-color:#000000; "/>
- <caption id="caption11" class="cell" style="left:195px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯号</caption>
- <button id="button2" style="left:800px; top:265px; width:80px; height:20px; border-color:#000000; ">
- <caption>移送退回</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- SaveReturn();//SaveError();因单按钮操作使用SaveError()删除数据有先后顺序容易出现问题 故改为SaveReturn()方法 jiangxin 20210927
- ]]>
- </script>
- </button>
- <caption id="caption12" class="cell" style="left:885px; top:290px; width:80px; height:20px; font-weight:bold; border-color:#000000; "/>
- <button id="button4" style="left:890px; top:290px; width:80px; height:20px; text-align:left; border-color:#000000; ">
- <caption>成分重新发送</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- chemResend();
- ]]>
- </script>
- </button>
- <datagrid id="datagrid3" nodeset="/root/datagrid3/PltBlabNo_VO/PltBlabNo_Row" visibility="hidden" scroll="both" allowuserresize="true" caption="选择^板坯号^钢码^合同号^炉次号^板坯^板坯^板坯^板坯^堆置位置^车辆号^移送货单^移送货单^目的地^移送日期^外观等级^成分判定等级^瑕疵代码1^瑕疵代码2^瑕疵代码3^瑕疵代码4^PLT_TRS_WKSHIFT^PLT_TRS_WKGROUP^PLT_TRS_EMP_ID^热送区分|选择^板坯号^钢码^合同号^炉次号^厚度^宽度^长度^重量^堆置位置^车辆号^移送货单^移送货单^目的地^移送日期^外观等级^成分判定等级^瑕疵代码1^瑕疵代码2^瑕疵代码3^瑕疵代码4^PLT_TRS_WKSHIFT^PLT_TRS_WKGROUP^PLT_TRS_EMP_ID^热送区分" colsep="^" colwidth="31, 100, 75, 100, 81, 39, 39, 38, 39, 70, 87, 83, 49, 51, 100, 39, 45, 100, 100, 100, 100, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:190px; top:415px; width:185px; height:100px; border-color:#000000; ">
- <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col ref="L2_SCH_NO"/>
- <col editable="false" ref="CHARGE_NO" type="input"/>
- <col editable="false" ref="SLAB_THK" type="input"/>
- <col editable="false" ref="SLAB_WTH" type="input"/>
- <col editable="false" ref="SLAB_LEN" type="input"/>
- <col editable="false" ref="SLAB_WGT" type="input"/>
- <col editable="false" ref="CUR_LOAD_LOC" type="input"/>
- <col editmode="input" ref="PLT_TRS_CAR_NO" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>01</label>
- <value>01</value>
- </item>
- <item>
- <label>02</label>
- <value>02</value>
- </item>
- <item>
- <label>03</label>
- <value>03</value>
- </item>
- <item>
- <label>04</label>
- <value>04</value>
- </item>
- <item>
- <label>05</label>
- <value>05</value>
- </item>
- <item>
- <label>06</label>
- <value>06</value>
- </item>
- <item>
- <label>07</label>
- <value>07</value>
- </item>
- <item>
- <label>08</label>
- <value>08</value>
- </item>
- <item>
- <label>09</label>
- <value>09</value>
- </item>
- <item>
- <label>10</label>
- <value>10</value>
- </item>
- </choices>
- </col>
- <col ref="PLT_TRS_INVOICE_NO" type="input" style="background-color:#ffff99; "/>
- <col editmode="input" ref="PLT_TRS_INVOICE_NO_MANUAL" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>01</label>
- <value>01</value>
- </item>
- <item>
- <label>02</label>
- <value>02</value>
- </item>
- <item>
- <label>03</label>
- <value>03</value>
- </item>
- <item>
- <label>04</label>
- <value>04</value>
- </item>
- <item>
- <label>05</label>
- <value>05</value>
- </item>
- <item>
- <label>06</label>
- <value>06</value>
- </item>
- <item>
- <label>07</label>
- <value>07</value>
- </item>
- <item>
- <label>08</label>
- <value>08</value>
- </item>
- <item>
- <label>09</label>
- <value>09</value>
- </item>
- <item>
- <label>10</label>
- <value>10</value>
- </item>
- <item>
- <label>11</label>
- <value>11</value>
- </item>
- </choices>
- </col>
- <col ref="PLT_PLANT_ARRV_LOC" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>厚板厂</label>
- <value>hb</value>
- </item>
- <item>
- <label>中板厂</label>
- <value>zb</value>
- </item>
- </choices>
- </col>
- <col editable="false" ref="PLT_TRS_DTIME" type="input" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="EXTSHAPE_GRD"/>
- <col ref="SLAB_INGR_DEC_GRD"/>
- <col ref="CRK_CD1" type="output"/>
- <col ref="CRK_CD2" type="output"/>
- <col ref="CRK_CD3" type="output"/>
- <col ref="CRK_CD4" type="output"/>
- <col ref="PLT_TRS_WKSHIFT" visibility="hidden"/>
- <col ref="PLT_TRS_WKGROUP" visibility="hidden"/>
- <col ref="PLT_TRS_EMP_ID" visibility="hidden"/>
- <col ref="HCR_CLF"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- xformSelect();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- xformDeselect();
- ]]>
- </script>
- </datagrid>
- <caption id="caption13" class="cell" style="left:800px; top:290px; width:80px; height:20px; font-weight:bold; border-color:#000000; "/>
- <button id="button1" style="left:800px; top:290px; width:80px; height:20px; ">
- <caption>打印</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- model.makeValue("/root/searchInfo/class","xin.glue.ui.B.LGLzkPrint");
- model.makeValue("/root/searchInfo/template" , "UIG000000");
-
- var slabnos = "";
- var slabnos1 = "";
- for(var i = datagrid2.fixedRows; i <= datagrid2.rows; i++)
- {
- slabnos1 = slabnos1 + datagrid2.valueMatrix(i , datagrid2.colRef("SLAB_NO"));
- if(datagrid2.valueMatrix(i , 0) == "Y")
- {
- slabnos = slabnos+datagrid2.valueMatrix(i , datagrid2.colRef("SLAB_NO"));
- }
- }
- //默认打印全部
- if(slabnos == "")
- {
- slabnos = slabnos1;
- }
-
- if(slabnos.length/13 > 7)
- {
- window.alert("一次打印不允许超过7行!" , "提示");
- return;
- }
- model.removenode("/root/printNode/SLABNOX");
- model.makeValue("/root/printNode/SLABNOX" , slabnos);
- model.makeValue("/root/searchInfo/REG_ID" , model.getValue("/root/initData/rcvInfo/REG_ID"));
- // model.makeValue("/root/searchData/PRINT_CHK" , combo5.value);
-
- // commSendReq("/root/searchInfo" , "/root/printNode/SLABNOX" , "/root/searchData");
- excelSubmit1("UIG040090-service", "findXXX");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption14" class="cell" style="left:705px; top:265px; width:85px; height:20px; font-weight:bold; border-color:#000000; "/>
- <button id="button5" style="left:700px; top:265px; width:90px; height:20px; ">
- <caption>查询</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(input1.value.Trim() == "" && input2.value.Trim() == ""
- &&input3.value.Trim() == "" && input4.value.Trim() == "")
- {
- window.alert("数据量过大,请输入查询条件" , "提示");
- return;
- }
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/searchData");
- input5.value = model.getValue("/root/initData/rcvInfo/REG_ID");
- commSubmit("UIG040090-service","find","glueAction.do");
- commAppendData("/root/datagrid2/PltTrsBlabNo_VO","/root/resData/PltTrsBlabNo_VO");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption15" class="cell" style="left:195px; top:290px; width:85px; height:20px; font-weight:bold; border-color:#000000; ">板坯号</caption>
- <input id="input4" ref="/root/searchData/SLAB_NO_1" style="left:280px; top:290px; width:100px; height:20px; background-color:#ffff99; "/>
- <select1 id="combo5" ref="/root/searchData/PRINT_CHK" appearance="minimal" style="left:705px; top:290px; width:95px; height:20px; ">
- <choices>
- <item>
- <label>打印成分</label>
- <value>Y</value>
- </item>
- <item>
- <label>不打印成分</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="input5" ref="/root/saveData/PLT_TRS_EMP_NM" visibility="hidden" editable="false" style="left:410px; top:0px; width:45px; height:17px; background-color:#c0c0c0; "/>
- </xhtml:body>
- </xhtml:html>
|