From ac4f98f9d24552d1c43935f20a969a2fda0723f0 Mon Sep 17 00:00:00 2001
From: LR-20210131IOQH\Administrator <jackcold@163.com>
Date: 星期五, 25 六月 2021 10:40:03 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/zhengcaioa

---
 zhengcaioa/zhengcaioa/Views/SalaryCheck/Edit.cshtml |  231 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 231 insertions(+), 0 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/SalaryCheck/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/SalaryCheck/Edit.cshtml
new file mode 100644
index 0000000..0a08cf8
--- /dev/null
+++ b/zhengcaioa/zhengcaioa/Views/SalaryCheck/Edit.cshtml
@@ -0,0 +1,231 @@
+锘緻model HrSalaryDTO;
+@using DTO;
+@using zhengcaioa.Models;
+@{
+    Layout = null;
+}
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="ThemeBucket">
+    <link href="~/css/bootstrap.min.css" rel="stylesheet">
+    <link href="~/css/font-awesome.min.css" rel="stylesheet">
+    <link href="~/css/animate.min.css" rel="stylesheet">
+    <link href="~/css/style.min.css" rel="stylesheet">
+    <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet">
+    <link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">
+    <link href="~/css/style.min.css" rel="stylesheet">
+    <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" />
+
+    <!-- jqgrid-->
+    <script language="javascript" src="~/js/jquery.min.js" type="text/javascript"></script>
+    <script src="~/js/bootstrap.min.js"></script>
+
+    <!--瀹瑰櫒-->
+    <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script>
+    <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script>
+    <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script>
+    <script language="javascript" src="~/js/common-layout.js" type="text/javascript"></script>
+    <script src="~/js/plugins/layer/laydate/laydate.js" type="text/javascript"></script>
+    <script src="~/js/TUJS.js"></script>
+
+    <style type="text/css">
+        
+        div.clearfix > label {
+            padding-top: 8px;
+        }
+
+        .col-md-1.control-label {
+            padding-right: 0px;
+            font-weight: 400;
+        }
+    </style>
+
+
+</head>
+
+<body class="gray-bg" style="overflow:auto">
+    <form id="fm" method="post">
+        <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;">
+            <div class="row">
+                <div class="col-sm-6 col-md-6">
+                    @*<div class="ibox float-e-margins"></div>*@
+                    <div id="div_content" class="ibox-content" style="background-color:white;">
+                        <div class="row">
+                            <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                <label class="text-right col-sm-3 col-md-3 control-label">鍛樺伐濮撳悕</label>
+                                <div class="col-sm-9 col-md-9">
+                                    <input class="form-control" labtype="txt" addvisible="true" readonly="readonly" type="text" value="@Model.UserName">
+                                    <input type="hidden" name="id" value="@Model.Id" />
+                                </div>
+                            </div>
+                            <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                <label class="text-right col-sm-3 col-md-3 control-label">宸ヤ綔閮ㄩ棬</label>
+                                <div class="col-sm-9 col-md-9">
+                                    <input class="form-control" labtype="txt" addvisible="true" readonly="readonly" type="text" value="@Model.DeptName">
+                                </div>
+                            </div>
+                            <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                <label class="text-right col-sm-3 col-md-3 control-label">濂栭噾</label>
+                                <div class="col-sm-9 col-md-9">
+                                    <input class="form-control" name="Jiangjin" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.Jiangjin" oninput="if(value.length>10)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+                                </div>
+                            </div>
+                            <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                <label class="text-right col-sm-3 col-md-3 control-label">琛ュ彂宸ヨ祫</label>
+                                <div class="col-sm-9 col-md-9">
+                                    <input class="form-control" name="Bufagongzi" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.Bufagongzi" oninput="if(value.length>10)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+                                </div>
+                            </div>
+                            <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                <label class="text-right col-sm-3 col-md-3 control-label">璧斿伩</label>
+                                <div class="col-sm-9 col-md-9">
+                                    <input class="form-control" name="Peichang" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.Peichang" oninput="if(value.length>10)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+                                </div>
+                            </div>
+                            <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                <label class="text-right col-sm-3 col-md-3 control-label">绾犻敊</label>
+                                <div class="col-sm-9 col-md-9">
+                                    <input class="form-control" label="钖祫寰呴亣" name="Jiucuo" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.Jiucuo" oninput="if(value.length>10)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+                                </div>
+                            </div>
+
+                        </div>
+                    </div>
+                </div>
+                <div class="col-sm-6 col-md-6">
+                    <div class="panel panel-default" id="panelss" >
+                        <div class="panel-heading">
+                            鐢宠瘔鍐呭
+                        </div>
+                        <div class="panel-body">
+                            <div class="row">
+                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                    <label class="text-right col-sm-3 col-md-3 control-label">鐢宠瘔鐞嗙敱<i class="red">*</i></label>
+                                    <div class="col-sm-9 col-md-9">
+                                        <textarea class="form-control bt" readonly="readonly" style="resize:none;overflow-y:hidden; height:150px;">@Model.reason</textarea>
+                                    </div>
+                                </div>
+                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                    <label class="text-right col-sm-3 col-md-3 control-label">浜夎閲戦<i class="red">*</i></label>
+                                    <div class="col-sm-9 col-md-9">
+                                        <input class="form-control" type="text" value="@Model.amount" readonly="readonly">
+                                    </div>
+                                </div>
+                                <div class="clearfix layer-area" style="padding-bottom:15px;">
+                                    <label class="text-right col-sm-3 col-md-3 control-label">鍒跺害渚濇嵁<i class="red">*</i></label>
+                                    <div class="col-sm-9 col-md-9">
+                                        <input class="form-control" labtype="txt" type="text" readonly="readonly" value="@Model.basis">
+                                    </div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+        <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px ">
+            <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="鍔熻兘鎸夐挳锛氣�滀繚瀛樷�濓紝鈥滃彇娑堚��">
+                <a class="btn btn-success" href="javascript:void(0)" onclick="_pageAutoClose();" style="margin-left:4px; border-radius:4px;">
+                    <i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;<span class="bold">鍙栨秷</span>
+                </a>
+                <a class="btn btn-success" href="javascript:void(0)" onclick="saveSimCost();" style="margin-left:4px; border-radius:4px;">
+                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">鎻愪氦</span>
+                </a>
+            </div>
+        </div>
+
+    </form>
+
+    <script type="text/javascript">
+         $(function () {
+             var pl = '@Model.reason';
+             if (pl.length > 0) {
+
+             }
+             else {
+                 $("#panelss").hide();
+             }
+             
+            });
+
+        var hh = document.body.clientHeight -  $("#top").height() * 2 - 75;
+        $("#div_content").height(hh);
+
+        toastr.options = {
+            "closeButton": true,
+            "debug": false,
+            "progressBar": true,
+            "positionClass": "toast-bottom-right",
+            "onclick": null,
+            "showDuration": "300",
+            "hideDuration": "600",
+            "timeOut": "4500",
+            "extendedTimeOut": "600",
+            "showEasing": "swing",
+            "hideEasing": "linear",
+            "showMethod": "fadeIn",
+            "hideMethod": "fadeOut"
+        };
+
+        // 淇濆瓨
+        function saveSimCost() {
+
+            if ($("#cbbCard").val() == '') {
+                toastr.warning("鐢佃瘽鍗″彿涓嶈兘涓虹┖");
+                return;
+            }
+            if ($("#billamount").val() == '') {
+                toastr.warning("瀹為檯鐢佃瘽璐圭敤涓嶈兘涓虹┖");
+                return;
+            }
+            if ($("#acTime").val() == '') {
+                toastr.warning("璐圭敤璁拌处鏃ユ湡涓嶈兘涓虹┖");
+                return;
+            }
+           
+            $.ajax({
+                type: "POST",
+                url: "/SimCost/SaveSimCost2",
+                dataType: "json",
+                global: false,
+                data: $('#fm').serialize(),
+                success: function (data) {
+
+                        if (data.Result) {
+                            parent.layer.msg('璁剧疆鎴愬姛', { icon: 6 });
+                            try {
+                                _pageAutoClose();//鑷姩鍏抽棴椤甸潰鏂规硶
+                            }
+                            catch (err) {
+                                parent._CloseTab1("/SimCost/Edit/");
+                            }
+                        }
+                        else {
+                            // toastr.error("澶辫触");
+                            parent.layer.msg(data.Message, { icon: 5 });
+                        }
+
+                },
+                error: function () {
+                    parent.layer.msg('澶辫触', { icon: 5 });
+                }
+            });
+        }
+
+
+        function _pageAutoClose() {
+            parent.window._reloadPageData();
+            var index = parent.layer.getFrameIndex(window.name);
+            parent.layer.isRefresh = true;
+            parent.layer.closeAll('loading');
+            parent.layer.close(index);
+            return false;
+        }
+    </script>
+</body>
+</html>
\ No newline at end of file

--
Gitblit v1.9.1