YL
2022-02-15 81c93ee7a4bc6735ad8f69ea0ee7244eaa58d73f
WebTM/views/ÖÊÁ¿¹ÜÀí/Ê×¼þ¼ìÑéµ¥/QC_FirstPieceCheckBillList.html
@@ -156,43 +156,43 @@
                , toolbar: '#toolbarDemo' //开启头部工具栏,并为其绑定左侧模板
                , defaultToolbar: ['filter', 'exports', 'print']
                // , where: { msg: "", NowPage: 1, OnePage: 10 }
              , cellMinWidth: 100
              , cols: [[
                  { type: 'checkbox', fixed: 'left' }
                  , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true }
                  , { field: 'hsubid', title: 'hsubid' ,hide: true }
                  , { field: '日期', title: '日期', sort: true, width: 120 }
                  , { field: '单据号', title: '单据号', sort: true, width: 170 }
                  , { field: '表头备注 ', title: '表头备注', width: 105 }
                  , { field: '生产资源名称', title: '生产资源名称' }
                  , { field: '生产资源代码', title: '生产资源代码' }
                  , { field: '产品内码', title: '产品内码' }
                  , { field: '产品名称', title: '产品名称' }
                  , { field: '产品型号', title: '产品型号', width: 115 }
                  , { field: '检验员代码', title: '检验员代码', width: 115 }
                  , { field: '检验员名称', title: '检验员名称' }
                  , { field: '制单人', title: '制单人', width: 160 }
                  , { field: '制单日期', title: '制单日期', width: 160 }
                  , { field: '审核人', title: '审核人', width: 160 }
                  , { field: '审核日期', title: '审核日期', width: 160 }
                  , { field: '修改人', title: '修改人', width: 160 }
                  , { field: '修改日期', title: '修改日期', width: 160 }
                  , { field: '关闭人', title: '关闭人', width: 160 }
                  , { field: '关闭日期', title: '关闭日期', width: 160 }
                  , { field: '作废人', title: '作废人', hide: true, width: 160 }
                  , { field: '作废日期 ', title: '作废日期', width: 215 }
                  , { field: '单据类型 ', title: '单据类型 ', width: 115 }
              ]]
                , cellMinWidth: 100
                , limit: 50 //每页默认显示的数量
                , limits: [50, 500, 5000, 20000]
                , cols: [[
                    { type: 'checkbox', fixed: 'left' }
                    , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true }
                    , { field: 'hsubid', title: 'hsubid', hide: true }
                    , { field: '日期', title: '日期', sort: true, width: 120 }
                    , { field: '单据号', title: '单据号', sort: true, width: 170 }
                    , { field: '表头备注 ', title: '表头备注', width: 105 }
                    , { field: '生产资源名称', title: '生产资源名称' }
                    , { field: '生产资源代码', title: '生产资源代码' }
                    , { field: '产品内码', title: '产品内码' }
                    , { field: '产品名称', title: '产品名称' }
                    , { field: '产品型号', title: '产品型号', width: 115 }
                    , { field: '检验员代码', title: '检验员代码', width: 115 }
                    , { field: '检验员名称', title: '检验员名称' }
                    , { field: '制单人', title: '制单人', width: 160 }
                    , { field: '制单日期', title: '制单日期', width: 160 }
                    , { field: '审核人', title: '审核人', width: 160 }
                    , { field: '审核日期', title: '审核日期', width: 160 }
                    , { field: '修改人', title: '修改人', width: 160 }
                    , { field: '修改日期', title: '修改日期', width: 160 }
                    , { field: '关闭人', title: '关闭人', width: 160 }
                    , { field: '关闭日期', title: '关闭日期', width: 160 }
                    , { field: '作废人', title: '作废人', hide: true, width: 160 }
                    , { field: '作废日期 ', title: '作废日期', width: 215 }
                    , { field: '单据类型 ', title: '单据类型 ', width: 115 }
                ]]
                //, skin: 'row' //表格风格
                // , even: true
            , page: true //是否显示分页
            , limits: [10, 20, 50, 100]
            , limit: 50 //每页默认显示的数量
                , page: true //是否显示分页
                //, height: 500
            , done: function (res, curr, count) {
                _cur_page = curr;
                layer.closeAll("loading");
            }
                , done: function (res, curr, count) {
                    _cur_page = curr;
                    layer.closeAll("loading");
                }
            });
            //头工具栏事件
@@ -237,7 +237,7 @@
                            $.ajax({
                                url: GetWEBURL() + 'DeltetQC_FirstPieceCheck',
                                type: "GET",
                                data: { "HInterID": InterID },
                                data: { "HInterID": InterID, "user": sessionStorage["HUserName"]},
                                success: function (result) {
                                    console.log('gouba' + result);
                                    if (result.count == 1) {
@@ -275,7 +275,7 @@
                    type: "get",
                    url: GetWEBURL() +"/QC_Management/MES_QC_FirstPieceCheckBillList_Json",
                    async: true,
                    data: { "sqlWhere": sqlWhere },//"HSupNo": sessionStorage["HUserName"],
                    data: { "sqlWhere": sqlWhere, "user": sessionStorage["HUserName"] },//"HSupNo": sessionStorage["HUserName"],
                    success: function (result) {
                        if (result.count == 1) {
                        ajaxReturnData = JSON.parse(JSON.stringify(result)).data;