jingh
2021-01-24 316f4dc257194be09bbd29294ab80d0427767a75
WebTM/views/¹¤Ðò»ã±¨/MES_StationInBillList.html
@@ -144,47 +144,44 @@
                ,height: 'full-50' 
                , page: true
                , cols: [[
                    //{ field: 'hmainid', title: 'hmainid', width: 85 }
                    { field: '日期', title: '日期', sort: true, width: 110 }
                    , { field: '订单跟踪号', title: '订单跟踪号', width: 110 }
                    , { field: '单据号', title: '单据号', sort: true, width: 165 }
                    , { field: '生产订单', title: '生产订单', width: 175 }
                    , { field: '流转卡号', title: '流转卡号', width: 170 }
                    //, { field: 'HMaterID', title: 'HMaterID', width: 95 }
                    , { field: '产品代码', title: '产品代码', width: 165 }
                    , { field: '产品名称', title: '产品名称', width: 160 }
                    , { field: '规格型号', title: '规格型号', width: 220 }
                    , { field: '计量单位', title: '计量单位', width: 95 }
                    , { field: '流水号', title: '流水号', width: 80 }
                    //, { field: 'HCenterID', title: 'HCenterID', width: 105 }
                    , { field: '工作中心', title: '工作中心', width: 95 }
                    //, { field: 'HProcID', title: 'HProcID', width: 90 }
                    , { field: '工序', title: '工序', width: 95 }
                    //, { field: 'HEmpID', title: 'HEmpID', width: 90 }
                    , { field: '接收人', title: '接收人', width: 80 }
                    , { field: '进站接收数量', title: '进站接收数量', width: 120 }
                    , { field: '进站时间', title: '进站时间', width: 182 }
                    , { field: '制单人', title: '制单人', width: 80 }
                    , { field: '制单日期', title: '制单日期', width: 182 }
                    , { field: '修改人', title: '修改人', width: 80 }
                    , { field: '修改日期', title: '修改日期', width: 182 }
                    , { field: '流转卡数量', title: '流转卡数量', width: 105 }
                    //{ field: 'HEmpID', title: 'HEmpID', sort: true, width: 110 }
                    //, { field: 'HGroupID', title: 'HGroupID', width: 110 }
                    //, { field: 'HMaterID', title: 'HMaterID', sort: true, width: 165 }
                    //, { field: 'HProcID', title: 'HProcID', width: 175 }
                    //, { field: 'HSourceID', title: 'HSourceID', width: 170 }
                    { field: '进站时间', title: '进站时间', width: 120 }
                    , { field: '任务单', title: '任务单', width: 80 }
                    , { field: '工序流转卡号', title: '工序流转卡号', width: 165 }
                    , { field: '产品代码', title: '产品代码', width: 100 }
                    , { field: '产品名称', title: '产品名称', width: 100 }
                    , { field: '规格型号', title: '规格型号', width: 100 }
                    , { field: '当前工序', title: '当前工序', width: 100 }
                    , { field: 'LOT数量', title: '订单数量', width: 100 }
                    , { field: '接收数量', title: '接收数量', width: 100 }
                    , { field: '生产班组', title: '生产班组', width: 100 }
                    , { field: '生产资源', title: '生产资源', width: 100 }
                    , { field: '操作员', title: '操作员', width: 100 }
                    //, { field: 'hmainid', title: 'hmainid', width: 160 }
                    //, { field: '当前工序代码', title: '当前工序代码', width: 80 }
                    //, { field: '操作员代码', title: '操作员代码', width: 80 }
                    //, { field: '生产班组代码', title: '生产班组代码', width: 80 }
                    //, { field: '生产资源代码', title: '生产资源代码', width: 105 }
                ]]
            };
            //进入页面显示的缓存列表
            $.ajax({
                //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",
                url: GetWEBURL1() + '/LEMS/MES_StationInBillList_Json',
                url: GetWEBURL1() + '/api/newBill/getStationInBillList',
                type: "GET",
                data: { "sWhere": sWhere },
                success: function (data1) {
                    console.log(data1)
                    if (data1.count == 1) {
                        option.data = data1.data;
                    if (data1.code == 1) {
                        option.data = data1.data.h_v_MES_StationInBillList;
                        table.render(option);
                    } else {
                        layer.alert(data1.code + data1.Message, { icon: 5 });
                        layer.alert(data1.code + data1.msg, { icon: 5 });
                    }
                }, error: function () {
                    layer.msg("接口请求失败!", {
@@ -248,16 +245,16 @@
                }
                $.ajax({
                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",
                    url: GetWEBURL1() + '/LEMS/MES_StationInBillList_Json',
                    url: GetWEBURL1() + '/api/newBill/getStationInBillList',
                    type: "GET",
                    data: { "sWhere": sWhere },
                    success: function (data1) {
                        if (data1.count == 1) {
                            option.data = data1.data;
                        if (data1.code == 1) {
                            option.data = data1.data.h_v_MES_StationInBillList;
                            table.render(option);
                            layer.alert("查询成功", { icon: 1 });
                        } else {
                            layer.alert(data1.code + data1.Message, { icon: 5 });
                            layer.alert(data1.code + data1.msg, { icon: 5 });
                        }
                    }, error: function () {
                        layer.alert("接口失效!", { icon: 5 });