WebTM/views/³µ¼ä¹ÜÀí/¹¤ÐòÁ÷ת¿¨/Sc_ProcessExchangeBill.html
@@ -1221,20 +1221,41 @@
                            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
                                $.ajax({
                                    url: GetWEBURL() + '/Sc_ProcessExchangeBillList/QJQD',
                                    type: "GET",
                                    data: { "HProcExchHinteID": hinterid },
                                    success: function (res) {
                                        if (res.count == 1) {
                                            if (res.data.length != 0) {
                                                hinterid += ",1";
                                            } else {
                                                hinterid += ",0";
                                            }
                                            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.close(ajaxLoad);
                                        }
                                    }, error: function () {
                                        layer.close(ajaxLoad);
                                        layer.alert("接口请求失败!", { icon: 5 });
                                    }
                                })
                            } else {
                                layer.msg("请先保存,在进行打印!");
                            }
                        } else {
                            layer.close(ajaxLoad);
                        }