zrg
2024-03-29 19f763d7e63ea702787f636204e6f2a6cc73dd9c
Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI
43个文件已修改
1338 ■■■■ 已修改文件
WebTM/views/Baseset/基础资料/Sc_ProcessExchangeBillListView.html 223 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/品质管理/客诉处理/Crm_CustomerAppealBill_KaiBei.html 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Add_Edit_Gy_CheckItem.html 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Gy_MaterType.html 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Gy_Material.html 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Gy_MouldType.html 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Gy_QCCheckClass.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Gy_StockPlace_List.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Gy_Unit.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Gy_WorkCenter.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/生产基础资料/Gy_Process.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/器具点检规程单/Sc_MouldDotCheckRuleBillEdit.html 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/器具维修派工单/Sc_MouldRepairSendWorkBillEdit.html 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/器具维修派工单/Sc_MouldRepairSendWorkBillList.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/模治具管理/Gy_MaterialMouldBillMain.html 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/模治具管理/Gy_MouldFile.html 51 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/模治具管理/Sb_Add_MouldRepairWorkBillList.html 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/模治具管理/Sb_MouldRepairWorkBillList.html 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/模治具管理/Sc_Add_MouldRepairCheckBillList.html 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/模治具管理/Sc_MouldConkBookBillList.html 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产工序管理/增加不良评审单/QC_Add_NoPassProdCheckBill.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产工序管理/工序计划单/Sc_ProcessPlanList.html 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/异常反馈单/OA_ErrMsgBackHandleBillMain.html 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/异常反馈单/OA_ErrMsgBackReceiveBillMain.html 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/异常反馈单/OA_ErrMsgBackSignBillMain.html 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/异常反馈单/Sc_Add_MESExecptFeedBackBillList.html 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产任务单/Sc_ICMOBillList.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/Sb_EquipDotCheckBillEdit.html 37 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/Sb_EquipDotCheckPlanBillEdit.html 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/Sb_EquipMaintainBillEdit.html 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/Sb_EquipMaintainPlanBillEdit.html 37 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/设备档案/Gy_EquipFileMainList.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/设备规程单/Sb_EquipDotCheckRuleEdit.html 43 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/设备规程单/Sb_EquipMaintainRuleEdit.html 37 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/产品入库检验单/QC_LastPieceCheckBill.html 105 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/出厂检验单/QC_OutCompCheckBill.html 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/基础建模/Gy_ErrMsgBackType.html 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/巡检记录单/QC_Add_Edit_PatrolProcCheckBill.html 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/工序检验单/QC_ProcessCheckBill.html 43 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/来料检验单/QC_Add_Edit_POStockInCheckBillList.html 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/检验方案单/QC_Add_CheckProject.html 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/检验方案单/QC_CheckProjectList.html 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/首件检验单/QC_Add_Edit_FirstPieceCheckBill.html 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/Baseset/»ù´¡×ÊÁÏ/Sc_ProcessExchangeBillListView.html
@@ -28,7 +28,7 @@
            </div>
        </div>
    </div>
    <table class="layui-hide" id="mainTable"></table>
    <table class="" id="mainTable" lay-filter="mainTable"></table>
    <script src="../../../layuiadmin/layui/layui.js"></script>
    <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
