From 458e19d37111ceefd8a87aafc8af6eff1dedc953 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期三, 11 九月 2024 16:22:24 +0800
Subject: [PATCH] 销售模块查询页面添加

---
 WebTM/views/销售管理/收款单/YS_ReceiveBill.html |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

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 4ce0ddb..e9c1f25 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"
@@ -1195,7 +1195,7 @@
                     "HMainSourceInterID": 0
                     , "HMainSourceEntryID": 0
                     , "HMainSourceBillNo": ''
-                    , "HMainSourceBillType": '1114'
+                    , "HMainSourceBillType": '1426'
 
                     , "HDeptID": dataArray[0].HDeptID
                     , "HDeptName": dataArray[0].閮ㄩ棬
@@ -1241,7 +1241,7 @@
                             , "HSourceInterID": dataArray[i].hmainid
                             , "HSourceEntryID": dataArray[i].hsubid
                             , "HSourceBillNo": dataArray[i].鍗曟嵁鍙�
-                            , "HSourceBillType": 1114
+                            , "HSourceBillType": 1426
                             , "HRelationQty": "0"
                             , "HRelationMoney": "0"
 
@@ -1315,7 +1315,11 @@
                         if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
                             layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () {
                                 $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true);
-                                layer.msg("鎻愪氦鎴愬姛");
+                                if (data.Verify == "Y") //鑷姩瀹℃牳
+                                {
+                                    $("#HInterID").val(data.HInterID);//鑾峰彇鎻愪氦鎴愬姛杩斿洖鐨勫崟鎹富ID
+                                    set_CheckBill(0); //瀹℃牳
+                                }
                             });
                         }
                         else {
@@ -1427,7 +1431,7 @@
                                             , "HSourceInterID": result.data[i].婧愬崟涓诲唴鐮�
                                             , "HSourceEntryID": result.data[i].婧愬崟瀛愬唴鐮�
                                             , "HSourceBillNo": result.data[i].婧愬崟鍗曞彿
-                                            , "HSourceBillType": 1114
+                                            , "HSourceBillType": result.data[i].婧愬崟绫诲瀷
                                             , "HRelationQty": result.data[i].鍏宠仈鏁伴噺
                                             , "HRelationMoney": result.data[i].鍏宠仈閲戦
 
@@ -1733,7 +1737,7 @@
                                     for (var i = 0; i < option.cols[0].length - 1; i++) {
                                         var dataCols = dataCol[j].split('|');
                                         //閫夋嫨涓巇atacols鐩稿簲鍒楄繘琛屼慨鏀�
-                                        if (option.cols[0][i + 1]["field"] == dataCols[4]) {
+                                        if (option.cols[0][i + 1]["field"] == dataCols[5]) {
                                             //闅愯棌鍒�
                                             if (dataCols[1] == 1) {
                                                 option.cols[0][i + 1]["hide"] = true;

--
Gitblit v1.9.1