From 6bd57f89e0ebbc39f43c44d44dc31a719a6c5788 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 30 十月 2023 20:54:52 +0800
Subject: [PATCH] 银行返回列表弹窗 收款单:增加银行弹窗 应收退款单:增加银行弹窗 信用额度申请单:调整界面

---
 WebTM/views/Baseset/基础资料/Gy_BankList.html            |  127 +++++++++++++++++++++++++++++++
 WebTM/Properties/PublishProfiles/JFTM.pubxml.user    |   13 ++-
 WebTM/views/销售管理/信用额度申请单/Xs_CusRatingChangeBill.html |    4 
 WebTM/views/销售管理/应收退款单/YS_ReceiveBackBill.html       |   26 ++++++
 WebTM/views/销售管理/收款单/YS_ReceiveBill.html             |   26 ++++++
 WebTM/WebTM.csproj                                   |    1 
 6 files changed, 188 insertions(+), 9 deletions(-)

diff --git a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
index 2585661..9af37ed 100644
--- a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
+++ b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
@@ -18,10 +18,10 @@
       <publishTime>01/28/2016 14:22:24</publishTime>
     </File>
     <File Include="bin/WebTM.dll">
-      <publishTime>10/30/2023 15:24:02</publishTime>
+      <publishTime>10/30/2023 20:36:30</publishTime>
     </File>
     <File Include="bin/WebTM.pdb">
-      <publishTime>10/30/2023 15:24:02</publishTime>
+      <publishTime>10/30/2023 20:36:30</publishTime>
     </File>
     <File Include="HtmlPage1.html">
       <publishTime>04/11/2023 16:34:42</publishTime>
@@ -859,6 +859,9 @@
     </File>
     <File Include="views/Baseset/鍩虹璧勬枡/Gy_BadWHList.html">
       <publishTime>07/21/2023 16:06:27</publishTime>
+    </File>
+    <File Include="views/Baseset/鍩虹璧勬枡/Gy_BankList.html">
+      <publishTime>10/30/2023 20:36:06</publishTime>
     </File>
     <File Include="views/Baseset/鍩虹璧勬枡/Gy_CheckItemList.html">
       <publishTime>07/21/2023 16:08:16</publishTime>
@@ -4572,7 +4575,7 @@
       <publishTime>04/11/2023 16:34:43</publishTime>
     </File>
     <File Include="views/閿�鍞鐞�/淇$敤棰濆害鐢宠鍗�/Xs_CusRatingChangeBill.html">
-      <publishTime>10/26/2023 20:36:53</publishTime>
+      <publishTime>10/30/2023 20:53:45</publishTime>
     </File>
     <File Include="views/閿�鍞鐞�/淇$敤棰濆害鐢宠鍗�/Xs_CusRatingChangeBillList.html">
       <publishTime>10/26/2023 20:16:37</publishTime>
@@ -4584,13 +4587,13 @@
       <publishTime>10/07/2023 09:12:15</publishTime>
     </File>
     <File Include="views/閿�鍞鐞�/搴旀敹閫�娆惧崟/YS_ReceiveBackBill.html">
-      <publishTime>10/26/2023 11:33:09</publishTime>
+      <publishTime>10/30/2023 20:50:18</publishTime>
     </File>
     <File Include="views/閿�鍞鐞�/搴旀敹閫�娆惧崟/YS_ReceiveBackBillList.html">
       <publishTime>10/26/2023 13:26:13</publishTime>
     </File>
     <File Include="views/閿�鍞鐞�/鏀舵鍗�/YS_ReceiveBill.html">
-      <publishTime>10/26/2023 10:29:07</publishTime>
+      <publishTime>10/30/2023 20:35:30</publishTime>
     </File>
     <File Include="views/閿�鍞鐞�/鏀舵鍗�/YS_ReceiveBillList.html">
       <publishTime>10/26/2023 13:27:26</publishTime>
diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj
index 9d57408..f69c23d 100644
--- a/WebTM/WebTM.csproj
+++ b/WebTM/WebTM.csproj
@@ -118,6 +118,7 @@
     <Content Include="views\Baseset\SRM_OpenTmpList_GXPG.html" />
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_BadCountDevelopWHList.html" />
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_BadWHList.html" />
+    <Content Include="views\Baseset\鍩虹璧勬枡\Gy_BankList.html" />
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_ClassTimePrjGroupEdit.html" />
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_ClassTimePrjList.html" />
     <Content Include="views\Baseset\鍩虹璧勬枡\Gy_ConveyCompList.html" />
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BankList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BankList.html"
new file mode 100644
index 0000000..178e625
--- /dev/null
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_BankList.html"
@@ -0,0 +1,127 @@
+锘�<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>閾惰鍒楄〃</title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+</head>
+<body>
+    <div class="layui-fluid">
+        <div class="layui-card">
+            <!--<div class="layui-card-header"></div>-->
+            <div class="layui-card-body" style="padding: 15px;">
+                <form class="layui-form" action="" lay-filter="component-form-group">
+                    <div class="layui-form-item">
+                        <div class="layui-inline">
+                            <label class="layui-form-label">杩囨护鍒�</label>
+                            <div class="layui-input-inline">
+                                <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="璇疯緭鍏ヨ繃婊ゅ垪" class="layui-input">
+                            </div>
+                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">蹇�熸煡璇�</button>
+                            <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">杩斿洖</button>
+                        </div>
+                    </div>
+                </form>
+            </div>
+        </div>
+    </div>
+    <table class="layui-hide" id="mainTable"></table>
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+    <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
+    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
+    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+    <script>
+            function getUrlVars() {
+            var vars = [], hash;
+            var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
+            for (var i = 0; i < hashes.length; i++) {
+                hash = hashes[i].split('=');
+                vars.push(hash[0]);
+                vars[hash[0]] = hash[1];
+            }
+            return vars;
+        }
+        var params = getUrlVars();
+        var Type = params[params[0]];
+
+        layui.use(['table', 'form', 'layer'], function () {
+            var table = layui.table
+            , form = layui.form
+            , layer = layui.layer;
+
+            form.on('submit(HQuery)', function () {
+                //var sMainStr = JSON.stringify(table.cache['mainTable']);
+                RoadQuery($('#Value').val());
+            });
+            form.on('submit(FH)', function () {
+                //var sMainStr = JSON.stringify(table.cache['mainTable']);
+                var checkStatus = table.checkStatus('mainTable')
+                    , data = checkStatus.data;
+
+                 switch (Type) {
+                    case "HBank":  //杩斿洖閾惰
+                         parent.GetHBankValue(data);
+                         break;
+                     default:
+                         parent.GetHBankValue(data);
+                         break;
+                }
+
+                var index = parent.layer.getFrameIndex(window.name);
+                parent.layer.close(index);
+            });
+            RoadQuery($('#Value').val());
+            table.render({
+                elem: '#mainTable'
+                // , url: '/demo/table/user/'
+               , data: []
+              , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+              , cols: [[
+                  { type: 'radio' }
+                , { field: 'HItemID', title: '閾惰ID', hide: true }
+                , { field: '閾惰浠g爜', title: '閾惰浠g爜', sort: true }
+                , { field: '閾惰鍚嶇О', title: '閾惰鍚嶇О', sort: true }
+                , { field: 'HStopflag', title: '绂佺敤', templet: "<div>{{d.HStopflag ==0 ?'':'Y'}}</div>"}
+              ]]
+                , page: true
+                , limits: [50, 500, 5000, 50000],
+                limit: 50
+            });
+            ///鍔犺浇鏄剧ず鏁版嵁
+            function RoadQuery(Where) {
+                var Value = Where;
+                if (Value == null) {
+                    Value = '';
+                }
+                $.ajax({
+                    type: "get",
+                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetCustomerList_Json",
+                    url: GetWEBURL() + "/Web/GetBankList_Json",
+                    async: true,
+                    data: { "sWhere": Value },
+                    //data: { "Value": Value },
+                    success: function (result) {
+                        ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+                        table.reload('mainTable', {
+                            data: ajaxReturnData
+                            , height: 'full-10'
+                            , loading: false
+                            , done: function (index, res) {
+
+                            }
+                        });
+                    },
+                    error: function (result) {
+                        console.log(result);
+                    }
+                });
+            };
+        });
+    </script>
+
+</body>
+</html>
diff --git "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\344\277\241\347\224\250\351\242\235\345\272\246\347\224\263\350\257\267\345\215\225/Xs_CusRatingChangeBill.html" "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\344\277\241\347\224\250\351\242\235\345\272\246\347\224\263\350\257\267\345\215\225/Xs_CusRatingChangeBill.html"
index 7a731c4..ef09535 100644
--- "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\344\277\241\347\224\250\351\242\235\345\272\246\347\224\263\350\257\267\345\215\225/Xs_CusRatingChangeBill.html"
+++ "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\344\277\241\347\224\250\351\242\235\345\272\246\347\224\263\350\257\267\345\215\225/Xs_CusRatingChangeBill.html"
@@ -146,7 +146,7 @@
                                                 </button>
                                             </div>
                                         </div>