@@ -37,8 +37,8 @@
        //引用的单据及模块:工序流转卡。
        layui.use(['table', 'form', 'layer'], function () {
            var table = layui.table
            , form = layui.form
            , layer = layui.layer;
                , form = layui.form
                , layer = layui.layer;
            form.on('submit(HQuery)', function () {//选择单位
                //var sMainStr = JSON.stringify(table.cache['mainTable']);
@@ -47,117 +47,128 @@
            form.on('submit(FH)', function () {//选择单位
                //var sMainStr = JSON.stringify(table.cache['mainTable']);
                var checkStatus = table.checkStatus('mainTable')
                 , data = checkStatus.data;
                    , data = checkStatus.data;
                parent.GetProcessExchangeValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            RoadQuery($('#Value').val());
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetProcExValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            table.render({
                elem: '#mainTable'
                // , url: '/demo/table/user/'
               , data: []
              , cellMinWidth: 80 //全局定义常规单元格的最小宽度,layui 2.2.1 æ–°å¢ž
              , cols: [[
                  { type: 'radio' }
                  , { field: 'hmainid', width: 150, title: 'hmainid', hide: true }
                  , { field: 'hicmointerid', width: 150, title: 'hicmointerid', hide: true }
                  , { field: 'HICMOEntryID', width: 150, title: 'HICMOEntryID', hide: true }
                  , { field: 'HWorkShopID', width: 150, title: 'HWorkShopID', hide: true }
                  , { field: 'HMaterID', width: 150, title: 'HMaterID', hide: true }
                  , { field: 'HUnitID', width: 150, title: 'HUnitID', hide: true }
                  , { field: 'HSupID', width: 150, title: 'HSupID', hide: true }
                  , { field: 'hsubid', width: 150, title: 'hsubid', hide: true }
                  , { field: 'HProcID', width: 150, title: 'HProcID', hide: true }
                  , { field: 'HCenterID', width: 150, title: 'HCenterID', hide: true }
                  , { field: 'HDeptID', width: 150, title: 'HDeptID', hide: true }
                  , { field: 'HGroupID', width: 150, title: 'HGroupID', hide: true }
                  , { field: 'HWorkerID', width: 150, title: 'HWorkerID', hide: true }
                  , { field: 'HSourceID', width: 150, title: 'HSourceID', hide: true }
                  , { field: 'HBillType', width: 150, title: 'HBillType', hide: true }
                  , { field: '日期', width: 150, title: '日期' }
                  , { field: '单据号', width: 150, title: '单据号' }
                  , { field: '任务单号', width: 150, title: '任务单号' }
                  , { field: '生产订单号', width: 150, title: '生产订单号' }
                  , { field: '生产车间代码', width: 150, title: '生产车间代码' }
                  , { field: '生产车间', width: 150, title: '生产车间' }
                  , { field: '产品代码', width: 150, title: '产品代码' }
                  , { field: '产品', width: 150, title: '产品' }
                  , { field: '规格型号', width: 150, title: '规格型号' }
                  , { field: '批号', width: 150, title: '批号' }
                  , { field: '单位代码', width: 150, title: '单位代码' }
                  , { field: '单位', width: 150, title: '单位' }
                  , { field: '生产数量', width: 150, title: '生产数量' }
                  , { field: '任务单数量', width: 150, title: '任务单数量' }
                  , { field: '订单跟踪号', width: 150, title: '订单跟踪号' }
                  , { field: '计划开工日期', width: 150, title: '计划开工日期' }
                  , { field: '计划完工日期', width: 150, title: '计划完工日期' }
                  , { field: '摘要', width: 150, title: '摘要' }
                  , { field: '内部单据号', width: 150, title: '内部单据号' }
                  , { field: '委外订单内码', width: 150, title: '委外订单内码' }
                  , { field: '委外订单子内码', width: 150, title: '委外订单子内码' }
                  , { field: '委外订单号', width: 150, title: '委外订单号' }
                  , { field: '供应商代码', width: 150, title: '供应商代码' }
                  , { field: '供应商', width: 150, title: '供应商' }
                  , { field: '委外加工单位', width: 150, title: '委外加工单位' }
                  , { field: '表头备注', width: 150, title: '表头备注' }
                  , { field: '工序号', width: 150, title: '工序号' }
                  , { field: '工序代码', width: 150, title: '工序代码' }
                  , { field: '工序', width: 150, title: '工序' }
                  , { field: '加工说明', width: 150, title: '加工说明' }
                  , { field: '工作中心代码', width: 150, title: '工作中心代码' }
                  , { field: '工作中心', width: 150, title: '工作中心' }
                  , { field: '加工车间代码', width: 150, title: '加工车间代码' }
                  , { field: '加工车间', width: 150, title: '加工车间' }
                  , { field: '班组代码', width: 150, title: '班组代码' }
                  , { field: '班组', width: 150, title: '班组' }
                  , { field: '操作工代码', width: 150, title: '操作工代码' }
                  , { field: '操作工', width: 150, title: '操作工' }
                  , { field: '生产资源代码', width: 150, title: '生产资源代码' }
                  , { field: '生产资源', width: 150, title: '生产资源' }
                  , { field: '计划数量', width: 150, title: '计划数量' }
                  , { field: '流转卡数量', width: 150, title: '流转卡数量' }
                  , { field: '时间单位', width: 150, title: '时间单位' }
                  , { field: '工序计划加工时间', width: 150, title: '工序计划加工时间' }
                  , { field: '子计划开工日期', width: 150, title: '子计划开工日期' }
                  , { field: '子计划完工日期', width: 150, title: '子计划完工日期' }
                  , { field: '实际开工日期', width: 150, title: '实际开工日期' }
                  , { field: '实际完工日期', width: 150, title: '实际完工日期' }
                  , { field: '开工余量天数', width: 150, title: '开工余量天数' }
                  , { field: '开工余量固数', width: 150, title: '开工余量固数' }
                  , { field: '上道固定天数', width: 150, title: '上道固定天数' }
                  , { field: '生产周期', width: 150, title: '生产周期' }
                  , { field: '加工单价', width: 150, title: '加工单价' }
                  , { field: '加工费用金额', width: 150, title: '加工费用金额' }
                  , { field: '末道工序', width: 150, title: '末道工序' }
                  , { field: '首道工序', width: 150, title: '首道工序' }
                  , { field: '下道流转工序', width: 150, title: '下道流转工序' }
                  , { field: '流转标记', width: 150, title: '流转标记' }
                  , { field: '委外标记', width: 150, title: '委外标记' }
                  , { field: '行关闭人', width: 150, title: '行关闭人' }
                  , { field: '关闭类型', width: 150, title: '关闭类型' }
                  , { field: '表体备注', width: 150, title: '表体备注' }
                  , { field: '制单人', width: 150, title: '制单人' }
                  , { field: '制单日期', width: 150, title: '制单日期' }
                  , { field: '审核人', width: 150, title: '审核人' }
                  , { field: '审核日期', width: 150, title: '审核日期' }
                  , { field: '修改人', width: 150, title: '修改人' }
                  , { field: '修改日期', width: 150, title: '修改日期' }
                  , { field: '关闭人', width: 150, title: '关闭人' }
                  , { field: '关闭日期', width: 150, title: '关闭日期' }
                  , { field: '作废人', width: 150, title: '作废人' }
                  , { field: '作废日期', width: 150, title: '作废日期' }
                  , { field: '拆分数量', width: 150, title: '拆分数量' }
                  , { field: '剩余数量', width: 150, title: '剩余数量' }
                  , { field: '不良品关联数量', width: 150, title: '不良品关联数量' }
                  , { field: '进站关联数量', width: 150, title: '进站关联数量' }
                  , { field: '出站关联数量', width: 150, title: '出站关联数量' }
                  , { field: '排序号', width: 150, title: '排序号' }
                  , { field: '源单主内码', width: 150, title: '源单主内码' }
                  , { field: '源单子内码', width: 150, title: '源单子内码' }
                  , { field: '源单单号', width: 150, title: '源单单号' }
                  , { field: '源单类型', width: 150, title: '源单类型' }
              ]]
                , data: []
                , cellMinWidth: 80 //全局定义常规单元格的最小宽度,layui 2.2.1 æ–°å¢ž
                , cols: [[
                    { type: 'check' }
                    , { field: 'hmainid', width: 150, title: 'hmainid', hide: true }
                    , { field: 'hicmointerid', width: 150, title: 'hicmointerid', hide: true }
                    , { field: 'HICMOEntryID', width: 150, title: 'HICMOEntryID', hide: true }
                    , { field: 'HWorkShopID', width: 150, title: 'HWorkShopID', hide: true }
                    , { field: 'HMaterID', width: 150, title: 'HMaterID', hide: true }
                    , { field: 'HUnitID', width: 150, title: 'HUnitID', hide: true }
                    , { field: 'HSupID', width: 150, title: 'HSupID', hide: true }
                    , { field: 'hsubid', width: 150, title: 'hsubid', hide: true }
                    , { field: 'HProcID', width: 150, title: 'HProcID', hide: true }
                    , { field: 'HCenterID', width: 150, title: 'HCenterID', hide: true }
                    , { field: 'HDeptID', width: 150, title: 'HDeptID', hide: true }
                    , { field: 'HGroupID', width: 150, title: 'HGroupID', hide: true }
                    , { field: 'HWorkerID', width: 150, title: 'HWorkerID', hide: true }
                    , { field: 'HSourceID', width: 150, title: 'HSourceID', hide: true }
                    , { field: 'HBillType', width: 150, title: 'HBillType', hide: true }
                    , { field: '日期', width: 150, title: '日期' }
                    , { field: '单据号', width: 150, title: '单据号' }
                    , { field: '任务单号', width: 150, title: '任务单号' }
                    , { field: '生产订单号', width: 150, title: '生产订单号' }
                    , { field: '生产车间代码', width: 150, title: '生产车间代码' }
                    , { field: '生产车间', width: 150, title: '生产车间' }
                    , { field: '产品代码', width: 150, title: '产品代码' }
                    , { field: '产品', width: 150, title: '产品' }
                    , { field: '规格型号', width: 150, title: '规格型号' }
                    , { field: '批号', width: 150, title: '批号' }
                    , { field: '单位代码', width: 150, title: '单位代码' }
                    , { field: '单位', width: 150, title: '单位' }
                    , { field: '生产数量', width: 150, title: '生产数量' }
                    , { field: '任务单数量', width: 150, title: '任务单数量' }
                    , { field: '订单跟踪号', width: 150, title: '订单跟踪号' }
                    , { field: '计划开工日期', width: 150, title: '计划开工日期' }
                    , { field: '计划完工日期', width: 150, title: '计划完工日期' }
                    , { field: '摘要', width: 150, title: '摘要' }
                    , { field: '内部单据号', width: 150, title: '内部单据号' }
                    , { field: '委外订单内码', width: 150, title: '委外订单内码' }
                    , { field: '委外订单子内码', width: 150, title: '委外订单子内码' }
                    , { field: '委外订单号', width: 150, title: '委外订单号' }
                    , { field: '供应商代码', width: 150, title: '供应商代码' }
                    , { field: '供应商', width: 150, title: '供应商' }
                    , { field: '委外加工单位', width: 150, title: '委外加工单位' }
                    , { field: '表头备注', width: 150, title: '表头备注' }
                    , { field: '工序号', width: 150, title: '工序号' }
                    , { field: '工序代码', width: 150, title: '工序代码' }
                    , { field: '工序', width: 150, title: '工序' }
                    , { field: '加工说明', width: 150, title: '加工说明' }
                    , { field: '工作中心代码', width: 150, title: '工作中心代码' }
                    , { field: '工作中心', width: 150, title: '工作中心' }
                    , { field: '加工车间代码', width: 150, title: '加工车间代码' }
                    , { field: '加工车间', width: 150, title: '加工车间' }
                    , { field: '班组代码', width: 150, title: '班组代码' }
                    , { field: '班组', width: 150, title: '班组' }
                    , { field: '操作工代码', width: 150, title: '操作工代码' }
                    , { field: '操作工', width: 150, title: '操作工' }
                    , { field: '生产资源代码', width: 150, title: '生产资源代码' }
                    , { field: '生产资源', width: 150, title: '生产资源' }
                    , { field: '计划数量', width: 150, title: '计划数量' }
                    , { field: '流转卡数量', width: 150, title: '流转卡数量' }
                    , { field: '时间单位', width: 150, title: '时间单位' }
                    , { field: '工序计划加工时间', width: 150, title: '工序计划加工时间' }
                    , { field: '子计划开工日期', width: 150, title: '子计划开工日期' }
                    , { field: '子计划完工日期', width: 150, title: '子计划完工日期' }
                    , { field: '实际开工日期', width: 150, title: '实际开工日期' }
                    , { field: '实际完工日期', width: 150, title: '实际完工日期' }
                    , { field: '开工余量天数', width: 150, title: '开工余量天数' }
                    , { field: '开工余量固数', width: 150, title: '开工余量固数' }
                    , { field: '上道固定天数', width: 150, title: '上道固定天数' }
                    , { field: '生产周期', width: 150, title: '生产周期' }
                    , { field: '加工单价', width: 150, title: '加工单价' }
                    , { field: '加工费用金额', width: 150, title: '加工费用金额' }
                    , { field: '末道工序', width: 150, title: '末道工序' }
                    , { field: '首道工序', width: 150, title: '首道工序' }
                    , { field: '下道流转工序', width: 150, title: '下道流转工序' }
                    , { field: '流转标记', width: 150, title: '流转标记' }
                    , { field: '委外标记', width: 150, title: '委外标记' }
                    , { field: '行关闭人', width: 150, title: '行关闭人' }
                    , { field: '关闭类型', width: 150, title: '关闭类型' }
                    , { field: '表体备注', width: 150, title: '表体备注' }
                    , { field: '制单人', width: 150, title: '制单人' }
                    , { field: '制单日期', width: 150, title: '制单日期' }
                    , { field: '审核人', width: 150, title: '审核人' }
                    , { field: '审核日期', width: 150, title: '审核日期' }
                    , { field: '修改人', width: 150, title: '修改人' }
                    , { field: '修改日期', width: 150, title: '修改日期' }
                    , { field: '关闭人', width: 150, title: '关闭人' }
                    , { field: '关闭日期', width: 150, title: '关闭日期' }
                    , { field: '作废人', width: 150, title: '作废人' }
                    , { field: '作废日期', width: 150, title: '作废日期' }
                    , { field: '拆分数量', width: 150, title: '拆分数量' }
                    , { field: '剩余数量', width: 150, title: '剩余数量' }
                    , { field: '不良品关联数量', width: 150, title: '不良品关联数量' }
                    , { field: '进站关联数量', width: 150, title: '进站关联数量' }
                    , { field: '出站关联数量', width: 150, title: '出站关联数量' }
                    , { field: '排序号', width: 150, title: '排序号' }
                    , { field: '源单主内码', width: 150, title: '源单主内码' }
                    , { field: '源单子内码', width: 150, title: '源单子内码' }
                    , { field: '源单单号', width: 150, title: '源单单号' }
                    , { field: '源单类型', width: 150, title: '源单类型' }
                ]]
                , page: true
                , limits: [50, 500, 5000, 50000]
                , limit: 50
WebTM/views/Æ·ÖʹÜÀí/¿ÍËß´¦Àí/Crm_CustomerAppealBill_KaiBei.html
@@ -1413,7 +1413,7 @@
        //#endregion
        //#region æ ¹æ®ç‰©æ–™å†…码获取相关信息-物料分类
        function getMaterTypeByID(HMaterID) {
            window.getMaterTypeByID = function(HMaterID) {
            $.ajax({
                url: GetWEBURL() + "/Crm_CustomerAppealBill/getInfoByHMaterID",
                type: "GET",
@@ -1484,6 +1484,20 @@
                });
            })
        }
        function GetMaterValue(obj) {  //物料
            $("#HMaterID").val(checkStatus.data[0].HItemID);//产品内码
            $("#HMaterNumber1").val(checkStatus.data[0].物料代码);//产品代码
            $("#HMaterName").val(checkStatus.data[0].物料名称);//产品名称
            $("#HMaterModel").val(checkStatus.data[0].规格型号);
            $("#HUnitID").val(checkStatus.data[0].HUnitID);
            $("#HUnitName").val(checkStatus.data[0].计量单位名称);
            var HMaterID = checkStatus.data[0].HItemID;
            getMaterTypeByID(HMaterID);
        }
    </script>
</body>
</html>
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Add_Edit_Gy_CheckItem.html
@@ -315,6 +315,12 @@
                });
            });
        });
        function GetQCCheckClassValue(obj) {  //检验项目类别
            $("#HQCCheckClassName").val(obj[0].名称);
            $("#HQCCheckClassID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_MaterType.html
@@ -181,7 +181,16 @@
                get_FastQuery();
            });
            //#endregion
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetMaterTypeValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#region æœ¬é¡µé¢è¢«è°ƒç”¨çš„æ‰€æœ‰æ–¹æ³•
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_Material.html
@@ -280,9 +280,15 @@
            })
            //#endregion
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetMaterValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#region æœ¬é¡µé¢è¢«è°ƒç”¨çš„æ‰€æœ‰æ–¹æ³•
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_MouldType.html
@@ -141,6 +141,17 @@
                get_FastQuery();
            });
            //#endregion
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetMouldTypeValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //初始化表格
            function set_ClearBill() {
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_QCCheckClass.html
@@ -206,6 +206,16 @@
                get_FastQuery();
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetQCCheckClassValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#endregion
            //#region æœ¬é¡µé¢æ‰€æœ‰è¢«è°ƒç”¨çš„æ–¹æ³•
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_StockPlace_List.html
@@ -167,6 +167,16 @@
         //#endregion
         //#region åŒå‡»è¿”回数据
         table.on('rowDouble(mainTable)', function (obj) {
             var data = [];
             data.push(obj.data);
             parent.GetStockPlaceValue(data);
             var index = parent.layer.getFrameIndex(window.name);
             parent.layer.close(index);
         });
         //#endregion
         //#region é‡ç½®è¿‡æ»¤æ¡ä»¶
            function set_ClearQuery() {
                $("#HNumber").val("");
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_Unit.html
@@ -364,6 +364,16 @@
            });
            //#endregion
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetUnitValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //重新同步按钮
            function set_ResCnz() {
                var HNumber2 = $('#HNumber2').val();
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_WorkCenter.html
@@ -219,6 +219,16 @@
            });
            //#endregion
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetWorkCenterValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            ////#region ä¿®æ”¹æŒ‰é’®
            //form.on('submit(btnModify)', function (data) {
            //    if (TagId != "") {
