WebTM/views/ÖÊÁ¿¹ÜÀí/¼ìÑéÈ¡Ñù»¹Ñùµ¥/QC_Add_BackSampleCheckBill.html
@@ -43,7 +43,7 @@
                        <h1 style="text-align: center; padding: 10px 0;"><b>检验还样单</b></h1>
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1" style="padding:1px;" class="layui-this">基本信息</li>
                            <li lay-id="2" style="padding:1px;">其他信息</li>
                            <li lay-id="2" style="padding:1px;">制单信息</li>
                        </ul>
                        <div class="layui-tab-content">
                            <!--基本信息-->
@@ -86,8 +86,8 @@
                                        <div class="layui-inline">
                                            <label class="layui-form-label">生产班次:</label>
                                            <div class="layui-input-inline">
                                                <input type="text" name="HWorkShiftName" id="HWorkShiftName" class="layui-input" value="" style="float:left;width:150px;">
                                                <input type="hidden" name="HWorkShiftID" id="HWorkShiftID" class="layui-input" value="" style="float:left;width:150px;">
                                                <input type="text" name="HWorkShiftName" id="HWorkShiftName" class="layui-input" value="" style="background-color: #efefef4d; float: left; width: 150px;">
                                                <input type="hidden" name="HWorkShiftID" id="HWorkShiftID" class="layui-input" value="0" style="float:left;width:150px;">
                                                <button type="button" lay-submit="" class="layui-btn" lay-filter="HWorkShiftList" id="HWorkShiftLists" style="width:40px;">
                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
                                                </button>
@@ -500,7 +500,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true,
                    content: ['../../基础资料/生产基础资料/Gy_WorkShiftList.html?type=HWorkShifts&OperationType=2', 'yes'],
                    content: ['../../基础资料/生产基础资料/Gy_WorkShiftList.html?type=HWorkShifts', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -628,8 +628,8 @@
                        , { field: 'HMaterName', title: '物料名称', event: "HMaterName", style: 'background-color: #f9f9f9;' } //f7
                        , { field: 'HModel', title: '规格型号', style: 'background-color: #f9f9f9;' }
                        , { field: 'HUnitID', title: 'HUnitID', hide: true, style: 'background-color: #f9f9f9;' }
                        , { field: 'HUnitName', title: '计量单位', edit: 'text', event: "HUnitName", style: 'background-color: #f9f9f9;' }//f7
                        , { field: 'HQty', title: '还样数量', edit: 'text', style: 'background-color: #f9f9f9;' }
                        , { field: 'HUnitName', title: '计量单位',  event: "HUnitName", style: 'background-color: #f9f9f9;' }//f7
                        , { field: 'HQty', title: '还样数量', edit: 'text' }
                        , { field: 'HICMOInterID', title: 'HICMOInterID', hide: true,style: 'background-color: #f9f9f9;' }
                        , { field: 'HICMOEntryID', title: 'HICMOEntryID', hide: true, style: 'background-color: #f9f9f9;' }
                        , { field: 'HICMOBillNo', title: '任务单号', style: 'background-color: #f9f9f9;' }
@@ -727,7 +727,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '发送部门表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_DepartmentList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_DepartmentList.html?openType=2&HOrgName=' + sessionStorage["Organization"], 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -756,7 +756,7 @@
                    shift: 2,
                    area: ['90%', '90%'],
                    maxmin: true,
                    content: ['../../../views/基础资料/生产基础资料/Gy_Process.html', 'yes'],
                    content: ['../../../views/基础资料/生产基础资料/Gy_Process.html?openType=2', 'yes'],
                    btn: ['确定', '取消']
                    , btn1: function (index, layero) {
                        //按钮【按钮一】的回调
@@ -862,6 +862,16 @@
                            , "HProcName": data[0]["工序"]
                            , "HEmp": data[0]["HEmp"]
                            , "HEmpName": data[0]["还样员"]
                            , "HMaker": data[0]["制单人"]
                            , "HMakeDate": data[0]["制单日期"] == null ? "" : Format(new Date(data[0]["制单日期"]), "yyyy-MM-dd")
                            , "HUpDater": data[0]["修改人"]
                            , "HUpDateDate": data[0]["修改日期"] == null ? "" : Format(new Date(data[0]["修改日期"]), "yyyy-MM-dd")
                            , "HChecker": data[0]["审核人"]
                            , "HCheckDate": data[0]["审核日期"] == null ? "" : Format(new Date(data[0]["审核日期"]), "yyyy-MM-dd")
                            , "HCloseMan": data[0]["关闭人"]
                            , "HCloseDate": data[0]["关闭日期"] == null ? "" : Format(new Date(data[0]["关闭日期"]), "yyyy-MM-dd")
                            , "HDeleteMan": data[0]["作废人"]
                            , "HDeleteDate": data[0]["作废日期"] == null ? "" : Format(new Date(data[0]["作废日期"]), "yyyy-MM-dd")
                        });
                        //组织的值HOrgID变化,重新渲染
                        HOrgIDBar1 = data[0]["HSourceOrgID"];
@@ -1028,7 +1038,7 @@
                                , shift: 2                                          //弹出动画
                                , area: ["90%", "90%"]                              //窗体大小
                                , maxmin: true                                      //设置最大最小按钮是否显示
                                , content: ['../../基础资料/公用基础资料/Gy_Material.html', 'yes']
                                , content: ['../../基础资料/公用基础资料/Gy_Material.html?openType=2', 'yes']
                                , btn: ["确定", "取消"]
                                , btn1: function (index, laero) {
                                    //按钮一  çš„回调
@@ -1072,7 +1082,7 @@
                                , shift: 2                                          //弹出动画
                                , area: ["90%", "90%"]                              //窗体大小
                                , maxmin: true                                      //设置最大最小按钮是否显示
                                , content: ['../../基础资料/公用基础资料/Gy_Unit.html', 'yes']
                                , content: ['../../基础资料/公用基础资料/Gy_Unit.html?Type=HUnitList', 'yes']
                                , btn: ["确定", "取消"]
                                , btn1: function (index, laero) {
                                    //按钮一  çš„回调
@@ -1138,6 +1148,11 @@
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmp").val(obj[0].HItemID);
        }
        //返回工序
        function GetProcessValue(obj) {  //返回工序
            $("#HProcName").val(obj[0].工序名称);
            $("#HProcID").val(obj[0].HItemID);
        }
    </script>
</body>
</html>