Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI
| | |
| | | //var WEBURL = "http://localhost:8082/LuBaoAPI/"; //æ¨ä¹æ¬å°é
ç½® |
| | | // var WEBURL = "http://localhost:8082/API/"; //æè´ºæ¬å°é
ç½® |
| | | var WEBURL = "http://localhost:8082/API/"; //å¼ ç广æ¬å°é
ç½® |
| | | //var WEBURL = "http://localhost:81/API/" //ç¿æ¶æ¶æ¬å°é
ç½® |
| | | var WEBURL = "http://localhost:81/API/" //ç¿æ¶æ¶æ¬å°é
ç½® |
| | | //var WEBURL = "http://localhost:8082/LuBaoAPI/"; //æ¨ä¹æ¬å°é
ç½® |
| | | //var WEBURL = "http://47.96.97.237/API/"; //æºäºæå¡å¨ |
| | | /* var WEBURL = "http://localhost:8082/LuBaoAPI/"; //ä½ææ°æ¬å°é
ç½®*/ |
| | | var WEBURL = "http://localhost:81/API/"; // éé岿¬å°é
ç½®*/ |
| | | //var WEBURL = "http://localhost:81/API/"; // éé岿¬å°é
ç½®*/ |
| | | // var WEBURL = "http://localhost:8082/LuBaoAPI/"; //ææä¿æ¬å°é
ç½® |
| | | //var WEBURL = "http://localhost:8088/ARAPI/"; //ä½ææ°æ¬å°é
ç½®(å®ç) |
| | | //var WEBURL = "http://61.164.86.218:8099/ABAPI/"; //å¥¥é¦ |
| New file |
| | |
| | | Object Report |
| | | Version='6.8.2.2' |
| | | Title='ç产任å¡å' |
| | | PrintAsDesignPaper=F |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=135000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Object Printer |
| | | Size=256 |
| | | Width=8 |
| | | Height=5 |
| | | 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='æ¡ç ç¼å·' |
| | | End |
| | | Item |
| | | Name='ä¾åºå' |
| | | End |
| | | Item |
| | | Name='ç©æä»£ç ' |
| | | End |
| | | Item |
| | | Name='ç©æåç§°' |
| | | End |
| | | Item |
| | | Name='è§æ ¼åå·' |
| | | End |
| | | Item |
| | | Name='æ°é' |
| | | Type=Float |
| | | Format='0' |
| | | End |
| | | Item |
| | | Name='æ¥æ' |
| | | Type=DateTime |
| | | Format='yyyy/MM/dd' |
| | | End |
| | | Item |
| | | Name='客æ·ç¼å·' |
| | | End |
| | | Item |
| | | Name='款å·' |
| | | End |
| | | Item |
| | | Name='åç»' |
| | | End |
| | | Item |
| | | Name='éè´åå·' |
| | | End |
| | | End |
| | | End |
| | | Items Column |
| | | Item |
| | | Name='Column3' |
| | | Width=7.99042 |
| | | End |
| | | End |
| | | Object ColumnContent |
| | | Height=4.9 |
| | | RowsPerPage=1 |
| | | Items ColumnContentCell |
| | | Item |
| | | Column='Column3' |
| | | FreeCell=T |
| | | CanGrow=T |
| | | Items Control |
| | | Item |
| | | Type=FreeGrid |
| | | Name='FreeGrid1' |
| | | Left=0.264583 |
| | | Top=0.15875 |
| | | ColumnCount=2 |
| | | RowCount=16 |
| | | ShowColLine=F |
| | | ShowRowLine=F |
| | | Items FreeGridColumn |
| | | Item[2] |
| | | Width=4.5 |
| | | End |
| | | End |
| | | Items FreeGridRow |
| | | Item[1] |
| | | Height=0.38 |
| | | End |
| | | Item[2] |
| | | Height=0.2 |
| | | End |
| | | Item[3] |
| | | Height=0.38 |
| | | End |
| | | Item[4] |
| | | Height=0.2 |
| | | End |
| | | Item[5] |
| | | Height=0.38 |
| | | End |
| | | Item[6] |
| | | Height=0.2 |
| | | End |
| | | Item[7] |
| | | Height=0.38 |
| | | End |
| | | Item[8] |
| | | Height=0.2 |
| | | End |
| | | Item[9] |
| | | Height=0.38 |
| | | End |
| | | Item[10] |
| | | Height=0.2 |
| | | End |
| | | Item[11] |
| | | Height=0.38 |
| | | End |
| | | Item[12] |
| | | Height=0.2 |
| | | End |
| | | Item[13] |
| | | Height=0.38 |
| | | End |
| | | Item[14] |
| | | Height=0.2 |
| | | End |
| | | Item[15] |
| | | Height=0.38 |
| | | End |
| | | Item[16] |
| | | Height=0.2 |
| | | End |
| | | End |
| | | Items FreeGridCell |
| | | Item[1,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='ä¾åºå:' |
| | | End |
| | | Item[2,1] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Supplier)' |
| | | End |
| | | Item[3,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='ç©æç¼ç :' |
| | | End |
| | | Item[4,1] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Material Code)' |
| | | End |
| | | Item[5,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='ç©æåç§°:' |
| | | End |
| | | Item[6,1] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Material Code)' |
| | | End |
| | | Item[7,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='款å·:' |
| | | End |
| | | Item[7,2] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='éè´åå·:' |
| | | End |
| | | Item[8,1] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Style No.)' |
| | | End |
| | | Item[8,2] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Purchase Order No.)' |
| | | End |
| | | Item[9,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='åç»:' |
| | | End |
| | | Item[9,2] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='è§æ ¼:' |
| | | End |
| | | Item[10,1] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Group)' |
| | | End |
| | | Item[10,2] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(SKU NO.)' |
| | | End |
| | | Item[11,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='æ°é:' |
| | | End |
| | | Item[11,2] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='æ¥æ:' |
| | | End |
| | | Item[12,1] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Quantity)' |
| | | End |
| | | Item[12,2] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Date)' |
| | | End |
| | | Item[13,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='æ£éªå:' |
| | | End |
| | | Item[13,2] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='客æ·ç¼å·:' |
| | | End |
| | | Item[14,1] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(QC)' |
| | | End |
| | | Item[14,2] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Consumer No.)' |
| | | End |
| | | Item[15,1] |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='æ£éªç»æ:' |
| | | End |
| | | Item[16,1] |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Inspection status)' |
| | | End |
| | | End |
| | | End |
| | | Item |
| | | Type=Barcode |
| | | Name='Barcode1' |
| | | Left=6.00604 |
| | | Top=0.211667 |
| | | Width=1.5875 |
| | | Height=1.5 |
| | | BarcodeType=QRCode |
| | | CaptionPosition=None |
| | | Text='[#æ¡ç ç¼å·#]' |
| | | End |
| | | Item |
| | | Type=FieldBox |
| | | Name='FieldBox9' |
| | | Left=1.5875 |
| | | Top=0.15875 |
| | | Width=4.20688 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | DataField='ä¾åºå' |
| | | End |
| | | Item |
| | | Type=StaticBox |
| | | Name='StaticBox5' |
| | | Left=3.20146 |
| | | Top=4.20688 |
| | | Width=3.99521 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | Text='â¡åæ ¼ â¡ä¸åæ ¼ â¡ç¹é' |
| | | End |
| | | Item |
| | | Type=StaticBox |
| | | Name='StaticBox6' |
| | | Left=3.41313 |
| | | Top=4.60375 |
| | | Width=3.99521 |
| | | Height=0.211667 |
| | | Object Font |
| | | Name='Arial' |
| | | Size=52500,0 |
| | | Weight=400 |
| | | End |
| | | Text='(Pass) (Fail) (Spec.accepted)' |
| | | End |
| | | Item |
| | | Type=FieldBox |
| | | Name='FieldBox10' |
| | | Left=2.19604 |
| | | Top=0.714375 |
| | | Width=3.59833 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | DataField='ç©æä»£ç ' |
| | | End |
| | | Item |
| | | Type=FieldBox |
| | | Name='FieldBox11' |
| | | Left=1.79917 |
| | | Top=1.29646 |
| | | Width=3.99521 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | DataField='ç©æåç§°' |
| | | End |
| | | Item |
| | | Type=FieldBox |
| | | Name='FieldBox12' |
| | | Left=1.19063 |
| | | Top=1.905 |
| | | Width=2.61938 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=120000,0 |
| | | Bold=T |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | DataField='款å·' |
| | | End |
| | | Item |
| | | Type=FieldBox |
| | | Name='FieldBox13' |
| | | Left=1.19063 |
| | | Top=2.48708 |
| | | Width=2.61938 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | DataField='åç»' |
| | | End |
| | | Item |
| | | Type=FieldBox |
| | | Name='FieldBox14' |
| | | Left=4.78896 |
| | | Top=1.87854 |
| | | Width=2.80458 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=90000,0 |
| | | Bold=T |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | DataField='éè´åå·' |
| | | End |
| | | Item |
| | | Type=FieldBox |
| | | Name='FieldBox15' |
| | | Left=4.20688 |
| | | Top=2.46063 |
| | | Width=3.38667 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | DataField='è§æ ¼åå·' |
| | | End |
| | | Item |
| | | Type=FieldBox |
| | | Name='FieldBox16' |
| | | Left=4.20688 |
| | | Top=3.04271 |
| | | Width=3.38667 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | DataField='æ¥æ' |
| | | End |
| | | Item |
| | | Type=FieldBox |
| | | Name='FieldBox17' |
| | | Left=4.78896 |
| | | Top=3.62479 |
| | | Width=2.80458 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=105000,0 |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | ShrinkFontToFit=T |
| | | DataField='客æ·ç¼å·' |
| | | End |
| | | Item |
| | | Type=MemoBox |
| | | Name='MemoBox1' |
| | | Left=1.19063 |
| | | Top=3.06917 |
| | | Width=2.61938 |
| | | Height=0.45 |
| | | Object Font |
| | | Name='å®ä½' |
| | | Size=120000,0 |
| | | Bold=T |
| | | Charset=134 |
| | | End |
| | | Text='[#æ°é#]' |
| | | 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 |
| | |
| | | <!DOCTYPE html> |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <title>å¶é 卿æ¥è¡¨</title> |
| | |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script src="../../../layuiadmin/PubCustom.js"></script> |
| | | |
| | | <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | </head> |
| | | |
| | | <body> |
| | | <div class="layui-fluid"> |
| | | <div class="layui-col-md12"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æ¥æé´é</label> |
| | | <div class="layui-input-block"> |
| | | <select name="HInitTimeCycle" id="HInitTimeCycle" class="ForFilteringSchemes" |
| | | lay-filter="HInitTimeCycle" style="width:190px;"> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">å¼å§æ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input ForFilteringSchemes" id="HBeginDate" |
| | | style="width:190px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç»ææ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input ForFilteringSchemes" id="HEndDate" |
| | | style="width:190px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">éå®è®¢åå·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HSeOrderBillNo" id="HSeOrderBillNo"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HSeOrderBillNo" |
| | | id="HSeOrderBillNo"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æåç©æç¼ç </label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HMaterNumber" id="HMaterNumber"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HMaterNumber" |
| | | id="HMaterNumber"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç»ç»</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width: 185px;"> |
| | | <select name="HOrgID" id="HOrgID" lay-verify="HOrgID" class="ForFilteringSchemes"> |
| | | <select name="HOrgID" id="HOrgID" lay-verify="HOrgID" |
| | | class="ForFilteringSchemes"> |
| | | <!--å¨ææ¸²æç»ç»--> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" |
| | | lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">éç½®</button> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" |
| | | lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">éç½®</button> |
| | | <!--æ¾ç¤ºå½åè¿æ»¤æ¹æ¡--> |
| | | <div class="layui-inline" style="margin-left:5px;"> |
| | | <div style="text-align:center;font-size:15px;font-weight:bold;color:#fc9393" id="HFilterScheme_Now"></div> |
| | | <div style="text-align:center;font-size:15px;font-weight:bold;color:#fc9393" |
| | | id="HFilterScheme_Now"></div> |
| | | </div> |
| | | <div class="layui-colla-content" style="padding: 0px; margin-left: 6%;"> |
| | | <div class="layui-row" style="margin-top:5px"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">è¿æ»¤</label> |
| | | <div class="layui-input-block"> |
| | | <select name="ColName" id="ColName" lay-filter="ColName" style="width:190px;" class="ForFilteringSchemes"> |
| | | <select name="ColName" id="ColName" lay-filter="ColName" |
| | | style="width:190px;" class="ForFilteringSchemes"> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <select name="Comparator" id="Comparator" lay-filter="Comparator" style="width:190px;" class="ForFilteringSchemes"> |
| | | <select name="Comparator" id="Comparator" lay-filter="Comparator" |
| | | style="width:190px;" class="ForFilteringSchemes"> |
| | | <option value="0" selected="selected"></option> |
| | | <option value="=">=</option> |
| | | <option value=">=">>=</option> |
| | | <option value=">">></option> |
| | | <option value="<="><=</option> |
| | | <option value="<"><</option> |
| | | <option value="<>"><></option> |
| | | <option value="<="> |
| | | <=< /option> |
| | | <option value="<"> |
| | | << /option> |
| | | <option value="<>"> |
| | | <> |
| | | </option> |
| | | <option value="7">å
å«</option> |
| | | <option value="8">å·¦å
å«</option> |
| | | <option value="9">å³å
å«</option> |
| | |
| | | </select> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" value="" name="ColContent" id="ColContent"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" value="" |
| | | name="ColContent" id="ColContent"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row" style=" margin-top: 10px;"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">è¿æ»¤</label> |
| | | <div class="layui-input-block"> |
| | | <select name="ColName1" id="ColName1" class="ForFilteringSchemes" lay-filter="ColName1" style="width:190px;"> |
| | | <select name="ColName1" id="ColName1" class="ForFilteringSchemes" |
| | | lay-filter="ColName1" style="width:190px;"> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <select name="Comparator1" id="Comparator1" class="ForFilteringSchemes" lay-filter="Comparator1" style="width:190px;"> |
| | | <select name="Comparator1" id="Comparator1" class="ForFilteringSchemes" |
| | | lay-filter="Comparator1" style="width:190px;"> |
| | | <option value="0" selected="selected"></option> |
| | | <option value="=">=</option> |
| | | <option value=">=">>=</option> |
| | | <option value=">">></option> |
| | | <option value="<="><=</option> |
| | | <option value="<"><</option> |
| | | <option value="<>"><></option> |
| | | <option value="<="> |
| | | <=< /option> |
| | | <option value="<"> |
| | | << /option> |
| | | <option value="<>"> |
| | | <> |
| | | </option> |
| | | <option value="7">å
å«</option> |
| | | <option value="8">å·¦å
å«</option> |
| | | <option value="9">å³å
å«</option> |
| | |
| | | </select> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" value="" name="ColContent1" id="ColContent1"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" value="" |
| | | name="ColContent1" id="ColContent1"> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">è¿æ»¤</label> |
| | | <div class="layui-input-block"> |
| | | <select name="ColName2" id="ColName2" class="ForFilteringSchemes" lay-filter="ColName2" style="width:190px;"> |
| | | <select name="ColName2" id="ColName2" class="ForFilteringSchemes" |
| | | lay-filter="ColName2" style="width:190px;"> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <select name="Comparator2" id="Comparator2" class="ForFilteringSchemes" lay-filter="Comparator2" style="width:190px;"> |
| | | <select name="Comparator2" id="Comparator2" class="ForFilteringSchemes" |
| | | lay-filter="Comparator2" style="width:190px;"> |
| | | <option value="0" selected="selected"></option> |
| | | <option value="=">=</option> |
| | | <option value=">=">>=</option> |
| | | <option value=">">></option> |
| | | <option value="<="><=</option> |
| | | <option value="<"><</option> |
| | | <option value="<>"><></option> |
| | | <option value="<="> |
| | | <=< /option> |
| | | <option value="<"> |
| | | << /option> |
| | | <option value="<>"> |
| | | <> |
| | | </option> |
| | | <option value="7">å
å«</option> |
| | | <option value="8">å·¦å
å«</option> |
| | | <option value="9">å³å
å«</option> |
| | |
| | | </select> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" value="" name="ColContent2" id="ColContent2"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" value="" |
| | | name="ColContent2" id="ColContent2"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index', //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate','soulTable'], function () { |
| | | }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate', 'soulTable'], function () { |
| | | |
| | | //#region å
¬ç¨åé |
| | | var $ = layui.$ |
| | |
| | | var HBillType = "Sc_ProductionCycleBillList"; |
| | | var set_HideButton_ID = "toolbarDemo_ButtonSet";//éè¦è®¾ç½®çæé®çç¶çº§èç¹çid |
| | | //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | var titleData = ["HItemID", "Hprocid", "HUSEORGID", "HCREATEORGID","HParentID", 'sorderid', 'HInterID', 'HEntryID','HProcExchInterID']; |
| | | var titleData = ["HItemID", "Hprocid", "HUSEORGID", "HCREATEORGID", "HParentID", 'sorderid', 'HInterID', 'HEntryID', 'HProcExchInterID']; |
| | | //#endregion |
| | | |
| | | //#region ãè¿æ»¤æ¹æ¡ã |
| | |
| | | |
| | | //#endregion |
| | | |
| | | //#region è¿å
¥é¡µé¢å³å è½½ |
| | | //#region è¿å
¥é¡µé¢å³å è½½ |
| | | var Htype = ""; |
| | | //è·å页é¢è·³è½¬åæ° |
| | | var params = get_UrlVars(); |
| | |
| | | //åå§åçé¢ |
| | | set_ClearBill(); |
| | | |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | |
| | | //#region 触åäºä»¶ï¼å
æ¬form.on(){}æ ¼å¼çææç¹å»äºä»¶ãéæ©äºä»¶ç |
| | | //#region 触åäºä»¶ï¼å
æ¬form.on(){}æ ¼å¼çææç¹å»äºä»¶ãéæ©äºä»¶ç |
| | | |
| | | //#region 头工å
·æ äºä»¶ |
| | | table.on('toolbar(mainTable)', function (obj) { |
| | | switch (obj.event) { |
| | | switch (obj.event) { |
| | | //导åºexcel |
| | | case 'get_export': |
| | | get_Export(); |
| | |
| | | break; |
| | | //éåºæé® |
| | | case 'get_Exit': Pub_Close(2); |
| | | break; |
| | | break; |
| | | //ä¿åæ¹æ¡ |
| | | case 'set_SaveScheme': set_SaveScheme(); |
| | | break; |
| | |
| | | //å卿¡ä»¶ |
| | | get_WriteConfigFile(); |
| | | get_FastQuery(2); |
| | | |
| | | |
| | | }); |
| | | //#endregion |
| | | |
| | |
| | | } |
| | | }); |
| | | |
| | | //æ¥æé´é䏿å表çå¬ |
| | | form.on('select(HInitTimeCycle)', function (data) { |
| | | var HInitTimeCycle = $("#HInitTimeCycle").val() * 1; |
| | | //è¥æ¥æé´éä¸ä¸º ä»»æé´éï¼åç¦ç¨å¼å§æ¥æä¸ç»ææ¥æçéæ© |
| | | if (HInitTimeCycle != -1) { |
| | | $('#HBeginDate').prop('disabled', true); |
| | | $('#HEndDate').prop('disabled', true); |
| | | |
| | | $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * HInitTimeCycle), "yyyy-MM-dd")); |
| | | $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | |
| | | //æ§è¡æ¥è¯¢æ¹æ³ |
| | | get_FastQuery(); |
| | | } else { |
| | | $('#HBeginDate').prop('disabled', false); |
| | | $('#HEndDate').prop('disabled', false); |
| | | } |
| | | }); |
| | | |
| | | //#region éç½®æé® |
| | | form.on('submit(btnReSearch)', function (data) { |
| | | set_ClearQuery(); |
| | |
| | | btnrowDouble(obj); |
| | | }) |
| | | |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | |
| | | |
| | | //#region æ¬é¡µé¢ææè¢«è°ç¨çæ¹æ³ |
| | | |
| | | //#region æ¬é¡µé¢ææè¢«è°ç¨çæ¹æ³ |
| | | |
| | | //#region åå§åçé¢ |
| | | function set_ClearBill() { |
| | | //åå§åæ¥æé´éãå¼å§æ¥æãç»ææ¥æ |
| | | setSelect_HInitTimeCycle(); |
| | | //è¥æ¥æé´éä¸ä¸º ä»»æé´éï¼åç¦ç¨å¼å§æ¥æä¸ç»ææ¥æçéæ© |
| | | var HInitTimeCycle = $("#HInitTimeCycle").val() * 1; |
| | | if (HInitTimeCycle != -1) { |
| | | $('#HBeginDate').prop('disabled', true); |
| | | $('#HEndDate').prop('disabled', true); |
| | | } else { |
| | | $('#HBeginDate').prop('disabled', false); |
| | | $('#HEndDate').prop('disabled', false); |
| | | } |
| | | |
| | | //æ ¹æ®æ¥æé´é设置å¼å§æ¶é´ä¸ç»ææ¶é´ |
| | | $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * HInitTimeCycle), "yyyy-MM-dd")); |
| | | $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | |
| | | //åå§åç»ç» |
| | | Organ(); |
| | | Organ(); |
| | | //åå§åè¡¨æ ¼ |
| | | set_InitGrid(); |
| | | //æ¥è¯¢ |
| | | get_FastQuery(1); |
| | | |
| | | get_DefaultModule();//å è½½æ¹æ¡ |
| | | |
| | | |
| | | } |
| | | //#endregion |
| | | |
| | |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: false |
| | | , page: false |
| | | , totalRow: true |
| | | //, cellMinWidth: 90 |
| | | , limit: 50 |
| | |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: '../ç产åºç¡èµæ/Add_Edit_Gy_Source.html?OperationType=3&linterid='+linterid+'&HSouceBillType=' //设置 iframe ç URLï¼URL ä¸å
å«äºæ¥è¯¢åæ°ï¼æ¥è°ç¨æéè¦çå¼ |
| | | , content: '../ç产åºç¡èµæ/Add_Edit_Gy_Source.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=' //设置 iframe ç URLï¼URL ä¸å
å«äºæ¥è¯¢åæ°ï¼æ¥è°ç¨æéè¦çå¼ |
| | | , resize: false, //æ¯å¦å
è®¸ç¨æ·è°æ´å¼¹åºå¤§å° |
| | | end: function () { //å½å
³éæ¶è°ç¨ |
| | | get_FastQuery(table, option); |
| | |
| | | }) |
| | | } |
| | | }); |
| | | //#endregion |
| | | //#endregion |
| | | //#region æ¥è¯¢ |
| | | function get_Display(sWhere) { |
| | | var ajaxLoad = layer.load(); |
| | |
| | | url: GetWEBURL() + '/Gy_Source/list', |
| | | type: "GET", |
| | | async: false, |
| | | data: { "sWhere": sWhere,"user": sessionStorage["HUserName"] }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | var data = []; |
| | |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | |
| | | }); |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | function btnrowDouble(obj) { |
| | | var data = []; |
| | | data.push(obj.data); |
| | | //è¿åæ¹æ³ |
| | | //è¿åæ¹æ³ |
| | | parent.GetGySource(data); |
| | | var index = parent.layer.getFrameIndex(window.name); |
| | | parent.layer.close(index); |
| | |
| | | |
| | | //#region å¿«éè¿æ»¤ |
| | | function get_FastQuery(number) { |
| | | |
| | | var HBeginDate = $("#HBeginDate").val(); |
| | | var HEndDate = $("#HEndDate").val(); |
| | | var HSeOrderBillNo = $("#HSeOrderBillNo").val(); |
| | | var HMaterNumber = $("#HMaterNumber").val(); |
| | | var HOrgID = ""; |
| | |
| | | } |
| | | sWhere += " and " + ColName2 + " " + com2; |
| | | } |
| | | |
| | | |
| | | //if (number == 1) { |
| | | // HOrgID = sessionStorage["OrganizationID"]; |
| | | //} |
| | |
| | | sWhere += " and éå®è®¢åå· like '%" + HSeOrderBillNo + "%'"; |
| | | } |
| | | if (HMaterNumber) { |
| | | sWhere += " and æåç©æç¼ç like '%" + HMaterNumber + "%'"; |
| | | sWhere += " and æåç©æç¼ç like '%" + HMaterNumber + "%'"; |
| | | } |
| | | |
| | | if (HBeginDate && HEndDate) { |
| | | sWhere += " and CONVERT(varchar(100),çäº§è®¢åæ¥æ, 23) between '" + HBeginDate + "' and '" + HEndDate + "'" |
| | | } |
| | | |
| | | sWhere += addSWhereByOpenType(); |
| | |
| | | //#endregion |
| | | |
| | | //#region éç½®è¿æ»¤æ¡ä»¶æ¹æ³ |
| | | function set_ClearQuery() { |
| | | |
| | | function set_ClearQuery() { |
| | | var HInitTimeCycle = $("#HInitTimeCycle").val() * 1; |
| | | $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * HInitTimeCycle), "yyyy-MM-dd")); //å¼å§æ¥æ |
| | | $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd")); //ç»ææ¥æ |
| | | $("#HSeOrderBillNo").val(""); |
| | | $("#HMaterNumber").val(""); |
| | | $("#HOrgID").val(sessionStorage["OrganizationID"]); |
| | |
| | | $("#btnSearch").click(); |
| | | } |
| | | //#endregion |
| | | |
| | | |
| | | //#region æ°å¢ |
| | | function set_AddNew() { |
| | | layer.open({ |
| | |
| | | get_FastQuery(2); |
| | | } |
| | | //#endregion |
| | | |
| | | |
| | | |
| | | |
| | | //#region 夿æ¯ç´æ¥æå¼é¡µé¢è¿æ¯å
¶å®é¡µé¢éè¿éæ©æé®æå¼ï¼å¹¶æ¾ç¤ºç¸åºæ°æ® |
| | | function addSWhereByOpenType() { |
| | | //è·ååæ° |
| | |
| | | }) |
| | | } |
| | | |
| | | //#region åå§æ¥æé´é 䏿å表 |
| | | function setSelect_HInitTimeCycle() { |
| | | var valueList = [0, 1, 2, 3, 4, 5, 6, 29]; |
| | | var titleList = ["ä»å¤©", "è¿ä¸¤å¤©", "è¿ä¸å¤©", "è¿å天", "è¿äºå¤©", "è¿å
天", "è¿ä¸å¤©", "è¿30天"]; |
| | | |
| | | var HInitTimeCycle_ArrayList = '<option value="-1" selected="selected" >ä»»æé´é</option>'; |
| | | for (var i = 0; i < valueList.length; i++) { |
| | | HInitTimeCycle_ArrayList += '<option style="color:blue;" value="' + valueList[i] + '">' + titleList[i] + '</option>'; |
| | | } |
| | | |
| | | $("#HInitTimeCycle").empty(); |
| | | $("#HInitTimeCycle").append(HInitTimeCycle_ArrayList); |
| | | form.render('select'); |
| | | |
| | | $("#HInitTimeCycle").val("29"); |
| | | } |
| | | //#endregion |
| | | //以䏿¯layui模å |
| | | |
| | | |
| | | //#endregion |
| | | //以䏿¯layui模å |
| | | }); |
| | | //#region ãè¿æ»¤æ¹æ¡è¿åæ°æ®ã |
| | | function HFilterScheme(obj) //è¿åè¿æ»¤æ¹æ¡ |
| | |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | |
| | | </body> |
| | | </html> |
| | | |
| | | </html> |
| | |
| | | <option value="1" selected>åæ ¼</option> |
| | | </select> |
| | | </script> |
| | | <!--è¡ä¸æéæ©(ç¶æ)--> |
| | | <script type="text/html" id="HCompareSymbol"> |
| | | <select name="HCompareSymbol" lay-filter="HCompareSymbol" id="HCompareSymbol{{d.LAY_TABLE_INDEX+1}}"> |
| | | <option value="1" selected="selected">=</option> |
| | | <option value="2">></option> |
| | | <option value="3=">>=</option> |
| | | <option value="4"><</option> |
| | | <option value="5"><=</option> |
| | | <option value="6"><></option> |
| | | <option value="7">between</option> |
| | | </select> |
| | | </script> |
| | | <!--å¤éæ¡ï¼éç¹æ£æ¥ï¼--> |
| | | <script type="text/html" id="HKeyInspect"> |
| | | <input type="checkbox" value="{{d.HKeyInspect}}" lay-skin="primary" id="HKeyInspect{{d.LAY_TABLE_INDEX+1}}" lay-filter="HKeyInspect" {{ d.HKeyInspect == 1 ? 'checked' : '' }}> |
| | |
| | | var NewRow = { |
| | | "HPrjNo": 0, "HQCCheckItemID": 0, "HQCCheckItemNumber": "", "HQCCheckItemName": "", "HQCStd": "", "HQCStdMax": "", "HQCUnit": "" |
| | | , "HRemark": "", "HQCTool": "", "HAnalysisMethod": 1, "HDefectLevel": 3, "HDestructInspect": 0, "HKeyInspect": 0, "HQualityStdID": 0 |
| | | , "HInspectMethodID": 0, "HInspectInstruMentID": 0, "HInspectBasisID": 0, "HSampleSchemeID": 0, "HStatus": 1, "HCompareSymbol": "" |
| | | , "HInspectMethodID": 0, "HInspectInstruMentID": 0, "HInspectBasisID": 0, "HSampleSchemeID": 0, "HStatus": 1, "HCompareSymbol": "=" |
| | | , "HTargetVal": "", "HUpLimit": "", "HDownLimit": "", "HUpOffSet": "", "HDownOffSet": "", "HTargetValKey": "", "HUpLimitKey": "" |
| | | , "HDownLimitKey": "", "HUpOffSetKey": "", "HDownOffSetKey": "", "HTargetValQ": 0, "HUpLimitQ": 0, "HDownLimitQ": 0, "HUpOffSetQ": 0 |
| | | , "HDownOffSetQ": 0, "HTargetValB": 0, "HUpLimitB": 0, "HDownLimitB": 0, "HUpOffSetB": 0, "HDownOffSetB": 0 |
| | |
| | | $.each(option.data, function (index, value) { |
| | | if (value.LAY_TABLE_INDEX == dataindex) { |
| | | value.HStatus = data.value;//æéä¸ä¸ææ¡idå¼èµå¼ç»è¡¨æ ¼ç¼å |
| | | } |
| | | }); |
| | | }); |
| | | //è¡éæ©å¤çï¼ç¶æï¼ |
| | | form.on('select(HCompareSymbol)', function (data) { |
| | | //è·å䏿æ¡éä¸çå¼ |
| | | var elem = data.othis.parents('tr'); |
| | | var dataindex = elem.attr("data-index"); |
| | | $.each(option.data, function (index, value) { |
| | | if (value.LAY_TABLE_INDEX == dataindex) { |
| | | value.HCompareSymbol = data.value;//æéä¸ä¸ææ¡idå¼èµå¼ç»è¡¨æ ¼ç¼å |
| | | } |
| | | }); |
| | | }); |
| | |
| | | , { field: 'HSampleSchemeID', title: 'æ½æ ·æ¹æ¡ID', edit: 'text', hide: true } |
| | | , { field: 'HSampleSchemeName', title: 'æ½æ ·æ¹æ¡', edit: 'text', event: 'HSampleSchemeName' } |
| | | , { field: 'HStatus', title: 'ç¶æ', templet: '#HStatus' } |
| | | , { field: 'HCompareSymbol', title: 'æ¯è¾ç¬¦', edit: 'text' } |
| | | , { field: 'HCompareSymbol', title: 'æ¯è¾ç¬¦', templet: '#HCompareSymbol'} |
| | | , { field: 'HTargetVal', title: 'ç®æ å¼', edit: 'text' } |
| | | , { field: 'HUpLimit', title: 'ä¸éå¼', edit: 'text' } |
| | | , { field: 'HDownLimit', title: 'ä¸éå¼', edit: 'text' } |
| | |
| | | option.data = [{ |
| | | "HPrjNo": 0, "HQCCheckItemID": 0, "HQCCheckItemNumber": "", "HQCCheckItemName": "", "HQCStd": "", "HQCStdMax": "", "HQCUnit": "" |
| | | , "HRemark": "", "HQCTool": "", "HAnalysisMethod": 1, "HDefectLevel": 3, "HDestructInspect": 0, "HKeyInspect": 0, "HQualityStdID": 0 |
| | | , "HInspectMethodID": 0, "HInspectInstruMentID": 0, "HInspectBasisID": 0, "HSampleSchemeID": 0, "HStatus": 1, "HCompareSymbol": "" |
| | | , "HInspectMethodID": 0, "HInspectInstruMentID": 0, "HInspectBasisID": 0, "HSampleSchemeID": 0, "HStatus": 1, "HCompareSymbol": "1" |
| | | , "HTargetVal": "", "HUpLimit": "", "HDownLimit": "", "HUpOffSet": "", "HDownOffSet": "", "HTargetValKey": "", "HUpLimitKey": "" |
| | | , "HDownLimitKey": "", "HUpOffSetKey": "", "HDownOffSetKey": "", "HTargetValQ": 0, "HUpLimitQ": 0, "HDownLimitQ": 0, "HUpOffSetQ": 0 |
| | | , "HDownOffSetQ": 0, "HTargetValB": 0, "HUpLimitB": 0, "HDownLimitB": 0, "HUpOffSetB": 0, "HDownOffSetB": 0 |
| | |
| | | option.data = [{ |
| | | "HPrjNo": 0, "HQCCheckItemID": 0, "HQCCheckItemNumber": "", "HQCCheckItemName": "", "HQCStd": "", "HQCStdMax": "", "HQCUnit": "" |
| | | , "HRemark": "", "HQCTool": "", "HAnalysisMethod": 1, "HDefectLevel": 3, "HDestructInspect": 0, "HKeyInspect": 0, "HQualityStdID": 0 |
| | | , "HInspectMethodID": 0, "HInspectInstruMentID": 0, "HInspectBasisID": 0, "HSampleSchemeID": 0, "HStatus": 1, "HCompareSymbol": "" |
| | | , "HInspectMethodID": 0, "HInspectInstruMentID": 0, "HInspectBasisID": 0, "HSampleSchemeID": 0, "HStatus": 1, "HCompareSymbol": "1" |
| | | , "HTargetVal": "", "HUpLimit": "", "HDownLimit": "", "HUpOffSet": "", "HDownOffSet": "", "HTargetValKey": "", "HUpLimitKey": "" |
| | | , "HDownLimitKey": "", "HUpOffSetKey": "", "HDownOffSetKey": "", "HTargetValQ": 0, "HUpLimitQ": 0, "HDownLimitQ": 0, "HUpOffSetQ": 0 |
| | | , "HDownOffSetQ": 0, "HTargetValB": 0, "HUpLimitB": 0, "HDownLimitB": 0, "HUpOffSetB": 0, "HDownOffSetB": 0 |
| | |
| | | $('#HAnalysisMethod' + i + '').find("option[value='" + (data[(i - 1)].åææ¹æ³) + "']").attr("selected", true); |
| | | $('#HDefectLevel' + i + '').find("option[value='" + (data[(i - 1)].缺é·ç级) + "']").attr("selected", true); |
| | | $('#HStatus' + i + '').find("option[value='" + (data[(i - 1)].ç¶æ) + "']").attr("selected", true); |
| | | $('#HCompareSymbol' + i + '').find("option[value='" + (data[(i - 1)].æ¯è¾ç¬¦) + "']").attr("selected", true); |
| | | |
| | | |
| | | if (data[(i - 1)].ç ´åæ§æ£éª) { |
| | | $('#HDestructInspect' + (i)).attr("checked", true); |
| | |
| | | $('#HAnalysisMethod' + i + '').find("option[value='" + option.data[i - 1].HAnalysisMethod + "']").attr("selected", true); |
| | | $('#HDefectLevel' + i + '').find("option[value='" + option.data[i - 1].HDefectLevel + "']").attr("selected", true); |
| | | $('#HStatus' + i + '').find("option[value='" + option.data[i - 1].HStatus + "']").attr("selected", true); |
| | | $('#HCompareSymbol' + i + '').find("option[value='" + option.data[i - 1].HCompareSymbol + "']").attr("selected", true); |
| | | |
| | | if (option.data[i - 1].HDestructInspect) { |
| | | $('#HDestructInspect' + i + '').attr("checked", true); |
| | |
| | | $('#HAnalysisMethod' + i + '').find("option[value='" + option.data[i - 1].HAnalysisMethod + "']").attr("selected", true); |
| | | $('#HDefectLevel' + i + '').find("option[value='" + option.data[i - 1].HDefectLevel + "']").attr("selected", true); |
| | | $('#HStatus' + i + '').find("option[value='" + option.data[i - 1].HStatus + "']").attr("selected", true); |
| | | $('#HCompareSymbol' + i + '').find("option[value='" + option.data[i - 1].HCompareSymbol + "']").attr("selected", true); |
| | | |
| | | if (option.data[i - 1].HDestructInspect) { |
| | | $('#HDestructInspect' + i + '').attr("checked", true); |
| | |
| | | $('#HAnalysisMethod' + i + '').find("option[value='" + option.data[i - 1].HAnalysisMethod + "']").attr("selected", true); |
| | | $('#HDefectLevel' + i + '').find("option[value='" + option.data[i - 1].HDefectLevel + "']").attr("selected", true); |
| | | $('#HStatus' + i + '').find("option[value='" + option.data[i - 1].HStatus + "']").attr("selected", true); |
| | | $('#HCompareSymbol' + i + '').find("option[value='" + option.data[i - 1].HCompareSymbol + "']").attr("selected", true); |
| | | |
| | | if (option.data[i - 1].HDestructInspect) { |
| | | $('#HDestructInspect' + i + '').attr("checked", true); |
| | |
| | | $('#HAnalysisMethod' + i + '').find("option[value='" + option.data[i - 1].HAnalysisMethod + "']").attr("selected", true); |
| | | $('#HDefectLevel' + i + '').find("option[value='" + option.data[i - 1].HDefectLevel + "']").attr("selected", true); |
| | | $('#HStatus' + i + '').find("option[value='" + option.data[i - 1].HStatus + "']").attr("selected", true); |
| | | $('#HCompareSymbol' + i + '').find("option[value='" + option.data[i - 1].HCompareSymbol + "']").attr("selected", true); |
| | | |
| | | if (option.data[i - 1].HDestructInspect) { |
| | | $('#HDestructInspect' + i + '').attr("checked", true); |
| | |
| | | , element = layui.element; |
| | | |
| | | //å®ä¹å
¨å±åé |
| | | var params = getUrlVars(); |
| | | var params = get_UrlVars(); |
| | | var HModName = "Cj_ProcessItemStationPlatform_batch"; |
| | | var option = []; |
| | | //#endregion |
| | |
| | | }); |
| | | //æ¹æ¬¡ç åè½¦æ¹æ³ |
| | | $('#HBarCode_Batch').on('keydown', function (event) { |
| | | var HBarCode = $('#HBarCodeSN').val(); |
| | | var HBardCodeProcExchBillNo = $('#HBardCodeProcExchBillNo').val(); |
| | | var HBarCode = $('#HBarCode_Batch').val(); |
| | | if (event.keyCode == 13) { |
| | | if (!HBardCodeProcExchBillNo) { |
| | | layer.msg(get_MessageError("[0000-2-034]请å
æ«æµè½¬å¡ï¼", sessionStorage["HTranSlate"])) |
| | | return; |
| | | } else { |
| | | HBarCode = HBarCode.toUpperCase(); |
| | | if (!HBarCode) { |
| | | layer.msg(get_MessageError("[0000-2-019]æ¡å½¢ç ä¸è½ä¸ºç©ºï¼", sessionStorage["HTranSlate"])) |
| | | return; |
| | | } else { |
| | | if (HBarCode.length != 29 && HBarCode.length != 50) { |
| | | layer.alert(get_MessageError("[3791-2-012]åä»¶æ¡ç é¿åº¦ä¸ä¸º29使50ä½!", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-035]éåº', sessionStorage["HTranSlate"])], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | |
| | | if (HBarCode.match(/[^\x00-\xff]/g) != null) { |
| | | layer.alert(get_MessageError("[3791-2-013]å¿
é¡»æ¯åè§å符!", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-035]éåº', sessionStorage["HTranSlate"])], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | } |
| | | } |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | if (option.data[i]["HBatchNo"] == "") { |
| | | layer.msg(get_MessageError("[3791-2-014]å½åå·¥åºæ¹æ¬¡ä¸è½ä¸ºç©ºï¼", sessionStorage["HTranSlate"])) |
| | | return; |
| | | } |
| | | } |
| | | txtHBarCode_KeyDown(HBarCode); |
| | | } |
| | | }); |
| | |
| | | form.on('submit(btnHProc)', function () { |
| | | btnHProc(); |
| | | }); |
| | | |
| | | //åæ´ |
| | | form.on('submit(btnChange)', function (data) { |
| | | $("#HBarCode_Batch").val(""); |
| | | $("#HBarCode_Batch").prop("readonly", false); |
| | | $("#HBarCode_BatchSec").val(""); |
| | | $("#HBatchNo").val(""); |
| | | $("#HMaterNumber").val(""); |
| | | $("#HMaterName").val(""); |
| | | $("#HMaterModel").val(""); |
| | | $("#HSupID").val(0) |
| | | $("#HSupName").val(0) |
| | | //è¿å
¥é¡µé¢é»è®¤å
æ 卿µè½¬å¡ä¸ |
| | | $("#HBarCode_Batch").focus(); |
| | | }); |
| | | |
| | | //éåº |
| | | form.on('submit(btnExit)', function (data) { |
| | |
| | | //æ¡ç å车æ¥è¯¢ |
| | | function txtHBarCode_KeyDown(HBarCode) { |
| | | |
| | | var HProcExchBillNo = $("#HProcExchBillNo").val(); |
| | | var indexs = layer.load(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Cj_SingleStation/SNHBardCodeList", |
| | | url: GetWEBURL() + "/Cj_SingleStation/checkHBarCode_Batch", |
| | | async: false, |
| | | data: { "HBarCode": HBarCode, "HProcExchBillNo": HProcExchBillNo, "user": sessionStorage["HUserName"], "HOrgID": sessionStorage["OrganizationID"] }, |
| | | data: { "HBarCode": HBarCode,"user": sessionStorage["HUserName"], "HOrgID": sessionStorage["OrganizationID"] }, |
| | | dataType: "json", |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | layer.close(indexs); |
| | | var index = layer.load(); |
| | | |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "/Cj_SingleStation/HBardCodeSNList", |
| | | async: false, |
| | | data: { "HBarCode": HBarCode, "user": sessionStorage["HUserName"] }, |
| | | dataType: "json", |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | layer.close(index); |
| | | $("#HBarCode_P").val(HBarCode); |
| | | if (AllowLoadData()) { |
| | | //ä¿åæ°æ® |
| | | set_AddAssemblyBill(); |
| | | } |
| | | } |
| | | else { |
| | | layer.close(index); |
| | | layer.msg(get_MessageError(data1.Message, sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | } |
| | | $("#HBarCodeSN").val(""); |
| | | }, |
| | | error: function (err) { |
| | | layer.close(index); |
| | | layer.msg(get_MessageError("é误:" + err, sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | } |
| | | }); |
| | | $("#HBarCode_BatchSec").val(HBarCode); |
| | | const parts = HBarCode.split('@'); |
| | | $("#HBatchNo").val(parts[2]); |
| | | $("#HMaterNumber").val(data1.data[0]["HMaterNumber"]) |
| | | $("#HMaterName").val(data1.data[0]["HMaterName"]) |
| | | $("#HMaterModel").val(data1.data[0]["HMaterModel"]) |
| | | $("#HSupID").val(data1.data[0]["HSupID"]) |
| | | $("#HSupName").val(data1.data[0]["HSupName"]) |
| | | $("#HBarCode_Batch").prop("readonly", true); |
| | | } |
| | | else { |
| | | layer.close(indexs); |
| | | layer.msg(get_MessageError(data1.Message, sessionStorage["HTranSlate"])); |
| | | } |
| | | //å
æ 跳转å°SNæ¡ç ææ¬æ¡ä¸ |
| | | //$("#HBarCodeSN").focus(); |
| | | $("#HBarCodeSN").val(""); |
| | | |
| | | }, |
| | | error: function (err) { |
| | | layer.close(indexs); |