WebTM/views/»ù´¡×ÊÁÏ/Éú²ú»ù´¡×ÊÁÏ/Gy_Process.html
@@ -216,6 +216,16 @@
            });
            //#endregion
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetProcessValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#endregion
            //#region æœ¬é¡µé¢æ‰€æœ‰è¢«è°ƒç”¨çš„æ–¹æ³•
WebTM/views/Ä£Öξ߹ÜÀí/Æ÷¾ßµã¼ì¹æ³Ìµ¥/Sc_MouldDotCheckRuleBillEdit.html
@@ -676,6 +676,12 @@
            }
            //#endregion
        });
        function GetMouldFileValue(obj) {  //器具档案
            $("#HMouldID").val(obj[0].hmainid);//器具id
            $("#HMouldNum").val(obj[0].模具名称);//器具名称
        }
    </script>
</body>
</html>
WebTM/views/Ä£Öξ߹ÜÀí/Æ÷¾ßάÐÞÅɹ¤µ¥/Sc_MouldRepairSendWorkBillEdit.html
@@ -543,7 +543,7 @@
                    , area: ['90%', '90%'] //大小
                    , title: '人员表' //标题
                    , shift: 2 //弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HManager', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮一 çš„回调
                        var iframeWindow = window['layui-layer-iframe' + index] //获取弹窗页面
@@ -569,7 +569,7 @@
                    , area: ['90%', '90%'] //大小
                    , title: '人员表' //标题
                    , shift: 2 //弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮一 çš„回调
                        var iframeWindow = window['layui-layer-iframe' + index] //获取弹窗页面
@@ -595,7 +595,7 @@
                    , area: ['90%', '90%'] //大小
                    , title: '供应商表' //标题
                    , shift: 2 //弹出动画
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.html', 'yes']
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.html?Type=HSup', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮一 çš„回调
                        var iframeWindow = window['layui-layer-iframe' + index] //获取弹窗页面
@@ -859,6 +859,44 @@
            }
            //#endregion
        });
        function GetMouldFileValue(obj) {  //器具档案
            $("#HMouldID").val(obj[0].hmainid);//器具id
            $("#MouldHName").val(obj[0].模具名称);//器具名称
            $("#MouldHNumber").val(obj[0].模具编号);//器具代码
            $("#MouldHModel").val(obj[0].模具型号);//器具规格
        }
        function GetRepairValue(obj) {  //维修项目
            $("#HRepairID").val(obj[0].hitemid);//维修项目id
            $("#HRepairIDName").val(obj[0].维修项目);//维修项目名称
        }
        function GetHDeptNameValue(obj) {  //返回部门
            $("#HDeptID").val(obj[0].HItemID);//维修部门id
            $("#HDeptIDName").val(obj[0].部门名称);//维修部门名称
        }
        function GetHManagerValue(obj) {  //返回主管
            $("#HManagerIDName").val(obj[0].职员名称);
            $("#HManagerID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj) {  //返回维修人
            $("#HEmpIDName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        function GetEquipFileValue(obj) {  //返回设备
            $("#HEquipID").val(obj[0].hmainid);//设备id
            $("#HEquipIDName").val(obj[0].设备名称);//设备名称
        }
        function GetHSupNameValue(obj) {  //返回供应商
            $("#HSupID").val(obj[0].HItemID);//供应商id
            $("#HSupIDName").val(obj[0].供应商名称);//供应商名称
        }
    </script>
</body>
</html>
WebTM/views/Ä£Öξ߹ÜÀí/Æ÷¾ßάÐÞÅɹ¤µ¥/Sc_MouldRepairSendWorkBillList.html
@@ -282,6 +282,16 @@
                };
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetMouldRepairSendWorkValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#endregion
            //#region  æ­¤é¡µé¢æ‰€æœ‰çš„æ–¹æ³•
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Gy_MaterialMouldBillMain.html
@@ -637,7 +637,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '员工表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -1206,6 +1206,36 @@
            
        });
        function GetHDeptNameValue(obj) {  //返回部门
            $("#HDeptID").val(obj[0].HItemID);
            $("#HDeptName").val(obj[0].部门名称);
        }
        function GetHEmpValue(obj) {  //返回负责人
            $("#HEmpID").val(obj[0].HItemID);//负责人id
            $("#HEmpName").val(obj[0].职员名称);//负责人名称
        }
        function GetMaterValue(obj) {  //物料
            $("#HMaterID").val(obj[0].HItemID);
            $("#HMaterNumber").val(obj[0].物料代码);
            $("#HMaterName").val(obj[0].物料名称);
            $("#HMaterModel").val(obj[0].规格型号);
        }
        function GetWorkCenterValue(obj) {   //工作中心
            $("#HWorkCenterID").val(obj[0].HItemID);//工作中心id
            $("#HWorkCenterName").val(obj[0].工作中心名称);//工作中心名称
        }
        function GetEquipFileValue(obj) {  //返回设备
            $("#HEquipID").val(obj[0].hmainid);//id
            $("#HEquipNumber").val(obj[0].设备代码);//设备代码
            $("#HEquipName").val(obj[0].设备名称);//设备名称
            $("#HEquipModel").val(obj[0].设备规格);//设备型号
        }
    </script>
