yangle
2022-08-02 109930aa0e50907fc47799b41aa19232c6ca4953
工序流转卡 编辑 打印 维护
2个文件已修改
38 ■■■■■ 已修改文件
WebTM/views/生产管理/齐套分析/JIT_CompleteDetailList.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/车间管理/工序流转卡/Sc_ProcessExchangeBill.html 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/Éú²ú¹ÜÀí/ÆëÌ×·ÖÎö/JIT_CompleteDetailList.html
@@ -213,6 +213,7 @@
                    { type: 'checkbox', fixed: 'left' }
                    , { field: 'HinterId', title: 'HinterId', hide: true }
                    , { field: '生产订单号', title: '生产订单号' }
                    , { field: '日计划工单号', title: '日计划工单号' }
                    , { field: '日计划订单子内码', title: '日计划订单子内码', hide: true }
                    , { field: '日计划订单主内码', title: '日计划订单主内码', hide: true }
                    , { field: '主生产订单子内码', title: '主生产订单子内码', hide: true }
WebTM/views/³µ¼ä¹ÜÀí/¹¤ÐòÁ÷ת¿¨/Sc_ProcessExchangeBill.html
@@ -1103,8 +1103,7 @@
            //打印
            form.on('submit(btn_print)', function () {//产品
                var hinterid = "";
                var sWhere = " and HPRDORGID=" + sessionStorage["OrganizationID"] + " ";
                var sWhere = " and HPRDORGID=" + sessionStorage["OrganizationID"] + " and å•据号='" + $("#HBillNo").val() + "' ";
                var ajaxLoad = layer.load();
                $.ajax({
                    url: GetWEBURL() + '/LEMS/MES_Sc_ProcessExchangeBillQuery_Json',
@@ -1112,28 +1111,36 @@
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },
                    success: function (data1) {
                        if (data1.count == 1) {
                            hinterid = data1.data[0]["hmainid"];
                            var hinterid = "";
                            if (data1.data.length != 0) {
                                hinterid = data1.data[0]["hmainid"];
                            }
                            layer.close(ajaxLoad);
                            if (hinterid != "") {
                                layer.open({
                                    type: 2
                                    , area: ['50%', '50%']
                                    , title: '打印模版选择'
                                    , shade: 0.6 //遮罩透明度
                                    , maxmin: false //允许全屏最小化
                                    , anim: 0 //0-6的动画形式,-1不开启
                                    , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + hinterid + '&MyMsg=' + hinterid + '&Type=HProcessExchange', 'yes']
                                    , resize: false
                                })
                            } else {
                                layer.msg("请先保存,在进行打印!");
                            }
                        } else {
                            layer.close(ajaxLoad);
                            layer.alert(data1.Message, { icon: 5 });
                        }
                    }, error: function () {
                        layer.close(ajaxLoad);
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
                layer.open({
                    type: 2
                    , area: ['50%', '50%']
                    , title: '打印模版选择'
                    , shade: 0.6 //遮罩透明度
                    , maxmin: false //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + hinterid + '&MyMsg=' + hinterid + '&Type=HProcessExchange', 'yes']
                    , resize: false
                })
            });
            //选择子件弹窗PartInformation.html