From d8aeb7fa93861905801dc80a36636c4d954c88b6 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期四, 07 九月 2023 10:23:36 +0800
Subject: [PATCH] 任务汇报单:子表记录源单

---
 WebTM/views/项目管理/工作任务/PM_WorkTaskReportBill.html |   40 ++++++++++++++++++++++++++++------------
 1 files changed, 28 insertions(+), 12 deletions(-)

diff --git "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskReportBill.html" "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskReportBill.html"
index 2ef4e4d..69ae760 100644
--- "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskReportBill.html"
+++ "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskReportBill.html"
@@ -341,20 +341,20 @@
                 ////绂佺敤缁勭粐閫夐」
                 //$("#HOrgID").attr("disabled", true);
                 //鐢熸垚骞惰缃富琛ㄧ殑鍐呯爜鍜屽崟鎹彿
-                createBillNo();
-                //姹囨姤浜哄垵濮嬪寲
-                getHEmpByHUserName();
+                //createBillNo();
+                ////姹囨姤浜哄垵濮嬪寲
+                //getHEmpByHUserName();
 
 
-                //鍒濆鍖栧埗鍗曚汉鍜屽埗鍗曟椂闂�
-                $("#HMaker").val(sessionStorage["HUserName"]);
-                $("#HMakerDate").val(Format(new Date(), "yyyy-MM-dd"));
-                //鍒濆鍖栨棩鏈�
-                $("#HDate").val(Format(new Date(), "yyyy-MM-dd"));
-                //鍒濆鍖栭」鐩樁娈佃〃
-                get_InitGrid();
-                //涓嬫帹-椤甸潰璁剧疆
-                set_WorkTaskReport();
+                ////鍒濆鍖栧埗鍗曚汉鍜屽埗鍗曟椂闂�
+                //$("#HMaker").val(sessionStorage["HUserName"]);
+                //$("#HMakerDate").val(Format(new Date(), "yyyy-MM-dd"));
+                ////鍒濆鍖栨棩鏈�
+                //$("#HDate").val(Format(new Date(), "yyyy-MM-dd"));
+                ////鍒濆鍖栭」鐩樁娈佃〃
+                //get_InitGrid();
+                ////涓嬫帹-椤甸潰璁剧疆
+                //set_WorkTaskReport();
             }
             //#endregion
 
@@ -443,6 +443,10 @@
                     , 'HReportNote': ''
                     , 'HAdv': ''
                     , 'HRemarkSub': ''
+                    , "HSourceInterID": "0"
+                    , "HSourceEntryID": "0"
+                    , "HSourceBillNo": ""
+                    , "HSourceBillType": ""
                 };
                 switch (obj.event) {
                     case 'btn-AddLine':
@@ -618,6 +622,10 @@
                         , { field: 'HReportNote', title: '姹囨姤鍐呭', edit: 'text' }
                         , { field: 'HAdv', title: '浼樺寲寤鸿', edit: 'text' }
                         , { field: 'HRemarkSub', title: '澶囨敞', edit: 'text' }
+                        , { field: 'HSourceInterID', title: '婧愬崟鍐呯爜', hide: true, style: 'background-color: #f9f9f9;' }     //f7
+                        , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', hide: true, style: 'background-color: #f9f9f9;' }     //f7
+                        , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', hide: true, style: 'background-color: #f9f9f9;' }     //f7
+                        , { field: 'HSourceBillType', title: '婧愬崟绫诲瀷', hide: true, style: 'background-color: #f9f9f9;' }     //f7
                         , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo' }
                     ]]
                 }
@@ -635,6 +643,10 @@
                         , 'HReportNote': ''
                         , 'HAdv': ''
                         , 'HRemarkSub': ''
+                        , "HSourceInterID": "0"
+                        , "HSourceEntryID": "0"
+                        , "HSourceBillNo": ""
+                        , "HSourceBillType": ""
                     }
                 ];
                 option.data = rowdata;
@@ -1137,6 +1149,10 @@
                                             , "HProNumber": checkStatus.data[0].椤圭洰浠g爜
                                             , "HProjectStageID": checkStatus.data[0].HProjectStageID
                                             , "HProjectStageName": checkStatus.data[0].椤圭洰闃舵
+                                            , "HSourceInterID": checkStatus.data[0].HInterID
+                                            , "HSourceEntryID": checkStatus.data[0].HEntryID
+                                            , "HSourceBillNo": checkStatus.data[0].鍗曟嵁鍙�
+                                            , "HSourceBillType": checkStatus.data[0].鍗曟嵁绫诲瀷
                                         })
                                     } else {
                                         layer.msg("璇ヤ换鍔″凡鍏抽棴锛岃閲嶆柊閫夋嫨!");

--
Gitblit v1.9.1