YL
2021-09-10 ca9c6a8d0dc39a9d5a6b7013e29a2c63be54af78
WebTM/views/Éú²ú¹ÜÀí/Éú²úÉÏÁϵ¥/Sc_MaterToSourceBillList.html
@@ -152,7 +152,7 @@
                    case 'btn-Audit': set_CheckBill();
                        break;
                    //反审核按钮
                    case 'btn-DeAudit': set_DeCheckBill();
                    case 'btn-DeAudit': set_AbandonCheck();
                        break;
                    //退出
                    case 'get_Exit': Pub_Close(2);
@@ -199,12 +199,14 @@
                    , page: true
                    , cellMinWidth: 120
                    , cols: [[
                        { field: 'hmainid', title: 'hmainid', sort: true, hide: true }
                        { type: 'checkbox', fixed: 'left' }
                        , { field: 'hmainid', title: 'hmainid', sort: true, hide: true }
                        , { field: '日期', title: '日期', templet: "<div>{{d.日期 ==null ?'':layui.util.toDateString(d.日期, 'yyyy-MM-dd')}}</div>" }
                        , { field: '单据号', title: '单据号' }
                        , { field: 'HBillType', title: 'HBillType', hide: true }
                        , { field: '工序流转卡号', title: '工序流转卡号' }
                        , { field: '任务单号', title: '任务单号' }
                        , { field: 'HBillType', title: 'HBillType', hide: true }
                        , { field: 'HBillStatus', title: '单据状态', hide: true }
                        , { field: '工序流转卡号', title: '工序流转卡号' }
                        , { field: 'HSourceID', title: 'HSourceID', hide: true }
                        , { field: '生产资源代码', title: '生产资源代码' }
                        , { field: '生产资源', title: '生产资源' }
@@ -221,19 +223,9 @@
                        , { field: '表头备注', title: '表头备注' }
                        , { field: 'hsubid', title: 'hsubid', hide: true }
                        , { field: 'HMaterID', title: 'HMaterID', hide: true }
                        , { field: '物料代码', title: '物料代码' }
                        , { field: '物料名称', title: '物料名称' }
                        , { field: '产品代码', title: '产品代码' }
                        , { field: '产品名称', title: '产品名称' }
                        , { field: '规格型号', title: '规格型号' }
                        , { field: 'HUnitID', title: 'HUnitID', hide: true }
                        , { field: '计量单位代码', title: '计量单位代码' }
                        , { field: '计量单位名称', title: '计量单位名称' }
                        , { field: '数量', title: '数量' }
                        , { field: '件量', title: '件量' }
                        , { field: '扫描时间', title: '扫描时间', templet: "<div>{{d.日期 ==null ?'':layui.util.toDateString(d.日期, 'yyyy-MM-dd HH:mm:ss')}}</div>" }
                        , { field: '条形码', title: '条形码' }
                        , { field: '箱号条码', title: '箱号条码' }
                        , { field: '源单单号', title: '源单单号' }
                        , { field: '表体备注', title: '表体备注' }
                        , { field: '制单人', title: '制单人' }
                        , { field: '制单日期', title: '制单日期', templet: "<div>{{d.制单日期 ==null ?'':layui.util.toDateString(d.制单日期, 'yyyy-MM-dd')}}</div>"}
                        , { field: '审核人', title: '审核人' }
@@ -407,7 +399,7 @@
                    //逻辑审核方法
                    $.ajax({
                        type: "GET",
                        url: GetWEBURL() + "/Sc_MESBeginWorkBill/AuditProcessReportList", //方法所在页面和方法名
                        url: GetWEBURL() + "/Sc_MaterToSourceBill/AuditProcessReportList", //方法所在页面和方法名
                        data: { "HInterID": InterID, "IsAudit": 0, "CurUserName": sessionStorage["HUserName"] },
                        success: function (result) {
                            if (result.count == 1) {
@@ -442,7 +434,7 @@
                    //逻辑审核方法
                    $.ajax({
                        type: "GET",
                        url: GetWEBURL() + "/Sc_MESBeginWorkBill/AuditProcessReportList", //方法所在页面和方法名
                        url: GetWEBURL() + "/Sc_MaterToSourceBill/AuditProcessReportList", //方法所在页面和方法名
                        data: { "HInterID": InterID, "IsAudit": 1, "CurUserName": sessionStorage["HUserName"] },
                        success: function (result) {
                            if (result.count == 1) {