-                                        <div class="layui-inline">
+                                        <div class="layui-inline" style="position:relative;left:-265px;">
                                             <label class="layui-form-label">閿�鍞富绠�</label>
                                             <div class="layui-input-inline">
                                                 <input type="text" name="HManagerName" id="HManagerName" class="layui-input" value="" style="float:left;width:150px;">
@@ -156,7 +156,7 @@
                                                 </button>
                                             </div>
                                         </div>
-                                        <div class="layui-inline">
+                                        <div class="layui-inline" style="position:relative;left:-265px;">
                                             <label class="layui-form-label">瀹㈡埛浣欓</label>
                                             <div class="layui-input-inline">
                                                 <input class="layui-input" name="" id="" autocomplete="off" readonly>
diff --git "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\272\224\346\224\266\351\200\200\346\254\276\345\215\225/YS_ReceiveBackBill.html" "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\272\224\346\224\266\351\200\200\346\254\276\345\215\225/YS_ReceiveBackBill.html"
index e2335ba..8aa86ab 100644
--- "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\272\224\346\224\266\351\200\200\346\254\276\345\215\225/YS_ReceiveBackBill.html"
+++ "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\272\224\346\224\266\351\200\200\346\254\276\345\215\225/YS_ReceiveBackBill.html"
@@ -786,7 +786,26 @@
 
             //#region 閾惰閫夋嫨椤甸潰
             function get_checkBank() {
-
+                layer.open({
+                    type: 2//寮圭獥绫诲瀷
+                    , skin: 'layui-layer-rim' //鍔犱笂杈规
+                    , area: ['90%', '90%']//澶у皬
+                    , title: '閾惰鍒楄〃'//鏍囬
+                    , shift: 2//寮瑰嚭鍔ㄧ敾
+                    , content: ['../../Baseset/鍩虹璧勬枡/Gy_BankList.html?Type=HBank', 'yes']
+                    //, btn: ['纭畾', '鍙栨秷']
+                    //, btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
+                    //    var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
+                    //    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
+                    //    if (checkStatus.data.length === 0) {
+                    //        return layer.msg('璇烽�夋嫨鏁版嵁');
+                    //    }
+                    //    $("#HEmpName").val(checkStatus.data[0].HName);
+                    //    $("#HEmpID").val(checkStatus.data[0].HItemID);
+                    //    layer.close(index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+                    //}
+                    //, btn2: function (index, layero) { }
+                })
             }
             //#endregion
             //#endregion
@@ -995,6 +1014,11 @@
             $("#HManagerID").val(obj[0].HItemID);
         }
 
+        function GetHBankValue(obj)  //杩斿洖閾惰
+        {
+            $("#HBankName").val(obj[0].閾惰鍚嶇О);
+            $("#HBankID").val(obj[0].HItemID);
+        }
     </script>
 </body>
 </html>
\ No newline at end of file
diff --git "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\346\224\266\346\254\276\345\215\225/YS_ReceiveBill.html" "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\346\224\266\346\254\276\345\215\225/YS_ReceiveBill.html"
index 5e26eac..63b6181 100644
--- "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\346\224\266\346\254\276\345\215\225/YS_ReceiveBill.html"
+++ "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\346\224\266\346\254\276\345\215\225/YS_ReceiveBill.html"
@@ -784,7 +784,26 @@
 
             //#region 閾惰閫夋嫨椤甸潰
             function get_checkBank() {
-
+                layer.open({
+                    type: 2//寮圭獥绫诲瀷
+                    , skin: 'layui-layer-rim' //鍔犱笂杈规
+                    , area: ['90%', '90%']//澶у皬
+                    , title: '閾惰鍒楄〃'//鏍囬
+                    , shift: 2//寮瑰嚭鍔ㄧ敾
+                    , content: ['../../Baseset/鍩虹璧勬枡/Gy_BankList.html?Type=HBank', 'yes']
+                    //, btn: ['纭畾', '鍙栨秷']
+                    //, btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
+                    //    var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
+                    //    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
+                    //    if (checkStatus.data.length === 0) {
+                    //        return layer.msg('璇烽�夋嫨鏁版嵁');
+                    //    }
+                    //    $("#HEmpName").val(checkStatus.data[0].HName);
+                    //    $("#HEmpID").val(checkStatus.data[0].HItemID);
+                    //    layer.close(index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+                    //}
+                    //, btn2: function (index, layero) { }
+                })
             }
             //#endregion
             //#endregion
@@ -993,6 +1012,11 @@
             $("#HManagerID").val(obj[0].HItemID);
         }
 
+        function GetHBankValue(obj)  //杩斿洖閾惰
+        {
+            $("#HBankName").val(obj[0].閾惰鍚嶇О);
+            $("#HBankID").val(obj[0].HItemID);
+        }
     </script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1