1
duhe
2025-06-16 df3e719955cc93b4e762ac75fbb61737fbf3b7a8
WebTM/views/ÖÊÁ¿¹ÜÀí/¹¤Ðò¼ìÑéµ¥/QC_ProcessCheckBill.html
@@ -79,7 +79,7 @@
                                        <div class="layui-inline">
                                            <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">生产资源</label>
                                            <div class="layui-input-block" style="margin-left: 77px;">
                                                <input type="text" class="layui-input" name="HSourceName" id="HSourceName" style="background-color:#efefef4d;width: 61%;display: inline-block;" readonly>
                                                <input type="text" class="layui-input" name="HSourceName" id="HSourceName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
                                                <input type="hidden" name="HSourceID" id="HSourceID" value="0">
                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchSource" id="btnSearchSource" style="padding: 0 10px;float: right;margin-right: 3px;">
                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
@@ -135,7 +135,7 @@
                                    </div>
                                    <div class="layui-row">
                                        <div class="layui-inline">
                                            <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">产品内码</label>
                                            <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">产品名称</label>
                                            <div class="layui-input-block" style="margin-left: 77px;">
                                                <input type="text" class="layui-input" name="HMaterName" id="HMaterName" value="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
                                                <input type="hidden" class="layui-input" name="HMaterID" id="HMaterID" value="0" readonly>
@@ -766,8 +766,9 @@
                $("#HBillNo").val("");
                $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true);//有源单时保存按钮禁用
                $("#HFirstCheckEmp").val(sessionStorage["HCheckEmpID"]); //根据登录用户带出检验员ID
                $("#HFirstCheckEmpName").val(sessionStorage["HCheckEmpName"]); //根据登录用户带出检验员
                $("#HFirstCheckEmp").val(sessionStorage["HEmpID"]);//根据登录用户带出检验员ID
                $("#HFirstCheckEmpName").val(sessionStorage["HEmpName"]);//根据登录用户带出检验员
                HDeptID = sessionStorage["HDeptID"]; //根据登录用户带出部门ID
                HCenterID = sessionStorage["HWorkCenterID"]; //根据登录用户带出工作中心ID
                //获取最大单据号
@@ -787,8 +788,8 @@
                get_HWorkShift();
            }
            else if (OperationType == 2) {
                $("#HFirstCheckEmp").val(sessionStorage["HCheckEmpID"]);
                $("#HFirstCheckEmpName").val(sessionStorage["HCheckEmpName"]);
                $("#HFirstCheckEmp").val(sessionStorage["HEmpID"]);//根据登录用户带出检验员ID
                $("#HFirstCheckEmpName").val(sessionStorage["HEmpName"]);//根据登录用户带出检验员
                HDeptID = sessionStorage["HDeptID"]; //根据登录用户带出部门ID
                HCenterID = sessionStorage["HWorkCenterID"]; //根据登录用户带出工作中心ID
@@ -873,6 +874,7 @@
                                $("#HSourceName").val(data.HSourceName);
                                $("#HSourceID").val(data.HSourceID);
                                $("#HMaterID").val(data.HMaterID);
                                $("#HMaterName").val(data.HMaterName);
                                $("#HMainSourceBillNo").val("");
                                $("#HMainSourceBillType").val(data.HBillType);
                                $("#HMainSourceInterID").val(data.HInterID);
@@ -880,7 +882,8 @@
                                $("#HQCSchemeName").val(data.检验方案名称);
                                $("#HQCSchemeID").val(data.检验方案ID);
                                $("#HTakeSampleCheckBillNo").val(data.HProcExchBillNo);
                                $("#HTakeSampleCheckBillID").val(data.HProcExchInterID);
                                $("#HTakeSampleCheckBillID").val(data.HProcExchInterID);
                                //获取表体检验项目信息
                                get_CheckItem();
                            } else {
@@ -1162,7 +1165,7 @@
                                shift: 2,
                                area: ['90%', '90%'],
                                maxmin: true,
                                content: ['../../基础资料/公用基础资料/Gy_CheckItem.html', 'yes'],
                                content: ['../../基础资料/公用基础资料/Gy_CheckItem.html?openType=2', 'yes'],
                                btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -1204,7 +1207,7 @@
                                shift: 2,
                                area: ['90%', '90%'],
                                maxmin: true,
                                content: ['../../基础资料/公用基础资料/Gy_InspectInstruMent.html', 'yes'],
                                content: ['../../基础资料/公用基础资料/Gy_InspectInstruMent.html?openType=2', 'yes'],
                                btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -1254,7 +1257,7 @@
                                shift: 2,
                                area: ['90%', '90%'],
                                maxmin: true,
                                content: ['../../基础资料/公用基础资料/Gy_InspectValue.html', 'yes'],
                                content: ['../../基础资料/公用基础资料/Gy_InspectValue.html?openType=2', 'yes'],
                                btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -1688,7 +1691,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../基础资料/生产基础资料/Gy_WorkShiftList.html?type=HWorkShifts&OperationType=2', 'yes'],
                    content: ['../../基础资料/生产基础资料/Gy_WorkShiftList.html?type=HWorkShifts', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1726,7 +1729,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../../views/基础资料/公用基础资料/Gy_CheckItem.html', 'yes'],
                    content: ['../../../views/基础资料/公用基础资料/Gy_CheckItem.html?openType=2', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1764,7 +1767,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../../views/基础资料/公用基础资料/Gy_Unit.html', 'yes'],
                    content: ['../../../views/基础资料/公用基础资料/Gy_Unit.html?Type=HUnitList', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1802,7 +1805,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_InspectValue.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_InspectValue.html?openType=2', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -1849,7 +1852,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../基础资料/公用基础资料/Gy_InspectValue.html', 'yes'],
                    content: ['../../基础资料/公用基础资料/Gy_InspectValue.html?openType=2', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -2115,7 +2118,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../../views/Baseset/基础资料/Sc_ProcessExchangeBillListView.html', 'yes'],
                    content: ['../../车间管理/工序流转卡/Sc_ProcessExchangeBillList.html?openType=2', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -2154,7 +2157,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../生产管理/生产任务单/Sc_ICMOBillList.html', 'yes'],
                    content: ['../../生产管理/生产任务单/Sc_ICMOBillList.html?openType=2', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -3551,7 +3554,7 @@
                    async: false,
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },
                    success: function (result) {
                        if (result.count == 1) {
                        if (result.data.length > 0) {
                            $("#HTakeSampleCheckBillID").val(result.data[0]["hmainid"]);
                            $("#HTakeSampleCheckBillNo").val(result.data[0]["单据号"]);
                        }