From ae5cfe81fd2b9f38c2e9ccfcdeaa7be2b28ad5dc Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期五, 29 三月 2024 14:24:17 +0800
Subject: [PATCH] 质量模块双击返回基础资料
---
WebTM/views/模治具管理/器具点检规程单/Sc_MouldDotCheckRuleBillEdit.html | 6
WebTM/views/基础资料/公用基础资料/Gy_QCCheckClass.html | 10
WebTM/views/基础资料/生产基础资料/Gy_Process.html | 10
WebTM/views/品质管理/客诉处理/Crm_CustomerAppealBill_KaiBei.html | 16
WebTM/views/Baseset/基础资料/Sc_ProcessExchangeBillListView.html | 223 +++++-----
WebTM/views/质量管理/检验方案单/QC_CheckProjectList.html | 11
WebTM/views/生产管理/异常反馈单/Sc_Add_MESExecptFeedBackBillList.html | 23 +
WebTM/views/基础资料/公用基础资料/Gy_Material.html | 11
WebTM/views/模治具管理/器具维修派工单/Sc_MouldRepairSendWorkBillEdit.html | 44 +
WebTM/views/模治具管理/模治具管理/Sc_Add_MouldRepairCheckBillList.html | 29 +
WebTM/views/生产管理/异常反馈单/OA_ErrMsgBackSignBillMain.html | 45 ++
WebTM/views/基础资料/公用基础资料/Add_Edit_Gy_CheckItem.html | 6
WebTM/views/生产管理/异常反馈单/OA_ErrMsgBackHandleBillMain.html | 45 ++
WebTM/views/质量管理/产品入库检验单/QC_LastPieceCheckBill.html | 105 ++--
WebTM/views/基础资料/公用基础资料/Gy_MaterType.html | 11
WebTM/views/模治具管理/模治具管理/Gy_MouldFile.html | 51 ++
WebTM/views/基础资料/公用基础资料/Gy_Unit.html | 10
WebTM/views/模治具管理/器具维修派工单/Sc_MouldRepairSendWorkBillList.html | 10
WebTM/views/质量管理/工序检验单/QC_ProcessCheckBill.html | 43 +
WebTM/views/设备管理/Sb_EquipDotCheckPlanBillEdit.html | 38 +
WebTM/views/质量管理/首件检验单/QC_Add_Edit_FirstPieceCheckBill.html | 43 +
WebTM/views/质量管理/检验方案单/QC_Add_CheckProject.html | 31 +
WebTM/views/生产管理/异常反馈单/OA_ErrMsgBackReceiveBillMain.html | 52 ++
WebTM/views/质量管理/出厂检验单/QC_OutCompCheckBill.html | 16
WebTM/views/模治具管理/模治具管理/Sb_Add_MouldRepairWorkBillList.html | 58 ++
WebTM/views/质量管理/基础建模/Gy_ErrMsgBackType.html | 9
WebTM/views/模治具管理/模治具管理/Sc_MouldConkBookBillList.html | 9
WebTM/views/生产工序管理/工序计划单/Sc_ProcessPlanList.html | 11
WebTM/views/生产工序管理/增加不良评审单/QC_Add_NoPassProdCheckBill.html | 4
WebTM/views/设备管理/设备规程单/Sb_EquipDotCheckRuleEdit.html | 43 +
WebTM/views/质量管理/巡检记录单/QC_Add_Edit_PatrolProcCheckBill.html | 50 ++
WebTM/views/设备管理/设备档案/Gy_EquipFileMainList.html | 10
WebTM/views/质量管理/来料检验单/QC_Add_Edit_POStockInCheckBillList.html | 18
WebTM/views/设备管理/Sb_EquipDotCheckBillEdit.html | 37 +
WebTM/views/模治具管理/模治具管理/Sb_MouldRepairWorkBillList.html | 16
WebTM/views/基础资料/公用基础资料/Gy_MouldType.html | 11
WebTM/views/基础资料/公用基础资料/Gy_StockPlace_List.html | 10
WebTM/views/生产管理/生产任务单/Sc_ICMOBillList.html | 10
WebTM/views/基础资料/公用基础资料/Gy_WorkCenter.html | 10
WebTM/views/模治具管理/模治具管理/Gy_MaterialMouldBillMain.html | 32 +
40 files changed, 1,009 insertions(+), 218 deletions(-)
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessExchangeBillListView.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessExchangeBillListView.html"
index fb1014b..bf9b04c 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessExchangeBillListView.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessExchangeBillListView.html"
@@ -28,7 +28,7 @@
</div>
</div>
</div>
- <table class="layui-hide" id="mainTable"></table>
+ <table class="" id="mainTable" lay-filter="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>
@@ -37,8 +37,8 @@
//寮曠敤鐨勫崟鎹強妯″潡锛氬伐搴忔祦杞崱銆�
layui.use(['table', 'form', 'layer'], function () {
var table = layui.table
- , form = layui.form
- , layer = layui.layer;
+ , form = layui.form
+ , layer = layui.layer;
form.on('submit(HQuery)', function () {//閫夋嫨鍗曚綅
//var sMainStr = JSON.stringify(table.cache['mainTable']);
@@ -47,117 +47,128 @@
form.on('submit(FH)', function () {//閫夋嫨鍗曚綅
//var sMainStr = JSON.stringify(table.cache['mainTable']);
var checkStatus = table.checkStatus('mainTable')
- , data = checkStatus.data;
+ , data = checkStatus.data;
parent.GetProcessExchangeValue(data);
var index = parent.layer.getFrameIndex(window.name);
parent.layer.close(index);
});
RoadQuery($('#Value').val());
+
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetProcExValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
table.render({
elem: '#mainTable'
// , url: '/demo/table/user/'
- , data: []
- , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
- , cols: [[
- { type: 'radio' }
- , { field: 'hmainid', width: 150, title: 'hmainid', hide: true }
- , { field: 'hicmointerid', width: 150, title: 'hicmointerid', hide: true }
- , { field: 'HICMOEntryID', width: 150, title: 'HICMOEntryID', hide: true }
- , { field: 'HWorkShopID', width: 150, title: 'HWorkShopID', hide: true }
- , { field: 'HMaterID', width: 150, title: 'HMaterID', hide: true }
- , { field: 'HUnitID', width: 150, title: 'HUnitID', hide: true }
- , { field: 'HSupID', width: 150, title: 'HSupID', hide: true }
- , { field: 'hsubid', width: 150, title: 'hsubid', hide: true }
- , { field: 'HProcID', width: 150, title: 'HProcID', hide: true }
- , { field: 'HCenterID', width: 150, title: 'HCenterID', hide: true }
- , { field: 'HDeptID', width: 150, title: 'HDeptID', hide: true }
- , { field: 'HGroupID', width: 150, title: 'HGroupID', hide: true }
- , { field: 'HWorkerID', width: 150, title: 'HWorkerID', hide: true }
- , { field: 'HSourceID', width: 150, title: 'HSourceID', hide: true }
- , { field: 'HBillType', width: 150, title: 'HBillType', hide: true }
- , { field: '鏃ユ湡', width: 150, title: '鏃ユ湡' }
- , { field: '鍗曟嵁鍙�', width: 150, title: '鍗曟嵁鍙�' }
- , { field: '浠诲姟鍗曞彿', width: 150, title: '浠诲姟鍗曞彿' }
- , { field: '鐢熶骇璁㈠崟鍙�', width: 150, title: '鐢熶骇璁㈠崟鍙�' }
- , { field: '鐢熶骇杞﹂棿浠g爜', width: 150, title: '鐢熶骇杞﹂棿浠g爜' }
- , { field: '鐢熶骇杞﹂棿', width: 150, title: '鐢熶骇杞﹂棿' }
- , { field: '浜у搧浠g爜', width: 150, title: '浜у搧浠g爜' }
- , { field: '浜у搧', width: 150, title: '浜у搧' }
- , { field: '瑙勬牸鍨嬪彿', width: 150, title: '瑙勬牸鍨嬪彿' }
- , { field: '鎵瑰彿', width: 150, title: '鎵瑰彿' }
- , { field: '鍗曚綅浠g爜', width: 150, title: '鍗曚綅浠g爜' }
- , { field: '鍗曚綅', width: 150, title: '鍗曚綅' }
- , { field: '鐢熶骇鏁伴噺', width: 150, title: '鐢熶骇鏁伴噺' }
- , { field: '浠诲姟鍗曟暟閲�', width: 150, title: '浠诲姟鍗曟暟閲�' }
- , { field: '璁㈠崟璺熻釜鍙�', width: 150, title: '璁㈠崟璺熻釜鍙�' }
- , { field: '璁″垝寮�宸ユ棩鏈�', width: 150, title: '璁″垝寮�宸ユ棩鏈�' }
- , { field: '璁″垝瀹屽伐鏃ユ湡', width: 150, title: '璁″垝瀹屽伐鏃ユ湡' }
- , { field: '鎽樿', width: 150, title: '鎽樿' }
- , { field: '鍐呴儴鍗曟嵁鍙�', width: 150, title: '鍐呴儴鍗曟嵁鍙�' }
- , { field: '濮斿璁㈠崟鍐呯爜', width: 150, title: '濮斿璁㈠崟鍐呯爜' }
- , { field: '濮斿璁㈠崟瀛愬唴鐮�', width: 150, title: '濮斿璁㈠崟瀛愬唴鐮�' }
- , { field: '濮斿璁㈠崟鍙�', width: 150, title: '濮斿璁㈠崟鍙�' }
- , { field: '渚涘簲鍟嗕唬鐮�', width: 150, title: '渚涘簲鍟嗕唬鐮�' }
- , { field: '渚涘簲鍟�', width: 150, title: '渚涘簲鍟�' }
- , { field: '濮斿鍔犲伐鍗曚綅', width: 150, title: '濮斿鍔犲伐鍗曚綅' }
- , { field: '琛ㄥご澶囨敞', width: 150, title: '琛ㄥご澶囨敞' }
- , { field: '宸ュ簭鍙�', width: 150, title: '宸ュ簭鍙�' }
- , { field: '宸ュ簭浠g爜', width: 150, title: '宸ュ簭浠g爜' }
- , { field: '宸ュ簭', width: 150, title: '宸ュ簭' }
- , { field: '鍔犲伐璇存槑', width: 150, title: '鍔犲伐璇存槑' }
- , { field: '宸ヤ綔涓績浠g爜', width: 150, title: '宸ヤ綔涓績浠g爜' }
- , { field: '宸ヤ綔涓績', width: 150, title: '宸ヤ綔涓績' }
- , { field: '鍔犲伐杞﹂棿浠g爜', width: 150, title: '鍔犲伐杞﹂棿浠g爜' }
- , { field: '鍔犲伐杞﹂棿', width: 150, title: '鍔犲伐杞﹂棿' }
- , { field: '鐝粍浠g爜', width: 150, title: '鐝粍浠g爜' }
- , { field: '鐝粍', width: 150, title: '鐝粍' }
- , { field: '鎿嶄綔宸ヤ唬鐮�', width: 150, title: '鎿嶄綔宸ヤ唬鐮�' }
- , { field: '鎿嶄綔宸�', width: 150, title: '鎿嶄綔宸�' }
- , { field: '鐢熶骇璧勬簮浠g爜', width: 150, title: '鐢熶骇璧勬簮浠g爜' }
- , { field: '鐢熶骇璧勬簮', width: 150, title: '鐢熶骇璧勬簮' }
- , { field: '璁″垝鏁伴噺', width: 150, title: '璁″垝鏁伴噺' }
- , { field: '娴佽浆鍗℃暟閲�', width: 150, title: '娴佽浆鍗℃暟閲�' }
- , { field: '鏃堕棿鍗曚綅', width: 150, title: '鏃堕棿鍗曚綅' }
- , { field: '宸ュ簭璁″垝鍔犲伐鏃堕棿', width: 150, title: '宸ュ簭璁″垝鍔犲伐鏃堕棿' }
- , { field: '瀛愯鍒掑紑宸ユ棩鏈�', width: 150, title: '瀛愯鍒掑紑宸ユ棩鏈�' }
- , { field: '瀛愯鍒掑畬宸ユ棩鏈�', width: 150, title: '瀛愯鍒掑畬宸ユ棩鏈�' }
- , { field: '瀹為檯寮�宸ユ棩鏈�', width: 150, title: '瀹為檯寮�宸ユ棩鏈�' }
- , { field: '瀹為檯瀹屽伐鏃ユ湡', width: 150, title: '瀹為檯瀹屽伐鏃ユ湡' }
- , { field: '寮�宸ヤ綑閲忓ぉ鏁�', width: 150, title: '寮�宸ヤ綑閲忓ぉ鏁�' }
- , { field: '寮�宸ヤ綑閲忓浐鏁�', width: 150, title: '寮�宸ヤ綑閲忓浐鏁�' }
- , { field: '涓婇亾鍥哄畾澶╂暟', width: 150, title: '涓婇亾鍥哄畾澶╂暟' }
- , { field: '鐢熶骇鍛ㄦ湡', width: 150, title: '鐢熶骇鍛ㄦ湡' }
- , { field: '鍔犲伐鍗曚环', width: 150, title: '鍔犲伐鍗曚环' }
- , { field: '鍔犲伐璐圭敤閲戦', width: 150, title: '鍔犲伐璐圭敤閲戦' }
- , { field: '鏈亾宸ュ簭', width: 150, title: '鏈亾宸ュ簭' }
- , { field: '棣栭亾宸ュ簭', width: 150, title: '棣栭亾宸ュ簭' }
- , { field: '涓嬮亾娴佽浆宸ュ簭', width: 150, title: '涓嬮亾娴佽浆宸ュ簭' }
- , { field: '娴佽浆鏍囪', width: 150, title: '娴佽浆鏍囪' }
- , { field: '濮斿鏍囪', width: 150, title: '濮斿鏍囪' }
- , { field: '琛屽叧闂汉', width: 150, title: '琛屽叧闂汉' }
- , { field: '鍏抽棴绫诲瀷', width: 150, title: '鍏抽棴绫诲瀷' }
- , { field: '琛ㄤ綋澶囨敞', width: 150, title: '琛ㄤ綋澶囨敞' }
- , { field: '鍒跺崟浜�', width: 150, title: '鍒跺崟浜�' }
- , { field: '鍒跺崟鏃ユ湡', width: 150, title: '鍒跺崟鏃ユ湡' }
- , { field: '瀹℃牳浜�', width: 150, title: '瀹℃牳浜�' }
- , { field: '瀹℃牳鏃ユ湡', width: 150, title: '瀹℃牳鏃ユ湡' }
- , { field: '淇敼浜�', width: 150, title: '淇敼浜�' }
- , { field: '淇敼鏃ユ湡', width: 150, title: '淇敼鏃ユ湡' }
- , { field: '鍏抽棴浜�', width: 150, title: '鍏抽棴浜�' }
- , { field: '鍏抽棴鏃ユ湡', width: 150, title: '鍏抽棴鏃ユ湡' }
- , { field: '浣滃簾浜�', width: 150, title: '浣滃簾浜�' }
- , { field: '浣滃簾鏃ユ湡', width: 150, title: '浣滃簾鏃ユ湡' }
- , { field: '鎷嗗垎鏁伴噺', width: 150, title: '鎷嗗垎鏁伴噺' }
- , { field: '鍓╀綑鏁伴噺', width: 150, title: '鍓╀綑鏁伴噺' }
- , { field: '涓嶈壇鍝佸叧鑱旀暟閲�', width: 150, title: '涓嶈壇鍝佸叧鑱旀暟閲�' }
- , { field: '杩涚珯鍏宠仈鏁伴噺', width: 150, title: '杩涚珯鍏宠仈鏁伴噺' }
- , { field: '鍑虹珯鍏宠仈鏁伴噺', width: 150, title: '鍑虹珯鍏宠仈鏁伴噺' }
- , { field: '鎺掑簭鍙�', width: 150, title: '鎺掑簭鍙�' }
- , { field: '婧愬崟涓诲唴鐮�', width: 150, title: '婧愬崟涓诲唴鐮�' }
- , { field: '婧愬崟瀛愬唴鐮�', width: 150, title: '婧愬崟瀛愬唴鐮�' }
- , { field: '婧愬崟鍗曞彿', width: 150, title: '婧愬崟鍗曞彿' }
- , { field: '婧愬崟绫诲瀷', width: 150, title: '婧愬崟绫诲瀷' }
- ]]
+ , data: []
+ , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+ , cols: [[
+ { type: 'check' }
+ , { field: 'hmainid', width: 150, title: 'hmainid', hide: true }
+ , { field: 'hicmointerid', width: 150, title: 'hicmointerid', hide: true }
+ , { field: 'HICMOEntryID', width: 150, title: 'HICMOEntryID', hide: true }
+ , { field: 'HWorkShopID', width: 150, title: 'HWorkShopID', hide: true }
+ , { field: 'HMaterID', width: 150, title: 'HMaterID', hide: true }
+ , { field: 'HUnitID', width: 150, title: 'HUnitID', hide: true }
+ , { field: 'HSupID', width: 150, title: 'HSupID', hide: true }
+ , { field: 'hsubid', width: 150, title: 'hsubid', hide: true }
+ , { field: 'HProcID', width: 150, title: 'HProcID', hide: true }
+ , { field: 'HCenterID', width: 150, title: 'HCenterID', hide: true }
+ , { field: 'HDeptID', width: 150, title: 'HDeptID', hide: true }
+ , { field: 'HGroupID', width: 150, title: 'HGroupID', hide: true }
+ , { field: 'HWorkerID', width: 150, title: 'HWorkerID', hide: true }
+ , { field: 'HSourceID', width: 150, title: 'HSourceID', hide: true }
+ , { field: 'HBillType', width: 150, title: 'HBillType', hide: true }
+ , { field: '鏃ユ湡', width: 150, title: '鏃ユ湡' }
+ , { field: '鍗曟嵁鍙�', width: 150, title: '鍗曟嵁鍙�' }
+ , { field: '浠诲姟鍗曞彿', width: 150, title: '浠诲姟鍗曞彿' }
+ , { field: '鐢熶骇璁㈠崟鍙�', width: 150, title: '鐢熶骇璁㈠崟鍙�' }
+ , { field: '鐢熶骇杞﹂棿浠g爜', width: 150, title: '鐢熶骇杞﹂棿浠g爜' }
+ , { field: '鐢熶骇杞﹂棿', width: 150, title: '鐢熶骇杞﹂棿' }
+ , { field: '浜у搧浠g爜', width: 150, title: '浜у搧浠g爜' }
+ , { field: '浜у搧', width: 150, title: '浜у搧' }
+ , { field: '瑙勬牸鍨嬪彿', width: 150, title: '瑙勬牸鍨嬪彿' }
+ , { field: '鎵瑰彿', width: 150, title: '鎵瑰彿' }
+ , { field: '鍗曚綅浠g爜', width: 150, title: '鍗曚綅浠g爜' }
+ , { field: '鍗曚綅', width: 150, title: '鍗曚綅' }
+ , { field: '鐢熶骇鏁伴噺', width: 150, title: '鐢熶骇鏁伴噺' }
+ , { field: '浠诲姟鍗曟暟閲�', width: 150, title: '浠诲姟鍗曟暟閲�' }
+ , { field: '璁㈠崟璺熻釜鍙�', width: 150, title: '璁㈠崟璺熻釜鍙�' }
+ , { field: '璁″垝寮�宸ユ棩鏈�', width: 150, title: '璁″垝寮�宸ユ棩鏈�' }
+ , { field: '璁″垝瀹屽伐鏃ユ湡', width: 150, title: '璁″垝瀹屽伐鏃ユ湡' }
+ , { field: '鎽樿', width: 150, title: '鎽樿' }
+ , { field: '鍐呴儴鍗曟嵁鍙�', width: 150, title: '鍐呴儴鍗曟嵁鍙�' }
+ , { field: '濮斿璁㈠崟鍐呯爜', width: 150, title: '濮斿璁㈠崟鍐呯爜' }
+ , { field: '濮斿璁㈠崟瀛愬唴鐮�', width: 150, title: '濮斿璁㈠崟瀛愬唴鐮�' }
+ , { field: '濮斿璁㈠崟鍙�', width: 150, title: '濮斿璁㈠崟鍙�' }
+ , { field: '渚涘簲鍟嗕唬鐮�', width: 150, title: '渚涘簲鍟嗕唬鐮�' }
+ , { field: '渚涘簲鍟�', width: 150, title: '渚涘簲鍟�' }
+ , { field: '濮斿鍔犲伐鍗曚綅', width: 150, title: '濮斿鍔犲伐鍗曚綅' }
+ , { field: '琛ㄥご澶囨敞', width: 150, title: '琛ㄥご澶囨敞' }
+ , { field: '宸ュ簭鍙�', width: 150, title: '宸ュ簭鍙�' }
+ , { field: '宸ュ簭浠g爜', width: 150, title: '宸ュ簭浠g爜' }
+ , { field: '宸ュ簭', width: 150, title: '宸ュ簭' }
+ , { field: '鍔犲伐璇存槑', width: 150, title: '鍔犲伐璇存槑' }
+ , { field: '宸ヤ綔涓績浠g爜', width: 150, title: '宸ヤ綔涓績浠g爜' }
+ , { field: '宸ヤ綔涓績', width: 150, title: '宸ヤ綔涓績' }
+ , { field: '鍔犲伐杞﹂棿浠g爜', width: 150, title: '鍔犲伐杞﹂棿浠g爜' }
+ , { field: '鍔犲伐杞﹂棿', width: 150, title: '鍔犲伐杞﹂棿' }
+ , { field: '鐝粍浠g爜', width: 150, title: '鐝粍浠g爜' }
+ , { field: '鐝粍', width: 150, title: '鐝粍' }
+ , { field: '鎿嶄綔宸ヤ唬鐮�', width: 150, title: '鎿嶄綔宸ヤ唬鐮�' }
+ , { field: '鎿嶄綔宸�', width: 150, title: '鎿嶄綔宸�' }
+ , { field: '鐢熶骇璧勬簮浠g爜', width: 150, title: '鐢熶骇璧勬簮浠g爜' }
+ , { field: '鐢熶骇璧勬簮', width: 150, title: '鐢熶骇璧勬簮' }
+ , { field: '璁″垝鏁伴噺', width: 150, title: '璁″垝鏁伴噺' }
+ , { field: '娴佽浆鍗℃暟閲�', width: 150, title: '娴佽浆鍗℃暟閲�' }
+ , { field: '鏃堕棿鍗曚綅', width: 150, title: '鏃堕棿鍗曚綅' }
+ , { field: '宸ュ簭璁″垝鍔犲伐鏃堕棿', width: 150, title: '宸ュ簭璁″垝鍔犲伐鏃堕棿' }
+ , { field: '瀛愯鍒掑紑宸ユ棩鏈�', width: 150, title: '瀛愯鍒掑紑宸ユ棩鏈�' }
+ , { field: '瀛愯鍒掑畬宸ユ棩鏈�', width: 150, title: '瀛愯鍒掑畬宸ユ棩鏈�' }
+ , { field: '瀹為檯寮�宸ユ棩鏈�', width: 150, title: '瀹為檯寮�宸ユ棩鏈�' }
+ , { field: '瀹為檯瀹屽伐鏃ユ湡', width: 150, title: '瀹為檯瀹屽伐鏃ユ湡' }
+ , { field: '寮�宸ヤ綑閲忓ぉ鏁�', width: 150, title: '寮�宸ヤ綑閲忓ぉ鏁�' }
+ , { field: '寮�宸ヤ綑閲忓浐鏁�', width: 150, title: '寮�宸ヤ綑閲忓浐鏁�' }
+ , { field: '涓婇亾鍥哄畾澶╂暟', width: 150, title: '涓婇亾鍥哄畾澶╂暟' }
+ , { field: '鐢熶骇鍛ㄦ湡', width: 150, title: '鐢熶骇鍛ㄦ湡' }
+ , { field: '鍔犲伐鍗曚环', width: 150, title: '鍔犲伐鍗曚环' }
+ , { field: '鍔犲伐璐圭敤閲戦', width: 150, title: '鍔犲伐璐圭敤閲戦' }
+ , { field: '鏈亾宸ュ簭', width: 150, title: '鏈亾宸ュ簭' }
+ , { field: '棣栭亾宸ュ簭', width: 150, title: '棣栭亾宸ュ簭' }
+ , { field: '涓嬮亾娴佽浆宸ュ簭', width: 150, title: '涓嬮亾娴佽浆宸ュ簭' }
+ , { field: '娴佽浆鏍囪', width: 150, title: '娴佽浆鏍囪' }
+ , { field: '濮斿鏍囪', width: 150, title: '濮斿鏍囪' }
+ , { field: '琛屽叧闂汉', width: 150, title: '琛屽叧闂汉' }
+ , { field: '鍏抽棴绫诲瀷', width: 150, title: '鍏抽棴绫诲瀷' }
+ , { field: '琛ㄤ綋澶囨敞', width: 150, title: '琛ㄤ綋澶囨敞' }
+ , { field: '鍒跺崟浜�', width: 150, title: '鍒跺崟浜�' }
+ , { field: '鍒跺崟鏃ユ湡', width: 150, title: '鍒跺崟鏃ユ湡' }
+ , { field: '瀹℃牳浜�', width: 150, title: '瀹℃牳浜�' }
+ , { field: '瀹℃牳鏃ユ湡', width: 150, title: '瀹℃牳鏃ユ湡' }
+ , { field: '淇敼浜�', width: 150, title: '淇敼浜�' }
+ , { field: '淇敼鏃ユ湡', width: 150, title: '淇敼鏃ユ湡' }
+ , { field: '鍏抽棴浜�', width: 150, title: '鍏抽棴浜�' }
+ , { field: '鍏抽棴鏃ユ湡', width: 150, title: '鍏抽棴鏃ユ湡' }
+ , { field: '浣滃簾浜�', width: 150, title: '浣滃簾浜�' }
+ , { field: '浣滃簾鏃ユ湡', width: 150, title: '浣滃簾鏃ユ湡' }
+ , { field: '鎷嗗垎鏁伴噺', width: 150, title: '鎷嗗垎鏁伴噺' }
+ , { field: '鍓╀綑鏁伴噺', width: 150, title: '鍓╀綑鏁伴噺' }
+ , { field: '涓嶈壇鍝佸叧鑱旀暟閲�', width: 150, title: '涓嶈壇鍝佸叧鑱旀暟閲�' }
+ , { field: '杩涚珯鍏宠仈鏁伴噺', width: 150, title: '杩涚珯鍏宠仈鏁伴噺' }
+ , { field: '鍑虹珯鍏宠仈鏁伴噺', width: 150, title: '鍑虹珯鍏宠仈鏁伴噺' }
+ , { field: '鎺掑簭鍙�', width: 150, title: '鎺掑簭鍙�' }
+ , { field: '婧愬崟涓诲唴鐮�', width: 150, title: '婧愬崟涓诲唴鐮�' }
+ , { field: '婧愬崟瀛愬唴鐮�', width: 150, title: '婧愬崟瀛愬唴鐮�' }
+ , { field: '婧愬崟鍗曞彿', width: 150, title: '婧愬崟鍗曞彿' }
+ , { field: '婧愬崟绫诲瀷', width: 150, title: '婧愬崟绫诲瀷' }
+ ]]
, page: true
, limits: [50, 500, 5000, 50000]
, limit: 50
diff --git "a/WebTM/views/\345\223\201\350\264\250\347\256\241\347\220\206/\345\256\242\350\257\211\345\244\204\347\220\206/Crm_CustomerAppealBill_KaiBei.html" "b/WebTM/views/\345\223\201\350\264\250\347\256\241\347\220\206/\345\256\242\350\257\211\345\244\204\347\220\206/Crm_CustomerAppealBill_KaiBei.html"
index 839f39b..708cd1f 100644
--- "a/WebTM/views/\345\223\201\350\264\250\347\256\241\347\220\206/\345\256\242\350\257\211\345\244\204\347\220\206/Crm_CustomerAppealBill_KaiBei.html"
+++ "b/WebTM/views/\345\223\201\350\264\250\347\256\241\347\220\206/\345\256\242\350\257\211\345\244\204\347\220\206/Crm_CustomerAppealBill_KaiBei.html"
@@ -1413,7 +1413,7 @@
//#endregion
//#region 鏍规嵁鐗╂枡鍐呯爜鑾峰彇鐩稿叧淇℃伅-鐗╂枡鍒嗙被
- function getMaterTypeByID(HMaterID) {
+ window.getMaterTypeByID = function(HMaterID) {
$.ajax({
url: GetWEBURL() + "/Crm_CustomerAppealBill/getInfoByHMaterID",
type: "GET",
@@ -1484,6 +1484,20 @@
});
})
}
+
+ function GetMaterValue(obj) { //鐗╂枡
+ $("#HMaterID").val(checkStatus.data[0].HItemID);//浜у搧鍐呯爜
+ $("#HMaterNumber1").val(checkStatus.data[0].鐗╂枡浠g爜);//浜у搧浠g爜
+ $("#HMaterName").val(checkStatus.data[0].鐗╂枡鍚嶇О);//浜у搧鍚嶇О
+ $("#HMaterModel").val(checkStatus.data[0].瑙勬牸鍨嬪彿);
+ $("#HUnitID").val(checkStatus.data[0].HUnitID);
+ $("#HUnitName").val(checkStatus.data[0].璁¢噺鍗曚綅鍚嶇О);
+
+ var HMaterID = checkStatus.data[0].HItemID;
+ getMaterTypeByID(HMaterID);
+ }
+
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_CheckItem.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_CheckItem.html"
index 34341cc..eecbc50 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_CheckItem.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_CheckItem.html"
@@ -315,6 +315,12 @@
});
});
});
+
+ function GetQCCheckClassValue(obj) { //妫�楠岄」鐩被鍒�
+ $("#HQCCheckClassName").val(obj[0].鍚嶇О);
+ $("#HQCCheckClassID").val(obj[0].HItemID);
+ }
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterType.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterType.html"
index dfe0e1e..ee61fbe 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterType.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterType.html"
@@ -181,7 +181,16 @@
get_FastQuery();
});
//#endregion
-
+
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetMaterTypeValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
//#region 鏈〉闈㈣璋冪敤鐨勬墍鏈夋柟娉�
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Material.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Material.html"
index c67f863..9bc277d 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Material.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Material.html"
@@ -279,6 +279,17 @@
});
})
//#endregion
+
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetMaterValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//#region 鏈〉闈㈣璋冪敤鐨勬墍鏈夋柟娉�
//#region 鍒濆鍖栫晫闈�
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MouldType.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MouldType.html"
index 1d60c1b..4ae63e1 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MouldType.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MouldType.html"
@@ -141,6 +141,17 @@
get_FastQuery();
});
//#endregion
+
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetMouldTypeValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//鍒濆鍖栬〃鏍�
function set_ClearBill() {
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckClass.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckClass.html"
index 1688512..8080829 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckClass.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckClass.html"
@@ -206,6 +206,16 @@
get_FastQuery();
});
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetQCCheckClassValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//#endregion
//#region 鏈〉闈㈡墍鏈夎璋冪敤鐨勬柟娉�
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlace_List.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlace_List.html"
index b88bc73..2ff0b80 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlace_List.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlace_List.html"
@@ -167,6 +167,16 @@
//#endregion
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetStockPlaceValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//#region 閲嶇疆杩囨护鏉′欢
function set_ClearQuery() {
$("#HNumber").val("");
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Unit.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Unit.html"
index 4736552..c864016 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Unit.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Unit.html"
@@ -364,6 +364,16 @@
});
//#endregion
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetUnitValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//閲嶆柊鍚屾鎸夐挳
function set_ResCnz() {
var HNumber2 = $('#HNumber2').val();
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenter.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenter.html"
index eb1e011..488f178 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenter.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkCenter.html"
@@ -219,6 +219,16 @@
});
//#endregion
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetWorkCenterValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
////#region 淇敼鎸夐挳
//form.on('submit(btnModify)', function (data) {
// if (TagId != "") {
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Process.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Process.html"
index 3a42be8..cc0f963 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Process.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\347\224\237\344\272\247\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Process.html"
@@ -216,6 +216,16 @@
});
//#endregion
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetProcessValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//#endregion
//#region 鏈〉闈㈡墍鏈夎璋冪敤鐨勬柟娉�
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html"
index 1b02744..42c0452 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html"
@@ -676,6 +676,12 @@
}
//#endregion
});
+
+ function GetMouldFileValue(obj) { //鍣ㄥ叿妗f
+ $("#HMouldID").val(obj[0].hmainid);//鍣ㄥ叿id
+ $("#HMouldNum").val(obj[0].妯″叿鍚嶇О);//鍣ㄥ叿鍚嶇О
+ }
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillEdit.html"
index f375a73..226e3ae 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillEdit.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillEdit.html"
@@ -543,7 +543,7 @@
, area: ['90%', '90%'] //澶у皬
, title: '浜哄憳琛�' //鏍囬
, shift: 2 //寮瑰嚭鍔ㄧ敾
- , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+ , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HManager', 'yes']
, btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {//鎸夐挳涓� 鐨勫洖璋�
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮圭獥椤甸潰
@@ -569,7 +569,7 @@
, area: ['90%', '90%'] //澶у皬
, title: '浜哄憳琛�' //鏍囬
, shift: 2 //寮瑰嚭鍔ㄧ敾
- , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+ , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes']
, btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {//鎸夐挳涓� 鐨勫洖璋�
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮圭獥椤甸潰
@@ -595,7 +595,7 @@
, area: ['90%', '90%'] //澶у皬
, title: '渚涘簲鍟嗚〃' //鏍囬
, shift: 2 //寮瑰嚭鍔ㄧ敾
- , content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html', 'yes']
+ , content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html?Type=HSup', 'yes']
, btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {//鎸夐挳涓� 鐨勫洖璋�
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮圭獥椤甸潰
@@ -859,6 +859,44 @@
}
//#endregion
});
+
+ function GetMouldFileValue(obj) { //鍣ㄥ叿妗f
+ $("#HMouldID").val(obj[0].hmainid);//鍣ㄥ叿id
+ $("#MouldHName").val(obj[0].妯″叿鍚嶇О);//鍣ㄥ叿鍚嶇О
+ $("#MouldHNumber").val(obj[0].妯″叿缂栧彿);//鍣ㄥ叿浠g爜
+ $("#MouldHModel").val(obj[0].妯″叿鍨嬪彿);//鍣ㄥ叿瑙勬牸
+ }
+
+ function GetRepairValue(obj) { //缁翠慨椤圭洰
+ $("#HRepairID").val(obj[0].hitemid);//缁翠慨椤圭洰id
+ $("#HRepairIDName").val(obj[0].缁翠慨椤圭洰);//缁翠慨椤圭洰鍚嶇О
+ }
+
+ function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬
+ $("#HDeptID").val(obj[0].HItemID);//缁翠慨閮ㄩ棬id
+ $("#HDeptIDName").val(obj[0].閮ㄩ棬鍚嶇О);//缁翠慨閮ㄩ棬鍚嶇О
+ }
+
+ function GetHManagerValue(obj) { //杩斿洖涓荤
+ $("#HManagerIDName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HManagerID").val(obj[0].HItemID);
+ }
+
+ function GetHEmpValue(obj) { //杩斿洖缁翠慨浜�
+ $("#HEmpIDName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HEmpID").val(obj[0].HItemID);
+ }
+
+ function GetEquipFileValue(obj) { //杩斿洖璁惧
+ $("#HEquipID").val(obj[0].hmainid);//璁惧id
+ $("#HEquipIDName").val(obj[0].璁惧鍚嶇О);//璁惧鍚嶇О
+ }
+
+ function GetHSupNameValue(obj) { //杩斿洖渚涘簲鍟�
+ $("#HSupID").val(obj[0].HItemID);//渚涘簲鍟唅d
+ $("#HSupIDName").val(obj[0].渚涘簲鍟嗗悕绉�);//渚涘簲鍟嗗悕绉�
+ }
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillList.html"
index 236958e..5808eac 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillList.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillList.html"
@@ -282,6 +282,16 @@
};
});
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetMouldRepairSendWorkValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//#endregion
//#region 姝ら〉闈㈡墍鏈夌殑鏂规硶
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MaterialMouldBillMain.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MaterialMouldBillMain.html"
index fcb659c..21c46dc 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MaterialMouldBillMain.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MaterialMouldBillMain.html"
@@ -637,7 +637,7 @@
, area: ['90%', '90%']//澶у皬
, title: '鍛樺伐琛�'//鏍囬
, shift: 2//寮瑰嚭鍔ㄧ敾
- , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?openType=2&HOrgID=' + HOrgID, 'yes']
+ , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes']
, btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
@@ -1206,6 +1206,36 @@
});
+
+ function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬
+ $("#HDeptID").val(obj[0].HItemID);
+ $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+ }
+
+ function GetHEmpValue(obj) { //杩斿洖璐熻矗浜�
+ $("#HEmpID").val(obj[0].HItemID);//璐熻矗浜篿d
+ $("#HEmpName").val(obj[0].鑱屽憳鍚嶇О);//璐熻矗浜哄悕绉�
+ }
+
+ function GetMaterValue(obj) { //鐗╂枡
+ $("#HMaterID").val(obj[0].HItemID);
+ $("#HMaterNumber").val(obj[0].鐗╂枡浠g爜);
+ $("#HMaterName").val(obj[0].鐗╂枡鍚嶇О);
+ $("#HMaterModel").val(obj[0].瑙勬牸鍨嬪彿);
+ }
+
+ function GetWorkCenterValue(obj) { //宸ヤ綔涓績
+ $("#HWorkCenterID").val(obj[0].HItemID);//宸ヤ綔涓績id
+ $("#HWorkCenterName").val(obj[0].宸ヤ綔涓績鍚嶇О);//宸ヤ綔涓績鍚嶇О
+ }
+
+ function GetEquipFileValue(obj) { //杩斿洖璁惧
+ $("#HEquipID").val(obj[0].hmainid);//id
+ $("#HEquipNumber").val(obj[0].璁惧浠g爜);//璁惧浠g爜
+ $("#HEquipName").val(obj[0].璁惧鍚嶇О);//璁惧鍚嶇О
+ $("#HEquipModel").val(obj[0].璁惧瑙勬牸);//璁惧鍨嬪彿
+ }
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFile.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFile.html"
index fd44df0..e0fe612 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFile.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFile.html"
@@ -693,7 +693,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html?Type=HSup', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
@@ -730,7 +730,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html?Type=HAccSup', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
@@ -1489,6 +1489,53 @@
}
return Result;
}
+
+ function GetMaterValue(obj) { //鐗╂枡
+ $("#HName").val(obj[0].鐗╂枡鍚嶇О);
+ $("#HMaterNumber").val(obj[0].鐗╂枡浠g爜);
+ $("#HMaterID").val(obj[0].HItemID);
+ }
+
+ function GetMouldTypeValue(obj) { //鍣ㄥ叿鍒嗙被
+ $("#HMouleTypeName").val(obj[0].HName);
+ $("#HMouleTypeID").val(obj[0].HItemID);
+ }
+
+ function GetUnitValue(obj) { //璁¢噺鍗曚綅
+ $("#HUnitName").val(obj[0].璁¢噺鍗曚綅鍚嶇О);
+ $("#HUnitID").val(obj[0].HItemID);
+ }
+
+ function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬
+ $("#HDeptID").val(obj[0].HItemID);
+ $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+ }
+
+ function GetHSupNameValue(obj) { //杩斿洖渚涘簲鍟�
+ $("#HSupID").val(obj[0].HItemID);//渚涘簲鍟唅d
+ $("#HSupName").val(obj[0].渚涘簲鍟嗗悕绉�);//渚涘簲鍟嗗悕绉�
+ }
+
+ function GetHWHValue(obj) { //浠撳簱
+ $("#HWHName").val(obj[0].浠撳簱鍚嶇О);
+ $("#HWHID").val(obj[0].HItemID);
+ }
+
+ function GetStockPlaceValue(obj) { //浠撲綅
+ $("#HSPName").val(obj[0].浠撲綅鍚嶇О);
+ $("#HSPID").val(obj[0].HMainID);
+ }
+
+ function GetMouldMaintainRuleValue(obj) { //淇濆吇瑙勭▼
+ $("#HMouldMaintainRuleInterName").val(obj[0].鍗曟嵁鍙�);
+ $("#HMouldMaintainRuleInterID").val(obj[0].hmainid);
+ }
+
+ function GetHAccSupNameValue(obj) { //杩斿洖鍒堕�犲巶鍟�
+ $("#HMadeSupName").val(obj[0].渚涘簲鍟嗗悕绉�);
+ $("#HMadeSupID").val(obj[0].HItemID);
+ }
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html"
index 748f296..698ee67 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html"
@@ -563,7 +563,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HManager', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -601,7 +601,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -639,7 +639,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html?Type=HSup', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -1579,7 +1579,57 @@
return true;
}
}
- //#endregion
+ //#endregion
+
+ function GetMouldFileValue(obj) { //鍣ㄥ叿妗f
+ $("#HMouldID").val(obj[0].hmainid);//鍣ㄥ叿id
+ $("#HName").val(obj[0].妯″叿鍚嶇О);//鍣ㄥ叿鍚嶇О
+ $("#HMouldCode").val(obj[0].妯″叿缂栧彿);//鍣ㄥ叿浠g爜
+ $("#HModel").val(obj[0].妯″叿鍨嬪彿);//鍣ㄥ叿瑙勬牸
+ }
+
+ function GetRepairValue(obj) { //缁翠慨椤圭洰
+ $("#HRepairID").val(obj[0].hitemid);//缁翠慨椤圭洰id
+ $("#HRepairName").val(obj[0].缁翠慨椤圭洰);//缁翠慨椤圭洰鍚嶇О
+ }
+
+ function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬
+ $("#HDeptID").val(obj[0].HItemID);//缁翠慨閮ㄩ棬id
+ $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);//缁翠慨閮ㄩ棬鍚嶇О
+ }
+
+ function GetHManagerValue(obj) { //杩斿洖涓荤
+ $("#HManagerName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HManagerID").val(obj[0].HItemID);
+ }
+
+ function GetHEmpValue(obj) { //杩斿洖缁翠慨浜�
+ $("#HEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HEmpID").val(obj[0].HItemID);
+ }
+
+ function GetHSupNameValue(obj) { //杩斿洖渚涘簲鍟�
+ $("#HSupID").val(obj[0].HItemID);//渚涘簲鍟唅d
+ $("#HSupName").val(obj[0].渚涘簲鍟嗗悕绉�);//渚涘簲鍟嗗悕绉�
+ }
+
+ function GetEquipFileValue(obj) { //杩斿洖璁惧
+ $("#HEquipID").val(obj[0].hmainid);//璁惧id
+ $("#HEquipName").val(obj[0].璁惧鍚嶇О);//璁惧鍚嶇О
+ }
+
+ function GetMouldConkBookValue(obj) { //鍣ㄥ叿鏁呴殰鐧昏鍗�
+ $("#HMainSourceBillNo").val(obj[0].鍗曟嵁鍙�);
+ $("#HMainSourceInterID").val(obj[0].hmainid);
+ $("#HMainSourceEntryID").val(obj[0].hsubid);
+ }
+
+ function GetMouldRepairSendWorkValue(obj) { //鍣ㄥ叿缁翠慨娲惧伐鍗�
+ $("#HMainSourceBillNo").val(obj[0].鍗曟嵁鍙�);
+ $("#HMainSourceInterID").val(obj[0].hmainid);
+ $("#HMainSourceEntryID").val(obj[0].hsubid);
+ }
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html"
index bef8e69..f02e883 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html"
@@ -274,6 +274,17 @@
form.on('submit(btnReSearch)', function (data) {
set_ClearQuery();
});
+
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetMouldRepairWorkValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//#endregion
//#region 褰撳墠椤甸潰鍔犺浇鎵�鏈夋柟娉�
@@ -905,10 +916,7 @@
}
//#endregion
- //鐩戝惉琛屽弻鍑讳簨浠�
- table.on('rowDouble(mainTable)', function (obj) {
- layer.alert("鍙屽嚮浜嬩欢", { icon: 1 });
- });
+
//#endregion
//laydate.render({
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldRepairCheckBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldRepairCheckBillList.html"
index b0de950..75f806f 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldRepairCheckBillList.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldRepairCheckBillList.html"
@@ -308,7 +308,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -384,7 +384,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HManager', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -841,6 +841,31 @@
});
+ function GetMouldFileValue(obj) { //鍣ㄥ叿妗f
+ $("#HMouldID").val(obj[0].hmainid);//鍣ㄥ叿id
+ $("#HName").val(obj[0].妯″叿鍚嶇О);//鍣ㄥ叿鍚嶇О
+ }
+
+ function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬
+ $("#HDeptID").val(obj[0].HItemID);//缁翠慨閮ㄩ棬id
+ $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);//缁翠慨閮ㄩ棬鍚嶇О
+ }
+
+ function GetHManagerValue(obj) { //杩斿洖璐熻矗浜�
+ $("#HManagerName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HManagerID").val(obj[0].HItemID);
+ }
+
+ function GetHEmpValue(obj) { //杩斿洖楠屾敹浜�
+ $("#HEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HEmpID").val(obj[0].HItemID);
+ }
+
+ function GetMouldRepairWorkValue(obj) { //杩斿洖缁翠慨璁板綍
+ $("#HMouldRepairWorkName").val(obj[0].鍗曟嵁鍙�);
+ $("#HMouldRepairWorkID").val(obj[0].hmainid);
+ }
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html"
index 9486629..d933b1a 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html"
@@ -224,6 +224,15 @@
sWhere = "";
});
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetMouldConkBookValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
//#endregion
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html"
index 5a41586..b3854b1 100644
--- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html"
@@ -3724,7 +3724,7 @@
, shade: 0.6 //閬僵閫忔槑搴�
, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Sc_ProcessPlanViewList.html', 'yes']
+ , content: ['../../../views/鐢熶骇宸ュ簭绠$悊/宸ュ簭璁″垝鍗�/Sc_ProcessPlanList.html', 'yes']
, resize: false
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
@@ -3877,7 +3877,7 @@
HReasonName = obj[0].HName;
ReasonID = obj[0].HItemID;
}
- function GetHPlanValue(obj) { //杩斿洖宸ュ簭璁″垝鍗�
+ function GetProcessPlanValue(obj) { //杩斿洖宸ュ簭璁″垝鍗�
$("#HMainSourceInterID").val(obj[0].hmainid);
$("#HMainSourceEntryID").val(obj[0].hsubid);
$("#HMainSourceBillNo").val(obj[0].鍗曟嵁鍙�);
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\350\256\241\345\210\222\345\215\225/Sc_ProcessPlanList.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\350\256\241\345\210\222\345\215\225/Sc_ProcessPlanList.html"
index 7616995..a91e948 100644
--- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\350\256\241\345\210\222\345\215\225/Sc_ProcessPlanList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\350\256\241\345\210\222\345\215\225/Sc_ProcessPlanList.html"
@@ -288,6 +288,17 @@
form.on('submit(btnSearch)', function (data) {
get_FastQuery();
});
+
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetProcessPlanValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//#endregion
//#region 姝ら〉闈㈡墍鏈夌殑鏂规硶
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackHandleBillMain.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackHandleBillMain.html"
index b84fcfb..72515a5 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackHandleBillMain.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackHandleBillMain.html"
@@ -419,6 +419,8 @@
, form = layui.form
, laydate = layui.laydate
, element = layui.element;
+
+ window.HDeptType = 0;
//#endregion
//鑾峰彇鍙傛暟
@@ -799,6 +801,8 @@
//鍙戦�侀儴闂�
form.on('submit(HDeptList)', function () {
+ HDeptType = 1;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -837,6 +841,8 @@
//鎺ユ敹閮ㄩ棬
form.on('submit(HReceiveList)', function () {
+ HDeptType = 2;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -884,7 +890,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HSecManager', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -1136,7 +1142,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -1211,6 +1217,41 @@
return [year, month, day].join('-');
}
+
+ function GetHDeptNameValue(obj) { //閮ㄩ棬
+ if (HDeptType == 1) {
+ $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HDeptID").val(obj[0].HItemID);
+ } else if (HDeptType == 2) {
+ $("#HReceiveName").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HReceiveID").val(obj[0].HItemID);
+ }
+ }
+
+ function GetErrMsgBackTypeValue(obj) { //寮傚父鍙嶉
+ $("#HErrMsgBackTypeName").val(obj[0].寮傚父鍙嶉绫诲瀷鍚嶇О);
+ $("#HErrMsgBackTypeID").val(obj[0].HItemID);
+ }
+
+ function GetHEmpValue(obj) { //澶勭悊浜�
+ $("#HHandleEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HHandleEmpD").val(obj[0].HItemID);
+ }
+
+ function GetHSecManagerValue(obj) { //鍙戦�佷汉
+ $("#HSendMan").val(obj[0].鑱屽憳鍚嶇О);
+ }
+
+ function GetEquipFileValue(obj) { //璁惧妗f
+ $("#HEquipName").val(obj[0].璁惧鍚嶇О);
+ $("#HEquipID").val(obj[0].hmainid);
+ }
+
+ function GetMouldFileValue(obj) { //鍣ㄥ叿妗f
+ $("#HMouldName").val(obj[0].妯″叿鍚嶇О);
+ $("#HMouldID").val(obj[0].hmainid);
+ }
+
</script>
</body>
</html>
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackReceiveBillMain.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackReceiveBillMain.html"
index e787ebc..5eddf2a 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackReceiveBillMain.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackReceiveBillMain.html"
@@ -415,6 +415,8 @@
, form = layui.form
, laydate = layui.laydate
, element = layui.element;
+
+ window.HDeptType = 0;
//#endregion
//鑾峰彇鍙傛暟
@@ -757,6 +759,8 @@
//鍙戦�侀儴闂�
form.on('submit(HDeptList)', function () {
+ HDeptType = 1;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -795,6 +799,8 @@
//鎺ユ敹閮ㄩ棬
form.on('submit(HReceiveList)', function () {
+ HDeptType = 2;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -842,7 +848,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HSecManager', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -1094,7 +1100,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -1133,7 +1139,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HManager', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -1205,6 +1211,46 @@
return [year, month, day].join('-');
}
+
+ function GetHDeptNameValue(obj) { //閮ㄩ棬
+ if (HDeptType == 1) {
+ $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HDeptID").val(obj[0].HItemID);
+ } else if (HDeptType == 2) {
+ $("#HReceiveName").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HReceiveID").val(obj[0].HItemID);
+ }
+ }
+
+ function GetErrMsgBackTypeValue(obj) { //寮傚父鍙嶉
+ $("#HErrMsgBackTypeName").val(obj[0].寮傚父鍙嶉绫诲瀷鍚嶇О);
+ $("#HErrMsgBackTypeID").val(obj[0].HItemID);
+ }
+
+ function GetHEmpValue(obj) { //鍏宠仈浜�
+ $("#HRelationEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HRelationEmpID").val(obj[0].HItemID);
+ }
+
+ function GetHManagerValue(obj) { //鎸囨淳澶勭悊浜�
+ $("#HandleEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HHandleEmpID").val(obj[0].HItemID);
+ }
+
+ function GetHSecManagerValue(obj) { //鍙戦�佷汉
+ $("#HSendMan").val(obj[0].鑱屽憳鍚嶇О);
+ }
+
+ function GetEquipFileValue(obj) { //璁惧妗f
+ $("#HEquipName").val(obj[0].璁惧鍚嶇О);
+ $("#HEquipID").val(obj[0].hmainid);
+ }
+
+ function GetMouldFileValue(obj) { //鍣ㄥ叿妗f
+ $("#HMouldName").val(obj[0].妯″叿鍚嶇О);
+ $("#HMouldID").val(obj[0].hmainid);
+ }
+
</script>
</body>
</html>
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackSignBillMain.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackSignBillMain.html"
index 11b6558..332def3 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackSignBillMain.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/OA_ErrMsgBackSignBillMain.html"
@@ -405,6 +405,8 @@
, form = layui.form
, laydate = layui.laydate
, element = layui.element;
+
+ window.HDeptType = 0;
//#endregion
//鑾峰彇鍙傛暟
@@ -786,6 +788,8 @@
//鍙戦�侀儴闂�
form.on('submit(HDeptList)', function () {
+ HDeptType = 1;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -824,6 +828,8 @@
//鎺ユ敹閮ㄩ棬
form.on('submit(HReceiveList)', function () {
+ HDeptType = 2;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -871,7 +877,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HSecManager', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -1123,7 +1129,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -1198,6 +1204,41 @@
return [year, month, day].join('-');
}
+
+ function GetHDeptNameValue(obj) { //閮ㄩ棬
+ if (HDeptType == 1) {
+ $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HDeptID").val(obj[0].HItemID);
+ } else if (HDeptType == 2) {
+ $("#HReceiveName").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HReceiveID").val(obj[0].HItemID);
+ }
+ }
+
+ function GetErrMsgBackTypeValue(obj) { //寮傚父鍙嶉
+ $("#HErrMsgBackTypeName").val(obj[0].寮傚父鍙嶉绫诲瀷鍚嶇О);
+ $("#HErrMsgBackTypeID").val(obj[0].HItemID);
+ }
+
+ function GetHEmpValue(obj) { //绛惧埌浜�
+ $("#HSignEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HSignEmpID").val(obj[0].HItemID);
+ }
+
+ function GetHSecManagerValue(obj) { //鍙戦�佷汉
+ $("#HSendMan").val(obj[0].鑱屽憳鍚嶇О);
+ }
+
+ function GetEquipFileValue(obj) { //璁惧妗f
+ $("#HEquipName").val(obj[0].璁惧鍚嶇О);
+ $("#HEquipID").val(obj[0].hmainid);
+ }
+
+ function GetMouldFileValue(obj) { //鍣ㄥ叿妗f
+ $("#HMouldName").val(obj[0].妯″叿鍚嶇О);
+ $("#HMouldID").val(obj[0].hmainid);
+ }
+
</script>
</body>
</html>
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_Add_MESExecptFeedBackBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_Add_MESExecptFeedBackBillList.html"
index fd39727..a6d22d3 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_Add_MESExecptFeedBackBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_Add_MESExecptFeedBackBillList.html"
@@ -410,6 +410,8 @@
, form = layui.form
, laydate = layui.laydate
, element = layui.element;
+
+ window.HDeptType = 0;
//#endregion
//鍒濆鍖栬〃鍗曟彃浠�
@@ -731,7 +733,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -759,6 +761,8 @@
//鍙戦�侀儴闂�
form.on('submit(HDeptList)', function () {
+ HDeptType = 1;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -798,6 +802,8 @@
//鎺ユ敹閮ㄩ棬
form.on('submit(HRecDeptList)', function () {
+ HDeptType = 2;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -1038,6 +1044,21 @@
return [year, month, day].join('-');
}
+
+ function GetHEmpValue(obj) { //鍙戦�佷汉
+ $("#HSendMan").val(obj[0].鑱屽憳鍚嶇О);
+ }
+
+ function GetHDeptNameValue(obj) { //閮ㄩ棬
+ if (HDeptType == 1) {
+ $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HDeptID").val(obj[0].HItemID);
+ } else if (HDeptType == 2) {
+ $("#HRecDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HRecDeptID").val(obj[0].HItemID);
+ }
+ }
+
</script>
</body>
</html>
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
index d0cc69e..cecbb27 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
@@ -464,6 +464,16 @@
});
});
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetICMOBillValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//#region 鍒濆鍖栫晫闈�
function set_ClearBill() {
//鍒濆鍖栬〃鏍�
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html"
index 133970e..789007e 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html"
@@ -637,13 +637,36 @@
if (checkStatus.data.length === 0) {
return layer.msg('璇烽�夋嫨鏁版嵁');
}
- //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
- obj.update({
- HDotCheckItemID: checkStatus.data[0].HItemID,
- HDotCheckCode: checkStatus.data[0].鐐规椤圭洰浠g爜,
- HDotCheckItem: checkStatus.data[0].鐐规椤圭洰鍚嶇О
- });
- layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+
+ if (checkStatus.data.length === 1) {
+ //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
+ obj.update({
+ HDotCheckItemID: checkStatus.data[0].HItemID,
+ HDotCheckCode: checkStatus.data[0].鐐规椤圭洰浠g爜,
+ HDotCheckItem: checkStatus.data[0].鐐规椤圭洰鍚嶇О
+ });
+ layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+ } else {
+ //(澶氶�夎)
+ //灏嗗師鏈夎〃浣撴暟鎹啓鍏ユ暟缁�
+ var tableBak = table.cache["mainTable"]; //鑾峰彇涔嬪墠缂栬緫杩囩殑琛ㄦ牸鏁版嵁
+ buttonArr = [];//娓呯┖鏁扮粍
+ for (var i = 0; i < tableBak.length; i++) {
+ if (tableBak[i]["HDotCheckItemID"] != 0 && tableBak[i]["HDotCheckItemID"] != "" && tableBak[i]["HDotCheckItemID"] != undefined && tableBak[i]["HDotCheckItemID"] != null) {
+ buttonArr.push(tableBak[i]); //濡傛灉鍏抽敭瀛楁涓嶄负绌猴紝鍒欏皢涔嬪墠鐨勬暟鎹瓨鍌�
+ }
+ }
+ //灏嗘壒閲忛�夋嫨鐨勬暟鎹啓鍏ユ暟缁勶紙澶氶�夎锛�
+ for (var i = 0; i < checkStatus.data.length; i++) {
+ buttonArr.push({ "HDotCheckItemID": checkStatus.data[i].HItemID, "HDotCheckCode": checkStatus.data[i].鐐规椤圭洰浠g爜, "HDotCheckItem": checkStatus.data[i].鐐规椤圭洰鍚嶇О, "HDotCheckPart": "", "HClaim": "", "HManagerID": sessionStorage["HEmpID"], "HManagerCode": sessionStorage["HEmpNumber"], "HManagerName": sessionStorage["HEmpName"], "HRemark": "" });
+ }
+
+ table.reload("mainTable", {
+ data: buttonArr //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
+ })
+
+ layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+ }
}
, btn2: function (index, layero) {
//鎸夐挳銆愭寜閽簩銆戠殑鍥炶皟
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html"
index 08d09dd..c3e7b18 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html"
@@ -702,14 +702,36 @@
if (checkStatus.data.length === 0) {
return layer.msg('璇烽�夋嫨鏁版嵁');
}
- //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
- obj.update({
- HDotCheckItemID: checkStatus.data[0].HItemID,
- HDotCheckItem: checkStatus.data[0].鐐规椤圭洰鍚嶇О,
- HDotCheckCode: checkStatus.data[0].鐐规椤圭洰浠g爜,
- //HDotCheckPart: checkStatus.data[0].鐐规閮ㄤ綅
- });
- layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+ if (checkStatus.data.length === 1) {
+ //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
+ obj.update({
+ HDotCheckItemID: checkStatus.data[0].HItemID,
+ HDotCheckItem: checkStatus.data[0].鐐规椤圭洰鍚嶇О,
+ HDotCheckCode: checkStatus.data[0].鐐规椤圭洰浠g爜,
+ //HDotCheckPart: checkStatus.data[0].鐐规閮ㄤ綅
+ });
+ layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+ } else {
+ //(澶氶�夎)
+ //灏嗗師鏈夎〃浣撴暟鎹啓鍏ユ暟缁�
+ var tableBak = table.cache["mainTable"]; //鑾峰彇涔嬪墠缂栬緫杩囩殑琛ㄦ牸鏁版嵁
+ buttonArr = [];//娓呯┖鏁扮粍
+ for (var i = 0; i < tableBak.length; i++) {
+ if (tableBak[i]["HDotCheckItemID"] != 0 && tableBak[i]["HDotCheckItemID"] != "" && tableBak[i]["HDotCheckItemID"] != undefined && tableBak[i]["HDotCheckItemID"] != null) {
+ buttonArr.push(tableBak[i]); //濡傛灉鍏抽敭瀛楁涓嶄负绌猴紝鍒欏皢涔嬪墠鐨勬暟鎹瓨鍌�
+ }
+ }
+ //灏嗘壒閲忛�夋嫨鐨勬暟鎹啓鍏ユ暟缁勶紙澶氶�夎锛�
+ for (var i = 0; i < checkStatus.data.length; i++) {
+ buttonArr.push({ "HDotCheckItemID": checkStatus.data[i].HItemID, "HDotCheckCode": checkStatus.data[i].鐐规椤圭洰浠g爜, "HDotCheckItem": checkStatus.data[i].鐐规椤圭洰鍚嶇О, "HDotCheckPart": "", "HClaim": "", "HManagerID": sessionStorage["HEmpID"], "HManagerCode": sessionStorage["HEmpNumber"], "HManagerName": sessionStorage["HEmpName"], "HRemark": "" });
+ }
+
+ table.reload("mainTable", {
+ data: buttonArr //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
+ })
+
+ layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+ }
}
, btn2: function (index, layero) {
//鎸夐挳銆愭寜閽簩銆戠殑鍥炶皟
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileMainList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileMainList.html"
index eaef1ec..6d8e980 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileMainList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileMainList.html"
@@ -158,6 +158,16 @@
get_Refresh();
});
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetEquipFileValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//#endregion
//鍒濆鍖栬〃鏍�
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html"
index 6fdf26b..acd303a 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html"
@@ -264,12 +264,34 @@
if (checkStatus.data.length === 0) {
return layer.msg('璇烽�夋嫨鏁版嵁');
}
- //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
- obj.update({
- HDotCheckItemID: checkStatus.data[0].HItemID,
- HDotCheckItem: checkStatus.data[0].鐐规椤圭洰鍚嶇О
- });
- layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+ if (checkStatus.data.length === 1) {
+ //鍚屾鏇存柊琛ㄦ牸鍜岀紦瀛樺搴旂殑鍊�
+ obj.update({
+ HDotCheckItemID: checkStatus.data[0].HItemID,
+ HDotCheckItem: checkStatus.data[0].鐐规椤圭洰鍚嶇О
+ });
+ layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+ } else {
+ //(澶氶�夎)
+ //灏嗗師鏈夎〃浣撴暟鎹啓鍏ユ暟缁�
+ var tableBak = table.cache["mainTable"]; //鑾峰彇涔嬪墠缂栬緫杩囩殑琛ㄦ牸鏁版嵁
+ buttonArr = [];//娓呯┖鏁扮粍
+ for (var i = 0; i < tableBak.length; i++) {
+ if (tableBak[i]["HDotCheckItemID"] != 0 && tableBak[i]["HDotCheckItemID"] != "" && tableBak[i]["HDotCheckItemID"] != undefined && tableBak[i]["HDotCheckItemID"] != null) {
+ buttonArr.push(tableBak[i]); //濡傛灉鍏抽敭瀛楁涓嶄负绌猴紝鍒欏皢涔嬪墠鐨勬暟鎹瓨鍌�
+ }
+ }
+ //灏嗘壒閲忛�夋嫨鐨勬暟鎹啓鍏ユ暟缁勶紙澶氶�夎锛�
+ for (var i = 0; i < checkStatus.data.length; i++) {
+ buttonArr.push({ "HDotCheckItemID": checkStatus.data[i].HItemID, "HDotCheckItem": checkStatus.data[i].鐐规椤圭洰鍚嶇О, "HDotCheckPart": "", "HClaim": "", "HManagerID": sessionStorage["HEmpID"], "HManagerNumber": sessionStorage["HEmpNumber"], "HManagerName": sessionStorage["HEmpName"], "HRemark": "" });
+ }
+
+ table.reload("mainTable", {
+ data: buttonArr //灏嗘暟鎹噸鏂拌浇鍏ヨ〃鏍�
+ })
+
+ layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+ }
}
, btn2: function (index, layero) {
//鎸夐挳銆愭寜閽簩銆戠殑鍥炶皟
@@ -420,7 +442,7 @@
function set_EditFromGrid() {
set_EditForm(linterid); //缂栬緫鑾峰彇琛ㄥご
set_EditGrid(linterid); //缂栬緫鑾峰彇琛ㄤ綋
- option.data = [{ "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": "0", "HManagerNumber": "", "HManagerName": "", "HRemark": "" }];
+ option.data = [{ "HDotCheckItemID": 0, "HDotCheckItem": "", "HDotCheckPart": "", "HClaim": "", "HManagerID": "0", "HManagerNumber": "", "HManagerName": "", "HRemark": "" }];
table.render(option);
}
@@ -465,7 +487,12 @@
data: { "sqlWhere": "and hmainid=" + linterid },
success: function (result) {
if (result.count == 1) {
- option.data = result.data;
+ var data = result.data;
+ var rowarr = [];
+ for (var i = 0; i < result.data.length; i++) {
+ rowarr.push({ "HDotCheckItemID": data[i].鐐规椤圭洰ID, "HDotCheckItem": data[i].鐐规椤圭洰, "HDotCheckPart": data[i].鐐规閮ㄤ綅, "HClaim": data[i].鍏蜂綋瑕佹眰, "HManagerID": data[i].璐熻矗浜篒D, "HManagerNumber": data[i].璐熻矗浜轰唬鐮�, "HManagerName": data[i].璐熻矗浜�, "HRemark": data[i].瀛愬娉� });
+ }
+ option.data = rowarr;
table.render(option);
} else {
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBill.html"
index c0756f5..7228af9 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBill.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBill.html"
@@ -392,6 +392,10 @@
var closeType = params[params[3]]; //鍏抽棴绫诲瀷
}
var hID = params[params[1]];//缂栬緫鏌ョ湅
+ //鍏ㄥ眬鍙橀噺
+ window.HDeptType = 0; //閮ㄩ棬
+ window.HCusType = 0; //瀹㈡埛
+
//甯歌鐢ㄦ硶
laydate.render({
elem: '#HDate'
@@ -431,7 +435,7 @@
, cols: [[ //琛ㄥご
{ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }
, { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 }
- , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true, totalRow: true }
+ , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true, totalRow: true }
, { field: 'HQCCheckClassName', title: '妫�楠岄」鐩被鍒�', edit: 'text', event: "HQCCheckClassCheck", width: 100 }
, { field: 'HQCCheckClassNumber', title: '妫�楠岄」鐩被鍒唬鐮�', edit: 'text', width: 100, hide: true }
, { field: 'HQCCheckItemID', title: 'HQCCheckItemID', edit: 'text', hide: true }
@@ -836,12 +840,12 @@
layer.open({
type: 2,
skin: 'layui-layer-rim', //鍔犱笂杈规
- title: '鐢熶骇璧勬簮鍒楄〃',
+ title: '鐢熶骇璁㈠崟鍒楄〃',
closeBtn: 1,
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Source.html', 'yes'],
+ content: ['../../鐢熶骇绠$悊/鐢熶骇浠诲姟鍗�/Sc_ICMOBillList.html', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -851,8 +855,9 @@
if (checkStatus.data.length === 0) {
return layer.msg('璇烽�夋嫨鏁版嵁');
}
- $("#HICMOBillNo").val(checkStatus.data[0].鐢熶骇璧勬簮鍚嶇О);
- $("#HICMOBillID").val(checkStatus.data[0].HItemID);
+ $("#HICMOBillNo").val(checkStatus.data[0].鍗曟嵁鍙�);
+ $("#HICMOID").val(checkStatus.data[0].hmainid);
+ $("#HICMOInterID").val(checkStatus.data[0].hmainid);
layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
}
, btn2: function (index, layero) {
@@ -879,7 +884,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -944,6 +949,8 @@
});
//琛ㄥご淇℃伅浠诲姟鍗曞彿寮圭獥
form.on('submit(HCheckDept)', function () {
+ HDeptType = 1;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -979,45 +986,11 @@
}
});
});
- //琛ㄥご淇℃伅浠诲姟鍗曞彿寮圭獥
- form.on('submit(HCheckDept)', function () {
- //椤甸潰灞�-鑷畾涔�
- layer.open({
- type: 2,
- skin: 'layui-layer-rim', //鍔犱笂杈规
- title: '璐ㄦ绉戝垪琛�',
- closeBtn: 1,
- shift: 2,
- area: ['80%', '80%'],
- maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_DepartmentList.html', '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('璇烽�夋嫨鏁版嵁');
- }
- $("#HCheckDeptName").val(checkStatus.data[0].閮ㄩ棬鍚嶇О);
- $("#HCheckDeptID").val(checkStatus.data[0].HItemID);
- layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
- }
- , btn2: function (index, layero) {
- //鎸夐挳銆愭寜閽簩銆戠殑鍥炶皟
- //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
- },
- end: function () {
-
- },
- success: function (layero, index) {
-
- }
- });
- });
+
//琛ㄥご淇℃伅浠诲姟鍗曞彿寮圭獥
form.on('submit(HCheckDept2)', function () {
+ HDeptType = 2;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -1055,6 +1028,8 @@
});
//琛ㄥご淇℃伅瀹㈡埛寮圭獥
form.on('submit(HCus)', function () {
+ HCusType = 1;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -1092,6 +1067,8 @@
});
//琛ㄥご淇℃伅寮圭獥
form.on('submit(HProdArea)', function () {
+ HCusType = 2;
+
//椤甸潰灞�-鑷畾涔�
layer.open({
type: 2,
@@ -1281,6 +1258,48 @@
//}
return Result;
}
+
+ function GetGySource(obj) { //鐢熶骇璧勬簮
+ $("#HSourceName").val(obj.鐢熶骇璧勬簮鍚嶇О);
+ $("#HSourceID").val(obj.HItemID);
+ }
+
+ function GetICMOBillValue(obj) { //鐢熶骇璁㈠崟
+ $("#HICMOBillNo").val(obj[0].鍗曟嵁鍙�);
+ $("#HICMOID").val(obj[0].hmainid);
+ $("#HICMOInterID").val(obj[0].hmainid);
+ }
+
+ function GetHEmpValue(obj) { //妫�楠屽憳
+ $("#HFirstCheckEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HFirstCheckEmpID").val(obj[0].HItemID);
+ }
+
+ function GetMaterValue(obj) { //鐗╂枡
+ $("#HMaterName").val(obj[0].鐗╂枡鍚嶇О);
+ $("#HMaterID").val(obj[0].HItemID);
+ }
+
+ function GetHDeptNameValue(obj) { //璐ㄦ绉�/璐ㄦ閮紙閮ㄩ棬锛�
+ if (HDeptType == 1) {
+ $("#HCheckDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HCheckDeptID").val(obj[0].HItemID);
+ } else if (HDeptType == 2) {
+ $("#HCheckDept2Name").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HCheckDept2ID").val(obj[0].HItemID);
+ }
+ }
+
+ function GetHCusNameValue(obj) { //瀹㈡埛/浜у湴
+ if (HCusType == 1) {
+ $("#HCusName").val(obj[0].瀹㈡埛鍚嶇О);
+ $("#HCusID").val(obj[0].HItemID);
+ } else if (HCusType == 2) {
+ $("#HProdAreaName").val(obj[0].瀹㈡埛鍚嶇О);
+ $("#HProdAreaID").val(obj[0].HItemID);
+ }
+ }
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBill.html"
index 15c8856..f035db1 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBill.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBill.html"
@@ -726,7 +726,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -931,6 +931,20 @@
return Result;
}
+ function GetHCusNameValue(obj) { //瀹㈡埛
+ $("#HCusName").val(obj[0].瀹㈡埛鍚嶇О);
+ $("#HCusID").val(obj[0].HItemID);
+ }
+
+ function GetMaterValue(obj) { //鐗╂枡
+ $("#HMaterName").val(obj[0].鐗╂枡鍚嶇О);
+ $("#HMaterID").val(obj[0].HItemID);
+ }
+
+ function GetHEmpValue(obj) { //妫�楠屽憳
+ $("#HFirstCheckEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HFirstCheckEmpID").val(obj[0].HItemID);
+ }
</script>
</body>
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\237\272\347\241\200\345\273\272\346\250\241/Gy_ErrMsgBackType.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\237\272\347\241\200\345\273\272\346\250\241/Gy_ErrMsgBackType.html"
index 52adc77..5e18b2d 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\237\272\347\241\200\345\273\272\346\250\241/Gy_ErrMsgBackType.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\237\272\347\241\200\345\273\272\346\250\241/Gy_ErrMsgBackType.html"
@@ -207,6 +207,15 @@
})
//#endregion
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetErrMsgBackTypeValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
//#region 姝ら〉闈㈡墍鏈夋柟娉�
// 鍒濆鍖栫晫闈�
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_Add_Edit_PatrolProcCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_Add_Edit_PatrolProcCheckBill.html"
index 16a5f0b..53360d2 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_Add_Edit_PatrolProcCheckBill.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_Add_Edit_PatrolProcCheckBill.html"
@@ -325,7 +325,7 @@
//#endregion
var tableReload = table.reload;
- var option = {
+ window.option = {
elem: '#mainTable'
, toolbar: '#toolbarDemo'
, totalRow: true
@@ -1278,7 +1278,7 @@
, shade: 0.6 //閬僵閫忔槑搴�
, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes']
+ , content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes']
, btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
@@ -1620,6 +1620,52 @@
return true;
}
}
+
+ function GetHEmpValue(obj) { //妫�楠屽憳
+ $("#HEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HFirstCheckEmp").val(obj[0].HItemID);
+ }
+
+ function GetProcessValue(obj) { //宸ュ簭
+ $("#HMainProcID").val(obj[0].HItemID);
+ $("#HMainProcNumber").val(obj[0].宸ュ簭浠g爜);
+ $("#HMainProcName").val(obj[0].宸ュ簭鍚嶇О);
+
+ var HQCSchemeID_Patrol = obj[0].HQCSchemeID_Patrol;
+
+ $.ajax({
+ url: GetWEBURL() + "/Web/GetCheckItemByCheckProjectID",
+ type: "GET",
+ data: { "CheckProjectID": HQCSchemeID_Patrol, "HBatchQty": 0 },
+ success: function (result) {
+ if (result.code == 1) {
+ var rowdata = [];
+ var data = result.data;
+ for (var i = 0; i < result.data.length; i++) {
+ //瀛愯〃 璧嬪��
+ rowdata.push({
+ "妫�楠岄」鐩垎绫�": data[i]["妫�楠岄」鐩垎绫�"], "HQCCheckItemID": data[i]["HQCCheckItemID"], "HQCCheckItemName": data[i]["妫�楠岄」鐩�"],
+ "HQCStd": "",
+ "HQCNote1": "",
+ "HQCNote2": "",
+ "HQCNote3": "",
+ "HQCNote4": "",
+ "HQCNote5": "",
+ "HQCNote6": "",
+ "HQCNote7": "",
+ "HQCNote8": "",
+ "HQCNote9": "",
+ "HQCNote10": "",
+ "HRemark": ""
+ });
+ }
+ option.data = rowdata;
+ table.render(option);
+ }
+ }
+ })
+ }
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBill.html"
index dbe7767..94d3efc 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBill.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBill.html"
@@ -125,7 +125,7 @@
<div class="layui-inline">
<label class="layui-form-label" style="width: 85px;">娴佽浆鍗℃暟閲�</label>
<div class="layui-input-block" style="margin-left: 120px;">
- <input type="text" class="layui-input" name="HProcExchQty" id="HProcExchQty" style="background-color:#efefef4d;" readonly>
+ <input type="text" class="layui-input" name="HProcExchQty" id="HProcExchQty" value="1" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-inline">
@@ -1734,7 +1734,7 @@
});
//#endregion
- function get_CheckItem() {
+ window.get_CheckItem = function() {
var HBatchQty = $("#HProcExchQty").val();
$.ajax({
url: GetWEBURL() + "/Web/GetCheckItemByCheckProjectID",
@@ -1853,7 +1853,7 @@
shift: 2,
area: ['90%', '90%'],
maxmin: true,
- content: ['../../../views/Baseset/鍩虹璧勬枡/Sc_ICMOBillListView2.html', 'yes'],
+ content: ['../../鐢熶骇绠$悊/鐢熶骇浠诲姟鍗�/Sc_ICMOBillList.html', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -1864,7 +1864,7 @@
return layer.msg('璇烽�夋嫨鏁版嵁');
}
$("#HICMOInterID").val(checkStatus.data[0].hmainid);
- $("#HICMOEntryID").val(checkStatus.data[0].hsubid);
+ $("#HICMOEntryID").val(checkStatus.data[0].HEntryID);
$("#HICMOBillNo").val(checkStatus.data[0].鍗曟嵁鍙�);
$("#HICMOQty").val(checkStatus.data[0].璁″垝鐢熶骇鏁伴噺);
layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
@@ -1893,7 +1893,7 @@
shift: 2,
area: ['90%', '90%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -3541,7 +3541,40 @@
HReasonName, ReasonID, EmpName,
ZRProcName, QRName;
+ function GetGySource(obj) { //鐢熶骇璧勬簮
+ $("#HSourceName").val(obj.鐢熶骇璧勬簮鍚嶇О);
+ $("#HSourceID").val(obj.HItemID);
+ }
+ function GetICMOBillValue(obj) { //鐢熶骇璁㈠崟
+ $("#HICMOInterID").val(obj[0].hmainid);
+ $("#HICMOEntryID").val(obj[0].HEntryID);
+ $("#HICMOBillNo").val(obj[0].鍗曟嵁鍙�);
+ $("#HICMOQty").val(obj[0].璁″垝鐢熶骇鏁伴噺);
+ }
+
+ function GetProcExValue(obj) { //娴佽浆鍗�
+ $("#HProcExchInterID").val(obj[0].hmainid);
+ $("#HProcExchEntryID").val(obj[0].hsubid);
+ $("#HProcExchBillNo").val(obj[0].鍗曟嵁鍙�);
+ }
+
+ function GetMaterValue(obj) { //鐗╂枡
+ $("#HMaterNumber").val(obj[0].鐗╂枡浠g爜);
+ $("#HMaterName").val(obj[0].鐗╂枡鍚嶇О);
+ $("#HMaterID").val(obj[0].HItemID);
+ }
+
+ function GetHEmpValue(obj) { //璐ㄦ鍛�
+ $("#HFirstCheckEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HFirstCheckEmp").val(obj[0].HItemID);
+ }
+
+ function GetCheckProjectValue(obj) { //璐ㄦ鏂规
+ $("#HQCSchemeID").val(obj[0].hmainid);
+ $("#HQCSchemeName").val(obj[0].妫�楠屾柟妗堝悕绉�);
+ get_CheckItem();
+ }
</script>
</body>
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_Add_Edit_POStockInCheckBillList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_Add_Edit_POStockInCheckBillList.html"
index 4511dc0..fafe2bd 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_Add_Edit_POStockInCheckBillList.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_Add_Edit_POStockInCheckBillList.html"
@@ -716,7 +716,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html?Type=HSup', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -793,7 +793,7 @@
shift: 2,
area: ['80%', '80%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -998,6 +998,20 @@
return Result;
}
+ function GetHSupNameValue(obj) { //渚涘簲鍟�
+ $("#HSupName").val(obj[0].渚涘簲鍟嗗悕绉�);
+ $("#HSupID").val(obj[0].HItemID);
+ }
+
+ function GetMaterValue(obj) { //鐗╂枡
+ $("#HMaterName").val(obj[0].鐗╂枡鍚嶇О);
+ $("#HMaterID").val(obj[0].HItemID);
+ }
+
+ function GetHEmpValue(obj) { //璐ㄦ鍛�
+ $("#HFirstCheckEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HFirstCheckEmpID").val(obj[0].HItemID);
+ }
</script>
</body>
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_Add_CheckProject.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_Add_CheckProject.html"
index 8a62484..760bfa6 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_Add_CheckProject.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_Add_CheckProject.html"
@@ -458,13 +458,13 @@
var tableBak = table.cache["mainTable"]; //鑾峰彇涔嬪墠缂栬緫杩囩殑琛ㄦ牸鏁版嵁
buttonArr = [];//娓呯┖鏁扮粍
for (var i = 0; i < tableBak.length; i++) {
- if (tableBak[i]["HQCCheckItemID"] != 0 || tableBak[i]["HQCCheckItemID"] != "") {
+ if (tableBak[i]["HQCCheckItemID"] != 0 && tableBak[i]["HQCCheckItemID"] != "" && tableBak[i]["HQCCheckItemID"] != undefined && tableBak[i]["HQCCheckItemID"] != null) {
buttonArr.push(tableBak[i]); //濡傛灉鍏抽敭瀛楁涓嶄负绌猴紝鍒欏皢涔嬪墠鐨勬暟鎹瓨鍌�
}
}
//灏嗘壒閲忛�夋嫨鐨勬暟鎹啓鍏ユ暟缁勶紙澶氶�夎锛�
for (var i = 0; i < checkStatus.data.length; i++) {
- buttonArr.push({ "HPrjNo": 0, "HQCCheckItemID": checkStatus.data[i].HItemID, "HQCCheckItemNumber": checkStatus.data[i].浠g爜, "HQCCheckItemName": checkStatus.data[i].鍚嶇О, "HQCStd": "", "HQCStdMax": "", "HQCUnit": "", "HRemark": "" });
+ buttonArr.push({ "HPrjNo": i + 1, "HQCCheckItemID": checkStatus.data[i].HItemID, "HQCCheckItemNumber": checkStatus.data[i].浠g爜, "HQCCheckItemName": checkStatus.data[i].鍚嶇О, "HQCStd": "", "HQCStdMax": "", "HQCUnit": "", "HRemark": "" });
}
table.reload("mainTable", {
@@ -747,10 +747,33 @@
//#endregion
});
//杩斿洖宸ュ簭
- function GetHProcValue(obj) { //杩斿洖宸ュ簭
- $("#HProcName").val(obj[0].宸ュ簭);
+ function GetProcessValue(obj) { //杩斿洖宸ュ簭
+ $("#HProcName").val(obj[0].宸ュ簭鍚嶇О);
$("#HProcID").val(obj[0].HItemID);
}
+
+ function GetMaterValue(obj) { //鐗╂枡
+ $("#HMaterName").val(obj[0].鐗╂枡鍚嶇О);
+ $("#HMaterNumber").val(obj[0].鐗╂枡浠g爜);
+ $("#HMaterID").val(obj[0].HItemID);
+ }
+
+ function GetMaterTypeValue(obj) { //鐗╂枡鍒嗙被
+ $("#HMaterTypeName").val(obj[0].鍚嶇О);
+ $("#HMaterTypeID").val(obj[0].HItemID);
+ }
+
+ function GetHDeptNameValue(obj) { //閮ㄩ棬
+ $("#HDeptName").val(obj[0].閮ㄩ棬鍚嶇О);
+ $("#HDeptID").val(obj[0].HItemID);
+ }
+
+ function GetUnitValue(obj) { //璁¢噺鍗曚綅
+ $("#HUnitName").val(obj[0].璁¢噺鍗曚綅鍚嶇О);
+ $("#HUnitNumber").val(obj[0].璁¢噺鍗曚綅浠g爜);
+ $("#HUnitID").val(obj[0].HItemID);
+ }
+
</script>
</body>
</html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html"
index 5eb2ee2..2bba3eb 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html"
@@ -160,6 +160,17 @@
form.on('submit(btnSearch)', function (data) {//鏌ヨ
get_FastQuery();
});
+
+ //#region 鍙屽嚮杩斿洖鏁版嵁
+ table.on('rowDouble(mainTable)', function (obj) {
+ var data = [];
+ data.push(obj.data);
+ parent.GetCheckProjectValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ //#endregion
+
//#endregion
//#region 鏈〉闈㈡墍鏈夎璋冪敤鐨勬柟娉�
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html"
index f983433..5fd86d8 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html"
@@ -1849,7 +1849,7 @@
//#endregion
//#region銆愰�夋楠屾柟妗堣幏鍙栬〃浣撴楠岄」鐩俊鎭��
- function get_CheckItem() {
+ window.get_CheckItem = function() {
var HBatchQty = $("#HProcExchQty").val();
$.ajax({
url: GetWEBURL() + "/Web/GetCheckItemByCheckProjectID",
@@ -1963,7 +1963,7 @@
shift: 2,
area: ['90%', '90%'],
maxmin: true,
- content: ['../../../views/Baseset/鍩虹璧勬枡/Sc_ICMOBillListView2.html', 'yes'],
+ content: ['../../鐢熶骇绠$悊/鐢熶骇浠诲姟鍗�/Sc_ICMOBillList.html', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -1974,7 +1974,7 @@
return layer.msg('璇烽�夋嫨鏁版嵁');
}
$("#HICMOInterID").val(checkStatus.data[0].hmainid);
- $("#HICMOEntryID").val(checkStatus.data[0].hsubid);
+ $("#HICMOEntryID").val(checkStatus.data[0].HEntryID);
$("#HICMOBillNo").val(checkStatus.data[0].鍗曟嵁鍙�);
$("#HICMOQty").val(checkStatus.data[0].璁″垝鐢熶骇鏁伴噺);
layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
@@ -2003,7 +2003,7 @@
shift: 2,
area: ['90%', '90%'],
maxmin: true,
- content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html', 'yes'],
+ content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_EmployeeList.html?Type=HEmp', 'yes'],
btn: ['纭畾', '鍙栨秷']
, btn1: function (index, layero) {
@@ -3719,6 +3719,41 @@
//浠ヤ笂涓簂ayui妯″潡
});
+ function GetGySource(obj) { //鐢熶骇璧勬簮
+ $("#HSourceName").val(obj.鐢熶骇璧勬簮鍚嶇О);
+ $("#HSourceID").val(obj.HItemID);
+ }
+
+ function GetICMOBillValue(obj) { //鐢熶骇璁㈠崟
+ $("#HICMOInterID").val(obj[0].hmainid);
+ $("#HICMOEntryID").val(obj[0].HEntryID);
+ $("#HICMOBillNo").val(obj[0].鍗曟嵁鍙�);
+ $("#HICMOQty").val(obj[0].璁″垝鐢熶骇鏁伴噺);
+ }
+
+ function GetProcExValue(obj) { //娴佽浆鍗�
+ $("#HProcExchInterID").val(obj[0].hmainid);
+ $("#HProcExchEntryID").val(obj[0].hsubid);
+ $("#HProcExchBillNo").val(obj[0].鍗曟嵁鍙�);
+ }
+
+ function GetMaterValue(obj) { //鐗╂枡
+ $("#HMaterNumber").val(obj[0].鐗╂枡浠g爜);
+ $("#HMaterName").val(obj[0].鐗╂枡鍚嶇О);
+ $("#HMaterID").val(obj[0].HItemID);
+ }
+
+ function GetHEmpValue(obj) { //璐ㄦ鍛�
+ $("#HFirstCheckEmpName").val(obj[0].鑱屽憳鍚嶇О);
+ $("#HFirstCheckEmp").val(obj[0].HItemID);
+ }
+
+ function GetCheckProjectValue(obj) { //璐ㄦ鏂规
+ $("#HQCSchemeID").val(obj[0].hmainid);
+ $("#HQCSchemeName").val(obj[0].妫�楠屾柟妗堝悕绉�);
+ get_CheckItem();
+ }
+
</script>
</body>
</html>
\ No newline at end of file
--
Gitblit v1.9.1