</body>
</html>
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Gy_MouldFile.html
@@ -693,7 +693,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/采购基础资料/Gy_Supplier.html', 'yes'],
                    content: ['../../基础资料/采购基础资料/Gy_Supplier.html?Type=HSup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
                        //按钮【按钮一】的回调
@@ -730,7 +730,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/采购基础资料/Gy_Supplier.html', 'yes'],
                    content: ['../../基础资料/采购基础资料/Gy_Supplier.html?Type=HAccSup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
                        //按钮【按钮一】的回调
@@ -1489,6 +1489,53 @@
            }
            return Result;
        }
        function GetMaterValue(obj) {  //物料
            $("#HName").val(obj[0].物料名称);
            $("#HMaterNumber").val(obj[0].物料代码);
            $("#HMaterID").val(obj[0].HItemID);
        }
        function GetMouldTypeValue(obj) {  //器具分类
            $("#HMouleTypeName").val(obj[0].HName);
            $("#HMouleTypeID").val(obj[0].HItemID);
        }
        function GetUnitValue(obj) {  //计量单位
            $("#HUnitName").val(obj[0].计量单位名称);
            $("#HUnitID").val(obj[0].HItemID);
        }
        function GetHDeptNameValue(obj) {  //返回部门
            $("#HDeptID").val(obj[0].HItemID);
            $("#HDeptName").val(obj[0].部门名称);
        }
        function GetHSupNameValue(obj) {  //返回供应商
            $("#HSupID").val(obj[0].HItemID);//供应商id
            $("#HSupName").val(obj[0].供应商名称);//供应商名称
        }
        function GetHWHValue(obj) {  //仓库
            $("#HWHName").val(obj[0].仓库名称);
            $("#HWHID").val(obj[0].HItemID);
        }
        function GetStockPlaceValue(obj) {   //仓位
            $("#HSPName").val(obj[0].仓位名称);
            $("#HSPID").val(obj[0].HMainID);
        }
        function GetMouldMaintainRuleValue(obj) {   //保养规程
            $("#HMouldMaintainRuleInterName").val(obj[0].单据号);
            $("#HMouldMaintainRuleInterID").val(obj[0].hmainid);
        }
        function GetHAccSupNameValue(obj) {  //返回制造厂商
            $("#HMadeSupName").val(obj[0].供应商名称);
            $("#HMadeSupID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Sb_Add_MouldRepairWorkBillList.html
@@ -563,7 +563,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HManager', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -601,7 +601,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -639,7 +639,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/采购基础资料/Gy_Supplier.html', 'yes'],
                    content: ['../../基础资料/采购基础资料/Gy_Supplier.html?Type=HSup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1579,7 +1579,57 @@
                return true;
            }
        }
                            //#endregion
        //#endregion
        function GetMouldFileValue(obj) {  //器具档案
            $("#HMouldID").val(obj[0].hmainid);//器具id
            $("#HName").val(obj[0].模具名称);//器具名称
            $("#HMouldCode").val(obj[0].模具编号);//器具代码
            $("#HModel").val(obj[0].模具型号);//器具规格
        }
        function GetRepairValue(obj) {  //维修项目
            $("#HRepairID").val(obj[0].hitemid);//维修项目id
            $("#HRepairName").val(obj[0].维修项目);//维修项目名称
        }
        function GetHDeptNameValue(obj) {  //返回部门
            $("#HDeptID").val(obj[0].HItemID);//维修部门id
            $("#HDeptName").val(obj[0].部门名称);//维修部门名称
        }
        function GetHManagerValue(obj) {  //返回主管
            $("#HManagerName").val(obj[0].职员名称);
            $("#HManagerID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj) {  //返回维修人
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        function GetHSupNameValue(obj) {  //返回供应商
            $("#HSupID").val(obj[0].HItemID);//供应商id
            $("#HSupName").val(obj[0].供应商名称);//供应商名称
        }
        function GetEquipFileValue(obj) {  //返回设备
            $("#HEquipID").val(obj[0].hmainid);//设备id
            $("#HEquipName").val(obj[0].设备名称);//设备名称
        }
        function GetMouldConkBookValue(obj) {   //器具故障登记单
            $("#HMainSourceBillNo").val(obj[0].单据号);
            $("#HMainSourceInterID").val(obj[0].hmainid);
            $("#HMainSourceEntryID").val(obj[0].hsubid);
        }
        function GetMouldRepairSendWorkValue(obj) {   //器具维修派工单
            $("#HMainSourceBillNo").val(obj[0].单据号);
            $("#HMainSourceInterID").val(obj[0].hmainid);
            $("#HMainSourceEntryID").val(obj[0].hsubid);
        }
    </script>
</body>
</html>
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Sb_MouldRepairWorkBillList.html
@@ -274,6 +274,17 @@
            form.on('submit(btnReSearch)', function (data) {
                set_ClearQuery();
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetMouldRepairWorkValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
           //#endregion
            //#region å½“前页面加载所有方法
@@ -905,10 +916,7 @@
            }
            //#endregion
            //监听行双击事件
            table.on('rowDouble(mainTable)', function (obj) {
                layer.alert("双击事件", { icon: 1 });
            });
            //#endregion
            //laydate.render({
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Sc_Add_MouldRepairCheckBillList.html
@@ -308,7 +308,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -384,7 +384,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HManager', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -841,6 +841,31 @@
        });
        function GetMouldFileValue(obj) {  //器具档案
            $("#HMouldID").val(obj[0].hmainid);//器具id
            $("#HName").val(obj[0].模具名称);//器具名称
        }
        function GetHDeptNameValue(obj) {  //返回部门
            $("#HDeptID").val(obj[0].HItemID);//维修部门id
            $("#HDeptName").val(obj[0].部门名称);//维修部门名称
        }
        function GetHManagerValue(obj) {  //返回负责人
            $("#HManagerName").val(obj[0].职员名称);
            $("#HManagerID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj) {  //返回验收人
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        function GetMouldRepairWorkValue(obj) {  //返回维修记录
            $("#HMouldRepairWorkName").val(obj[0].单据号);
            $("#HMouldRepairWorkID").val(obj[0].hmainid);
        }
    </script>
</body>
</html>
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Sc_MouldConkBookBillList.html
@@ -224,6 +224,15 @@
                sWhere = "";
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetMouldConkBookValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#endregion
WebTM/views/Éú²ú¹¤Ðò¹ÜÀí/Ôö¼Ó²»Á¼ÆÀÉóµ¥/QC_Add_NoPassProdCheckBill.html
@@ -3724,7 +3724,7 @@
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../../views/Baseset/基础资料/Sc_ProcessPlanViewList.html', 'yes']
                    , content: ['../../../views/生产工序管理/工序计划单/Sc_ProcessPlanList.html', 'yes']
                    , resize: false
                    , cancel: function () {
                        //$(".layui-btn").removeClass("layui-btn-disabled");
@@ -3877,7 +3877,7 @@
             HReasonName = obj[0].HName;
             ReasonID = obj[0].HItemID;
        }
        function GetHPlanValue(obj) {  //返回工序计划单
        function GetProcessPlanValue(obj) {  //返回工序计划单
            $("#HMainSourceInterID").val(obj[0].hmainid);
            $("#HMainSourceEntryID").val(obj[0].hsubid);
            $("#HMainSourceBillNo").val(obj[0].单据号);
WebTM/views/Éú²ú¹¤Ðò¹ÜÀí/¹¤Ðò¼Æ»®µ¥/Sc_ProcessPlanList.html
@@ -288,6 +288,17 @@
            form.on('submit(btnSearch)', function (data) {
                get_FastQuery();
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetProcessPlanValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#endregion
            //#region æ­¤é¡µé¢æ‰€æœ‰çš„æ–¹æ³•
WebTM/views/Éú²ú¹ÜÀí/Òì³£·´À¡µ¥/OA_ErrMsgBackHandleBillMain.html
@@ -419,6 +419,8 @@
                , form = layui.form
                , laydate = layui.laydate
                , element = layui.element;
            window.HDeptType = 0;
            //#endregion
            //获取参数
@@ -808,6 +810,8 @@
            //发送部门
            form.on('submit(HDeptList)', function () {
                HDeptType = 1;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -846,6 +850,8 @@
            //接收部门
            form.on('submit(HReceiveList)', function () {
                HDeptType = 2;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -893,7 +899,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HSecManager', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1145,7 +1151,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1220,6 +1226,41 @@
            return [year, month, day].join('-');
        }
        function GetHDeptNameValue(obj) {  //部门
            if (HDeptType == 1) {
                $("#HDeptName").val(obj[0].部门名称);
                $("#HDeptID").val(obj[0].HItemID);
            } else if (HDeptType == 2) {
                $("#HReceiveName").val(obj[0].部门名称);
                $("#HReceiveID").val(obj[0].HItemID);
            }
        }
        function GetErrMsgBackTypeValue(obj) {  //异常反馈
            $("#HErrMsgBackTypeName").val(obj[0].异常反馈类型名称);
            $("#HErrMsgBackTypeID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj) { //处理人
            $("#HHandleEmpName").val(obj[0].职员名称);
            $("#HHandleEmpD").val(obj[0].HItemID);
        }
        function GetHSecManagerValue(obj) {  //发送人
            $("#HSendMan").val(obj[0].职员名称);
        }
        function GetEquipFileValue(obj) {  //设备档案
            $("#HEquipName").val(obj[0].设备名称);
            $("#HEquipID").val(obj[0].hmainid);
        }
        function GetMouldFileValue(obj) {  //器具档案
            $("#HMouldName").val(obj[0].模具名称);
            $("#HMouldID").val(obj[0].hmainid);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/Òì³£·´À¡µ¥/OA_ErrMsgBackReceiveBillMain.html
@@ -415,6 +415,8 @@
                , form = layui.form
                , laydate = layui.laydate
                , element = layui.element;
            window.HDeptType = 0;
            //#endregion
            //获取参数
@@ -757,6 +759,8 @@
            //发送部门
            form.on('submit(HDeptList)', function () {
                HDeptType = 1;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -795,6 +799,8 @@
            //接收部门
            form.on('submit(HReceiveList)', function () {
                HDeptType = 2;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -842,7 +848,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HSecManager', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1094,7 +1100,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1133,7 +1139,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HManager', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1205,6 +1211,46 @@
            return [year, month, day].join('-');
        }
        function GetHDeptNameValue(obj) {  //部门
            if (HDeptType == 1) {
                $("#HDeptName").val(obj[0].部门名称);
                $("#HDeptID").val(obj[0].HItemID);
            } else if (HDeptType == 2) {
                $("#HReceiveName").val(obj[0].部门名称);
                $("#HReceiveID").val(obj[0].HItemID);
            }
        }
        function GetErrMsgBackTypeValue(obj) {  //异常反馈
            $("#HErrMsgBackTypeName").val(obj[0].异常反馈类型名称);
            $("#HErrMsgBackTypeID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj) { //关联人
            $("#HRelationEmpName").val(obj[0].职员名称);
            $("#HRelationEmpID").val(obj[0].HItemID);
        }
        function GetHManagerValue(obj) { //指派处理人
            $("#HandleEmpName").val(obj[0].职员名称);
            $("#HHandleEmpID").val(obj[0].HItemID);
        }
        function GetHSecManagerValue(obj) {  //发送人
            $("#HSendMan").val(obj[0].职员名称);
        }
        function GetEquipFileValue(obj) {  //设备档案
            $("#HEquipName").val(obj[0].设备名称);
            $("#HEquipID").val(obj[0].hmainid);
        }
        function GetMouldFileValue(obj) {  //器具档案
            $("#HMouldName").val(obj[0].模具名称);
            $("#HMouldID").val(obj[0].hmainid);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/Òì³£·´À¡µ¥/OA_ErrMsgBackSignBillMain.html
@@ -405,6 +405,8 @@
                , form = layui.form
                , laydate = layui.laydate
                , element = layui.element;
            window.HDeptType = 0;
            //#endregion
            //获取参数
@@ -795,6 +797,8 @@
            //发送部门
            form.on('submit(HDeptList)', function () {
                HDeptType = 1;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -833,6 +837,8 @@
            //接收部门
            form.on('submit(HReceiveList)', function () {
                HDeptType = 2;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -880,7 +886,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HSecManager', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1132,7 +1138,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1207,6 +1213,41 @@
            return [year, month, day].join('-');
        }
        function GetHDeptNameValue(obj) {  //部门
            if (HDeptType == 1) {
                $("#HDeptName").val(obj[0].部门名称);
                $("#HDeptID").val(obj[0].HItemID);
            } else if (HDeptType == 2) {
                $("#HReceiveName").val(obj[0].部门名称);
                $("#HReceiveID").val(obj[0].HItemID);
            }
        }
        function GetErrMsgBackTypeValue(obj) {  //异常反馈
            $("#HErrMsgBackTypeName").val(obj[0].异常反馈类型名称);
            $("#HErrMsgBackTypeID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj) { //签到人
            $("#HSignEmpName").val(obj[0].职员名称);
            $("#HSignEmpID").val(obj[0].HItemID);
        }
        function GetHSecManagerValue(obj) {  //发送人
            $("#HSendMan").val(obj[0].职员名称);
        }
        function GetEquipFileValue(obj) {  //设备档案
            $("#HEquipName").val(obj[0].设备名称);
            $("#HEquipID").val(obj[0].hmainid);
        }
        function GetMouldFileValue(obj) {  //器具档案
            $("#HMouldName").val(obj[0].模具名称);
            $("#HMouldID").val(obj[0].hmainid);
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/Òì³£·´À¡µ¥/Sc_Add_MESExecptFeedBackBillList.html
@@ -410,6 +410,8 @@
                , form = layui.form
                , laydate = layui.laydate
                , element = layui.element;
            window.HDeptType = 0;
            //#endregion
            //初始化表单插件
@@ -731,7 +733,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -759,6 +761,8 @@
            //发送部门
            form.on('submit(HDeptList)', function () {
                HDeptType = 1;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -798,6 +802,8 @@
            
            //接收部门
            form.on('submit(HRecDeptList)', function () {
                HDeptType = 2;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -1038,6 +1044,21 @@
            return [year, month, day].join('-');
        }
        function GetHEmpValue(obj) {  //发送人
            $("#HSendMan").val(obj[0].职员名称);
        }
        function GetHDeptNameValue(obj) {  //部门
            if (HDeptType == 1) {
                $("#HDeptName").val(obj[0].部门名称);
                $("#HDeptID").val(obj[0].HItemID);
            } else if (HDeptType == 2) {
                $("#HRecDeptName").val(obj[0].部门名称);
                $("#HRecDeptID").val(obj[0].HItemID);
            }
        }
    </script>
</body>
</html>
WebTM/views/Éú²ú¹ÜÀí/Éú²úÈÎÎñµ¥/Sc_ICMOBillList.html
@@ -506,6 +506,16 @@
                });
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetICMOBillValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#region åˆå§‹åŒ–界面
            function set_ClearBill() {               
                //初始化表格
WebTM/views/É豸¹ÜÀí/Sb_EquipDotCheckBillEdit.html
@@ -637,13 +637,36 @@
                                    if (checkStatus.data.length === 0) {
                                        return layer.msg('请选择数据');
                                    }
                                    //同步更新表格和缓存对应的值
                                    obj.update({
                                        HDotCheckItemID: checkStatus.data[0].HItemID,
                                        HDotCheckCode: checkStatus.data[0].点检项目代码,
                                        HDotCheckItem: checkStatus.data[0].点检项目名称
                                    });
                                    layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    if (checkStatus.data.length === 1) {
                                        //同步更新表格和缓存对应的值
                                        obj.update({
                                            HDotCheckItemID: checkStatus.data[0].HItemID,
                                            HDotCheckCode: checkStatus.data[0].点检项目代码,
                                            HDotCheckItem: checkStatus.data[0].点检项目名称
                                        });
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    } else {
                                        //(多选行)
                                        //将原有表体数据写入数组
                                        var tableBak = table.cache["mainTable"]; //获取之前编辑过的表格数据
                                        buttonArr = [];//清空数组
                                        for (var i = 0; i < tableBak.length; i++) {
                                            if (tableBak[i]["HDotCheckItemID"] != 0 && tableBak[i]["HDotCheckItemID"] != "" && tableBak[i]["HDotCheckItemID"] != undefined && tableBak[i]["HDotCheckItemID"] != null) {
                                                buttonArr.push(tableBak[i]);  //如果关键字段不为空,则将之前的数据存储
                                            }
                                        }
                                        //将批量选择的数据写入数组(多选行)
                                        for (var i = 0; i < checkStatus.data.length; i++) {
                                            buttonArr.push({ "HDotCheckItemID": checkStatus.data[i].HItemID, "HDotCheckCode": checkStatus.data[i].点检项目代码, "HDotCheckItem": checkStatus.data[i].点检项目名称, "HDotCheckPart": "", "HClaim": "", "HManagerID": sessionStorage["HEmpID"], "HManagerCode": sessionStorage["HEmpNumber"], "HManagerName": sessionStorage["HEmpName"], "HRemark": "" });
                                        }
                                        table.reload("mainTable", {
                                            data: buttonArr    //将数据重新载入表格
                                        })
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    }
                                }
                                , btn2: function (index, layero) {
                                    //按钮【按钮二】的回调
WebTM/views/É豸¹ÜÀí/Sb_EquipDotCheckPlanBillEdit.html
@@ -702,14 +702,36 @@
                                    if (checkStatus.data.length === 0) {
                                        return layer.msg('请选择数据');
                                    }
                                    //同步更新表格和缓存对应的值
                                    obj.update({
                                        HDotCheckItemID: checkStatus.data[0].HItemID,
                                        HDotCheckItem: checkStatus.data[0].点检项目名称,
                                        HDotCheckCode: checkStatus.data[0].点检项目代码,
                                        //HDotCheckPart: checkStatus.data[0].点检部位
                                    });
                                    layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    if (checkStatus.data.length === 1) {
                                        //同步更新表格和缓存对应的值
                                        obj.update({
                                            HDotCheckItemID: checkStatus.data[0].HItemID,
                                            HDotCheckItem: checkStatus.data[0].点检项目名称,
                                            HDotCheckCode: checkStatus.data[0].点检项目代码,
                                            //HDotCheckPart: checkStatus.data[0].点检部位
                                        });
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    } else {
                                        //(多选行)
                                        //将原有表体数据写入数组
                                        var tableBak = table.cache["mainTable"]; //获取之前编辑过的表格数据
                                        buttonArr = [];//清空数组
                                        for (var i = 0; i < tableBak.length; i++) {
                                            if (tableBak[i]["HDotCheckItemID"] != 0 && tableBak[i]["HDotCheckItemID"] != "" && tableBak[i]["HDotCheckItemID"] != undefined && tableBak[i]["HDotCheckItemID"] != null) {
                                                buttonArr.push(tableBak[i]);  //如果关键字段不为空,则将之前的数据存储
                                            }
                                        }
                                        //将批量选择的数据写入数组(多选行)
                                        for (var i = 0; i < checkStatus.data.length; i++) {
                                            buttonArr.push({ "HDotCheckItemID": checkStatus.data[i].HItemID, "HDotCheckCode": checkStatus.data[i].点检项目代码, "HDotCheckItem": checkStatus.data[i].点检项目名称, "HDotCheckPart": "", "HClaim": "", "HManagerID": sessionStorage["HEmpID"], "HManagerCode": sessionStorage["HEmpNumber"], "HManagerName": sessionStorage["HEmpName"], "HRemark": "" });
                                        }
                                        table.reload("mainTable", {
                                            data: buttonArr    //将数据重新载入表格
                                        })
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    }
                                }
                                , btn2: function (index, layero) {
                                    //按钮【按钮二】的回调
WebTM/views/É豸¹ÜÀí/Sb_EquipMaintainBillEdit.html
@@ -984,14 +984,36 @@
                                    if (checkStatus.data.length === 0) {
                                        return layer.msg('请选择数据');
                                    }
                                    if (checkStatus.data.length === 1) {
                                        //同步更新表格和缓存对应的值
                                        obj.update({
                                            HMaintainItemID: checkStatus.data[0].HItemID,
                                            HMaintainItemNumber: checkStatus.data[0].保养项目代码,
                                            HMaintainItem: checkStatus.data[0].保养项目名称,
                                        });
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    } else {
                                        //(多选行)
                                        //将原有表体数据写入数组
                                        var tableBak = table.cache["mainTable"]; //获取之前编辑过的表格数据
                                        buttonArr = [];//清空数组
                                        for (var i = 0; i < tableBak.length; i++) {
                                            if (tableBak[i]["HMaintainItemID"] != 0 && tableBak[i]["HMaintainItemID"] != "" && tableBak[i]["HMaintainItemID"] != undefined && tableBak[i]["HMaintainItemID"] != null) {
                                                buttonArr.push(tableBak[i]);  //如果关键字段不为空,则将之前的数据存储
                                            }
                                        }
                                        //将批量选择的数据写入数组(多选行)
                                        for (var i = 0; i < checkStatus.data.length; i++) {
                                            buttonArr.push({ "HMaintainItemID": checkStatus.data[i].HItemID, "HMaintainItemNumber": checkStatus.data[i].保养项目代码, "HMaintainItem": checkStatus.data[i].保养项目名称, "HMaintainPart": "", "HClaim": "", "HManagerID": sessionStorage["HEmpID"], "HManagerNumber": sessionStorage["HEmpNumber"], "HManagerName": sessionStorage["HEmpName"], "HRemark": "" });
                                        }
                                    //同步更新表格和缓存对应的值
                                    obj.update({
                                        HMaintainItemID: checkStatus.data[0].HItemID,
                                        HMaintainItemNumber: checkStatus.data[0].保养项目代码,
                                        HMaintainItem: checkStatus.data[0].保养项目名称,
                                    });
                                    layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                        table.reload("mainTable", {
                                            data: buttonArr    //将数据重新载入表格
                                        })
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    }
                                }
                                , btn2: function (index, layero) {
                                    //按钮【按钮二】的回调
WebTM/views/É豸¹ÜÀí/Sb_EquipMaintainPlanBillEdit.html
@@ -884,15 +884,36 @@
                                    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//获取table的elem:"#test"
                                    if (checkStatus.data.length === 0) {
                                        return layer.msg('请选择数据');
                                    }
                                    }
                                    if (checkStatus.data.length === 1) {
                                        //同步更新表格和缓存对应的值
                                        obj.update({
                                            HMaintainItemID: checkStatus.data[0].HItemID,
                                            HMaintainItemNumber: checkStatus.data[0].保养项目代码,
                                            HMaintainItem: checkStatus.data[0].保养项目名称,
                                        });
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    } else {
                                        //(多选行)
                                        //将原有表体数据写入数组
                                        var tableBak = table.cache["mainTable"]; //获取之前编辑过的表格数据
                                        buttonArr = [];//清空数组
                                        for (var i = 0; i < tableBak.length; i++) {
                                            if (tableBak[i]["HMaintainItemID"] != 0 && tableBak[i]["HMaintainItemID"] != "" && tableBak[i]["HMaintainItemID"] != undefined && tableBak[i]["HMaintainItemID"] != null) {
                                                buttonArr.push(tableBak[i]);  //如果关键字段不为空,则将之前的数据存储
                                            }
                                        }
                                        //将批量选择的数据写入数组(多选行)
                                        for (var i = 0; i < checkStatus.data.length; i++) {
                                            buttonArr.push({ "HMaintainItemID": checkStatus.data[i].HItemID, "HMaintainItemNumber": checkStatus.data[i].保养项目代码, "HMaintainItem": checkStatus.data[i].保养项目名称, "HMaintainPart": "", "HClaim": "", "HManagerID": sessionStorage["HEmpID"], "HManagerNumber": sessionStorage["HEmpNumber"], "HManagerName": sessionStorage["HEmpName"], "HRemark": "" });
                                        }
                                    //同步更新表格和缓存对应的值
                                    obj.update({
                                        HMaintainItemID: checkStatus.data[0].HItemID,
                                        HMaintainItemNumber: checkStatus.data[0].保养项目代码,
                                        HMaintainItem: checkStatus.data[0].保养项目名称,
                                    });
                                    layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                        table.reload("mainTable", {
                                            data: buttonArr    //将数据重新载入表格
                                        })
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    }
                                }
                                , btn2: function (index, layero) {
                                    //按钮【按钮二】的回调
WebTM/views/É豸¹ÜÀí/É豸µµ°¸/Gy_EquipFileMainList.html
@@ -158,6 +158,16 @@
                get_Refresh();
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetEquipFileValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#endregion
            //初始化表格
WebTM/views/É豸¹ÜÀí/É豸¹æ³Ìµ¥/Sb_EquipDotCheckRuleEdit.html
@@ -264,12 +264,34 @@
                                    if (checkStatus.data.length === 0) {
                                        return layer.msg('请选择数据');
                                    }
                                    //同步更新表格和缓存对应的值
                                    obj.update({
                                        HDotCheckItemID: checkStatus.data[0].HItemID,
                                        HDotCheckItem: checkStatus.data[0].点检项目名称
                                    });
                                    layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    if (checkStatus.data.length === 1) {
                                        //同步更新表格和缓存对应的值
                                        obj.update({
                                            HDotCheckItemID: checkStatus.data[0].HItemID,
                                            HDotCheckItem: checkStatus.data[0].点检项目名称
                                        });
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    } else {
                                        //(多选行)
                                        //将原有表体数据写入数组
                                        var tableBak = table.cache["mainTable"]; //获取之前编辑过的表格数据
                                        buttonArr = [];//清空数组
                                        for (var i = 0; i < tableBak.length; i++) {
                                            if (tableBak[i]["HDotCheckItemID"] != 0 && tableBak[i]["HDotCheckItemID"] != "" && tableBak[i]["HDotCheckItemID"] != undefined && tableBak[i]["HDotCheckItemID"] != null) {
                                                buttonArr.push(tableBak[i]);  //如果关键字段不为空,则将之前的数据存储
                                            }
                                        }
                                        //将批量选择的数据写入数组(多选行)
                                        for (var i = 0; i < checkStatus.data.length; i++) {
                                            buttonArr.push({ "HDotCheckItemID": checkStatus.data[i].HItemID, "HDotCheckItem": checkStatus.data[i].点检项目名称, "HDotCheckPart": "", "HClaim": "", "HManagerID": sessionStorage["HEmpID"], "HManagerNumber": sessionStorage["HEmpNumber"], "HManagerName": sessionStorage["HEmpName"], "HRemark": "" });
                                        }
                                        table.reload("mainTable", {
                                            data: buttonArr    //将数据重新载入表格
                                        })
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    }
                                }
                                , btn2: function (index, layero) {
                                    //按钮【按钮二】的回调
@@ -420,7 +442,7 @@
            function set_EditFromGrid() {
                set_EditForm(linterid);  //编辑获取表头
                set_EditGrid(linterid);  //编辑获取表体
                option.data = [{ "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": "0", "HManagerNumber": "", "HManagerName": "", "HRemark": "" }];
                option.data = [{ "HDotCheckItemID": 0, "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": "0", "HManagerNumber": "", "HManagerName": "", "HRemark": "" }];
                table.render(option);
            }
@@ -465,7 +487,12 @@
                    data: { "sqlWhere": "and hmainid=" + linterid },
                    success: function (result) {
                        if (result.count == 1) {
                            option.data = result.data;
                            var data = result.data;
                            var rowarr = [];
                            for (var i = 0; i < result.data.length; i++) {
                                rowarr.push({ "HDotCheckItemID": data[i].点检项目ID, "HDotCheckItem": data[i].点检项目, "HDotCheckPart": data[i].点检部位, "HClaim": data[i].具体要求, "HManagerID": data[i].负责人ID, "HManagerNumber": data[i].负责人代码, "HManagerName": data[i].负责人, "HRemark": data[i].子备注 });
                            }
                            option.data = rowarr;
                            table.render(option);
                        } else {
WebTM/views/É豸¹ÜÀí/É豸¹æ³Ìµ¥/Sb_EquipMaintainRuleEdit.html
@@ -639,15 +639,36 @@
                                    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//获取table的elem:"#test"
                                    if (checkStatus.data.length === 0) {
                                        return layer.msg('请选择数据');
                                    }
                                    }
                                    if (checkStatus.data.length === 1) {
                                        //同步更新表格和缓存对应的值
                                        obj.update({
                                            HMaintainItemID: checkStatus.data[0].HItemID,
                                            HMaintainItemNumber: checkStatus.data[0].保养项目代码,
                                            HMaintainItem: checkStatus.data[0].保养项目名称,
                                        });
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    } else {
                                        //(多选行)
                                        //将原有表体数据写入数组
                                        var tableBak = table.cache["mainTable"]; //获取之前编辑过的表格数据
                                        buttonArr = [];//清空数组
                                        for (var i = 0; i < tableBak.length; i++) {
                                            if (tableBak[i]["HMaintainItemID"] != 0 && tableBak[i]["HMaintainItemID"] != "" && tableBak[i]["HMaintainItemID"] != undefined && tableBak[i]["HMaintainItemID"] != null) {
                                                buttonArr.push(tableBak[i]);  //如果关键字段不为空,则将之前的数据存储
                                            }
                                        }
                                        //将批量选择的数据写入数组(多选行)
                                        for (var i = 0; i < checkStatus.data.length; i++) {
                                            buttonArr.push({ "HMaintainItemID": checkStatus.data[i].HItemID, "HMaintainItemNumber": checkStatus.data[i].保养项目代码, "HMaintainItem": checkStatus.data[i].保养项目名称, "HMaintainPart": "", "HClaim": "", "HManagerID": sessionStorage["HEmpID"], "HManagerNumber": sessionStorage["HEmpNumber"], "HManagerName": sessionStorage["HEmpName"], "HRemark": "" });
                                        }
                                    //同步更新表格和缓存对应的值
                                    obj.update({
                                        HMaintainItemID: checkStatus.data[0].HItemID,
                                        HMaintainItemNumber: checkStatus.data[0].保养项目代码,
                                        HMaintainItem: checkStatus.data[0].保养项目名称,
                                    });
                                    layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                        table.reload("mainTable", {
                                            data: buttonArr    //将数据重新载入表格
                                        })
                                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                                    }
                                }
                                , btn2: function (index, layero) {
                                    //按钮【按钮二】的回调
WebTM/views/ÖÊÁ¿¹ÜÀí/²úÆ·Èë¿â¼ìÑéµ¥/QC_LastPieceCheckBill.html
@@ -392,6 +392,10 @@
                var closeType = params[params[3]];  //关闭类型
            }
            var hID = params[params[1]];//编辑查看
            //全局变量
            window.HDeptType = 0; //部门
            window.HCusType = 0;  //客户
            //常规用法
            laydate.render({
                elem: '#HDate'
@@ -431,7 +435,7 @@
                , cols: [[ //表头
                    { type: 'checkbox', fixed: 'left', totalRowText: '合计行' }
                    , { templet: '#xuhao', title: '序号', sort: true, fixed: 'left', event: "qwe", width: 100 }
                    , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true, totalRow: true  }
                    , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true, totalRow: true }
                    , { field: 'HQCCheckClassName', title: '检验项目类别', edit: 'text', event: "HQCCheckClassCheck", width: 100 }
                    , { field: 'HQCCheckClassNumber', title: '检验项目类别代码', edit: 'text', width: 100, hide: true }
                    , { field: 'HQCCheckItemID', title: 'HQCCheckItemID', edit: 'text', hide: true }
@@ -836,12 +840,12 @@
                layer.open({
                    type: 2,
                    skin: 'layui-layer-rim', //加上边框
                    title: '生产资源列表',
                    title: '生产订单列表',
                    closeBtn: 1,
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/生产基础资料/Gy_Source.html', 'yes'],
                    content: ['../../生产管理/生产任务单/Sc_ICMOBillList.html', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -851,8 +855,9 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HICMOBillNo").val(checkStatus.data[0].生产资源名称);
                        $("#HICMOBillID").val(checkStatus.data[0].HItemID);
                        $("#HICMOBillNo").val(checkStatus.data[0].单据号);
                        $("#HICMOID").val(checkStatus.data[0].hmainid);
                        $("#HICMOInterID").val(checkStatus.data[0].hmainid);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) {
@@ -879,7 +884,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                   content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -944,6 +949,8 @@
            });
            //表头信息任务单号弹窗
            form.on('submit(HCheckDept)', function () {
                HDeptType = 1;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -979,45 +986,11 @@
                    }
                });
            });
            //表头信息任务单号弹窗
            form.on('submit(HCheckDept)', function () {
                //页面层-自定义
                layer.open({
                    type: 2,
                    skin: 'layui-layer-rim', //加上边框
                    title: '质检科列表',
                    closeBtn: 1,
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_DepartmentList.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('请选择数据');
                        }
                        $("#HCheckDeptName").val(checkStatus.data[0].部门名称);
                        $("#HCheckDeptID").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(HCheckDept2)', function () {
                HDeptType = 2;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -1055,6 +1028,8 @@
            });
            //表头信息客户弹窗
            form.on('submit(HCus)', function () {
                HCusType = 1;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -1092,6 +1067,8 @@
            });
            //表头信息弹窗
            form.on('submit(HProdArea)', function () {
                HCusType = 2;
                //页面层-自定义
                layer.open({
                    type: 2,
@@ -1281,6 +1258,48 @@
            //}
            return Result;
        }
        function GetGySource(obj) {   //生产资源
            $("#HSourceName").val(obj.生产资源名称);
            $("#HSourceID").val(obj.HItemID);
        }
        function GetICMOBillValue(obj) {   //生产订单
            $("#HICMOBillNo").val(obj[0].单据号);
            $("#HICMOID").val(obj[0].hmainid);
            $("#HICMOInterID").val(obj[0].hmainid);
        }
        function GetHEmpValue(obj) {  //检验员
            $("#HFirstCheckEmpName").val(obj[0].职员名称);
            $("#HFirstCheckEmpID").val(obj[0].HItemID);
        }
        function GetMaterValue(obj) {  //物料
            $("#HMaterName").val(obj[0].物料名称);
            $("#HMaterID").val(obj[0].HItemID);
        }
        function GetHDeptNameValue(obj) {  //质检科/质检部(部门)
            if (HDeptType == 1) {
                $("#HCheckDeptName").val(obj[0].部门名称);
                $("#HCheckDeptID").val(obj[0].HItemID);
            } else if (HDeptType == 2) {
                $("#HCheckDept2Name").val(obj[0].部门名称);
                $("#HCheckDept2ID").val(obj[0].HItemID);
            }
        }
        function GetHCusNameValue(obj) {  //客户/产地
            if (HCusType == 1) {
                $("#HCusName").val(obj[0].客户名称);
                $("#HCusID").val(obj[0].HItemID);
            } else if (HCusType == 2) {
                $("#HProdAreaName").val(obj[0].客户名称);
                $("#HProdAreaID").val(obj[0].HItemID);
            }
        }
    </script>
</body>
</html>
WebTM/views/ÖÊÁ¿¹ÜÀí/³ö³§¼ìÑéµ¥/QC_OutCompCheckBill.html
@@ -726,7 +726,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -931,6 +931,20 @@
            return Result;
        }
        function GetHCusNameValue(obj) {  //客户
            $("#HCusName").val(obj[0].客户名称);
            $("#HCusID").val(obj[0].HItemID);
        }
        function GetMaterValue(obj) {  //物料
            $("#HMaterName").val(obj[0].物料名称);
            $("#HMaterID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj) {  //检验员
            $("#HFirstCheckEmpName").val(obj[0].职员名称);
            $("#HFirstCheckEmpID").val(obj[0].HItemID);
        }
    </script>
</body>
WebTM/views/ÖÊÁ¿¹ÜÀí/»ù´¡½¨Ä£/Gy_ErrMsgBackType.html
@@ -207,6 +207,15 @@
            })
            //#endregion
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetErrMsgBackTypeValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#region æ­¤é¡µé¢æ‰€æœ‰æ–¹æ³•
            // åˆå§‹åŒ–界面
WebTM/views/ÖÊÁ¿¹ÜÀí/Ѳ¼ì¼Ç¼µ¥/QC_Add_Edit_PatrolProcCheckBill.html
@@ -325,7 +325,7 @@
            //#endregion
            var tableReload = table.reload;
            var option = {
            window.option = {
                elem: '#mainTable'
                , toolbar: '#toolbarDemo'
                , totalRow: true
@@ -1278,7 +1278,7 @@
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -1620,6 +1620,52 @@
                return true;
            }
        }
        function GetHEmpValue(obj) {  //检验员
            $("#HEmpName").val(obj[0].职员名称);
            $("#HFirstCheckEmp").val(obj[0].HItemID);
        }
        function GetProcessValue(obj) {  //工序
            $("#HMainProcID").val(obj[0].HItemID);
            $("#HMainProcNumber").val(obj[0].工序代码);
            $("#HMainProcName").val(obj[0].工序名称);
            var HQCSchemeID_Patrol = obj[0].HQCSchemeID_Patrol;
            $.ajax({
                url: GetWEBURL() + "/Web/GetCheckItemByCheckProjectID",
                type: "GET",
                data: { "CheckProjectID": HQCSchemeID_Patrol, "HBatchQty": 0 },
                success: function (result) {
                    if (result.code == 1) {
                        var rowdata = [];
                        var data = result.data;
                        for (var i = 0; i < result.data.length; i++) {
                            //子表  èµ‹å€¼
                            rowdata.push({
                                "检验项目分类": data[i]["检验项目分类"], "HQCCheckItemID": data[i]["HQCCheckItemID"], "HQCCheckItemName": data[i]["检验项目"],
                                "HQCStd": "",
                                "HQCNote1": "",
                                "HQCNote2": "",
                                "HQCNote3": "",
                                "HQCNote4": "",
                                "HQCNote5": "",
                                "HQCNote6": "",
                                "HQCNote7": "",
                                "HQCNote8": "",
                                "HQCNote9": "",
                                "HQCNote10": "",
                                "HRemark": ""
                            });
                        }
                        option.data = rowdata;
                        table.render(option);
                    }
                }
            })
        }
    </script>
</body>
</html>
WebTM/views/ÖÊÁ¿¹ÜÀí/¹¤Ðò¼ìÑéµ¥/QC_ProcessCheckBill.html
@@ -125,7 +125,7 @@
                                        <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" name="HProcExchQty" id="HProcExchQty" style="background-color:#efefef4d;" readonly>
                                                <input type="text" class="layui-input" name="HProcExchQty" id="HProcExchQty" value="1" style="background-color:#efefef4d;" readonly>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
@@ -1734,7 +1734,7 @@
            });
            //#endregion
            function get_CheckItem() {
            window.get_CheckItem = function() {
                var HBatchQty = $("#HProcExchQty").val();
                $.ajax({
                    url: GetWEBURL() + "/Web/GetCheckItemByCheckProjectID",
@@ -1853,7 +1853,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../../views/Baseset/基础资料/Sc_ICMOBillListView2.html', 'yes'],
                    content: ['../../生产管理/生产任务单/Sc_ICMOBillList.html', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1864,7 +1864,7 @@
                            return layer.msg('请选择数据');
                        }
                        $("#HICMOInterID").val(checkStatus.data[0].hmainid);
                        $("#HICMOEntryID").val(checkStatus.data[0].hsubid);
                        $("#HICMOEntryID").val(checkStatus.data[0].HEntryID);
                        $("#HICMOBillNo").val(checkStatus.data[0].单据号);
                        $("#HICMOQty").val(checkStatus.data[0].计划生产数量);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
@@ -1893,7 +1893,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -3541,7 +3541,40 @@
            HReasonName, ReasonID, EmpName,
            ZRProcName, QRName;
        function GetGySource(obj) {  //生产资源
            $("#HSourceName").val(obj.生产资源名称);
            $("#HSourceID").val(obj.HItemID);
        }
        function GetICMOBillValue(obj) {  //生产订单
            $("#HICMOInterID").val(obj[0].hmainid);
            $("#HICMOEntryID").val(obj[0].HEntryID);
            $("#HICMOBillNo").val(obj[0].单据号);
            $("#HICMOQty").val(obj[0].计划生产数量);
        }
        function GetProcExValue(obj) {  //流转卡
            $("#HProcExchInterID").val(obj[0].hmainid);
            $("#HProcExchEntryID").val(obj[0].hsubid);
            $("#HProcExchBillNo").val(obj[0].单据号);
        }
        function GetMaterValue(obj) {  //物料
            $("#HMaterNumber").val(obj[0].物料代码);
            $("#HMaterName").val(obj[0].物料名称);
            $("#HMaterID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj) {  //质检员
            $("#HFirstCheckEmpName").val(obj[0].职员名称);
            $("#HFirstCheckEmp").val(obj[0].HItemID);
        }
        function GetCheckProjectValue(obj) {  //质检方案
            $("#HQCSchemeID").val(obj[0].hmainid);
            $("#HQCSchemeName").val(obj[0].检验方案名称);
            get_CheckItem();
        }
    </script>
</body>
WebTM/views/ÖÊÁ¿¹ÜÀí/À´ÁϼìÑéµ¥/QC_Add_Edit_POStockInCheckBillList.html
@@ -716,7 +716,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/采购基础资料/Gy_Supplier.html', 'yes'],
                    content: ['../../基础资料/采购基础资料/Gy_Supplier.html?Type=HSup', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -793,7 +793,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -998,6 +998,20 @@
            return Result;
        }
        function GetHSupNameValue(obj) {   //供应商
            $("#HSupName").val(obj[0].供应商名称);
            $("#HSupID").val(obj[0].HItemID);
        }
        function GetMaterValue(obj) {  //物料
            $("#HMaterName").val(obj[0].物料名称);
            $("#HMaterID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj) {  //质检员
            $("#HFirstCheckEmpName").val(obj[0].职员名称);
            $("#HFirstCheckEmpID").val(obj[0].HItemID);
        }
    </script>
</body>
WebTM/views/ÖÊÁ¿¹ÜÀí/¼ìÑé·½°¸µ¥/QC_Add_CheckProject.html
@@ -458,13 +458,13 @@
                                        var tableBak = table.cache["mainTable"]; //获取之前编辑过的表格数据
                                        buttonArr = [];//清空数组
                                        for (var i = 0; i < tableBak.length; i++) {
                                            if (tableBak[i]["HQCCheckItemID"] != 0 || tableBak[i]["HQCCheckItemID"] != "") {
                                            if (tableBak[i]["HQCCheckItemID"] != 0 && tableBak[i]["HQCCheckItemID"] != "" && tableBak[i]["HQCCheckItemID"] != undefined && tableBak[i]["HQCCheckItemID"] != null) {
                                                buttonArr.push(tableBak[i]);  //如果关键字段不为空,则将之前的数据存储
                                            }
                                        }
                                        //将批量选择的数据写入数组(多选行)
                                        for (var i = 0; i < checkStatus.data.length; i++) {
                                            buttonArr.push({ "HPrjNo": 0, "HQCCheckItemID": checkStatus.data[i].HItemID, "HQCCheckItemNumber": checkStatus.data[i].代码, "HQCCheckItemName": checkStatus.data[i].名称, "HQCStd": "", "HQCStdMax": "", "HQCUnit": "", "HRemark": "" });
                                            buttonArr.push({ "HPrjNo": i + 1, "HQCCheckItemID": checkStatus.data[i].HItemID, "HQCCheckItemNumber": checkStatus.data[i].代码, "HQCCheckItemName": checkStatus.data[i].名称, "HQCStd": "", "HQCStdMax": "", "HQCUnit": "", "HRemark": "" });
                                        }
                                        table.reload("mainTable", {
@@ -747,10 +747,33 @@
            //#endregion
        });
        //返回工序
        function GetHProcValue(obj) {  //返回工序
            $("#HProcName").val(obj[0].工序);
        function GetProcessValue(obj) {  //返回工序
            $("#HProcName").val(obj[0].工序名称);
            $("#HProcID").val(obj[0].HItemID);
        }
        function GetMaterValue(obj) {  //物料
            $("#HMaterName").val(obj[0].物料名称);
            $("#HMaterNumber").val(obj[0].物料代码);
            $("#HMaterID").val(obj[0].HItemID);
        }
        function GetMaterTypeValue(obj) {  //物料分类
            $("#HMaterTypeName").val(obj[0].名称);
            $("#HMaterTypeID").val(obj[0].HItemID);
        }
        function GetHDeptNameValue(obj) {  //部门
            $("#HDeptName").val(obj[0].部门名称);
            $("#HDeptID").val(obj[0].HItemID);
        }
        function GetUnitValue(obj) {   //计量单位
            $("#HUnitName").val(obj[0].计量单位名称);
            $("#HUnitNumber").val(obj[0].计量单位代码);
            $("#HUnitID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>
WebTM/views/ÖÊÁ¿¹ÜÀí/¼ìÑé·½°¸µ¥/QC_CheckProjectList.html
@@ -160,6 +160,17 @@
            form.on('submit(btnSearch)', function (data) {//查询
                get_FastQuery();
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetCheckProjectValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#endregion
            //#region æœ¬é¡µé¢æ‰€æœ‰è¢«è°ƒç”¨çš„æ–¹æ³•
WebTM/views/ÖÊÁ¿¹ÜÀí/Ê×¼þ¼ìÑéµ¥/QC_Add_Edit_FirstPieceCheckBill.html
@@ -1849,7 +1849,7 @@
            //#endregion
            //#region【选检验方案获取表体检验项目信息】
            function get_CheckItem() {
            window.get_CheckItem = function() {
                var HBatchQty = $("#HProcExchQty").val();
                $.ajax({
                    url: GetWEBURL() + "/Web/GetCheckItemByCheckProjectID",
@@ -1963,7 +1963,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../../views/Baseset/基础资料/Sc_ICMOBillListView2.html', 'yes'],
                    content: ['../../生产管理/生产任务单/Sc_ICMOBillList.html', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1974,7 +1974,7 @@
                            return layer.msg('请选择数据');
                        }
                        $("#HICMOInterID").val(checkStatus.data[0].hmainid);
                        $("#HICMOEntryID").val(checkStatus.data[0].hsubid);
                        $("#HICMOEntryID").val(checkStatus.data[0].HEntryID);
                        $("#HICMOBillNo").val(checkStatus.data[0].单据号);
                        $("#HICMOQty").val(checkStatus.data[0].计划生产数量);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
@@ -2003,7 +2003,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -3719,6 +3719,41 @@
            //以上为layui模块
        });
        function GetGySource(obj) {  //生产资源
            $("#HSourceName").val(obj.生产资源名称);
            $("#HSourceID").val(obj.HItemID);
        }
        function GetICMOBillValue(obj) {  //生产订单
            $("#HICMOInterID").val(obj[0].hmainid);
            $("#HICMOEntryID").val(obj[0].HEntryID);
            $("#HICMOBillNo").val(obj[0].单据号);
            $("#HICMOQty").val(obj[0].计划生产数量);
        }
        function GetProcExValue(obj) {  //流转卡
            $("#HProcExchInterID").val(obj[0].hmainid);
            $("#HProcExchEntryID").val(obj[0].hsubid);
            $("#HProcExchBillNo").val(obj[0].单据号);
        }
        function GetMaterValue(obj) {  //物料
            $("#HMaterNumber").val(obj[0].物料代码);
            $("#HMaterName").val(obj[0].物料名称);
            $("#HMaterID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj) {  //质检员
            $("#HFirstCheckEmpName").val(obj[0].职员名称);
            $("#HFirstCheckEmp").val(obj[0].HItemID);
        }
        function GetCheckProjectValue(obj) {  //质检方案
            $("#HQCSchemeID").val(obj[0].hmainid);
            $("#HQCSchemeName").val(obj[0].检验方案名称);
            get_CheckItem();
        }
    </script>
</body>
</html>