From d3b4b93d4ba49eb3994e3f9874a3dfda083524ab Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期三, 13 三月 2024 10:44:21 +0800
Subject: [PATCH] 1

---
 WebTM/views/销售管理/其他应收单/YS_ReceiveOtherBillMain.html |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\205\266\344\273\226\345\272\224\346\224\266\345\215\225/YS_ReceiveOtherBillMain.html" "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\205\266\344\273\226\345\272\224\346\224\266\345\215\225/YS_ReceiveOtherBillMain.html"
index 2470372..703b5e1 100644
--- "a/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\205\266\344\273\226\345\272\224\346\224\266\345\215\225/YS_ReceiveOtherBillMain.html"
+++ "b/WebTM/views/\351\224\200\345\224\256\347\256\241\347\220\206/\345\205\266\344\273\226\345\272\224\346\224\266\345\215\225/YS_ReceiveOtherBillMain.html"
@@ -35,10 +35,9 @@
             <div class="layui-card-body" style="padding: 1px;">
                 <form class="layui-form" action="" lay-filter="formData" style="background-color:white;height :700px">
                     <div style="padding: 2px; ">
-
+                        <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnSave" id="btnSave">淇濆瓨</button>
                         <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="set_CheckBill" id="set_CheckBill">瀹℃牳</button>
                         <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="set_AbandonCheck" id="set_AbandonCheck">鍙嶅鏍�</button>
-                        <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnSave" id="btnSave">淇濆瓨</button>
                         <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="btnEdit" id="btnEdit">閫�鍑�</button>
                     </div>
                     <div class="layui-tab" lay-filter="tab-POStockInBill">
@@ -457,6 +456,7 @@
                     , "HQty": "0"
                     , "HPrice": "0"
                     , "HSumMoney": "0"
+                    ,"HRemark":""
                 };
                 switch (obj.event) {
                     case 'btn-AddLine':
@@ -868,7 +868,7 @@
                         , { field: 'HQty', title: '鏁伴噺',  edit: 'text', style: 'background-color: #f9f9f9;' }
                         , { field: 'HPrice', title: '鍗曚环', edit: 'text', style: 'background-color: #f9f9f9;' }
                         , { field: 'HSumMoney', title: '鎬婚噾棰�', style: 'background-color: #f9f9f9;' }
-                        , { field: 'HSubHremark', title: '瀛愯〃澶囨敞', edit: 'text', style: 'background-color: #f9f9f9;' }
+                        , { field: 'HRemark', title: '瀛愯〃澶囨敞', edit: 'text', style: 'background-color: #f9f9f9;' }
                         , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo' }
                     ]]
                 }
@@ -883,7 +883,7 @@
                         , "HQty": "0"
                         , "HPrice": "0"
                         , "HSumMoney": "0"
-                        ,"HSubHremark":""
+                        ,"HRemark":""
                     }
                 ];
                 option.data = rowdata;
@@ -1029,13 +1029,14 @@
 
             //#region 瀹㈡埛閫夋嫨椤甸潰
             function get_checkCus() {
+                var HEmpID = $("#HEmpID").val();
                 layer.open({
                     type: 2//寮圭獥绫诲瀷
                     , skin: 'layui-layer-rim' //鍔犱笂杈规
                     , area: ['90%', '90%']//澶у皬
                     , title: '涓氬姟瀹㈡埛鍒楄〃'//鏍囬
                     , shift: 2//寮瑰嚭鍔ㄧ敾
-                    , content: ['../../鍩虹璧勬枡/閿�鍞熀纭�璧勬枡/Gy_Customer.html', 'yes']
+                    , content: ['../../Baseset/鍩虹璧勬枡/Gy_CustomerList.html?Type=1&openType=3&HEmp=' + HEmpID, 'yes']
                     , btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
                         var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
@@ -1044,7 +1045,7 @@
                             return layer.msg('璇烽�夋嫨鏁版嵁');
                         }
 
-                        $("#HCusName").val(checkStatus.data[0].瀹㈡埛鍚嶇О);
+                        $("#HCusName").val(checkStatus.data[0].HName);
                         $("#HCusID").val(checkStatus.data[0].HItemID);
                         var HCusID = $("#HCusID").val();
                         getHTaxRateByCusID(HCusID);//鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛瀵瑰簲绋庣巼

--
Gitblit v1.9.1