| | |
| | | <!DOCTYPE html> |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| | | <title>çäº§å·¥åºæ±æ¥åå表</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <title>çäº§å·¥åºæ´¾å·¥åå表</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> |
| | | <script src="../../../layuiadmin/layui/layui.js"></script> |
| | | |
| | | <script src="../../../layuiadmin/soulTable.slim.js"></script> |
| | | |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid"> |
| | |
| | | <div class="layui-btn-container"> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>é¢è§</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>驳å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>详æ
</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>çæéè´§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>确认</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>驳å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>详æ
</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>çæéè´§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>éåº</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Add"><i class="layui-icon layui-icon-file-b"></i>æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Edit"><i class="layui-icon layui-icon-form"></i>ç¼è¾</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Pushdown"><i class="layui-icon layui-icon-form"></i>䏿¨</button> |
| | | |
| | | </div> |
| | |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index', //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'table', 'element', 'laypage','laydate'], function () { |
| | | }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate','soulTable'], function () { |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , layer = layui.layer |
| | |
| | | , element = layui.element |
| | | , laypage = layui.laypage |
| | | , laydate = layui.laydate |
| | | , soulTable = layui.soulTable |
| | | //var sWhere = " 产å代ç = 'BX0002'"; |
| | | var sWhere = ""; |
| | | |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | ,height: 'full-50' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , done: function (res, curr, count) { |
| | | soulTable.render(this); |
| | | } |
| | | , cols: [[ |
| | | //{ field: 'hmainid', title: 'hmainid', sort: true, width: 165 } |
| | | { type: 'checkbox' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | ,{ field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'HDeptID ', title: 'HDeptID', width: 105 } |
| | | , { field: 'é¨é¨ä»£ç ', title: 'é¨é¨ä»£ç ' } |
| | | , { field: 'é¨é¨', title: 'é¨é¨' } |
| | | , { field: 'HMaterID', title: 'HMaterID' } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ' } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 115 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 115 } |
| | | , { field: 'HUnitID', title: 'HUnitID' } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 160 } |
| | | , { field: '计éåä½', title: '计éåä½', width: 160 } |
| | | , { field: 'HprocID ', title: 'HprocID', width: 215 } |
| | | ////, { field: 'hunitid', title: 'hunitid' } |
| | | , { field: 'å·¥åºä»£ç ', title: 'å·¥åºä»£ç ', width: 115 } |
| | | , { field: 'å·¥åº', title: 'å·¥åº' } |
| | | ////, { field: 'hempid', title: 'hempid' } |
| | | , { field: 'HGroupID ', title: 'HGroupID', width: 100 } |
| | | , { field: 'çç»ä»£ç ', title: 'çç»ä»£ç ' } |
| | | , { field: 'çç»åç§°', title: 'çç»åç§°' } |
| | | , { field: 'HSourceID', title: 'HSourceID' } |
| | | , { field: 'èµæºä»£ç ', title: 'èµæºä»£ç ' } |
| | | ////, { field: 'HCenterID', title: 'HCenterID' } |
| | | , { field: 'çäº§èµæº', title: 'çäº§èµæº' } |
| | | , { field: 'HWorkerID ', title: 'HWorkerID' } |
| | | ////, { field: 'hbomid', title: 'hbomid' } |
| | | , { field: 'èå代ç ', title: 'èå代ç ' } |
| | | ////, { field: 'HRoutingInterID', title: 'HRoutingInterID' } |
| | | , { field: 'èå ', title: 'èå' } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true } |
| | | , { field: 'æ°é', title: 'æ°é' } |
| | | , { field: '计åå¼å·¥æ¥æ', title: '计åå¼å·¥æ¥æ' } |
| | | , { field: '计åå®å·¥æ¥æ', title: '计åå®å·¥æ¥æ' } |
| | | , { field: '计åå·¥æ¶', title: '计åå·¥æ¶' } |
| | | , { field: '表ä½å¤æ³¨', title: '表ä½å¤æ³¨' } |
| | | , { field: 'HICMOInterID', title: 'HICMOInterID ' } |
| | | , { field: 'ç产任å¡åå·', title: 'ç产任å¡åå·' } |
| | | , { field: 'HSeOrderInterID', title: 'HSeOrderInterID' } |
| | | , { field: 'éå®è®¢åå·', title: 'éå®è®¢åå·' } |
| | | ////, { field: 'hsubid', title: 'hsubid' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ' } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº ' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'å
³é人', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ' } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ' } |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: 'æºåç±»å', title: 'æºåç±»å' } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人' } |
| | | , { field: 'HBillType', title: 'HBillType' } |
| | | , { field: 'HQtyDecimal', title: 'HQtyDecimal' } |
| | | , { field: 'HPriceDecimal', title: 'HPriceDecimal' } |
| | | , { field: 'HDeptID ', title: 'HDeptID', width: 105, sort: true } |
| | | , { field: 'é¨é¨ä»£ç ', title: 'é¨é¨ä»£ç ', sort: true } |
| | | , { field: 'é¨é¨', title: 'é¨é¨', sort: true } |
| | | , { field: 'HMaterID', title: 'HMaterID', sort: true } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', sort: true } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 115, sort: true } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 115, sort: true } |
| | | , { field: 'HUnitID', title: 'HUnitID', sort: true } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 160, sort: true } |
| | | , { field: '计éåä½', title: '计éåä½', width: 160, sort: true } |
| | | , { field: 'HprocID ', title: 'HprocID', width: 215, sort: true } |
| | | , { field: 'å·¥åºä»£ç ', title: 'å·¥åºä»£ç ', width: 115, sort: true } |
| | | , { field: 'å·¥åº', title: 'å·¥åº', sort: true } |
| | | , { field: 'HGroupID ', title: 'HGroupID', width: 100, sort: true } |
| | | , { field: 'çç»ä»£ç ', title: 'çç»ä»£ç ', sort: true } |
| | | , { field: 'çç»åç§°', title: 'çç»åç§°', sort: true } |
| | | , { field: 'HSourceID', title: 'HSourceID', sort: true } |
| | | , { field: 'èµæºä»£ç ', title: 'èµæºä»£ç ', sort: true } |
| | | , { field: 'çäº§èµæº', title: 'çäº§èµæº', sort: true } |
| | | , { field: 'HWorkerID ', title: 'HWorkerID', sort: true } |
| | | , { field: 'èå代ç ', title: 'èå代ç ', sort: true } |
| | | , { field: 'èå ', title: 'èå', sort: true } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true, sort: true } |
| | | , { field: 'æ°é', title: 'æ°é', sort: true } |
| | | , { field: '计åå¼å·¥æ¥æ', title: '计åå¼å·¥æ¥æ', sort: true } |
| | | , { field: '计åå®å·¥æ¥æ', title: '计åå®å·¥æ¥æ', sort: true } |
| | | , { field: '计åå·¥æ¶', title: '计åå·¥æ¶', sort: true } |
| | | , { field: '表ä½å¤æ³¨', title: '表ä½å¤æ³¨', sort: true } |
| | | , { field: 'HICMOInterID', title: 'HICMOInterID ', sort: true } |
| | | , { field: 'ç产任å¡åå·', title: 'ç产任å¡åå·', sort: true } |
| | | , { field: 'HSeOrderInterID', title: 'HSeOrderInterID', sort: true } |
| | | , { field: 'éå®è®¢åå·', title: 'éå®è®¢åå·', sort: true } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨', sort: true } |
| | | , { field: 'å¶å人', title: 'å¶å人', sort: true } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', sort: true } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº', sort: true } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ', sort: true } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº ', sort: true } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ', sort: true } |
| | | , { field: 'å
³é人', title: 'å
³é人', sort: true } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ', sort: true } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº', sort: true } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ', sort: true } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ', sort: true } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ', sort: true } |
| | | , { field: 'æºååå·', title: 'æºååå·', sort: true } |
| | | , { field: 'æºåç±»å', title: 'æºåç±»å', sort: true } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人', sort: true } |
| | | , { field: 'HBillType', title: 'HBillType', sort: true } |
| | | , { field: 'HQtyDecimal', title: 'HQtyDecimal', sort: true } |
| | | , { field: 'HPriceDecimal', title: 'HPriceDecimal', sort: true } |
| | | |
| | | ]] |
| | | }; |
| | |
| | | |
| | | } |
| | | break; |
| | | case 'add': |
| | | var date = new Date(); |
| | | var day = date.getDate(); |
| | | var month = date.getMonth() + 1; |
| | | var year = date.getFullYear(); |
| | | var shijian = year + "/" + month + "/" + day; |
| | | layer.msg(shijian); |
| | | //æ·»å |
| | | case 'btn-Add': |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'å·¥åºè®¡åå', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['100%', '100%'], |
| | | maxmin: true, |
| | | content: '../../ç产工åºç®¡ç/å·¥åºæ±æ¥å/Sc_Add_ProcessReportList.html?HInterID=-1&OperationType=1&linterid=0&HSouceBillType=0&linteridSub=-1', |
| | | end: function () { |
| | | //å·æ°é¡µé¢, |
| | | location.reload(); |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | break; |
| | | case '': |
| | | layer.msg(''); |
| | |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Sc_ProcessMangement/MES_Sc_ProcessSendWorkMain_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_ProcessMangement/MES_Sc_ProcessSendWorkMain_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |