| | |
| | | //public const string SqlConnStr = "Data Source=10.0.2.9;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;"; |
| | | //public const string SqlConnStr = "Data Source=.;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;"; |
| | | //public const string SqlConnStr = "Data Source=.;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//chæµè¯ |
| | | //public const string SqlConnStr = "Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//YLæµè¯ |
| | | public const string SqlConnStr = "Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//YLæµè¯ |
| | | //public const string SqlConnStr = "Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//ä¸¸äº |
| | | public const string SqlConnStr = "Data Source=192.168.0.200;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//丸äºå°å |
| | | //public const string SqlConnStr = "Data Source=192.168.0.200;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//丸äºå°å |
| | | |
| | | //public string sServer; |
| | | //public string sDataBase; |
| | |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | var OpenTmp = data[0].模æ¿åç§°; |
| | | |
| | | console.log(linterid.toString()); |
| | | //æå¼æå°æ¨¡æ¿ |
| | | window.open("../åºç¡èµæ/å
¬ç¨åºç¡èµæ/HBarPlanPrint.html?linterid=" + linterid.toString() + "&Type=" + Type.toString() + "&OpenTmp=" + OpenTmp.toString()); |
| | | //æ ¹æ®æ¨¡åè·åWEBAPI龿¥ |
| | | var url = ""; |
| | | switch (Type) { |
| | | case "HBarCodePrint": |
| | | url = "UpdateBarcodePrintQty" |
| | | case "HGy_BarCodeBill": //HBarCodePrint |
| | | url = "/Sc_BarCode/UpdateBarcodePrintQty" |
| | | break; |
| | | case "HPOInStockBill": |
| | | url = "UpdatePOInStockBillPrintQty" |
| | | break; |
| | | } |
| | | //æ´æ°æå°æ°é |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | | url: GetWEBURL() + url, //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "msg": MyMsg }, |
| | | dataType: "json", |
| | | contentType: 'application/json', |
| | | success: function (data) { |
| | | //if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | | // layer.msg(data.Message, { icon: 1 }); |
| | | //} |
| | | //else { |
| | | // layer.msg(data.Message, { icon: 5 }); |
| | | //} |
| | | layer.closeAll("loading"); |
| | | }, |
| | | error: function (err) { |
| | | parent.f_alert("é误:" + err); |
| | | } |
| | | }); |
| | | //$.ajax( |
| | | // { |
| | | // type: "POST", |
| | | // url: GetWEBURL() + url, //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | // async: true, |
| | | // data: { "msg": MyMsg }, |
| | | // dataType: "json", |
| | | // contentType: 'application/json', |
| | | // success: function (data) { |
| | | // layer.closeAll("loading"); |
| | | // }, |
| | | // error: function (err) { |
| | | // parent.f_alert("é误:" + err); |
| | | // } |
| | | // }); |
| | | |
| | | //å
³éå½åçªå£ |
| | | var index = parent.layer.getFrameIndex(window.name); |
New file |
| | |
| | | Object Report |
| | | Version='6.8.2.5' |
| | | Title='ç产任å¡å' |
| | | PrintAsDesignPaper=F |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=135000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Object Printer |
| | | Size=256 |
| | | Width=9.75 |
| | | Height=6 |
| | | LeftMargin=0 |
| | | TopMargin=0 |
| | | RightMargin=0 |
| | | BottomMargin=0 |
| | | End |
| | | Object DetailGrid |
| | | CenterView=T |
| | | ShowColLine=F |
| | | ShowRowLine=F |
| | | Object Border |
| | | Styles=[] |
| | | End |
| | | Object Recordset |
| | | Items Field |
| | | Item |
| | | Name='ç产工åå·' |
| | | DBFieldName='æºååå·' |
| | | End |
| | | Item |
| | | Name='ç©æä»£ç ' |
| | | End |
| | | Item |
| | | Name='ç©æåç§°' |
| | | End |
| | | Item |
| | | Name='è§æ ¼åå·' |
| | | End |
| | | Item |
| | | Name='æ°é' |
| | | End |
| | | Item |
| | | Name='æ¡ç ç¼å·' |
| | | End |
| | | Item |
| | | Name='éå®è®¢åå·' |
| | | End |
| | | Item |
| | | Name='æ¹å·' |
| | | End |
| | | Item |
| | | Name='æ¥æ' |
| | | Type=DateTime |
| | | Format='yyyy/MM/dd' |
| | | End |
| | | Item |
| | | Name='å¶ä½äºº' |
| | | End |
| | | Item |
| | | Name='客æ·åå·' |
| | | End |
| | | Item |
| | | Name='计éåä½' |
| | | End |
| | | Item |
| | | Name='æºååå·' |
| | | End |
| | | Item |
| | | Name='ä¾åºå' |
| | | End |
| | | End |
| | | End |
| | | Items Column |
| | | Item |
| | | Name='Column3' |
| | | Width=9.60438 |
| | | End |
| | | End |
| | | Object ColumnContent |
| | | Height=6.00604 |
| | | RowsPerPage=1 |
| | | Items ColumnContentCell |
| | | Item |
| | | Column='Column3' |
| | | FreeCell=T |
| | | CanGrow=T |
| | | Items Control |
| | | Item |
| | | Type=MemoBox |
| | | Name='å¯è´å¥ç¹' |
| | | Left=0.79375 |
| | | Top=0.211667 |
| | | Width=5.3975 |
| | | Height=1.37583 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=142500,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | TextAlign=MiddleCenter |
| | | CharSpacing=4 |
| | | Text='æ¡ç ä¿¡æ¯' |
| | | End |
| | | Item |
| | | Type=Barcode |
| | | Name='Barcode1' |
| | | Left=6.79979 |
| | | Top=0.211667 |
| | | Width=1.79917 |
| | | Height=1.37583 |
| | | BarcodeType=QRCode |
| | | CaptionPosition=None |
| | | Text='[#æ¡ç ç¼å·#]' |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | End |
| | | Item |
| | | Type=FreeGrid |
| | | Name='FreeGrid1' |
| | | Left=0.132292 |
| | | Top=1.69333 |
| | | Object Border |
| | | Styles=[DrawLeft|DrawTop|DrawRight|DrawBottom] |
| | | End |
| | | ColumnCount=6 |
| | | Items FreeGridColumn |
| | | Item[1] |
| | | Width=1.56104 |
| | | End |
| | | Item[2] |
| | | Width=1.85208 |
| | | End |
| | | Item[3] |
| | | Width=1.16417 |
| | | End |
| | | Item[4] |
| | | Width=1.69333 |
| | | End |
| | | Item[5] |
| | | Width=1.00542 |
| | | End |
| | | Item[6] |
| | | Width=2.11667 |
| | | End |
| | | End |
| | | Items FreeGridRow |
| | | Item[1] |
| | | Height=0.820208 |
| | | End |
| | | Item[2] |
| | | Height=0.79375 |
| | | End |
| | | Item[3] |
| | | Height=0.79375 |
| | | End |
| | | Item[4] |
| | | Height=0.820208 |
| | | End |
| | | Item[5] |
| | | Height=0.740833 |
| | | End |
| | | End |
| | | Items FreeGridCell |
| | | Item[1,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='å·¥åå·' |
| | | End |
| | | Item[1,2] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | Text='[#ç产工åå·#]' |
| | | ColSpan=2 |
| | | End |
| | | Item[1,4] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='ä¾åºå' |
| | | End |
| | | Item[1,5] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='[#ä¾åºå#]' |
| | | ColSpan=2 |
| | | End |
| | | Item[2,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='ç©æç¼ç ' |
| | | End |
| | | Item[2,2] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='[#ç©æä»£ç #]' |
| | | ColSpan=5 |
| | | End |
| | | Item[3,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='ç©æåç§°' |
| | | End |
| | | Item[3,2] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='[#ç©æåç§°#]' |
| | | ColSpan=5 |
| | | End |
| | | Item[4,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='æ°é' |
| | | DataName='æ°é' |
| | | End |
| | | Item[4,2] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='[#æ°é#]' |
| | | End |
| | | Item[4,3] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='åä½' |
| | | DataName='åä½' |
| | | End |
| | | Item[4,4] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='[#计éåä½#]' |
| | | End |
| | | Item[4,5] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='æ¹å·' |
| | | End |
| | | Item[4,6] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='[#æ¹å·#]' |
| | | End |
| | | Item[5,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='æå°äººå' |
| | | DataName='æå°äººå' |
| | | End |
| | | Item[5,2] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='[#å¶ä½äºº#]' |
| | | ColSpan=2 |
| | | End |
| | | Item[5,4] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='æå°æ¥æ' |
| | | DataName='æå°æ¥æ' |
| | | End |
| | | Item[5,5] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='[#æ¥æ#]' |
| | | ColSpan=2 |
| | | End |
| | | End |
| | | End |
| | | End |
| | | End |
| | | End |
| | | End |
| | | Object ColumnTitle |
| | | Height=0 |
| | | Items ColumnTitleCell |
| | | Item |
| | | GroupTitle=F |
| | | Column='Column3' |
| | | Text='Column1' |
| | | End |
| | | End |
| | | End |
| | | End |
| | | Items ReportHeader |
| | | Item |
| | | Name='ReportHeader1' |
| | | Height=0 |
| | | RepeatOnPage=T |
| | | End |
| | | End |
| | | Items ReportFooter |
| | | Item |
| | | Name='ReportFooter1' |
| | | Height=0 |
| | | End |
| | | End |
| | | End |
| | |
| | | <form id="form0" class="layui-form" lay-filter="component-form-group" action=""> |
| | | <div class="layui-card-header"> |
| | | <div class="layui-input-block"> |
| | | <button type="button" class="layui-btn" id="ToolPrint" lay-submit="" lay-filter="ToolPrint">æå°</button> |
| | | <button type="button" class="layui-btn" id="ToolPreView" lay-submit="" lay-filter="ToolPreView">é¢è§</button> |
| | | <button type="button" class="layui-btn" id="ToolTryPrint" lay-submit="" lay-filter="ToolTryPrint">è¯æå°</button> |
| | | <button type="button" class="layui-btn" id="ToolPrint" lay-submit="" lay-filter="ToolPrint">é¢è§æå°</button> |
| | | <button type="button" class="layui-btn" id="ToolCreate" lay-submit="" lay-filter="ToolCreate">çæ</button> |
| | | <button type="button" class="layui-btn" id="ToolReset" lay-submit="" lay-filter="ToolReset">éç½®</button> |
| | | <button type="button" class="layui-btn" id="ToolStock" lay-submit="" lay-filter="ToolStock">åºå</button> |
| | |
| | | return true; |
| | | } |
| | | } |
| | | |
| | | //æå° |
| | | form.on('submit(ToolPrint)', function (data) { |
| | | get_PrintReport(); |
| | | }) |
| | | |
| | | //æ¡ç çæ |
| | | form.on('submit(ToolCreate)', function (data) { |
| | |
| | | }); |
| | | } |
| | | |
| | | //æ¡ç æå° |
| | | function get_PrintReport() { |
| | | var checkStatus = table.checkStatus('mainTable2') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length>0) { |
| | | var rows = ''; |
| | | for (var i = 0; i < data.length; i++) { |
| | | rows += data[i].HItemID.toString() + ','; |
| | | } |
| | | rows = rows.substring(rows.length - 1, 0); |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['50%', '50%'] |
| | | , title: 'æå°æ¨¡çéæ©' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: false //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + rows + '&MyMsg=' + rows + '&Type=HGy_BarCodeBill', 'yes'] |
| | | , resize: false |
| | | }) |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©è¦æå°çæ¡ç æ°æ®ï¼'); |
| | | } |
| | | } |
| | | |
| | | //é空éªè¯ |
| | | function AllowLoadData(sSubStr) { |
| | | var Result = true; |
| | |
| | | layer.msg("没æç©ææç»è®°å½", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | //if (typeof (sSubStr) != "undefined" && typeof (sSubStr) != "") { |
| | | // sSubStr = JSON.parse(sSubStr); |
| | | // for (var i = 0; i < sSubStr.length; i++) { |
| | | // if (sSubStr[i].HMaterID == "") { |
| | | // layer.msg("æç»è®°å½ç¬¬" + (i + 1) + "è¡,å¨å
·ä¿¡æ¯ä¸ºç©º!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return Result = false; |
| | | // } |
| | | // if (sSubStr[i].HUnitID == "") { |
| | | // layer.msg("æç»è®°å½ç¬¬" + (i + 1) + "è¡,计éåä½ä¸ºç©º!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return Result = false; |
| | | // } |
| | | // if (sSubStr[i].HWHID == "") { |
| | | // layer.msg("æç»è®°å½ç¬¬" + (i + 1) + "è¡,æ¶æä»åºä¸ºç©º!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return Result = false; |
| | | // } |
| | | // } |
| | | //} |
| | | if (typeof (sSubStr) != "undefined" && typeof (sSubStr) != "") { |
| | | sSubStr = JSON.parse(sSubStr); |
| | | for (var i = 0; i < sSubStr.length; i++) { |
| | | if (sSubStr[i].HMainID == "") { |
| | | layer.msg("æç»è®°å½ç¬¬" + (i + 1) + "è¡,æºåä¿¡æ¯ä¸ºç©º!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | if (sSubStr[i].HMaterID == "") { |
| | | layer.msg("æç»è®°å½ç¬¬" + (i + 1) + "è¡,ç©æä¿¡æ¯ä¸ºç©º!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | if (sSubStr[i].HQty == "") { |
| | | layer.msg("æç»è®°å½ç¬¬" + (i + 1) + "è¡,æ°é为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | } |
| | | } |
| | | else { |
| | | return Result = true; |
| | | } |
| | |
| | | |
| | | //OledbXMLReportData.GenOneRecordset(this, "select * from Customers order by CustomerID"); |
| | | //SqlXMLReportData.GenOneRecordset(this, "select * from h_v_Kf_POStockInBillList_K3 where hmainid=1781"); |
| | | SqlXMLReportData.GenOneRecordset(this, "select * from h_v_IF_BarCodeBillList where hmainid=" + Request.Params["linterid"]+ "order by hmainid desc"); |
| | | SqlXMLReportData.GenOneRecordset(this, "select * from h_v_IF_BarCodeBillList where hmainid in(" + Request.Params["linterid"]+ ") order by hmainid desc"); |
| | | } |
| | | </script> |
| | | </head> |
| | |
| | | case 'btn-view': |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | if (checkStatus.data.length>0) { |
| | | var rows = ''; |
| | | for (var i = 0; i < data.length; i++) { |
| | | rows += data[i].HItemID.toString() + ','; |
| | | } |
| | | rows = rows.substring(rows.length - 1, 0); |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['50%', '50%'] |
| | |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: false //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + data[0].hmainid.toString() + '&MyMsg=' + data[0].hmainid.toString() + '&Type=HGy_BarCodeBill', 'yes'] |
| | | , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + rows + '&MyMsg=' + rows + '&Type=HGy_BarCodeBill', 'yes'] |
| | | , resize: false |
| | | }) |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®æå°ï¼'); |
| | | layer.msg('è¯·éæ©æ°æ®æå°ï¼'); |
| | | } |
| | | break; |
| | | case 'btn-print': |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | if (checkStatus.data.length>0) { |
| | | var rows = ''; |
| | | for (var i = 0; i < data.length; i++) { |
| | | rows += data[i].HItemID.toString() + ','; |
| | | } |
| | | rows = rows.substring(rows.length - 1, 0); |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['50%', '50%'] |
| | |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: false //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + data[0].hmainid.toString() + '&MyMsg=' + data[0].hmainid.toString() + '&Type=HGy_BarCodeBill', 'yes'] |
| | | , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + rows + '&MyMsg=' + rows + '&Type=HGy_BarCodeBill', 'yes'] |
| | | , resize: false |
| | | }) |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®æå°ï¼'); |
| | | layer.msg('è¯·éæ©æ°æ®æå°ï¼'); |
| | | } |
| | | break; |
| | | //å·æ° |
| | |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | //{ field: 'hmainid', title: 'hmainid', sort: true, width: 165 } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, width: 165, hide: true } |
| | | , { field: 'HEntryID', title: 'HEntryID', sort: true, width: 165, hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: '订åè·è¸ªå·', title: '订åè·è¸ªå·', width: 105 } |
| | | //, { field: 'HDeptID', title: 'HDeptID' } |
| | | , { field: 'HDeptID', title: 'HDeptID', hide: true} |
| | | , { field: 'ç产车é´ä»£ç ', title: 'ç产车é´ä»£ç ', width: 115 } |
| | | , { field: 'ç产车é´', title: 'ç产车é´', width: 115 } |
| | | //, { field: 'HMaterID', title: 'HMaterID' } |
| | | , { field: 'HMaterID', title: 'HMaterID' , hide: true} |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 160 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 160 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 215 } |
| | | //, { field: 'hunitid', title: 'hunitid' } |
| | | , { field: 'hunitid', title: 'hunitid' , hide: true} |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 115 } |
| | | , { field: '计éåä½', title: '计éåä½' } |
| | | //, { field: 'hempid', title: 'hempid' } |
| | | , { field: 'hempid', title: 'hempid' , hide: true} |
| | | , { field: 'ä¸å¡å代ç ', title: 'ä¸å¡å代ç ', width: 100 } |
| | | , { field: 'ä¸å¡å', title: 'ä¸å¡å' } |
| | | , { field: 'hcusid', title: 'hcusid' } |
| | | , { field: '客æ·ä»£ç ', title: '客æ·ä»£ç ' } |
| | | , { field: '客æ·', title: '客æ·' } |
| | | //, { field: 'HCenterID', title: 'HCenterID' } |
| | | , { field: 'HCenterID', title: 'HCenterID' , hide: true} |
| | | , { field: 'å·¥ä½ä¸å¿ä»£ç ', title: 'å·¥ä½ä¸å¿ä»£ç ' } |
| | | , { field: 'å·¥ä½ä¸å¿', title: 'å·¥ä½ä¸å¿' } |
| | | //, { field: 'hbomid', title: 'hbomid' } |
| | | , { field: 'hbomid', title: 'hbomid' , hide: true} |
| | | , { field: 'BOMåç¼ç ', title: 'BOMåç¼ç ' } |
| | | //, { field: 'HRoutingInterID', title: 'HRoutingInterID' } |
| | | , { field: 'HRoutingInterID', title: 'HRoutingInterID' , hide: true} |
| | | , { field: 'å·¥èºè·¯çº¿ä»£ç ', title: 'å·¥èºè·¯çº¿ä»£ç ' } |
| | | , { field: 'å·¥èºè·¯çº¿', title: 'å·¥èºè·¯çº¿' } |
| | | , { field: '计åå¼å·¥æ¥æ', title: '计åå¼å·¥æ¥æ' } |
| | |
| | | , { field: 'å
³èæ°é', title: 'å
³èæ°é' } |
| | | , { field: 'æªå
³èæ°é', title: 'æªå
³èæ°é' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | //, { field: 'hsubid', title: 'hsubid' } |
| | | , { field: 'hsubid', title: 'hsubid' , hide: true} |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ' } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ' } |
| | |
| | | , data = checkStatus.data; |
| | | if (data.length === 1) { |
| | | var linterid = data[0].hmainid.toString(); |
| | | var HEntryID = data[0].HEntryID.toString(); |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: 'å·¥åºæµè½¬å¡-ç¼è¾' |
| | | , shift: 0//å¼¹åºå¨ç» |
| | | , content: '../../车é´ç®¡ç/å·¥åºæµè½¬å¡/Sc_ProcessExchangeBill.html?OperationType=2&linterid=' + linterid + '&HSouceBillType=3772' |
| | | , content: '../../车é´ç®¡ç/å·¥åºæµè½¬å¡/Sc_ProcessExchangeBill.html?OperationType=2&linterid=' + linterid + '&HEntryID=' + HEntryID+'&HSouceBillType=3772' |
| | | }) |
| | | } else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ä¸æ¨ï¼'); |
| | |
| | | .layui-form-label { |
| | | width: 25%; |
| | | } |
| | | |
| | | </style> |
| | | </head> |
| | | <body> |
| | |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-form-item" style="padding-top: 10px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åæ®å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HInterID" id="HInterID" value="0"> |
| | | <input type="hidden" name="HSTOCKORGID" id="HSTOCKORGID" lay-verify="HSTOCKORGID"> |
| | | <input type="hidden" name="HPRDORGID" id="HPRDORGID" lay-verify="HPRDORGID"><!--HSTOCKORGID--> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="date" class="layui-input" name="HDate" id="HDate"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">订åè·è¸ªå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HOrderProcNO" id="HOrderProcNO" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å¾å·çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPicNumVer" id="HPicNumVer" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">产ååç§°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterName2" id="HMaterName2" onmouseover="this.title=this.value" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HMaterID2" id="HMaterID2" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="width: 40px;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater2" id="btnSearchMater2" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">产å代ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterNumber2" id="HMaterNumber2" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">产åè§æ ¼</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterModel2" id="HMaterModel2" onmouseover="this.title=this.value" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æ»è£
å¾å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPicNumAssemble" id="HPicNumAssemble" onmouseover="this.title=this.value" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">ç产订åå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HICMOBillNo" id="HICMOBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HICMOInterID" id="HICMOInterID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æµè½¬å¡æ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HQty" id="HQty"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åä½</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUnitName" id="HUnitName" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HUnitID" id="HUnitID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æè´¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterTexture" id="HMaterTexture"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">计åå¼å·¥æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="date" class="layui-input" name="HPlanBeginDate" id="HPlanBeginDate" style="padding-left: 32px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">计åå®å·¥æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="date" class="layui-input" name="HPlanEndDate" id="HPlanEndDate" style="padding-left: 32px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">模å
·è®¾å¤</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEquipMentName" id="HEquipMentName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HEquipMentID" id="HEquipMentID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="" id="" style="width: 40px;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHEquipMent" id="btnHEquipMent" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æåç¼å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HProductNum" id="HProductNum" onmouseover="this.title=this.value"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">è¡¥æåå </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HExplanation" id="HExplanation" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">è¡¥ææ è®°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHBLFlag" id="checkboxHBLFlag" lay-skin="primary" lay-filter="checkboxHBLFlag" value="true" title="æ¯å¦è¡¥æ"> |
| | | <input type="hidden" value="false" name="HBLFlag" id="HBLFlag"> |
| | | <div class="layui-input-block"> |
| | | <input type="checkbox" name="HBLFlag" id="HBLFlag" lay-skin="primary" title="" checked=""> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">项ç®ç¼å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HProjectNum" id="HProjectNum" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">夿³¨</label> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HRemark" id="HRemark" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value"> |
| | | <input type="text" class="layui-input" name="HVerNum" id="HVerNum" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs6 layui-inline"> |
| | | <label class="layui-form-label" style="width:12.5%">夿³¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HRemark" id="HRemark" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value" style="width:610px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åææ¹æ¬¡</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMateOutBatchNo" id="HMateOutBatchNo" style="background-color:#efefef4d;" readonly> |
| | |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">ç产车é´</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWorkShopName" id="HWorkShopName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HWorkShopID" id="HWorkShopID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="" id="" style="width: 40px; background-color: gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;color:black;"></i> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HWorkShopList" id="HWorkShopList" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">éåå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="textBox2" id="textBox2" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">å§å¤å å·¥åä½</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HSupName" id="HSupName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i> |
| | | </button> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å§å¤å å·¥åä½</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSupName" id="HSupName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HSupID" id="HSupID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHSup" id="btnSearchHSup" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">åä»¶åç§°</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HMaterName" id="HMaterName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i> |
| | | </button> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åä»¶åç§°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterName" id="HMaterName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HMaterID" id="HMaterID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å件代ç </label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å件代ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterNumber" id="HMaterNumber" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åä»¶è§æ ¼</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åä»¶è§æ ¼</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterModel" id="HMaterModel" onmouseover="this.title=this.value" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åä½ä»£ç </label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åä½ä»£ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUnitNumber" id="HUnitNumber" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä¸»è¦ææ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">ä¸»è¦ææ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMainMaterID" id="HMainMaterID" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç产æ°é</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">ç产æ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPlanQty" id="HPlanQty" value="0" style=" background-color: #efefef4d; width: 90px; float: left; margin-right: 4px;" readonly> |
| | | <input type="text" class="layui-input" name="HprocExQty" id="HprocExQty" style="background-color:#efefef4d; width: 90px;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å
³é®ææ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å
³é®ææ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HKeyMaterID" id="HKeyMaterID" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">HICMOEntryID</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">HICMOEntryID</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HICMOEntryID" id="HICMOEntryID" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æµè½¬å¡ç±»å</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HWorkTypeName" id="HWorkTypeName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i> |
| | | </button> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æµè½¬å¡ç±»å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWorkTypeName" id="HWorkTypeName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HWorkTypeID" id="HWorkTypeID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHWorkType" id="btnSearchHWorkType" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </script> |
| | | <input id="HItemID" name="HItemID" type="hidden" /> |
| | | <input id="HEntryID" name="HEntryID" type="hidden" /> |
| | | </form> |
| | | </div> |
| | | </div> |
| | |
| | | } else { |
| | | var OperationType = params[params[0]];//æä½ç±»å |
| | | var linterid = params[params[1]];//æºåid |
| | | var HSouceBillType = params[params[2]];//æºåç±»å |
| | | var HEntryID=params[params[2]];//æºååid |
| | | var HSouceBillType = params[params[3]];//æºåç±»å |
| | | } |
| | | //夿æä½ç±»å |
| | | if (OperationType == 1) {//æ æºåæ°å¢ |
| | |
| | | } |
| | | else if (OperationType == 2) {//ææºåæ°å¢ |
| | | $("#HItemID").val(linterid);//ä¿®æ¹æ¶ä¸»è¡¨ID |
| | | $("#HEntryID").val(HEntryID);//ä¿®æ¹æ¶å表ID |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | type: "GET", |
| | |
| | | $("#HMaker").val(sessionStorage["HUserName"]); |
| | | } |
| | | }); |
| | | GetICMOBillValue(linterid) |
| | | GetICMOBillValue(linterid, HEntryID) |
| | | } |
| | | else if (OperationType == 3) {//ç¼è¾ |
| | | $("#HItemID").val(linterid);//ä¿®æ¹æ¶ä¸»è¡¨ID |
| | | $("#HEntryID").val(HEntryID);//ä¿®æ¹æ¶ä¸»è¡¨ID |
| | | //ç¼è¾ç¶ææ¶ï¼æ ¹æ®å
ç ï¼è·åä¿¡æ¯å¹¶åå
¥çé¢ |
| | | layer.alert("æªç¥æä½ç±»åï¼", { icon: 5 }); |
| | | } |
| | | else if (OperationType == 4) {//æµè§ |
| | | $("#HItemID").val(linterid);// |
| | | $("#HEntryID").val(HEntryID);// |
| | | //ç¼è¾ç¶ææ¶ï¼æ ¹æ®å
ç ï¼è·åä¿¡æ¯å¹¶åå
¥çé¢ |
| | | RoadBillMain(linterid); |
| | | $('#set_SaveBill').addClass("layui-btn-disabled").attr("disabled", true);//ä¿ååå è½½æ°æ®æ¶ä¿åæé®ç¦ç¨ |
| | |
| | | table.render(option); |
| | | |
| | | //æ¯å¦é»è®¤å·¥èº |
| | | form.on('checkbox(checkboxHBLFlag)', function (data) { |
| | | $("#HBLFlag").val(data.elem.checked); |
| | | }); |
| | | //form.on('checkbox(HBLFlag)', function (data) { |
| | | // $("#HBLFlag").val(data.elem.checked); |
| | | //}); |
| | | //æ¯å¦å¯ç¨ |
| | | form.on('checkbox(checkboxHUseFlag)', function (data) { |
| | | $("#HUseFlag").val(data.elem.checked); |
| | |
| | | } |
| | | } |
| | | } |
| | | data.field.HSTOCKORGID = sessionStorage["OrganizationID"];//ç»ç» |
| | | data.field.HPRDORGID = sessionStorage["OrganizationID"];//ç»ç» |
| | | var HBLFlag = document.getElementById("HBLFlag").checked; |
| | | HBLFlag == "on" ? data.field.HBLFlag = 'true' : data.field.HBLFlag = 'false';//å°æ°ç»åå¹¶æå符串 |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(table.cache['mainTable']); |
| | | var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"]; |
| | |
| | | |
| | | |
| | | //éæ©äº§åå¼¹çª |
| | | form.on('submit(btnSearchMater)', function () {//产å |
| | | form.on('submit(btnSearchMater2)', function () {//产å |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['80%', '80%'] |
| | |
| | | , cancel: function (index, layero) { |
| | | } |
| | | }) |
| | | }); |
| | | |
| | | //éæ©åä»¶å¼¹çªPartInformation.html |
| | | form.on('submit(btnSearchMater)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'åä»¶å表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/PartInformation.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | | //æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HMaterModel").val(checkStatus.data[0].HModel); |
| | | $("#HMaterNumber").val(checkStatus.data[0].HNumber); |
| | | $("#HMaterName").val(checkStatus.data[0].HName); |
| | | $("#HMaterID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //模å
·è®¾å¤å¼¹çª |
| | | form.on('submit(btnHEquipMent)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: '设å¤å表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/EqpInformation.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | | //æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HEquipMentName").val(checkStatus.data[0].HName); |
| | | $("#HEquipMentID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //车é´å¼¹çª |
| | | form.on('submit(HWorkShopList)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: '车é´å表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/DeptInformation.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | | //æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HWorkShopName").val(checkStatus.data[0].HName); |
| | | $("#HWorkShopID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //å§å¤å å·¥åä½å¼¹çª |
| | | form.on('submit(btnSearchHSup)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'ä¾åºåå表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/SupplierInformation.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | | //æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HSupName").val(checkStatus.data[0].HName); |
| | | $("#HSupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //éæ©ä¸è¯åå |
| | |
| | | |
| | | |
| | | //è¿åç产任å¡å |
| | | function GetICMOBillValue(hmainid) { |
| | | function GetICMOBillValue(hmainid, HEntryID) { |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Sc_ProcessExchangeBill/GetICMOBillDetail", |
| | | type: "GET", |
| | | data: { "hmainid": hmainid, "OrganizationID": sessionStorage["OrganizationID"] }, |
| | | data: { "hmainid": hmainid, "HEntryID": HEntryID, "OrganizationID": sessionStorage["OrganizationID"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | var data = result.data[result.data.length - 1]; |
| | |
| | | $("#HCusName").val(data.客æ·åç§°); |
| | | $("#HWorkRemark").val(data.çäº§å¤æ³¨); |
| | | $("#HImportNote").val(data.éè¦æç¤º); |
| | | $("#HPicNumVer").val(data.å¾å·çæ¬); |
| | | $("#HPicNumAssemble").val(data.æ»è£
å¾å·); |
| | | $("#HMaterTexture").val(data.æè´¨); |
| | | $("#HProductNum").val(data.æåç¼å·); |
| | | $("#HVerNum").val(data.çæ¬); |
| | | $("input[name='HBLFlag']").prop("checked", result.data[0].HBLFlag == 0 ? false : true);//true:éä¸ false:ä¸éä¸ |
| | | } |
| | | else { |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | |
| | | } |
| | | }) |
| | | //txtHBillNo.Text = sBillNo; |
| | | GetICMOBillDetail(hmainid); |
| | | GetICMOBillDetail(hmainid, HEntryID); |
| | | } |
| | | |
| | | function GetICMOBillDetail(hmainid) { |
| | | function GetICMOBillDetail(hmainid, HEntryID) { |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Sc_ProcessExchangeBill/GetICMOBillList", |
| | | type: "GET", |
| | | data: { "hmainid": hmainid, "OrganizationID": sessionStorage["OrganizationID"] }, |
| | | data: { "hmainid": hmainid, "HEntryID":HEntryID, "OrganizationID": sessionStorage["OrganizationID"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | option.data = result.data; |
| | |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | //{ field: 'hmainid', title: 'hmainid', width: 90 } |
| | | , { field: 'hmainid', title: 'hmainid', width: 90, hide: true} |
| | | , { field: 'æå°æ¬¡æ°', title: 'æå°æ¬¡æ°' } |
| | | , { field: 'ç±»å', title: 'ç±»å' } |
| | | , { |
| | |
| | | } |
| | | , { field: '订åè·è¸ªå·', title: '订åè·è¸ªå·', width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 190 } |
| | | //, { field: 'hicmointerid', title: 'hicmointerid', width: 80 } |
| | | , { field: 'hicmointerid', title: 'hicmointerid', width: 80, hide: true} |
| | | , { field: 'ä»»å¡åå·', title: 'ä»»å¡åå·', width: 140 } |
| | | //, { field: 'HWorkShopID', title: 'HWorkShopID', width: 80 } |
| | | //, { field: 'HDeptID', title: 'HDeptID', width: 80 } |
| | | , { field: 'HWorkShopID', title: 'HWorkShopID', width: 80, hide: true} |
| | | , { field: 'HDeptID', title: 'HDeptID', width: 80, hide: true} |
| | | , { field: 'ç产车é´ä»£ç ', title: 'ç产车é´ä»£ç ', width: 115 } |
| | | , { field: 'ç产车é´', title: 'ç产车é´' } |
| | | , { field: 'å§å¤æ è®°', title: 'å§å¤æ è®°' } |
| | | //, { field: 'HMaterID', title: 'HMaterID', width: 80 } |
| | | , { field: 'HMaterID', title: 'HMaterID', width: 80, hide: true} |
| | | , { field: 'å件代ç ', title: 'å件代ç ' } |
| | | , { field: 'åä»¶åç§°', title: 'åä»¶åç§°' } |
| | | , { field: 'åä»¶è§æ ¼', title: 'åä»¶è§æ ¼' } |
| | | , { field: 'æ¹å·', title: 'æ¹å·' } |
| | | , { field: 'åææ¹æ¬¡å·', title: 'åææ¹æ¬¡å·' } |
| | | //, { field: 'HMaterID2', title: 'HMaterID2', width: 80 } |
| | | , { field: 'HMaterID2', title: 'HMaterID2', width: 80, hide: true} |
| | | , { field: '产å代ç ', title: '产å代ç ' } |
| | | , { field: '产ååç§°', title: '产ååç§°' } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·' } |
| | | //, { field: 'HUnitID', title: 'HUnitID', width: 80 } |
| | | , { field: 'HUnitID', title: 'HUnitID', width: 80, hide: true} |
| | | , { field: 'åä½ä»£ç ', title: 'åä½ä»£ç ' } |
| | | , { field: 'åä½', title: 'åä½' } |
| | | , { field: 'è®¾å¤æ¨¡å
·ä»£ç ', title: 'è®¾å¤æ¨¡å
·ä»£ç ' } |
| | |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | //, { field: 'HBillType', title: 'HBillType', width: 80 } |
| | | //, { field: 'hsubid', title: 'hsubid', width: 80 } |
| | | , { field: 'HBillType', title: 'HBillType', width: 80, hide: true} |
| | | , { field: 'hsubid', title: 'hsubid', width: 80, hide: true} |
| | | , { field: 'æåæ°é', title: 'æåæ°é' } |
| | | ]] |
| | | }; |
| | |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | |
| | | //{ field: 'hsubid', title: 'hsubid' } |
| | | { field: 'æµæ°´å·', title: 'æµæ°´å·' } |
| | | //, { field: 'HProcID', title: 'HProcID' } |
| | | { field: 'hsubid', title: 'hsubid', hide: true} |
| | | ,{ field: 'æµæ°´å·', title: 'æµæ°´å·' } |
| | | , { field: 'HProcID', title: 'HProcID', hide: true} |
| | | , { field: 'å·¥åºä»£ç ', title: 'å·¥åºä»£ç ' } |
| | | , { field: 'å·¥åºåç§°', title: 'å·¥åºåç§°' } |
| | | , { field: 'è¿å·¥æ è®°', title: 'è¿å·¥æ è®°' } |
| | |
| | | , { field: 'å·¥ä½ä¸å¿ä»£ç ', title: 'å·¥ä½ä¸å¿ä»£ç ', width: 115 } |
| | | , { field: 'å·¥ä½ä¸å¿', title: 'å·¥ä½ä¸å¿' } |
| | | , { field: 'è®¡åæ°é', title: 'è®¡åæ°é' } |
| | | //, { field: 'hmainid', title: 'hmainid' } |
| | | , { field: 'hmainid', title: 'hmainid', hide: true} |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true } |
| | | , { field: 'åæ®å·', title: 'åæ®å·' } |
| | | //, { field: 'hicmointerid', title: 'hicmointerid' } |
| | | , { field: 'hicmointerid', title: 'hicmointerid', hide: true} |
| | | , { field: 'ä»»å¡åå·', title: 'ä»»å¡åå·' } |
| | | //, { field: 'HWorkShopID', title: 'HWorkShopID' } |
| | | , { field: 'HWorkShopID', title: 'HWorkShopID', hide: true} |
| | | , { field: 'ç产车é´ä»£ç ', title: 'ç产车é´ä»£ç ', width: 115 } |
| | | , { field: 'ç产车é´', title: 'ç产车é´' } |
| | | //, { field: 'HMaterID', title: 'HMaterID' } |
| | | , { field: 'HMaterID', title: 'HMaterID', hide: true} |
| | | , { field: '产å代ç ', title: '产å代ç ' } |
| | | , { field: '产ååç§°', title: '产ååç§°' } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·' } |
| | | , { field: 'æ¹å·', title: 'æ¹å·' } |
| | | //, { field: 'HUnitID', title: 'HUnitID' } |
| | | , { field: 'HUnitID', title: 'HUnitID', hide: true} |
| | | , { field: 'åä½ä»£ç ', title: 'åä½ä»£ç ' } |
| | | , { field: 'åä½', title: 'åä½' } |
| | | , { field: 'ç产æ°é', title: 'ç产æ°é' } |
| | |
| | | , { field: '计åå®å·¥æ¥æ', title: '计åå®å·¥æ¥æ' } |
| | | , { field: 'æè¦', title: 'æè¦' } |
| | | , { field: 'å
é¨åæ®å·', title: 'å
é¨åæ®å·' } |
| | | //, { field: 'HSupID', title: 'HSupID' } |
| | | , { field: 'HSupID', title: 'HSupID', hide: true} |
| | | , { field: 'å§å¤å å·¥åä½ä»£ç ', title: 'å§å¤å å·¥åä½ä»£ç ' } |
| | | , { field: 'å§å¤å å·¥åä½', title: 'å§å¤å å·¥åä½' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | //, { field: 'HBillType', title: 'HBillType' } |
| | | , { field: 'HBillType', title: 'HBillType', hide: true} |
| | | , { field: 'æµè½¬å¡æ°é', title: 'æµè½¬å¡æ°é' } |
| | | , { field: 'è¿ç«å
³èæ°é', title: 'è¿ç«å
³èæ°é' } |
| | | , { field: 'åºç«å
³èæ°é', title: 'åºç«å
³èæ°é' } |
| | |
| | | , area: ['100%', '100%'] |
| | | , title: 'çäº§èµæº-æ°å¢' |
| | | , shift: 0//å¼¹åºå¨ç» |
| | | , content: '../å·¥åºæµè½¬å¡/Sc_ProcessExchangeBill.html?OperationType=1&linterid=&HSouceBillType=' |
| | | , content: '../å·¥åºæµè½¬å¡/Sc_ProcessExchangeBill.html?OperationType=1&linterid=&HEntryID=&HSouceBillType=' |
| | | }) |
| | | } |
| | | //#endregion |
| | |
| | | , area: ['100%', '100%'] |
| | | , title: 'å·¥åºå表-ç¼è¾' |
| | | , shift: 0//å¼¹åºå¨ç» |
| | | , content: '../å·¥åºæµè½¬å¡/Sc_ProcessExchangeBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=' |
| | | , content: '../å·¥åºæµè½¬å¡/Sc_ProcessExchangeBill.html?OperationType=3&linterid=' + linterid + '&HEntryID=' + hsubid+'&HSouceBillType=' |
| | | }) |
| | | } else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ç¼è¾ï¼'); |
| | |
| | | var sHWHID = $("#HWHID").val() |
| | | var sHSPID = $("#HStockPlaceID").val() |
| | | var sSourceBillNo = $("#HSourceBillNo").val() |
| | | var sMouldManagerCtl = "N"; //æ¯å¦å¯ç¨å¨å
·ç®¡ç |
| | | var sFIFOCtl = "N"; //æ¯å¦å¯ç¨å
è¿å
åºç®¡ç |
| | | |
| | | if (sQty == "") { |
| | | sQty = 0; |
| | | } |
| | | |
| | | //夿æ¡ç æ¯å¦ä¸ºç©º new |
| | | if (sBarCode == '') { |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/MateOutBill/DisBillEntryList_Webs_New_Json1', |
| | | type: "GET", |
| | | data: { HBillID: sInterID, HBillType: '1201', sWhere: '' }, |
| | | data: { HBillID: sInterID, HBillNo: sBillNo, HBillType: '1201', sMouldManagerCtl: sMouldManagerCtl, sFIFOCtl: sFIFOCtl }, |
| | | success: function (result) { |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | listOption.data = result.data.list; |