From a0d22a93400b57becb621af2eecd1a11988bdce8 Mon Sep 17 00:00:00 2001
From: zgq <519541279@qq.com>
Date: 星期一, 19 七月 2021 15:36:40 +0800
Subject: [PATCH] 20210719v1
---
/dev/null | 340 ---
WebTM/views/Baseset/基础资料/Sc_ICMOBillListView.html | 2
WebTM/views/Baseset/基础资料/Sc_ProcessExchangeBillListView.html | 171 +
WebTM/views/车间管理/工序进站接收单/Cj_StationInBill.html | 4
WebTM/views/质量管理/首件检验单/QC_Add_Edit_FirstPieceCheckBill-X.html | 2716 ++++++++++++++++++++++++
WebTM/views/Baseset/基础资料/Sc_ICMOBillListView2.html | 160 +
WebTM/views/质量管理/首件检验单/QC_Add_Edit_FirstPieceCheckBill.html | 3131 ++++++----------------------
WebTM/views/车间管理/工序进站接收单/Cj_StationInBillList.html | 4
WebTM/WebTM.csproj | 6
9 files changed, 3,763 insertions(+), 2,771 deletions(-)
diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj
index 0f9dd7a..c6c806b 100644
--- a/WebTM/WebTM.csproj
+++ b/WebTM/WebTM.csproj
@@ -82,6 +82,8 @@
<Content Include="layuiadmin\myicon\杞﹂棿绠$悊.svg" />
<Content Include="layuiadmin\treeTable.js" />
<Content Include="views\Baseset\HBarPlanPrint.html" />
+ <Content Include="views\Baseset\鍩虹璧勬枡\Sc_ProcessExchangeBillListView.html" />
+ <Content Include="views\Baseset\鍩虹璧勬枡\Sc_ICMOBillListView2.html" />
<Content Include="views\Baseset\鍩虹璧勬枡\WMSBarCodeDetailsList.html" />
<Content Include="views\Baseset\鍩虹璧勬枡\Gy_RepairList.html" />
<Content Include="views\Baseset\鍩虹璧勬枡\Gy_ScrapReasonList.html" />
@@ -636,8 +638,9 @@
<Content Include="views\璐ㄩ噺绠$悊\鏉ユ枡妫�楠屽崟\QC_POStockInCheckBillList.html" />
<Content Include="views\璐ㄩ噺绠$悊\妫�楠屾柟妗堝崟\QC_Add_CheckProject.html" />
<Content Include="views\璐ㄩ噺绠$悊\妫�楠屾柟妗堝崟\QC_CheckProjectList.html" />
- <Content Include="views\璐ㄩ噺绠$悊\棣栦欢妫�楠屽崟\QC_Add_Edit_FirstPieceCheckBill.html" />
+ <Content Include="views\璐ㄩ噺绠$悊\棣栦欢妫�楠屽崟\QC_Add_Edit_FirstPieceCheckBill-X.html" />
<Content Include="views\璐ㄩ噺绠$悊\棣栦欢妫�楠屽崟\QC_FirstPieceCheckBillList.html" />
+ <Content Include="views\璐ㄩ噺绠$悊\棣栦欢妫�楠屽崟\QC_Add_Edit_FirstPieceCheckBill.html" />
<Content Include="views\杞﹂棿绠$悊\濮斿宸ュ簭鍙戝嚭鍗昞Cj_StationEntrustInBill_PDA.html" />
<Content Include="views\杞﹂棿绠$悊\濮斿宸ュ簭鎺ユ敹鍗昞Cj_StationEntrustOutBill_PDA.html" />
<Content Include="views\杞﹂棿绠$悊\宸ュ簭鍑虹珯姹囨姤鍗昞Cj_StationOutBill.html" />
@@ -696,7 +699,6 @@
<Content Include="views\杞﹂棿绠$悊\宸ュ簭娴佽浆\MES_StationOutBill.html" />
<Content Include="views\杞﹂棿绠$悊\宸ュ簭娴佽浆\MES_StationOutBillList.html" />
<Content Include="views\杞﹂棿绠$悊\宸ュ簭娴佽浆\MES_StationOutBill_PDA.html" />
- <Content Include="views\杞﹂棿绠$悊\宸ュ簭娴佽浆鍗Sc_ProcessExchangeBill_loser.html" />
<Content Include="views\杞﹂棿绠$悊\宸ュ簭娴佽浆鍗Sc_ProcessExchangeBillList.html" />
<Content Include="views\杞﹂棿绠$悊\鎶ヨ〃鍒嗘瀽\Qk_OutProcessList.html" />
<Content Include="views\杞﹂棿绠$悊\鎶ヨ〃鍒嗘瀽\Sc_ProductionProcessDetailsReport.html" />
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ICMOBillListView.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ICMOBillListView.html"
index c3705c6..440043a 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ICMOBillListView.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ICMOBillListView.html"
@@ -12,7 +12,6 @@
<body>
<div class="layui-fluid">
<div class="layui-card">
- <!--<div class="layui-card-header"></div>-->
<div class="layui-card-body" style="padding: 15px;">
<form class="layui-form" action="" lay-filter="component-form-group">
<div class="layui-form-item">
@@ -35,6 +34,7 @@
<script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script src="../../../layuiadmin/Scripts/webConfig.js"></script>
<script>
+ //寮曠敤鐨勫崟鎹強妯″潡锛氬伐搴忔祦杞崱銆�
layui.use(['table', 'form', 'layer'], function () {
var table = layui.table
, form = layui.form
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ICMOBillListView2.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ICMOBillListView2.html"
new file mode 100644
index 0000000..152c6db
--- /dev/null
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ICMOBillListView2.html"
@@ -0,0 +1,160 @@
+锘�<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>鐢熶骇浠诲姟鍗曞垪琛�</title>
+ <meta name="renderer" content="webkit">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+</head>
+<body>
+ <div class="layui-fluid">
+ <div class="layui-card">
+ <div class="layui-card-body" style="padding: 15px;">
+ <form class="layui-form" action="" lay-filter="component-form-group">
+ <div class="layui-form-item">
+ <div class="layui-inline">
+ <label class="layui-form-label">杩囨护鍒�</label>
+ <div class="layui-input-inline">
+ <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="璇疯緭鍏ヨ繃婊ゅ垪" class="layui-input">
+ </div>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">蹇�熸煡璇�</button>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">杩斿洖</button>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ <table class="layui-hide" id="ck-table"></table>
+ <script src="../../../layuiadmin/layui/layui.js"></script>
+ <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
+ <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
+ <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+ <script>
+ //寮曠敤鐨勫崟鎹強妯″潡锛氶浠舵楠屽崟銆�
+ layui.use(['table', 'form', 'layer'], function () {
+ var table = layui.table
+ , form = layui.form
+ , layer = layui.layer;
+
+ form.on('submit(HQuery)', function () {//閫夋嫨鍗曚綅
+ //var sMainStr = JSON.stringify(table.cache['ck-table']);
+ RoadQuery($('#Value').val());
+ });
+ form.on('submit(FH)', function () {//閫夋嫨鍗曚綅
+ //var sMainStr = JSON.stringify(table.cache['ck-table']);
+ var checkStatus = table.checkStatus('ck-table')
+ , data = checkStatus.data;
+ parent.GetICMOBillValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ RoadQuery($('#Value').val());
+ table.render({
+ elem: '#ck-table'
+ // , url: '/demo/table/user/'
+ , data: []
+ , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+ , cols: [[
+ { type: 'radio' }
+ , { field: 'hmainid', width: 150, title: 'hmainid', hide: true }
+ , { field: '鏃ユ湡', width: 150, title: '鏃ユ湡' }
+ , { field: '鍗曟嵁鍙�', width: 150, title: '鍗曟嵁鍙�' }
+ , { field: 'HDeptID', width: 150, title: 'HDeptID', hide: true }
+ , { field: '鐢熶骇杞﹂棿浠g爜', width: 150, title: '鐢熶骇杞﹂棿浠g爜' }
+ , { field: '鐢熶骇杞﹂棿', width: 150, title: '鐢熶骇杞﹂棿' }
+ , { field: 'HMaterID', width: 150, title: 'HMaterID', hide: true }
+ , { field: '浜у搧浠g爜', width: 150, title: '浜у搧浠g爜' }
+ , { field: '浜у搧鍚嶇О', width: 150, title: '浜у搧鍚嶇О' }
+ , { field: '瑙勬牸鍨嬪彿', width: 150, title: '瑙勬牸鍨嬪彿' }
+ , { field: 'hunitid', width: 150, title: 'hunitid', hide: true }
+ , { field: '璁¢噺鍗曚綅浠g爜', width: 150, title: '璁¢噺鍗曚綅浠g爜' }
+ , { field: '璁¢噺鍗曚綅', width: 150, title: '璁¢噺鍗曚綅' }
+ , { field: 'hempid', width: 150, title: 'hempid', hide: true }
+ , { field: '涓氬姟鍛樹唬鐮�', width: 150, title: '涓氬姟鍛樹唬鐮�' }
+ , { field: '涓氬姟鍛�', width: 150, title: '涓氬姟鍛�' }
+ , { field: 'hcusid', width: 150, title: 'hcusid', hide: true }
+ , { field: '瀹㈡埛浠g爜', width: 150, title: '瀹㈡埛浠g爜' }
+ , { field: '瀹㈡埛', width: 150, title: '瀹㈡埛' }
+ , { field: 'HCenterID', width: 150, title: 'HCenterID', hide: true }
+ , { field: '宸ヤ綔涓績浠g爜', width: 150, title: '宸ヤ綔涓績浠g爜' }
+ , { field: '宸ヤ綔涓績', width: 150, title: '宸ヤ綔涓績' }
+ , { field: 'hbomid', width: 150, title: 'hbomid', hide: true }
+ , { field: 'BOM鍗曚唬鐮�', width: 150, title: 'BOM鍗曚唬鐮�' }
+ , { field: 'BOM鍗�', width: 150, title: 'BOM鍗�' }
+ , { field: 'HRoutingInterID', width: 150, title: 'HRoutingInterID', hide: true }
+ , { 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: 'hsubid', width: 150, title: 'hsubid', hide: true }
+ , { 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
+ });
+ ///鍔犺浇鏄剧ず鏁版嵁
+ function RoadQuery(Where) {
+ var index = layer.load();
+ var Value = Where;
+ if (Value == null) {
+ Value = '';
+ }
+ $.ajax({
+ type: "get",
+ url: GetWEBURL() + "/Web/GetSc_ICMOBillListView2",
+ async: true,
+ data: { "ICMOBill": Value, "OrganizationID": sessionStorage["OrganizationID"] },
+ //data: { "Value": Value },
+ success: function (result) {
+ if (result.count == 1) {
+ ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+ table.reload('ck-table', {
+ data: ajaxReturnData
+ , height: 'full-10'
+ , loading: false
+ , done: function (index, res) {
+
+ }
+ });
+ layer.close(index);
+ }
+ else {
+ layer.close(index);
+ layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ }
+ },
+ error: function (result) {
+ layer.close(index);
+ console.log(result);
+ //layer.msg('鑾峰彇閲囪喘璁㈠崟鍑虹幇寮傚父', { icon: 2, time: 2000 });
+ }
+ });
+ };
+ });
+ </script>
+
+</body>
+</html>
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"
new file mode 100644
index 0000000..0c5d786
--- /dev/null
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessExchangeBillListView.html"
@@ -0,0 +1,171 @@
+锘�<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>宸ュ簭娴佽浆鍗″垪琛�</title>
+ <meta name="renderer" content="webkit">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+</head>
+<body>
+ <div class="layui-fluid">
+ <div class="layui-card">
+ <div class="layui-card-body" style="padding: 15px;">
+ <form class="layui-form" action="" lay-filter="component-form-group">
+ <div class="layui-form-item">
+ <div class="layui-inline">
+ <label class="layui-form-label">杩囨护鍒�</label>
+ <div class="layui-input-inline">
+ <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="璇疯緭鍏ヨ繃婊ゅ垪" class="layui-input">
+ </div>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">蹇�熸煡璇�</button>
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">杩斿洖</button>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ <table class="layui-hide" id="ck-table"></table>
+ <script src="../../../layuiadmin/layui/layui.js"></script>
+ <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
+ <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
+ <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+ <script>
+ //寮曠敤鐨勫崟鎹強妯″潡锛氬伐搴忔祦杞崱銆�
+ layui.use(['table', 'form', 'layer'], function () {
+ var table = layui.table
+ , form = layui.form
+ , layer = layui.layer;
+
+ form.on('submit(HQuery)', function () {//閫夋嫨鍗曚綅
+ //var sMainStr = JSON.stringify(table.cache['ck-table']);
+ RoadQuery($('#Value').val());
+ });
+ form.on('submit(FH)', function () {//閫夋嫨鍗曚綅
+ //var sMainStr = JSON.stringify(table.cache['ck-table']);
+ var checkStatus = table.checkStatus('ck-table')
+ , data = checkStatus.data;
+ parent.GetProcessExchangeValue(data);
+ var index = parent.layer.getFrameIndex(window.name);
+ parent.layer.close(index);
+ });
+ RoadQuery($('#Value').val());
+ table.render({
+ elem: '#ck-table'
+ // , url: '/demo/table/user/'
+ , data: []
+ , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+ , cols: [[
+ { type: 'radio' }
+ , { field: 'hmainid', width: 150, title: 'hmainid', hide: true }
+ , { field: 'HEntryID', width: 150, title: 'HEntryID', hide: true }
+ , { field: 'HEmpID', width: 150, title: 'HEmpID', hide: true }
+ , { field: 'HBomID', width: 150, title: 'HBomID', hide: true }
+ , { field: 'HRoutingInterID', width: 150, title: 'HRoutingInterID', hide: true }
+ , { field: 'hsubid', width: 150, title: 'hsubid', hide: true }
+ , { field: 'HMaterID', width: 150, title: 'HMaterID', hide: true }
+ , { field: 'HUnitID', width: 150, title: 'HUnitID', hide: true }
+ , { field: 'HAuxPropID', width: 150, title: 'HAuxPropID', hide: true }
+ , { field: 'HDeptID', width: 150, title: 'HDeptID', hide: true }
+ , { field: 'HEntryCusID', width: 150, title: 'HEntryCusID', hide: true }
+ , { field: 'HCenterID', width: 150, title: 'HCenterID', hide: true }
+ , { 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: 'BOM鍗曠紪鐮�', width: 150, title: 'BOM鍗曠紪鐮�' }
+ , { field: '宸ヨ壓璺嚎浠g爜', width: 150, title: '宸ヨ壓璺嚎浠g爜' }
+ , { 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: '杈呭姪灞炴��', 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: '宸ヤ綔涓績浠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: '鍏抽棴绫诲瀷' }
+ ]]
+ , page: true
+ });
+ ///鍔犺浇鏄剧ず鏁版嵁
+ function RoadQuery(Where) {
+ var index = layer.load();
+ var Value = Where;
+ if (Value == null) {
+ Value = '';
+ }
+ $.ajax({
+ type: "get",
+ url: GetWEBURL() + "/Web/GetSc_ProcessExchangeBillListView",
+ async: true,
+ data: { "ICMOBill": Value, "OrganizationID": sessionStorage["OrganizationID"] },
+ //data: { "Value": Value },
+ success: function (result) {
+ if (result.count == 1) {
+ ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+ table.reload('ck-table', {
+ data: ajaxReturnData
+ , height: 'full-10'
+ , loading: false
+ , done: function (index, res) {
+
+ }
+ });
+ layer.close(index);
+ }
+ else {
+ layer.close(index);
+ layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ }
+ },
+ error: function (result) {
+ layer.close(index);
+ console.log(result);
+ //layer.msg('鑾峰彇閲囪喘璁㈠崟鍑虹幇寮傚父', { icon: 2, time: 2000 });
+ }
+ });
+ };
+ });
+ </script>
+
+</body>
+</html>
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-X.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-X.html"
new file mode 100644
index 0000000..fde5589
--- /dev/null
+++ "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-X.html"
@@ -0,0 +1,2716 @@
+锘�<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8" />
+ <title>棣栦欢妫�楠屽崟</title>
+ <meta name="renderer" content="webkit">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+</head>
+<body>
+
+ <div id="layout1" class="layui-fluid">
+ <div class="layui-row layui-col-space15">
+ <div class="layui-col-md12">
+ <div class="layui-card">
+ <form id="form0" class="layui-form" lay-filter="component-form-group" action="">
+ <div class="layui-card-header">
+ <div class="layui-btn-group">
+
+ <button type="button" id="add-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Saver">淇濆瓨</button>
+ <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel">閫�鍑�</button>
+
+
+ </div>
+
+ </div>
+ <div class="layui-card-body">
+ <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
+ <!--<ul class="layui-tab-title">
+ <li class="layui-this">鍩烘湰淇℃伅</li>-->
+ <!--<li>鍏朵粬淇℃伅</li>-->
+ <!--</ul>-->
+ <h1 style="text-align:center;"><b>棣栦欢妫�楠屽崟</b></h1>
+ <div class="layui-tab-content">
+ <div class="layui-tab-item layui-show">
+
+ <div class="layui-form-item">
+ <div class="layui-row">
+ <div class="layui-col-xs2">
+ <label class="layui-form-label">鍗� 鎹� 鍙凤細</label>
+ <div class="layui-input-inline">
+ <input class="layui-input" name="HBillNo" lay-verify="HBillNo" id="HBillNo" readonly="readonly" autocomplete="off">
+ <input id="HInterID" name="HInterID" value="0" type="hidden" />
+ </div>
+ </div>
+ <div class="layui-col-xs2">
+ <label class="layui-form-label">鍗曟嵁鏃ユ湡锛�</label>
+ <div class="layui-input-inline">
+ <input class="layui-input" name="HDate" id="HDate" readonly="readonly" autocomplete="off" disabled>
+ </div>
+ </div>
+ <div class="layui-col-xs2">
+ <label class="layui-form-label">鐢熶骇璧勬簮锛�</label>
+ <div class="layui-input-inline">
+ <input class="layui-input" name="HSource" id="HSource" autocomplete="off">
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="ProductionResources-BT">
+ <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+ </button>
+ <input id="HSourceID" name="HSourceID" type="hidden" />
+
+ </div>
+ </div>
+ <div class="layui-col-xs2">
+ <label class="layui-form-label">浠诲姟鍗曞彿锛�</label>
+ <div class="layui-input-inline">
+ <input type="text" name="HICMOBillNo" id="HICMOBillNo" lay-verify="" autocomplete="off" class="layui-input">
+
+ <!--<button type="button" lay-submit="" class="layui-btn" lay-filter="HEmployeeID-BT">
+ <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+ </button>-->
+ <!--<input id="HFirstCheckEmp" name="HFirstCheckEmp" type="hidden" />-->
+
+ </div>
+ </div>
+
+ <div class="layui-col-xs2">
+ <label class="layui-form-label">浠诲姟鍗曟暟閲忥細</label>
+ <div class="layui-input-inline">
+ <input type="text" name="HICMOQty" id="HICMOQty" onkeyup="this.value=this.value.replace(/\D/g,'')" lay-verify="" autocomplete="off" class="layui-input">
+ </div>
+ </div>
+ <div class="layui-col-xs2">
+ <label class="layui-form-label">浠诲姟鍗曞唴鐮侊細</label>
+ <div class="layui-input-inline">
+ <input type="text" name="HICMOInterID" id="HICMOInterID" onkeyup="this.value=this.value.replace(/\D/g,'')" lay-verify="" autocomplete="off" class="layui-input">
+ </div>
+ </div>
+
+
+ </div>
+ <!--<button class="layui-btn" data-type="reload">閫夋嫨</button>-->
+ </div>
+ <div class="layui-form-item">
+ <div class="layui-row">
+
+ <div class="layui-col-xs2">
+ <label class="layui-form-label">浜у搧鍐呯爜锛�</label>
+ <div class="layui-input-inline">
+ <input type="text" name="HMater" id="HMater" lay-verify="HMater" readonly="readonly" autocomplete="off" class="layui-input">
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="HMateria-BT">
+ <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+ </button>
+ <input id="HMaterID" name="HMaterID" type="hidden" />
+ <input id="HMaterNumber" name="HMaterNumber" type="hidden" />
+ </div>
+ </div>
+
+ <div class="layui-col-xs2">
+ <label class="layui-form-label"> 娴佽浆鍗℃暟閲忥細</label>
+ <div class="layui-input-inline">
+ <input class="layui-input" name="HProcExchQty" onkeyup="this.value=this.value.replace(/\D/g,'')" value="0" lay-verify="" id="HProcExchQty" autocomplete="off">
+
+ </div>
+ </div>
+
+ <div class="layui-col-xs2">
+ <label class="layui-form-label"> 娴佽浆鍗″彿锛�</label>
+ <div class="layui-input-inline">
+ <input type="text" name="HProcExchBillNo" id="HProcExchBillNo" lay-verify="" autocomplete="off" class="layui-input">
+
+ </div>
+ </div>
+ <div class="layui-col-xs2">
+ <label class="layui-form-label"> 娴佽浆鍗D锛�</label>
+ <div class="layui-input-inline">
+ <input class="layui-input" name="HProcExchInterID" value="0" lay-verify="" id="HProcExchInterID" autocomplete="off">
+
+ </div>
+ </div>
+ <div class="layui-col-xs2">
+ <label class="layui-form-label"> 娴佽浆鍗″瓙ID锛�</label>
+ <div class="layui-input-inline">
+ <input class="layui-input" name="HProcExchEntryID" value="0" lay-verify="" id="HProcExchEntryID" autocomplete="off">
+ </div>
+ </div>
+ <div class="layui-col-xs2">
+ <label class="layui-form-label">妫�楠屽憳锛�</label>
+ <div class="layui-input-inline">
+ <input type="text" name="HEmpName" id="HEmpName" lay-verify="" autocomplete="off" class="layui-input">
+
+ <button type="button" lay-submit="" class="layui-btn" lay-filter="HEmployeeID-BT">
+ <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+ </button>
+ <input id="HFirstCheckEmp" name="HFirstCheckEmp" type="hidden" />
+
+ </div>
+ </div>
+
+ </div>
+ </div>
+
+ <div class="layui-form-item" pane>
+ <div class="layui-col-xs5">
+ <label class="layui-form-label"> 鍒ゅ畾缁撹:</label>
+ <div class="layui-input-inline">
+
+ <input type="radio" name="checkboxHCheckerResult" id="checkboxHCheckerResult" lay-skin="primary" lay-filter="checkboxHCheckerResult" value="true" title="鏄惁鍚堟牸">
+ <input type="hidden" value="false" name="HLastResult" id="HLastResult">
+ </div>
+ </div>
+ </div>
+
+
+
+ <div class="layui-form-item">
+ <div class="layui-row">
+
+ <div class="layui-colorpicker-xs">
+ <label class="layui-form-label"> 澶囨敞锛�</label>
+ <div class="layui-input-block">
+ <input class="layui-input" name="HRemark" id="HRemark" autocomplete="off">
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
+ <script type="text/html" id="toolbarDemo">
+ <div class="layui-btn-container">
+
+ <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-AddLine"><i class="layui-icon layui-icon-form"></i>澧炲姞涓�琛�</button>
+ <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine"><i class="layui-icon layui-icon-form"></i>澶嶅埗涓�琛�</button>
+
+ </div>
+ </script>
+ <script type="text/html" id="xuhao">
+ {{d.LAY_TABLE_INDEX+1}}
+ </script>
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>
+ <script type="text/html" id="barDemo">
+ <!--<a class="layui-btn layui-btn-xs" lay-event="edit">缂栬緫</a>-->
+ <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">鍒犻櫎</a>
+ </script>
+ <script src="../../../layuiadmin/layui/layui.js"></script>
+ <script src="../../../layuiadmin/Scripts/json2.js"></script>
+ <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
+ <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+ <script>
+ layui.config({
+ base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+ }).extend({
+ index: 'lib/index' //涓诲叆鍙fā鍧�
+ }).use(['index', 'form', 'laydate', 'table', 'element'], function () {
+ var $ = layui.$
+ , admin = layui.admin
+ , layer = layui.layer
+ , table = layui.table
+ , form = layui.form
+ , element = layui.element;
+ /*鍥哄畾浠g爜锛屾瘡寮犲崟鎹兘瑕乥egin*/
+ /* 1.鏃犳簮鍗曟柊澧�
+ * 2.鏈夋簮鍗曟柊澧�
+ * 3.缂栬緫
+ * 4.娴忚
+ * 5.鍙樻洿
+ */
+ var OperationType = 1;
+ //鑾峰彇鍙傛暟
+ function getUrlVars() {
+ var vars = [], hash;
+ var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
+ for (var i = 0; i < hashes.length; i++) {
+ hash = hashes[i].split('=');
+ vars.push(hash[0]);
+ vars[hash[0]] = hash[1];
+ }
+ return vars;
+ }
+ var params = getUrlVars();
+ var linterid = params[params[0]];//婧愬崟id
+ OperationType = params[params[1]];//鎿嶄綔绫诲瀷
+ /*鍥哄畾浠g爜锛屾瘡寮犲崟鎹兘瑕乥egin*/
+ //alert("id:" + params[params[0]] + ",type:" + params[params[1]]);
+ //鍒ゆ柇鎿嶄綔绫诲瀷
+ if (linterid == null || linterid == 0) {
+ //鍒濆鍔犺浇琛ㄦ牸{ "ID": 0, "HWasterReasonName": " ","HBadReasonID":0,"HEmpName": " ", "HSQProcName": " ","HProcID":0, "HZRProcName": " ", "HMRBChecker": " ", "HRemark": " ", "HPSProcName": " ", "HCloseMan": " " }
+ option.data = [{ "HQCCheckItemID": 0, "HQCStd": " ", "HUnit": " ", "HQCNote": " ", "HResult": " ", "HMax": " ", "HMin": " ", "HAvg": " ", "HRemark": " " }];
+ table.render(option);
+ }
+ else {
+ $("#HInterID").val(linterid);//淇敼鏃朵富琛↖D
+ //缂栬緫鍔犺浇鏁版嵁
+ $.ajax({
+ url: GetWEBURL() + 'MES_QC_FirstPieceCheckDetail_Json',
+ type: "GET",
+ data: { "sqlWhere": "and HInterID=" + linterid },
+ success: function (result) {
+ if (result.count == 1) {
+ option.data = result.data;
+ table.render(option);
+
+ } else {
+ layer.alert(result.code + result.Message, { icon: 5 });
+ }
+ }, error: function () {
+ layer.close(index0);
+ layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+ }
+ });
+
+ }
+
+
+ //鍒ゆ柇鏄惁鐧诲綍 鏈櫥褰曞垯璺冲埌鐧诲綍椤�
+ //if (sessionStorage.login != "login") {
+ // layer.confirm("鐧诲綍澶辨晥锛岃閲嶆柊鐧诲綍锛�", {
+ // icon: 4, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['閲嶆柊鐧诲綍']
+ // }, function () { window.location.href = "../../user/login.html"; });
+ //}
+ var tableReload = table.reload;
+ var option = {
+ elem: '#mainTable'
+ , toolbar: '#toolbarDemo'
+ , height: 500
+ //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛
+ , page: true //寮�鍚垎椤�
+ , cols: [[ //琛ㄥご
+ {type:'checkbox', fixed: 'left'}
+ ,{ templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left',event:"qwe" }
+ , { field: 'HQCCheckItemID', title: '妫�楠岄」鐩甀D', edit: 'text'}
+ , { field: 'HQCStd', title: '妫�楠屾爣鍑�',edit: 'text', event: "" }
+ , { field: 'HUnit', title: '鍗曚綅' , edit: 'text'}
+ , { field: 'HQCNote', title: '妫�楠岃褰�', event: "", edit: 'text' }
+ , { field: 'HResult', title: '缁撹', event: "", edit: 'text' }
+ , { field: 'HMax', title: '鏈�澶у��', edit: 'text' }
+ , { field: 'HMin', title: '鏈�灏忓��', edit: 'text' }
+ , { field: 'HAvg', title: '骞冲潎鍊�', edit: 'text' }
+ , { field: 'HRemark', title: '澶囨敞', edit: 'text'}
+ ,{fixed: 'right', title:'鎿嶄綔', toolbar: '#barDemo', width:150}
+ ]]
+ , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
+ };
+
+
+ //澶村伐鍏锋爮浜嬩欢
+ var rowid = 0;
+ var rows = 0;
+ table.on('toolbar(mainTable)', function (obj) {
+ var checkStatus = table.checkStatus('mainTable')
+ ,data = checkStatus.data;;
+ var AddRow = table.cache['mainTable'];
+ var NewRow = { "HQCCheckItemID": 0, "HQCStd": " ", "HUnit": " ", "HQCNote": " ", "HResult": " ", "HMax": " ", "HMin": " ", "HAvg": " ", "HRemark": " " };
+ switch (obj.event) {
+ case 'btn-AddLine':
+ //table.cache["mainTable"].push(AddRow[rows]);
+ table.cache["mainTable"].push(NewRow);
+ option.data = table.cache["mainTable"];
+ table.render(option);
+ rows++;
+ layer.msg('澧炲姞涓�琛屾寜閽紒')
+ break;
+ case 'btn-CopyLine':
+ var copydata = JSON.stringify(data);
+ if (data.length <= 0) {
+ layer.alert("璇烽�夋嫨闇�瑕佸鍒剁殑涓�琛岋紒");
+ }
+ else if (data.length>1) {
+ layer.alert("鍙兘閫夋嫨澶嶅埗涓�琛岋紒");
+ }
+ else {
+ var copydata2 = copydata.substring(1, copydata.length);//鍘婚櫎棣栬瀛楃'['
+ var copyrow =copydata2.substring(0, copydata2.length - 1);//鍘婚櫎鏈熬瀛楃']'
+ table.cache["mainTable"].push(JSON.parse(copyrow));//灏嗗鍒剁殑琛屽己杞垚json杩藉姞鍒拌〃鏍间笂
+ option.data = table.cache["mainTable"];//灏嗘暟鎹粦瀹氬埌data涓�
+ table.render(option);//灏嗘暟鎹覆鏌撳埌琛ㄦ牸涓�
+ //layer.alert(copyrow);
+ }
+ break;
+ }
+ });
+ //琛屽唴浜嬩欢
+ table.on('tool(mainTable)', function (obj) {
+ var data = obj.data;
+ var rowIndex = $(obj.tr).attr("data-index");
+ if (obj.event==='del') {
+ layer.confirm('鐪熺殑鍒犻櫎琛屼箞', function (index) {
+ console.log("绱㈠紩涓�:" + rowIndex);
+ if (rowIndex ==='0') {
+ layer.msg('棣栬鏃犳硶鍒犻櫎锛侊紒锛�');
+ } else {
+ obj.del();
+ layer.close(index);
+ }
+ });
+ }
+ if (obj.event === 'ReasonNameEvent') {
+ var _obj = obj;
+ switch (rowIndex) {
+ case "0":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "1":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "2":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "3":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "4":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "5":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "6":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "7":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "8":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "9":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "10":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "11":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "12":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "13":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "14":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "15":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "16":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HWasterReasonName: HReasonName
+ ,HBadReasonID:ReasonID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HWasterReasonName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+
+ }
+ }
+ else if (obj.event === 'EmpNameEvent') {
+ var _obj = obj;
+ switch (rowIndex) {
+ case "0":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "1":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "2":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "3":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "4":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "5":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "6":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "7":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "8":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "9":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "10":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "11":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "12":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "13":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "14":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "15":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "16":
+ //寮瑰嚭妗嗛�夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HEmpName: EmpName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HEmpName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+
+ }
+ }
+ else if (obj.event === 'SQProcNameEvent') {
+ var _obj = obj;
+ switch (rowIndex) {
+ case "0":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "1":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "2":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "3":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "4":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "5":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "6":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "7":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "8":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "9":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "10":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "11":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "12":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "13":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "14":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "15":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "16":
+ //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HSQProcName: SQProcName
+ , HProcID: ProcID
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HSQProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+
+ }
+ }
+ else if (obj.event === 'ZRProcNameEvent') {
+ var _obj = obj;
+ switch (rowIndex) {
+ case "0":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "1":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "2":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "3":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "4":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "5":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "6":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "7":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "8":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "9":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "10":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "11":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "12":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "13":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "14":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "15":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "16":
+ //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HZRProcName: ZRProcName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HZRProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+
+ }
+ }
+ else if (obj.event === 'BadQtyEvent') {
+ var _obj = obj;
+ switch (rowIndex) {
+ case "0":
+
+ break;
+ case "1":
+
+ break;
+ case "2":
+
+ break;
+ case "3":
+
+ break;
+ case "4":
+
+ break;
+ case "5":
+
+ break;
+ case "6":
+
+ break;
+ case "7":
+
+ break;
+ case "8":
+
+ break;
+ case "9":
+
+ break;
+ case "10":
+
+ break;
+ case "11":
+
+ break;
+ case "12":
+
+ break;
+ case "13":
+
+ break;
+ case "14":
+
+ break;
+ case "15":
+
+ break;
+ case "16":
+ //$(obj.tr).find(".layui-table-edit").keyup(function () {
+ // var $input = $(this), val = $input.val();
+ // if (!val) val = "1";
+ // $input.val(val.replace(/[^\d]/g, ''));
+ //});
+ break;
+
+ }
+ }
+ else if (obj.event === 'RemarkEvent') {
+ var _obj = obj;
+ switch (rowIndex) {
+ case "0":
+
+ break;
+ case "1":
+
+ break;
+ case "2":
+
+ break;
+ case "3":
+
+ break;
+ case "4":
+
+ break;
+ case "5":
+
+ break;
+ case "6":
+
+ break;
+ case "7":
+
+ break;
+ case "8":
+
+ break;
+ case "9":
+
+ break;
+ case "10":
+
+ break;
+ case "11":
+
+ break;
+ case "12":
+
+ break;
+ case "13":
+
+ break;
+ case "14":
+
+ break;
+ case "15":
+
+ break;
+ case "16":
+
+ break;
+
+ }
+ }
+ else if (obj.event === 'PSProcNameEvent') {
+ var _obj = obj;
+ switch (rowIndex) {
+ case "0":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "1":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "2":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "3":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "4":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "5":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "6":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "7":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "8":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "9":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "10":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "11":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "12":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "13":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "14":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "15":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+ case "16":
+ //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ HPSProcName: QRName
+ });
+ }
+ })
+ console.log("瀛楁璧嬪��" + data.HPSProcName);
+ console.log("琛屽彿锛�" + rowIndex);
+ break;
+
+ }
+ }
+ else if (obj.event === 'CloseManEvent') {
+ var _obj = obj;
+ switch (rowIndex) {
+ case "0":
+
+ break;
+ case "1":
+
+ break;
+ case "2":
+
+ break;
+ case "3":
+
+ break;
+ case "4":
+
+ break;
+ case "5":
+
+ break;
+ case "6":
+
+ break;
+ case "7":
+
+ break;
+ case "8":
+
+ break;
+ case "9":
+
+ break;
+ case "10":
+
+ break;
+ case "11":
+
+ break;
+ case "12":
+
+ break;
+ case "13":
+
+ break;
+ case "14":
+
+ break;
+ case "15":
+
+ break;
+ case "16":
+
+ break;
+
+ }
+ }
+
+
+
+ });
+
+
+
+ function RoadBillMain(linterid)//鍔犺浇琛ㄥご
+ {
+ //鏌ヨ妫�楠屾柟妗堝崟鏄惁瀛樺湪
+ $.ajax({
+ url: GetWEBURL() + "GetQC_FirstPieceCheckDetail",
+ type: "GET",
+ data: {
+ "HID": linterid
+ },
+ success: function (result) {
+ if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+ var data = result.data.h_v_QC_Edit_FirstPieceCheckBillList[0];
+ form.val("component-form-group", { //formTest 鍗� class="layui-form" 鎵�鍦ㄥ厓绱犲睘鎬� lay-filter="" 瀵瑰簲鐨勫��
+ "HBillNo": data.鍗曟嵁鍙�
+ , "HDate": data.鏃ユ湡
+ , "HSource": data.鐢熶骇璧勬簮鍚嶇О
+ , "HSourceID": data.鐢熶骇璧勬簮ID
+ , "HICMOBillNo": data.HICMOBillNo
+ , "HICMOQty": data.HICMOQty
+ , "HICMOInterID": data.HICMOInterID
+ , "HMater": data.浜у搧鍚嶇О
+ , "HMaterID": data.浜у搧ID
+ , "HMaterNumber": data.浜у搧鍐呯爜
+ , "HProcExchQty": data.HProcExchQty
+ , "HProcExchBillNo": data.HProcExchBillNo
+ , "HProcExchInterID": data.HProcExchInterID
+ , "HProcExchEntryID": data.HProcExchEntryID
+ , "HEmpName": data.妫�楠屽憳鍚嶇О
+ , "HFirstCheckEmp": data.妫�楠屽憳ID
+ , "HLastResult": data.HLastResult
+ , "HRemark": data.琛ㄥご澶囨敞
+ });
+
+ } else {
+ layer.alert(result.msg, { icon: 5, btn: ['閫�鍑�'], time: 100000, offset: 't' });
+ }
+ }, error: function () {
+ layer.alert("鍙戠敓閿欒!", { icon: 5 });
+ }
+ });
+ }
+
+
+ var date = new Date();
+ var day = date.getDate();
+ var month = date.getMonth() + 1;
+ var year = date.getFullYear();
+ var shijian = year + "-" + month + "-" + day;
+
+ //鍒ゆ柇鏄惁鏂板
+ if (linterid == null || linterid == 0) {
+ //鑾峰彇鏈�澶у崟鎹彿 new
+ $("#HInterID").val(0);
+ $("#HBillNo").val("");
+ $.ajax({
+ url: GetWEBURL() + "/Web/GetMAXNum",
+ type: "GET",
+ data: { "HBillType": '7505' },
+ success: function (d) {
+ //console.log(d.data);
+ /* $("#HInterID").val(d.data[0].HInterID);*/
+
+ $("#HBillNo").val(d.data[0].HBillNo);
+ $("#HDate").val(shijian);
+ $("#HInterID").val(0);
+ }
+ });
+ }
+ else {//濡傛灉淇敼鍒欒蛋涓嬮潰 new
+ $("#HInterID").val(linterid);//淇敼鏃朵富琛↖D
+ RoadBillMain(linterid);
+ /* RoadBillSub(linterid);*/
+ }
+
+ form.on('checkbox(checkboxHCheckerResult)', function (data) {
+ $("#HLastResult").val(data.elem.checked);
+ });
+
+ //閫夋嫨浜у搧寮圭獥
+ form.on('submit(HMateria-BT)', function () {//浜у搧
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐗╂枡'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ //, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../Baseset/鍩虹璧勬枡/Gy_MaterialList.html', 'yes']
+ , resize: false
+ , cancel: function (index, layero) {
+ }
+ })
+ });
+ //閫夋嫨宸ュ簭
+ form.on('submit(HProc-BT)', function () {//閫夋嫨宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ //, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , cancel: function (index, layero) {
+ }
+ })
+ });
+
+ //閫夋嫨渚涘簲鍟�
+ form.on('submit(HSupID-BT)', function () {//閫夋嫨渚涘簲鍟�
+ layer.open({
+ type: 2
+ , area: ['666px', '666px']
+ , title: '渚涘簲鍟嗗垪琛�'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes']
+ , resize: false
+ , cancel: function () {
+ //$(".layui-btn").removeClass("layui-btn-disabled");
+ }
+ })
+ });
+
+ //閫夋嫨閮ㄩ棬
+ form.on('submit(HDepart-BT)', function () {//閫夋嫨閮ㄩ棬
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '閮ㄩ棬鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ //, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../Baseset/鍩虹璧勬枡/Gy_DepartmentList.html', 'yes']
+ , resize: false
+ , cancel: function (index, layero) {
+ }
+ })
+ });
+ //閫夋嫨鍗曚綅
+ form.on('submit(HUnitID-BT)', function () {//閫夋嫨鍗曚綅
+ layer.open({
+ type: 2
+ , area: ['666px', '666px']
+ , title: '鍗曚綅鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_UnitList.html', 'yes']
+ , resize: false
+ , cancel: function () {
+ //$(".layui-btn").removeClass("layui-btn-disabled");
+ }
+ })
+ });
+
+ form.on('submit(Exit)', function (data) {//
+ //var index = parent.layer.getFrameIndex(window.name); //鍏堝緱鍒板綋鍓峣frame灞傜殑绱㈠紩
+ //parent.layer.close(index); //鍐嶆墽琛屽叧闂�
+ parent.location.href = "../../../views/index.html"
+ });
+
+ //閫夋嫨璐d换浜�
+ form.on('submit(HEmployeeID-BT)', function () {//閫夋嫨璐d换浜�
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鑱屽憳鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , resize: false
+ , cancel: function () {
+ //$(".layui-btn").removeClass("layui-btn-disabled");
+ }
+ })
+ });
+
+ //閫夋嫨璐d换宸ュ簭
+ form.on('submit(HZRProcID-BT)', function () {//閫夋嫨璐d换宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '璐d换宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
+ , resize: false
+ , cancel: function () {
+ //$(".layui-btn").removeClass("layui-btn-disabled");
+ }
+ })
+ });
+
+ //閫夋嫨鐢熶骇璧勬簮寮圭獥
+ form.on('submit(ProductionResources-BT)', function () {//鐢熶骇璧勬簮
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢熶骇璧勬簮'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ //, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../Baseset/鍩虹璧勬枡/Gy_GetProductionResourcesList.html', 'yes']
+ , resize: false
+ , cancel: function (index, layero) {
+ }
+ })
+ });
+
+
+ form.on('submit(Exit)', function (data) {//閫�鍑�
+
+ });
+
+
+ form.on('submit(Cancel)', function () {
+ //sessionStorage["SourceFlag"] = false;
+ if (linterid == null || linterid==0) {
+ parent.location.href = "../../../views/index.html"
+ }
+ else
+ {
+ var index = parent.layer.getFrameIndex(window.name); //鍏堝緱鍒板綋鍓峣frame灞傜殑绱㈠紩
+ parent.layer.close(index); //鍐嶆墽琛屽叧闂�
+ }
+ //window.close();//鍏抽棴褰撳墠椤�
+ })
+
+ form.on('submit(Saver)', function (data) {//淇濆瓨
+ //debugger;
+ var sMainStr = JSON.stringify(data.field);
+ var sSubStr = JSON.stringify(table.cache['mainTable']);
+ var sMainSub = sMainStr + ';' + sSubStr;
+ $.ajax(
+ {
+ type: "POST",
+ url: GetWEBURL() + "SaveQC_FirstPieceCheckList", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
+ async: true,
+ data: { "msg": sMainSub },
+ dataType: "json",
+ success: function (data) {
+ if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+ layer.msg(data.Message, { icon: 1 });
+ $('#add-btn').addClass("layui-btn-disabled").attr("disabled",true);
+ }
+ else {
+
+ f_alert(data.Message);
+ console.log("Reason" + sMainStr + "sub:" + JSON.stringify(layui.table.cache.mainTable));
+ }
+ layer.closeAll("loading");
+ },
+ error: function (err) {
+
+ f_alert("閿欒:" + err);
+ console.log("Reason" + sMainStr);
+ }
+ });
+ });
+ function f_alert(sMsg) {
+ layer.alert(sMsg, { icon: 5 });
+
+ }
+
+ //鐩戝惉鎻愪氦
+ form.verify({
+ numberOrEmpty: function (value, item) {
+ // if (value != '') {
+ if (!/^\d+$/.test(value)) {
+ return '涓嶈兘涓虹┖鎴栨暟瀛楁垨鑰�0';
+ }
+ //}
+ }
+ });
+
+
+ });
+ //瀹氫箟鍏ㄥ眬鍙橀噺
+ var HReasonName, ReasonID, EmpName, SQProcName,
+ ProcID,ZRProcName,QRName
+ ;
+ function GetHReasonValue(obj) //杩斿洖涓嶈壇鍘熷洜
+ {
+ HReasonName = obj[0].HName;
+ ReasonID = obj[0].HItemID;
+ }
+ //杩斿洖鐗╂枡
+ function GetHMaterNameValue(obj) { //杩斿洖鐗╂枡
+ $("#HMater").val(obj[0].HName);
+ $("#HMaterID").val(obj[0].HItemID);
+ $("#HMaterNumber").val(obj[0].HNumber);
+ }
+ //杩斿洖宸ュ簭
+ function GetHProcValue(obj) { //杩斿洖宸ュ簭
+ $("#HProcName").val(obj[0].宸ュ簭);
+ $("#HProcID").val(obj[0].HItemID);
+ $("#HProcNumber").val(obj[0].宸ュ簭浠g爜);
+ }
+ function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬
+ $("#HDepName").val(obj[0].HName);
+ $("#HDeptID").val(obj[0].HItemID);
+ $("#HDeptNumber").val(obj[0].HNumber);
+ }
+ //杩斿洖鍗曚綅
+ function GetHUnitNameValue(obj) {
+ $("#HUName").val(obj[0].HName);
+ $("#HUnitID").val(obj[0].HItemID);
+ $("#HUnitNumber").val(obj[0].HNumber);
+ }
+
+ function GetHSupValue(obj) { //杩斿洖渚涘簲鍟�
+ $("#HSupName").val(obj[0].HName);
+ $("#HSupID").val(obj[0].HItemID);
+ $("#HSupNumber").val(obj[0].HNumber);
+ }
+
+ function GetHKeeperValue(obj) { //杩斿洖妫�楠屽憳
+ $("#HEmpName").val(obj[0].HName);
+ $("#HFirstCheckEmp").val(obj[0].HItemID);
+ }
+
+ //杩斿洖鐢熶骇璧勬簮
+ function GetProductionResourcesValue(obj) { //杩斿洖鐢熶骇璧勬簮
+
+ $("#HSource").val(obj[0].鐢熶骇璧勬簮);
+ $("#HSourceID").val(obj[0].HItemID);
+ }
+
+ //function GetHKeeperValue(obj) { //杩斿洖璐d换浜�
+ // EmpName = obj[0].HName;
+ // // $("#HEmpName").val(obj[0].HName);
+ // //$("#HItemID").val(obj[0].HItemID);
+ //}
+ //function GetHProcValue(obj) { //杩斿洖鐢宠宸ュ簭
+ // SQProcName = obj[0].宸ュ簭;
+ // ProcID = obj[0].HItemID;
+ // //$("#HSQProcName").val(obj[0].宸ュ簭);
+ // //$("#HProcID").val(obj[0].HItemID);
+ //}
+ function GetHZRValue(obj) { //杩斿洖璐d换宸ュ簭
+ ZRProcName = obj[0].宸ュ簭;
+ //$("#HZRProcName").val(obj[0].宸ュ簭);
+ //$("#HItemID").val(obj[0].HItemID);
+ }
+ //HWorker
+ function GetHWorkerValue(obj) { //杩斿洖涓嶈壇纭浜�
+ QRName = obj[0].HName;
+ //$("#HQRName").val(obj[0].HName);
+ //$("#HItemID").val(obj[0].HItemID);
+ }
+ function AllowLoadData(sSubStr) { //闈炵┖楠岃瘉
+ //if ($("#HSourceBillNo").val() == '') {
+ // layer.msg("璇峰厛鎵簮鍗�!", { icon: 5 });
+ // return false;
+ //}
+ if ($("#HDeptName").val() == '') {
+ layer.msg("閮ㄩ棬娌℃湁閫夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return false;
+ }
+ if ($("#HSecManager").val() == '') {
+ layer.msg("楠屾敹浜烘病鏈夐�夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return false;
+ }
+ if ($("#HKeeper").val() == '') {
+ layer.msg("淇濈浜烘病鏈夐�夋嫨", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return false;
+ }
+ //if ($("#HWHNAME").val() == '') {
+ // layer.msg("浠撳簱娌℃湁閫夋嫨!", { icon: 5 });
+ // return false;
+ //}
+ if ($("#HBillNo").val() == '') {
+ layer.msg("閿欒鐨勫崟鎹彿", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return false;
+ }
+ if ($("#HInterID").val() == '') {
+ layer.msg("閿欒鐨勫唴鐮�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return false;
+ }
+ if (typeof (sSubStr) == "undefined") {
+ layer.msg("娌℃湁鐗╂枡鏄庣粏璁板綍", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return false;
+ }
+ if (!typeof (sSubStr) == "undefined") {
+ //for (var i = 0; i <= sSubStr.length - 1; i++) { //鍒ゆ柇鎵爜鏁伴噺涓嶈兘澶т簬搴旀敹鏁伴噺
+ // if (parseFloat(sSubStr[i].HQtyMust) > 0) {
+ // if (parseFloat(sSubStr[i].HQty) > parseFloat(sSubStr[i].HQtyMust))
+ // {
+ // layer.msg("鏁伴噺涓嶈兘澶т簬搴旀敹鏁伴噺", { icon: 5, btn: ['纭畾'], time: 100000, offset: 't' });
+ // return false;
+ // }
+ // }
+ //}
+ for (var i = 0; i <= sSubStr.length - 1; i++) { //鍒ゆ柇鎵爜鏁伴噺涓嶈兘涓�0
+ if (parseFloat(sSubStr[i].HQty) > 0) {
+ s = 1;
+ }
+ }
+ if (s == 0) {
+ layer.msg("浜у搧鍏ュ簱璁板綍鏈壂鐮�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return false;
+ }
+ }
+ else {
+ return true;
+ }
+ }
+ </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/\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 eb2c20f..96b1600 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"
@@ -2,201 +2,262 @@
<html>
<head>
<meta charset="utf-8" />
- <title>鏂板/缂栬緫棣栦欢妫�楠屽崟</title>
+ <title>棣栦欢妫�楠屽崟</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+ <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
+ <style>
+ .main-btn { /*澶撮儴涓绘寜閽�*/
+ padding: 0 2px; /*璋冩暣鎸夐挳宸﹀彸绌洪殭澶у皬*/
+ height: 30px;
+ line-height: 30px;
+ }
+
+ .btn-title {
+ font-size: 16px;
+ }
+ /*.table-select {
+ margin-top: -10px;
+ margin-left: -15px;
+ margin-right: -15px;
+ }*/
+ </style>
</head>
<body>
-
- <div id="layout1" class="layui-fluid">
- <div class="layui-row layui-col-space15">
- <div class="layui-col-md12">
- <div class="layui-card">
- <form id="form0" class="layui-form" lay-filter="component-form-group" action="">
- <div class="layui-card-header">
- <div class="layui-btn-group">
-
- <button type="button" id="add-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Saver">淇濆瓨</button>
- <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel">閫�鍑�</button>
-
-
+ <div class="layui-fluid" style="padding: 0;">
+ <div class="layui-card" style="padding: 2px;background-color: #efefef;">
+ <div class="layui-card-body" style="padding: 1px;">
+ <form class="layui-form" action="" lay-filter="formData" style="background-color:white;">
+ <div style="padding: 10px;">
+ <button class="layui-btn layuiadmin-btn-order main-btn" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">
+ <i class="layui-icon layui-icon-print layuiadmin-button-btn"><span class="btn-title">棰勮</span></i>
+ </button>
+ <button class="layui-btn layuiadmin-btn-order main-btn" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">
+ <i class="layui-icon layui-icon-add-1 layuiadmin-button-btn"><span class="btn-title">鏂板</span></i>
+ </button>
+ <button class="layui-btn layuiadmin-btn-order main-btn" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">
+ <i class="layui-icon layui-icon-edit layuiadmin-button-btn"><span class="btn-title">淇敼</span></i>
+ </button>
+ <button class="layui-btn layuiadmin-btn-order main-btn" type="button" lay-submit="" lay-filter="btnSave" id="btnSave">
+ <i class="layui-icon layui-icon-delete layuiadmin-button-btn"><span class="btn-title">淇濆瓨</span></i>
+ </button>
+ </div>
+ <div class="layui-tab" lay-filter="tab-POStockInBill">
+ <ul class="layui-tab-title" lay-filter="tab-all">
+ <li lay-id="1" style="padding:1px;" class="layui-this">鍩烘湰淇℃伅</li>
+ <li lay-id="2" style="padding:1px;">鍒跺崟淇℃伅</li>
+ </ul>
+ <div class="layui-tab-content">
+ <!--鍩烘湰淇℃伅-->
+ <div class="layui-tab-item layui-show">
+ <div class="layui-form-item" style="padding-top: 10px;">
+ <div class="layui-row">
+ <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="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly>
+ <input type="hidden" name="HInterID" id="HInterID">
+ </div>
+ </div>
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 85px;">鏃ユ湡</label>
+ <div class="layui-input-block" style="margin-left: 120px;">
+ <input type="date" class="layui-input" name="HDate" id="HDate" style="padding-left: 32px;">
+ </div>
+ </div>
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">鐢熶骇璧勬簮</label>
+ <div class="layui-input-block" style="margin-left: 77px;">
+ <input type="text" class="layui-input" name="HSourceName" id="HSourceName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
+ <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="padding: 0 10px;float: left;margin-right: 3px;">
+ <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+ </button>
+ <input type="hidden" name="HSourceID" id="HSourceID" value="0">
+ </div>
+ </div>
+ </div>
+ <div class="layui-row">
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">浠诲姟鍗曞彿</label>
+ <div class="layui-input-block" style="margin-left: 77px;">
+ <input type="text" class="layui-input" name="HICMOBillNo" id="HICMOBillNo" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
+ <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchICMOBill" id="btnSearchICMOBill" style="padding: 0 10px;float: left;margin-right: 3px;">
+ <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+ </button>
+ </div>
+ </div>
+ <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="HICMOQty" id="HICMOQty">
+ </div>
+ </div>
+ <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="HICMOInterID" id="HICMOInterID" value="0" style="background-color:#efefef4d;" readonly>
+ </div>
+ </div>
+ </div>
+ <div class="layui-row">
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">浜у搧鍐呯爜</label>
+ <div class="layui-input-block" style="margin-left: 77px;">
+ <input type="text" class="layui-input" name="HMaterID" id="HMaterID" value="0" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
+ <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater" id="btnSearchMater" style="padding: 0 10px;float: left;margin-right: 3px;">
+ <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+ </button>
+ </div>
+ </div>
+ <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">
+ </div>
+ </div>
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">娴佽浆鍗″彿</label>
+ <div class="layui-input-block" style="margin-left: 77px;">
+ <input type="text" class="layui-input" name="HProcExchBillNo" id="HProcExchBillNo" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
+ <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchProcExch" id="btnSearchProcExch" style="padding: 0 10px;float: left;margin-right: 3px;">
+ <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+ </button>
+ </div>
+ </div>
+ </div>
+ <div class="layui-row">
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 85px;">娴佽浆鍗D</label>
+ <div class="layui-input-block" style="margin-left: 120px;">
+ <input type="text" class="layui-input" name="HProcExchInterID" id="HProcExchInterID" value="0">
+ </div>
+ </div>
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 85px;">娴佽浆鍗″瓙ID</label>
+ <div class="layui-input-block" style="margin-left: 120px;">
+ <input type="text" class="layui-input" name="HProcExchEntryID" id="HProcExchEntryID" value="0">
+ </div>
+ </div>
+ <div class="layui-inline">
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">妫�楠屽憳</label>
+ <div class="layui-input-block" style="margin-left: 77px;">
+ <input type="text" class="layui-input" name="HFirstCheckEmpName" id="HFirstCheckEmpName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
+ <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHFirstCheckEmp" id="btnSearchHFirstCheckEmp" style="padding: 0 10px;float: left;margin-right: 3px;">
+ <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+ </button>
+ <input type="hidden" name="HFirstCheckEmp" id="HFirstCheckEmp" value="0">
+ </div>
+ </div>
+ </div>
+ <div class="layui-row">
+ <div class="layui-inline" style="width: 50%;">
+ <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="HRemark" id="HRemark" placeholder="璇疯緭鍏ュ唴瀹�" onmouseover="this.title=this.value">
+ </div>
+ </div>
+ </div>
+ <div class="layui-row">
+ <div class="layui-inline">
+ <label class="layui-form-label">鍒ゆ柇缁撹</label>
+ <div class="layui-input-block">
+ <input type="radio" name="HLastResult" value="鍚堟牸" title="鍚堟牸">
+ <input type="radio" name="HLastResult" value="涓嶅悎鏍�" title="涓嶅悎鏍�">
+ </div>
+ </div>
+ </div>
+ </div>
</div>
-
- </div>
- <div class="layui-card-body">
- <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
- <!--<ul class="layui-tab-title">
- <li class="layui-this">鍩烘湰淇℃伅</li>-->
- <!--<li>鍏朵粬淇℃伅</li>-->
- <!--</ul>-->
- <h1 style="text-align:center;"><b>棣栦欢妫�楠屽崟</b></h1>
- <div class="layui-tab-content">
- <div class="layui-tab-item layui-show">
-
- <div class="layui-form-item">
- <div class="layui-row">
- <div class="layui-col-xs2">
- <label class="layui-form-label">鍗� 鎹� 鍙凤細</label>
- <div class="layui-input-inline">
- <input class="layui-input" name="HBillNo" lay-verify="HBillNo" id="HBillNo" readonly="readonly" autocomplete="off">
- <input id="HInterID" name="HInterID" value="0" type="hidden" />
- </div>
- </div>
- <div class="layui-col-xs2">
- <label class="layui-form-label">鍗曟嵁鏃ユ湡锛�</label>
- <div class="layui-input-inline">
- <input class="layui-input" name="HDate" id="HDate" readonly="readonly" autocomplete="off" disabled>
- </div>
- </div>
- <div class="layui-col-xs2">
- <label class="layui-form-label">鐢熶骇璧勬簮锛�</label>
- <div class="layui-input-inline">
- <input class="layui-input" name="HSource" id="HSource" autocomplete="off">
- <button type="button" lay-submit="" class="layui-btn" lay-filter="ProductionResources-BT">
- <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
- </button>
- <input id="HSourceID" name="HSourceID" type="hidden" />
-
- </div>
- </div>
- <div class="layui-col-xs2">
- <label class="layui-form-label">浠诲姟鍗曞彿锛�</label>
- <div class="layui-input-inline">
- <input type="text" name="HICMOBillNo" id="HICMOBillNo" lay-verify="" autocomplete="off" class="layui-input">
-
- <!--<button type="button" lay-submit="" class="layui-btn" lay-filter="HEmployeeID-BT">
- <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
- </button>-->
- <!--<input id="HFirstCheckEmp" name="HFirstCheckEmp" type="hidden" />-->
-
- </div>
- </div>
-
- <div class="layui-col-xs2">
- <label class="layui-form-label">浠诲姟鍗曟暟閲忥細</label>
- <div class="layui-input-inline">
- <input type="text" name="HICMOQty" id="HICMOQty" onkeyup="this.value=this.value.replace(/\D/g,'')" lay-verify="" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-col-xs2">
- <label class="layui-form-label">浠诲姟鍗曞唴鐮侊細</label>
- <div class="layui-input-inline">
- <input type="text" name="HICMOInterID" id="HICMOInterID" onkeyup="this.value=this.value.replace(/\D/g,'')" lay-verify="" autocomplete="off" class="layui-input">
- </div>
- </div>
-
-
- </div>
- <!--<button class="layui-btn" data-type="reload">閫夋嫨</button>-->
- </div>
- <div class="layui-form-item">
- <div class="layui-row">
-
- <div class="layui-col-xs2">
- <label class="layui-form-label">浜у搧鍐呯爜锛�</label>
- <div class="layui-input-inline">
- <input type="text" name="HMater" id="HMater" lay-verify="HMater" readonly="readonly" autocomplete="off" class="layui-input">
- <button type="button" lay-submit="" class="layui-btn" lay-filter="HMateria-BT">
- <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
- </button>
- <input id="HMaterID" name="HMaterID" type="hidden" />
- <input id="HMaterNumber" name="HMaterNumber" type="hidden" />
- </div>
- </div>
-
- <div class="layui-col-xs2">
- <label class="layui-form-label"> 娴佽浆鍗℃暟閲忥細</label>
- <div class="layui-input-inline">
- <input class="layui-input" name="HProcExchQty" onkeyup="this.value=this.value.replace(/\D/g,'')" value="0" lay-verify="" id="HProcExchQty" autocomplete="off">
-
- </div>
- </div>
-
- <div class="layui-col-xs2">
- <label class="layui-form-label"> 娴佽浆鍗″彿锛�</label>
- <div class="layui-input-inline">
- <input type="text" name="HProcExchBillNo" id="HProcExchBillNo" lay-verify="" autocomplete="off" class="layui-input">
-
- </div>
- </div>
- <div class="layui-col-xs2">
- <label class="layui-form-label"> 娴佽浆鍗D锛�</label>
- <div class="layui-input-inline">
- <input class="layui-input" name="HProcExchInterID" value="0" lay-verify="" id="HProcExchInterID" autocomplete="off">
-
- </div>
- </div>
- <div class="layui-col-xs2">
- <label class="layui-form-label"> 娴佽浆鍗″瓙ID锛�</label>
- <div class="layui-input-inline">
- <input class="layui-input" name="HProcExchEntryID" value="0" lay-verify="" id="HProcExchEntryID" autocomplete="off">
- </div>
- </div>
- <div class="layui-col-xs2">
- <label class="layui-form-label">妫�楠屽憳锛�</label>
- <div class="layui-input-inline">
- <input type="text" name="HEmpName" id="HEmpName" lay-verify="" autocomplete="off" class="layui-input">
-
- <button type="button" lay-submit="" class="layui-btn" lay-filter="HEmployeeID-BT">
- <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
- </button>
- <input id="HFirstCheckEmp" name="HFirstCheckEmp" type="hidden" />
-
- </div>
- </div>
-
+ <!--鍒跺崟淇℃伅-->
+ <div class="layui-tab-item">
+ <div class="layui-form-item">
+ <div class="layui-row">
+ <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="HMaker" id="HMaker" style="background-color:#efefef4d;" readonly>
</div>
</div>
-
- <div class="layui-form-item" pane>
- <div class="layui-col-xs5">
- <label class="layui-form-label"> 鍒ゅ畾缁撹:</label>
- <div class="layui-input-inline">
-
- <input type="radio" name="checkboxHCheckerResult" id="checkboxHCheckerResult" lay-skin="primary" lay-filter="checkboxHCheckerResult" value="true" title="鏄惁鍚堟牸">
- <input type="hidden" value="false" name="HLastResult" id="HLastResult">
- </div>
- </div>
+ <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="HChecker" id="HChecker" style="background-color:#efefef4d;" readonly>
+ </div>
</div>
-
-
-
- <div class="layui-form-item">
- <div class="layui-row">
-
- <div class="layui-colorpicker-xs">
- <label class="layui-form-label"> 澶囨敞锛�</label>
- <div class="layui-input-block">
- <input class="layui-input" name="HRemark" id="HRemark" autocomplete="off">
- </div>
- </div>
+ <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="HCloseMan" id="HCloseMan" style="background-color:#efefef4d;" readonly>
+ </div>
+ </div>
+ </div>
+ <div class="layui-row">
+ <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="HMakeDate" id="HMakeDate" style="background-color:#efefef4d;" readonly>
+ </div>
+ </div>
+ <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="HCheckDate" id="HCheckDate" style="background-color:#efefef4d;" readonly>
+ </div>
+ </div>
+ <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="HCloseDate" id="HCloseDate" style="background-color:#efefef4d;" readonly>
+ </div>
+ </div>
+ </div>
+ <div class="layui-row">
+ <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="HUpDater" id="HUpDater" style="background-color:#efefef4d;" readonly>
+ </div>
+ </div>
+ <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="HDeleteMan" id="HDeleteMan" style="background-color:#efefef4d;" readonly>
+ </div>
+ </div>
+ </div>
+ <div class="layui-row">
+ <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="HUpDateDate" id="HUpDateDate" style="background-color:#efefef4d;" readonly>
+ </div>
+ </div>
+ <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="HDeleteDate" id="HDeleteDate" style="background-color:#efefef4d;" readonly>
</div>
</div>
</div>
</div>
</div>
</div>
-
- <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
- <script type="text/html" id="toolbarDemo">
- <div class="layui-btn-container">
-
- <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-AddLine"><i class="layui-icon layui-icon-form"></i>澧炲姞涓�琛�</button>
- <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine"><i class="layui-icon layui-icon-form"></i>澶嶅埗涓�琛�</button>
-
- </div>
- </script>
- <script type="text/html" id="xuhao">
- {{d.LAY_TABLE_INDEX+1}}
- </script>
- </form>
- </div>
+ </div>
+ <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
+ <script type="text/html" id="toolbarDemo">
+ <div class="layui-btn-container">
+ <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-AddLine"><i class="layui-icon layui-icon-form"></i>澧炲姞涓�琛�</button>
+ <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine"><i class="layui-icon layui-icon-form"></i>澶嶅埗涓�琛�</button>
+ </div>
+ </script>
+ </form>
</div>
</div>
</div>
+
<script type="text/html" id="barDemo">
<!--<a class="layui-btn layui-btn-xs" lay-event="edit">缂栬緫</a>-->
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">鍒犻櫎</a>
@@ -206,6 +267,7 @@
<script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
<script src="../../../layuiadmin/Scripts/webConfig.js"></script>
<script>
+
layui.config({
base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
}).extend({
@@ -217,6 +279,17 @@
, table = layui.table
, form = layui.form
, element = layui.element;
+ //鍏敤鍙橀噺
+ var rowdata = [];
+ var option = [];
+
+ //鍒ゆ柇鏄惁鐧诲綍 鏈櫥褰曞垯璺冲埌鐧诲綍椤�
+ //if (sessionStorage.login != "login") {
+ // layer.confirm("鐧诲綍澶辨晥锛岃閲嶆柊鐧诲綍锛�", {
+ // icon: 4, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['閲嶆柊鐧诲綍']
+ // }, function () { window.location.href = "../../user/login.html"; });
+ //}
+
/*鍥哄畾浠g爜锛屾瘡寮犲崟鎹兘瑕乥egin*/
/* 1.鏃犳簮鍗曟柊澧�
* 2.鏈夋簮鍗曟柊澧�
@@ -224,7 +297,6 @@
* 4.娴忚
* 5.鍙樻洿
*/
- var OperationType = 1;
//鑾峰彇鍙傛暟
function getUrlVars() {
var vars = [], hash;
@@ -237,99 +309,90 @@
return vars;
}
var params = getUrlVars();
- var linterid = params[params[0]];//婧愬崟id
- OperationType = params[params[1]];//鎿嶄綔绫诲瀷
- /*鍥哄畾浠g爜锛屾瘡寮犲崟鎹兘瑕乥egin*/
- //alert("id:" + params[params[0]] + ",type:" + params[params[1]]);
- //鍒ゆ柇鎿嶄綔绫诲瀷
- if (linterid == null || linterid == 0) {
- //鍒濆鍔犺浇琛ㄦ牸{ "ID": 0, "HWasterReasonName": " ","HBadReasonID":0,"HEmpName": " ", "HSQProcName": " ","HProcID":0, "HZRProcName": " ", "HMRBChecker": " ", "HRemark": " ", "HPSProcName": " ", "HCloseMan": " " }
- option.data = [{ "HQCCheckItemID": 0, "HQCStd": " ", "HUnit": " ", "HQCNote": " ", "HResult": " ", "HMax": " ", "HMin": " ", "HAvg": " ", "HRemark": " " }];
- table.render(option);
+ if (typeof (params[params[0]]) == "undefined") {
+ var OperationType = 1;//鎿嶄綔绫诲瀷
+ } else {
+ var OperationType = params[params[0]];//鎿嶄綔绫诲瀷
+ var linterid = params[params[1]];//婧愬崟id
+ var HBillNo = params[params[2]]; //鑾峰彇鍗曟嵁鍙�
}
- else {
- $("#HInterID").val(linterid);//淇敼鏃朵富琛↖D
- //缂栬緫鍔犺浇鏁版嵁
- $.ajax({
- url: GetWEBURL() + 'MES_QC_FirstPieceCheckDetail_Json',
- type: "GET",
- data: { "sqlWhere": "and HInterID=" + linterid },
- success: function (result) {
- if (result.count == 1) {
- option.data = result.data;
- table.render(option);
+ /*鍥哄畾浠g爜锛屾瘡寮犲崟鎹兘瑕乥egin*/
- } else {
- layer.alert(result.code + result.Message, { icon: 5 });
- }
- }, error: function () {
- layer.close(index0);
- layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+ //鍒ゆ柇鏄惁鏂板
+ if (OperationType == 1) {
+ $("#HInterID").val("");
+ $("#HBillNo").val("");
+ //鑾峰彇鏈�澶у崟鎹彿
+ $.ajax({
+ url: GetWEBURL() + "/Web/GetMAXNum",
+ type: "GET",
+ data: { "HBillType": '7505' },
+ success: function (d) {
+ //console.log(d.data);
+ $("#HInterID").val(d.data[0].HInterID);
+ $("#HBillNo").val(d.data[0].HBillNo);
}
});
-
}
+ else if (OperationType == 2) {
+ $("#HInterID").val("");
+ $("#HBillNo").val("");
+ //鑾峰彇鏈�澶у崟鎹彿
+ $.ajax({
+ url: GetWEBURL() + "/Web/GetMAXNum",
+ type: "GET",
+ data: { "HBillType": '7505' },
+ success: function (d) {
+ //console.log(d.data);
+ $("#HInterID").val(d.data[0].HInterID);
+ $("#HBillNo").val(d.data[0].HBillNo);
+ }
+ });
+ }
+ else if (OperationType == 3) {
+ RoadBillMain(linterid);
+ //RoadBillSub(linterid);
+ }
+ //鍒濆鍖栬〃鏍�
+ set_InitGrid();
+ //鏄惁榛樿宸ヨ壓
+ form.on('checkbox(checkboxHBLFlag)', function (data) {
+ $("#HBLFlag").val(data.elem.checked);
+ });
+ //鏄惁鍚敤
+ form.on('checkbox(checkboxHUseFlag)', function (data) {
+ $("#HUseFlag").val(data.elem.checked);
+ });
- //鍒ゆ柇鏄惁鐧诲綍 鏈櫥褰曞垯璺冲埌鐧诲綍椤�
- //if (sessionStorage.login != "login") {
- // layer.confirm("鐧诲綍澶辨晥锛岃閲嶆柊鐧诲綍锛�", {
- // icon: 4, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['閲嶆柊鐧诲綍']
- // }, function () { window.location.href = "../../user/login.html"; });
- //}
- var tableReload = table.reload;
- var option = {
- elem: '#mainTable'
- , toolbar: '#toolbarDemo'
- , height: 500
- //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛
- , page: true //寮�鍚垎椤�
- , cols: [[ //琛ㄥご
- {type:'checkbox', fixed: 'left'}
- ,{ templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left',event:"qwe" }
- , { field: 'HQCCheckItemID', title: '妫�楠岄」鐩甀D', edit: 'text'}
- , { field: 'HQCStd', title: '妫�楠屾爣鍑�',edit: 'text', event: "" }
- , { field: 'HUnit', title: '鍗曚綅' , edit: 'text'}
- , { field: 'HQCNote', title: '妫�楠岃褰�', event: "", edit: 'text' }
- , { field: 'HResult', title: '缁撹', event: "", edit: 'text' }
- , { field: 'HMax', title: '鏈�澶у��', edit: 'text' }
- , { field: 'HMin', title: '鏈�灏忓��', edit: 'text' }
- , { field: 'HAvg', title: '骞冲潎鍊�', edit: 'text' }
- , { field: 'HRemark', title: '澶囨敞', edit: 'text'}
- ,{fixed: 'right', title:'鎿嶄綔', toolbar: '#barDemo', width:150}
- ]]
- , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
- };
-
-
- //澶村伐鍏锋爮浜嬩欢
- var rowid = 0;
- var rows = 0;
+ //澶村伐鍏锋爮浜嬩欢
table.on('toolbar(mainTable)', function (obj) {
var checkStatus = table.checkStatus('mainTable')
- ,data = checkStatus.data;;
- var AddRow = table.cache['mainTable'];
- var NewRow = { "HQCCheckItemID": 0, "HQCStd": " ", "HUnit": " ", "HQCNote": " ", "HResult": " ", "HMax": " ", "HMin": " ", "HAvg": " ", "HRemark": " " };
+ , data = checkStatus.data;
+ //鏂板琛岃〃鏍兼暟鎹�
+ var NewRow = {
+ "妫�楠岄」鐩�": "", "妫�楠屾爣鍑�": "", "鍗曚綅": "", "妫�楠岃褰�": "", "缁撹": "",
+ "鏈�澶у��": "", "鏈�灏忓��": "", "骞冲潎鍊�": "", "澶囨敞": "", "婧愬崟涓诲唴鐮�": "",
+ "HSourceEntryID": "", "婧愬崟鍗曞彿": "", "婧愬崟绫诲瀷": "", "鍏宠仈鏁伴噺": "", "鍏宠仈閲戦": "",
+ "琛屽叧闂汉": "", "鍏抽棴鏃堕棿": "", "鎵嬪伐鍏抽棴": ""
+ };
switch (obj.event) {
case 'btn-AddLine':
- //table.cache["mainTable"].push(AddRow[rows]);
- table.cache["mainTable"].push(NewRow);
+ table.cache["mainTable"].push(NewRow);
option.data = table.cache["mainTable"];
table.render(option);
- rows++;
- layer.msg('澧炲姞涓�琛屾寜閽紒')
break;
case 'btn-CopyLine':
var copydata = JSON.stringify(data);
if (data.length <= 0) {
- layer.alert("璇烽�夋嫨闇�瑕佸鍒剁殑涓�琛岋紒");
+ layer.msg("璇烽�夋嫨闇�瑕佸鍒剁殑涓�琛岋紒");
}
- else if (data.length>1) {
- layer.alert("鍙兘閫夋嫨澶嶅埗涓�琛岋紒");
+ else if (data.length > 1) {
+ layer.msg("鍙兘閫夋嫨澶嶅埗涓�琛岋紒");
}
else {
var copydata2 = copydata.substring(1, copydata.length);//鍘婚櫎棣栬瀛楃'['
- var copyrow =copydata2.substring(0, copydata2.length - 1);//鍘婚櫎鏈熬瀛楃']'
+ var copyrow = copydata2.substring(0, copydata2.length - 1);//鍘婚櫎鏈熬瀛楃']'
table.cache["mainTable"].push(JSON.parse(copyrow));//灏嗗鍒剁殑琛屽己杞垚json杩藉姞鍒拌〃鏍间笂
option.data = table.cache["mainTable"];//灏嗘暟鎹粦瀹氬埌data涓�
table.render(option);//灏嗘暟鎹覆鏌撳埌琛ㄦ牸涓�
@@ -338,2047 +401,231 @@
break;
}
});
+
//琛屽唴浜嬩欢
table.on('tool(mainTable)', function (obj) {
var data = obj.data;
var rowIndex = $(obj.tr).attr("data-index");
- if (obj.event==='del') {
- layer.confirm('鐪熺殑鍒犻櫎琛屼箞', function (index) {
+ if (obj.event === 'del') {
+ layer.confirm('鐪熺殑鍒犻櫎琛屽悧锛�', function (index) {
console.log("绱㈠紩涓�:" + rowIndex);
- if (rowIndex ==='0') {
+ if (rowIndex === '0') {
layer.msg('棣栬鏃犳硶鍒犻櫎锛侊紒锛�');
} else {
obj.del();
+ option.data = table.cache["mainTable"];//灏嗘暟鎹粦瀹氬埌data涓�
+ table.reload(option);
layer.close(index);
}
});
}
- if (obj.event === 'ReasonNameEvent') {
+ //鍗曞嚮鏀瑰彉鏄惁濮斿鍊�
+ if (obj.event === 'isEntrustCheck') {
+ var flag = obj.data.isEntrust;
+ var flagValue = obj.data.isEntrustValue;
+ if (flagValue === "false") {
+ flagValue = "true";
+ flag = "鏄�";
+ }
+ else if (flagValue === "true") {
+ flagValue = "false";
+ flag = "鍚�";
+ }
+ else {
+ flagValue = "false";
+ flag = "鍚�";
+ }
+ obj.update({
+ isEntrust: flag
+ , isEntrustValue: flagValue
+ });
+ }
+ if (obj.event === 'HProcCheck') {//宸ュ簭
var _obj = obj;
- switch (rowIndex) {
- case "0":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "1":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "2":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "3":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "4":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "5":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "6":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "7":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "8":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "9":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "10":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "11":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "12":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "13":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "14":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "15":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "16":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇鍘熷洜
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '涓嶈壇鍘熷洜鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HWasterReasonName: HReasonName
- ,HBadReasonID:ReasonID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HWasterReasonName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
-
- }
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ 宸ュ簭: subProcName
+ , hprocid: subProcID
+ , HProcNumber: subProcNumber
+ });
+ }
+ })
}
- else if (obj.event === 'EmpNameEvent') {
- var _obj = obj;
- switch (rowIndex) {
- case "0":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "1":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "2":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "3":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "4":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "5":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "6":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "7":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "8":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "9":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "10":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "11":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "12":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "13":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "14":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "15":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "16":
- //寮瑰嚭妗嗛�夋嫨璐d换浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HEmpName: EmpName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HEmpName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
-
- }
+ if (obj.event === 'HSupCheck') {//渚涘簲鍟�
+ var _obj = obj;
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '渚涘簲鍟嗗垪琛�'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ 渚涘簲鍟�: subSupName
+ , HSupID: subSupID
+ , 渚涘簲鍟嗕唬鐮�: subSupNumber
+ });
+ }
+ })
}
- else if (obj.event === 'SQProcNameEvent') {
- var _obj = obj;
- switch (rowIndex) {
- case "0":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "1":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "2":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "3":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "4":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "5":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "6":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "7":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "8":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "9":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "10":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "11":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "12":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "13":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "14":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "15":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "16":
- //寮瑰嚭妗嗛�夋嫨鐢宠宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鐢宠宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HSQProcName: SQProcName
- , HProcID: ProcID
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HSQProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
-
- }
+ if (obj.event === 'HWorkCenterCheck') {//宸ヤ綔涓績
+ var _obj = obj;
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鍔犲伐涓績鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_WorkCenterList.html', 'yes']
+ , resize: false
+ , end: function () {
+ _obj.update({
+ 宸ヤ綔涓績: subWorkCenterName
+ , HCenterID: subWorkCenterID
+ , 宸ヤ綔涓績浠g爜: subWorkCenterNumber
+ });
+ }
+ })
}
- else if (obj.event === 'ZRProcNameEvent') {
- var _obj = obj;
- switch (rowIndex) {
- case "0":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "1":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "2":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "3":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "4":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "5":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "6":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "7":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "8":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "9":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "10":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "11":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "12":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "13":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "14":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "15":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "16":
- //寮瑰嚭妗嗛�夋嫨璐d换宸ュ簭
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '璐d换宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html?Type=HZR', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HZRProcName: ZRProcName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HZRProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
-
+ //鍗曞嚮鏀瑰彉涓嶅彲缂栬緫鍊�
+ if (obj.event === 'isEditCheck') {
+ var flag = obj.data.isEdit;
+ var flagValue = obj.data.isEditValue;
+ if (flagValue === "false") {
+ flagValue = "true";
+ flag = "鏄�";
}
- }
- else if (obj.event === 'BadQtyEvent') {
- var _obj = obj;
- switch (rowIndex) {
- case "0":
-
- break;
- case "1":
-
- break;
- case "2":
-
- break;
- case "3":
-
- break;
- case "4":
-
- break;
- case "5":
-
- break;
- case "6":
-
- break;
- case "7":
-
- break;
- case "8":
-
- break;
- case "9":
-
- break;
- case "10":
-
- break;
- case "11":
-
- break;
- case "12":
-
- break;
- case "13":
-
- break;
- case "14":
-
- break;
- case "15":
-
- break;
- case "16":
- //$(obj.tr).find(".layui-table-edit").keyup(function () {
- // var $input = $(this), val = $input.val();
- // if (!val) val = "1";
- // $input.val(val.replace(/[^\d]/g, ''));
- //});
- break;
-
+ else if (flagValue === "true") {
+ flagValue = "false";
+ flag = "鍚�";
}
- }
- else if (obj.event === 'RemarkEvent') {
- var _obj = obj;
- switch (rowIndex) {
- case "0":
-
- break;
- case "1":
-
- break;
- case "2":
-
- break;
- case "3":
-
- break;
- case "4":
-
- break;
- case "5":
-
- break;
- case "6":
-
- break;
- case "7":
-
- break;
- case "8":
-
- break;
- case "9":
-
- break;
- case "10":
-
- break;
- case "11":
-
- break;
- case "12":
-
- break;
- case "13":
-
- break;
- case "14":
-
- break;
- case "15":
-
- break;
- case "16":
-
- break;
-
+ else {
+ flagValue = "false";
+ flag = "鍚�";
}
+ obj.update({
+ isEdit: flag
+ , isEditValue: flagValue
+ });
}
- else if (obj.event === 'PSProcNameEvent') {
- var _obj = obj;
- switch (rowIndex) {
- case "0":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "1":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "2":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "3":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "4":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "5":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "6":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "7":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "8":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "9":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "10":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "11":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "12":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "13":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "14":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "15":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
- case "16":
- //寮瑰嚭妗嗛�夋嫨涓嶈壇纭浜�
- layer.open({
- type: 2
- , area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HWorker', 'yes']
- , resize: false
- , end: function () {
- _obj.update({
- HPSProcName: QRName
- });
- }
- })
- console.log("瀛楁璧嬪��" + data.HPSProcName);
- console.log("琛屽彿锛�" + rowIndex);
- break;
+ });
- }
+ $('#HName').on('keydown', function (event) {//宸ヨ壓璺嚎鍚嶇О
+ if (event.keyCode == 118) {
+ layer.msg("宸ヨ壓璺嚎鍚嶇ОF7鎸夐挳")
}
- else if (obj.event === 'CloseManEvent') {
- var _obj = obj;
- switch (rowIndex) {
- case "0":
-
- break;
- case "1":
-
- break;
- case "2":
-
- break;
- case "3":
-
- break;
- case "4":
-
- break;
- case "5":
-
- break;
- case "6":
-
- break;
- case "7":
-
- break;
- case "8":
-
- break;
- case "9":
-
- break;
- case "10":
-
- break;
- case "11":
-
- break;
- case "12":
-
- break;
- case "13":
-
- break;
- case "14":
-
- break;
- case "15":
-
- break;
- case "16":
-
- break;
-
- }
- }
-
-
-
});
+ //淇濆瓨鎸夐挳
+ form.on('submit(btnSave)', function (data) {
+ set_SaveBill(data);
+ });
+
+ //淇濆瓨
+ function set_SaveBill(data) {
+ if ($("#HICMOQty").val() == "" || $("#HICMOQty").val() <= 0) {
+ layer.msg("浠诲姟鍗曟暟閲忎笉鑳戒负绌轰笖涓嶈兘灏忎簬绛変簬0锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return;
+ }
+ if ($("#HProcExchQty").val() == "" || $("#HProcExchQty").val() <= 0) {
+ layer.msg("娴佽浆鍗℃暟閲忎笉鑳戒负绌轰笖涓嶈兘灏忎簬绛変簬0锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return;
+ }
+ if ($("#HFirstCheckEmp").val() == 0 ) {
+ layer.msg("妫�楠屽憳鏈�夋嫨锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return;
+ }
+ //if (!$("#HPlanBeginDate").val()) {
+ // layer.msg("璇烽�夋嫨璁″垝寮�宸ユ棩鏈燂紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ // return;
+ //}
+ //if (!$("#HPlanEndDate").val()) {
+ // layer.msg("璇烽�夋嫨璁″垝瀹屽伐鏃ユ湡锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ // return;
+ //}
+ //var sSubTable = table.cache['mainTable'];
+ //for (var i = 0; i < sSubTable.length; i++) {
+ // if (!sSubTable[i].hprocid) {
+ // var indexRow = i + 1;
+ // layer.msg("绗�" + indexRow + "琛岋紝宸ュ簭涓嶈兘涓虹┖锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ // return;
+ // }
+ // if (!sSubTable[i].HSupID) {
+ // var indexRow = i + 1;
+ // layer.msg("绗�" + indexRow + "琛岋紝渚涘簲鍟嗕笉鑳戒负绌猴紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ // return;
+ // }
+ //}
+ var sMainStr = JSON.stringify(data.field);
+ var sSubStr = JSON.stringify(table.cache['mainTable']);
+ var sMainSub = sMainStr + ';' + sSubStr + ';' + OperationType;
+ var index = layer.load();
+ $.ajax({
+ type: "POST",
+ url: GetWEBURL() + "/QC_FirstPieceCheckBill/set_SaveBill",
+ async: true,
+ data: { "sMainSub": sMainSub },
+ dataType: "json",
+ success: function (data) {
+ if (data.count == 1) {
+ //layer.confirm(data.Message, {
+ // icon: 1, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['鏂板'],
+ // btn2: function () {
+ // //parent.layui.admin.events.closeThisTabs();鍏抽棴椤电
+ // //window.close();//鍏抽棴椤甸潰锛屾祻瑙堝櫒鏈夋晥锛孭DA鏃犳晥
+ // parent.location.href = "../../../views/index.html"
+ // }//鍏抽棴
+ //}, function () { window.location.reload(); });//鏂板
+ layer.close(index);
+ layer.msg("鎻愪氦鎴愬姛");
+ $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true);//淇濆瓨鎸夐挳
+ }
+ else {
+ layer.close(index);
+ layer.msg(data.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ }
+ },
+ error: function (err) {
+ layer.close(index);
+ layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ }
+ });
+ }
function RoadBillMain(linterid)//鍔犺浇琛ㄥご
{
- //鏌ヨ妫�楠屾柟妗堝崟鏄惁瀛樺湪
$.ajax({
- url: GetWEBURL() + "GetQC_FirstPieceCheckDetail",
+ url: GetWEBURL() + "/Web/GetPonderationBill",
type: "GET",
- data: {
- "HID": linterid
- },
- success: function (result) {
- if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
- var data = result.data.h_v_QC_Edit_FirstPieceCheckBillList[0];
- form.val("component-form-group", { //formTest 鍗� class="layui-form" 鎵�鍦ㄥ厓绱犲睘鎬� lay-filter="" 瀵瑰簲鐨勫��
- "HBillNo": data.鍗曟嵁鍙�
- , "HDate": data.鏃ユ湡
- , "HSource": data.鐢熶骇璧勬簮鍚嶇О
- , "HSourceID": data.鐢熶骇璧勬簮ID
- , "HICMOBillNo": data.HICMOBillNo
- , "HICMOQty": data.HICMOQty
- , "HICMOInterID": data.HICMOInterID
- , "HMater": data.浜у搧鍚嶇О
- , "HMaterID": data.浜у搧ID
- , "HMaterNumber": data.浜у搧鍐呯爜
- , "HProcExchQty": data.HProcExchQty
- , "HProcExchBillNo": data.HProcExchBillNo
- , "HProcExchInterID": data.HProcExchInterID
- , "HProcExchEntryID": data.HProcExchEntryID
- , "HEmpName": data.妫�楠屽憳鍚嶇О
- , "HFirstCheckEmp": data.妫�楠屽憳ID
- , "HLastResult": data.HLastResult
- , "HRemark": data.琛ㄥご澶囨敞
- });
-
- } else {
- layer.alert(result.msg, { icon: 5, btn: ['閫�鍑�'], time: 100000, offset: 't' });
- }
- }, error: function () {
- layer.alert("鍙戠敓閿欒!", { icon: 5 });
- }
- });
- }
-
-
- var date = new Date();
- var day = date.getDate();
- var month = date.getMonth() + 1;
- var year = date.getFullYear();
- var shijian = year + "-" + month + "-" + day;
-
- //鍒ゆ柇鏄惁鏂板
- if (linterid == null || linterid == 0) {
- //鑾峰彇鏈�澶у崟鎹彿 new
- $("#HInterID").val(0);
- $("#HBillNo").val("");
- $.ajax({
- url: GetWEBURL() + "/Web/GetMAXNum",
- type: "GET",
- data: { "HBillType": '7505' },
+ data: { "HInterID": linterid },
success: function (d) {
- //console.log(d.data);
- /* $("#HInterID").val(d.data[0].HInterID);*/
-
+ // console.log(d.data);
+ $("#HInterID").val(d.data[0].HInterID);
$("#HBillNo").val(d.data[0].HBillNo);
- $("#HDate").val(shijian);
- $("#HInterID").val(0);
+ $("#HSourceBillNo").val(d.data[0].HSourceBillNo);
+
}
- });
- }
- else {//濡傛灉淇敼鍒欒蛋涓嬮潰 new
- $("#HInterID").val(linterid);//淇敼鏃朵富琛↖D
- RoadBillMain(linterid);
- /* RoadBillSub(linterid);*/
+ })
}
- form.on('checkbox(checkboxHCheckerResult)', function (data) {
- $("#HLastResult").val(data.elem.checked);
- });
+
//閫夋嫨浜у搧寮圭獥
- form.on('submit(HMateria-BT)', function () {//浜у搧
+ form.on('submit(btnSearchMater)', function () {//浜у搧
layer.open({
type: 2
, area: ['80%', '80%']
@@ -2392,32 +639,17 @@
}
})
});
- //閫夋嫨宸ュ簭
- form.on('submit(HProc-BT)', function () {//閫夋嫨宸ュ簭
+
+ //閫夋嫨涓嶈壇鍘熷洜
+ form.on('submit(HBadReasonID-BT)', function () {//閫夋嫨浠撳簱
layer.open({
type: 2
, area: ['80%', '80%']
- , title: '宸ュ簭鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- //, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
- , resize: false
- , cancel: function (index, layero) {
- }
- })
- });
-
- //閫夋嫨渚涘簲鍟�
- form.on('submit(HSupID-BT)', function () {//閫夋嫨渚涘簲鍟�
- layer.open({
- type: 2
- , area: ['666px', '666px']
- , title: '渚涘簲鍟嗗垪琛�'
+ , title: '涓嶈壇鍘熷洜鍒楄〃'
, shade: 0.6 //閬僵閫忔槑搴�
, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes']
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_BadReasonList.html', 'yes']
, resize: false
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
@@ -2425,31 +657,16 @@
})
});
- //閫夋嫨閮ㄩ棬
- form.on('submit(HDepart-BT)', function () {//閫夋嫨閮ㄩ棬
+ //閫夋嫨宸ュ簭娴佽浆鍗�
+ form.on('submit(btnSearchProcExch)', function () {
layer.open({
type: 2
, area: ['80%', '80%']
- , title: '閮ㄩ棬鍒楄〃'
- , shade: 0.6 //閬僵閫忔槑搴�
- //, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
- , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../Baseset/鍩虹璧勬枡/Gy_DepartmentList.html', 'yes']
- , resize: false
- , cancel: function (index, layero) {
- }
- })
- });
- //閫夋嫨鍗曚綅
- form.on('submit(HUnitID-BT)', function () {//閫夋嫨鍗曚綅
- layer.open({
- type: 2
- , area: ['666px', '666px']
- , title: '鍗曚綅鍒楄〃'
+ , title: '宸ュ簭娴佽浆鍗″垪琛�'
, shade: 0.6 //閬僵閫忔槑搴�
, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_UnitList.html', 'yes']
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Sc_ProcessExchangeBillListView.html', 'yes']
, resize: false
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
@@ -2457,22 +674,71 @@
})
});
- form.on('submit(Exit)', function (data) {//
- //var index = parent.layer.getFrameIndex(window.name); //鍏堝緱鍒板綋鍓峣frame灞傜殑绱㈠紩
- //parent.layer.close(index); //鍐嶆墽琛屽叧闂�
- parent.location.href = "../../../views/index.html"
- });
-
- //閫夋嫨璐d换浜�
- form.on('submit(HEmployeeID-BT)', function () {//閫夋嫨璐d换浜�
+ //閫夋嫨鐢熶骇浠诲姟鍗�
+ form.on('submit(btnSearchICMOBill)', function () {
layer.open({
type: 2
, area: ['80%', '80%']
- , title: '鑱屽憳鍒楄〃'
+ , title: '鐢熶骇浠诲姟鍗曞垪琛�'
, shade: 0.6 //閬僵閫忔槑搴�
, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_EmployeeList.html?Type=HKeeper', 'yes']
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Sc_ICMOBillListView2.html', 'yes']
+ , resize: false
+ , cancel: function () {
+ //$(".layui-btn").removeClass("layui-btn-disabled");
+ }
+ })
+ });
+
+ //琛ㄥご淇℃伅閫夋嫨妫�楠屽憳寮圭獥
+ form.on('submit(btnSearchHFirstCheckEmp)', function () {
+ //椤甸潰灞�-鑷畾涔�
+ layer.open({
+ type: 2,
+ skin: 'layui-layer-rim', //鍔犱笂杈规
+ title: '妫�楠屽憳鍒楄〃',
+ closeBtn: 1,
+ shift: 2,
+ area: ['80%', '80%'],
+ maxmin: true,
+ content: ['../../PublicPage/UserInformation.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('璇烽�夋嫨鏁版嵁');
+ }
+ $("#HFirstCheckEmpName").val(checkStatus.data[0].HName);
+ $("#HFirstCheckEmp").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(HSQProcID-BT)', function () {//閫夋嫨鐢宠宸ュ簭
+ layer.open({
+ type: 2
+ , area: ['80%', '80%']
+ , title: '鐢宠宸ュ簭鍒楄〃'
+ , shade: 0.6 //閬僵閫忔槑搴�
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+ , content: ['../../../views/Baseset/鍩虹璧勬枡/Gy_ProcList.html', 'yes']
, resize: false
, cancel: function () {
//$(".layui-btn").removeClass("layui-btn-disabled");
@@ -2497,152 +763,169 @@
})
});
- //閫夋嫨鐢熶骇璧勬簮寮圭獥
- form.on('submit(ProductionResources-BT)', function () {//鐢熶骇璧勬簮
+ //缂栬緫
+ form.on('submit(cmdModify)', function () {//缂栬緫
+ var sSubStr = table.cache['wl-table'];
+ //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉
layer.open({
type: 2
- , area: ['80%', '80%']
- , title: '鐢熶骇璧勬簮'
+ , area: ['100%', '100%']
+ , title: '鏄庣粏鍒楄〃'
, shade: 0.6 //閬僵閫忔槑搴�
- //, maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+ , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
, anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
- , content: ['../../Baseset/鍩虹璧勬枡/Gy_GetProductionResourcesList.html', 'yes']
+ , content: ['../../../views/鍏叡椤甸潰/Kf_BarCodeEditDlg.html?table=' + JSON.stringify(sSubStr), 'yes']
, resize: false
- , cancel: function (index, layero) {
+ , cancel: function () {
+ //$(".layui-btn").removeClass("layui-btn-disabled");
}
})
+ // }
});
-
-
- form.on('submit(Exit)', function (data) {//閫�鍑�
-
- });
-
form.on('submit(Cancel)', function () {
//sessionStorage["SourceFlag"] = false;
- if (linterid == null || linterid==0) {
- parent.location.href = "../../../views/index.html"
- }
- else
- {
- var index = parent.layer.getFrameIndex(window.name); //鍏堝緱鍒板綋鍓峣frame灞傜殑绱㈠紩
- parent.layer.close(index); //鍐嶆墽琛屽叧闂�
- }
+ parent.location.href = "../../../views/index.html"
//window.close();//鍏抽棴褰撳墠椤�
})
- form.on('submit(Saver)', function (data) {//淇濆瓨
- //debugger;
- var sMainStr = JSON.stringify(data.field);
- var sSubStr = JSON.stringify(table.cache['mainTable']);
- var sMainSub = sMainStr + ';' + sSubStr;
- $.ajax(
- {
- type: "POST",
- url: GetWEBURL() + "SaveQC_FirstPieceCheckList", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
- async: true,
- data: { "msg": sMainSub },
- dataType: "json",
- success: function (data) {
- if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
- layer.msg(data.Message, { icon: 1 });
- $('#add-btn').addClass("layui-btn-disabled").attr("disabled",true);
- }
- else {
-
- f_alert(data.Message);
- console.log("Reason" + sMainStr + "sub:" + JSON.stringify(layui.table.cache.mainTable));
- }
- layer.closeAll("loading");
- },
- error: function (err) {
-
- f_alert("閿欒:" + err);
- console.log("Reason" + sMainStr);
- }
- });
- });
- function f_alert(sMsg) {
- layer.alert(sMsg, { icon: 5 });
-
- }
-
- //鐩戝惉鎻愪氦
- form.verify({
- numberOrEmpty: function (value, item) {
- // if (value != '') {
- if (!/^\d+$/.test(value)) {
- return '涓嶈兘涓虹┖鎴栨暟瀛楁垨鑰�0';
+ //鍒濆鍖栬〃鏍�
+ function set_InitGrid() {
+ $("#HDate").val(Format(new Date(), "yyyy-MM-dd"));
+ //鍒濆琛ㄦ牸鏁版嵁
+ rowdata = [{
+ "妫�楠岄」鐩�": "", "妫�楠屾爣鍑�": "", "鍗曚綅": "", "妫�楠岃褰�": "", "缁撹": "",
+ "鏈�澶у��": "", "鏈�灏忓��": "", "骞冲潎鍊�": "", "澶囨敞": "", "婧愬崟涓诲唴鐮�": "",
+ "HSourceEntryID": "", "婧愬崟鍗曞彿": "", "婧愬崟绫诲瀷": "", "鍏宠仈鏁伴噺": "", "鍏宠仈閲戦": "",
+ "琛屽叧闂汉": "", "鍏抽棴鏃堕棿": "", "鎵嬪伐鍏抽棴": ""
+ }];
+ option = {
+ elem: '#mainTable'
+ , toolbar: '#toolbarDemo'
+ , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
+ , cellMinWidth: 90
+ , cols: [[ //琛ㄥご
+ { type: 'checkbox', totalRowText: '鍚堣琛�' }
+ , { type: '妫�楠岄」鐩�', title: '妫�楠岄」鐩�', edit: 'text' }
+ , { field: '妫�楠屾爣鍑�', title: '妫�楠屾爣鍑�', edit: 'text' }
+ , { field: '鍗曚綅', title: '鍗曚綅', edit: 'text' }
+ , { field: '妫�楠岃褰�', title: '妫�楠岃褰�', edit: 'text' }
+ , { field: '缁撹', title: '缁撹', edit: 'text' }
+ , { field: '鏈�澶у��', title: '鏈�澶у��', edit: 'text' }
+ , { field: '鏈�灏忓��', title: '鏈�灏忓��', edit: 'text' }
+ , { field: '骞冲潎鍊�', title: '骞冲潎鍊�', edit: 'text', totalRow: true }
+ , { field: '澶囨敞', title: '澶囨敞', edit: 'text' }
+ , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�' }
+ , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', edit: 'text' }
+ , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿' }
+ , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷' }
+ , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺' }
+ , { field: '鍏宠仈閲戦', title: '鍏宠仈閲戦' }
+ , { field: '琛屽叧闂汉', title: '琛屽叧闂汉' }
+ , { field: '鍏抽棴鏃堕棿', title: '鍏抽棴鏃堕棿' }
+ , { field: '鎵嬪伐鍏抽棴', title: '鎵嬪伐鍏抽棴' }
+ , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo' }
+ ]]
+ , text: {
+ none: '鏃犳暟鎹紒'
}
- //}
- }
- });
-
-
+ };
+ //鍔犺浇绌鸿〃鏍�
+ option.data = rowdata;
+ table.render(option);
+ }
+ //浠ヤ笂涓簂ayui妯″潡
});
- //瀹氫箟鍏ㄥ眬鍙橀噺
- var HReasonName, ReasonID, EmpName, SQProcName,
- ProcID,ZRProcName,QRName
- ;
+
+
+ //瀹氫箟鍏ㄥ眬鍙橀噺HMainMaterID
+ var subProcName, subProcNumber, subProcID,
+ subWorkCenterName, subWorkCenterNumber, subWorkCenterID,
+ subSupName, subSupNumber, subSupID,
+ HReasonName, ReasonID, EmpName,
+ ZRProcName, QRName;
+
+
+ //杩斿洖鐢熶骇浠诲姟鍗�
+ function GetICMOBillValue(obj) {
+ var data = obj[0];
+ $("#HICMOInterID").val(data.hmainid);
+ $("#HICMOBillNo").val(data.鐢熶骇璁㈠崟鍙�);
+ $("#HICMOEntryID").val(data.HEntryID);
+ $("#HOrderProcNO").val(data.璁㈠崟璺熻釜鍙�);
+ $("#HMaterID").val(data.hmaterid);
+ $("#HMaterName").val(data.鐗╂枡鍚嶇О);
+ $("#HMaterID2").val(data.hmaterid);
+ $("#HMaterName2").val(data.鐗╂枡鍚嶇О);
+ $("#HMaterNumber").val(data.鐗╂枡浠g爜);
+ $("#HMaterNumber2").val(data.鐗╂枡浠g爜);
+ $("#HModel").val(data.瑙勬牸鍨嬪彿);
+ $("#HBatchNo").val(data.鎵瑰彿);
+ $("#HUnitID").val(data.hunitid);
+ $("#HUnitName").val(data.璁¢噺鍗曚綅鍚嶇О);
+ $("#HUnitNumber").val(data.璁¢噺鍗曚綅浠g爜);
+ $("#HPlanQty").val(data.璁″垝鐢熶骇鏁伴噺);
+ $("#HQty").val(data.娴佽浆鍗℃暟閲�);
+ $("#HprocExQty").val(data.娴佽浆鍗℃暟閲�);
+ $("#HPlanBeginDate").val(data.璁″垝寮�宸ユ棩鏈�);
+ $("#HPlanEndDate").val(data.璁″垝瀹屽伐鏃ユ湡);
+ $("#HWorkShopID").val(data.hdeptid);
+ $("#HWorkShopName").val(data.鐢熶骇杞﹂棿鍚嶇О);
+ $("#HProdMaterCode").val(data.浜у搧CODE);
+ $("#HSeOrderBillNo").val(data.閿�鍞鍗曞彿);
+ $("#HCusShortName").val(data.瀹㈡埛绠�绉�);
+ $("#HCusNeedMaterial").val(data.瀹㈡埛瑕佹眰鏉愭枡鎴愬垎);
+ $("#HPlanSendGoodsDate").val(data.棰勮鍑鸿揣鏃ユ湡);
+ $("#HProdMaterName").val(data.浜у搧鍚嶇О);
+ $("#HCusName").val(data.瀹㈡埛鍚嶇О);
+ $("#HWorkRemark").val(data.鐢熶骇澶囨敞);
+ $("#HImportNote").val(data.閲嶈鎻愮ず);
+ //txtHBillNo.Text = sBillNo;
+ //GetICMOBillDetail(obj[0].hmainid);
+ }
+
+ //杩斿洖宸ュ簭娴佽浆鍗�
+ function GetProcessExchangeValue(obj) {
+ var data = obj[0];
+ $("#HICMOInterID").val(data.hmainid);
+ $("#HICMOBillNo").val(data.鐢熶骇璁㈠崟鍙�);
+ $("#HICMOEntryID").val(data.HEntryID);
+ $("#HOrderProcNO").val(data.璁㈠崟璺熻釜鍙�);
+ }
+
function GetHReasonValue(obj) //杩斿洖涓嶈壇鍘熷洜
{
- HReasonName = obj[0].HName;
- ReasonID = obj[0].HItemID;
- }
- //杩斿洖鐗╂枡
- function GetHMaterNameValue(obj) { //杩斿洖鐗╂枡
- $("#HMater").val(obj[0].HName);
- $("#HMaterID").val(obj[0].HItemID);
- $("#HMaterNumber").val(obj[0].HNumber);
- }
- //杩斿洖宸ュ簭
- function GetHProcValue(obj) { //杩斿洖宸ュ簭
- $("#HProcName").val(obj[0].宸ュ簭);
- $("#HProcID").val(obj[0].HItemID);
- $("#HProcNumber").val(obj[0].宸ュ簭浠g爜);
- }
- function GetHDeptNameValue(obj) { //杩斿洖閮ㄩ棬
- $("#HDepName").val(obj[0].HName);
- $("#HDeptID").val(obj[0].HItemID);
- $("#HDeptNumber").val(obj[0].HNumber);
- }
- //杩斿洖鍗曚綅
- function GetHUnitNameValue(obj) {
- $("#HUName").val(obj[0].HName);
- $("#HUnitID").val(obj[0].HItemID);
- $("#HUnitNumber").val(obj[0].HNumber);
+ HReasonName = obj[0].HName;
+ ReasonID = obj[0].HItemID;
}
- function GetHSupValue(obj) { //杩斿洖渚涘簲鍟�
- $("#HSupName").val(obj[0].HName);
- $("#HSupID").val(obj[0].HItemID);
- $("#HSupNumber").val(obj[0].HNumber);
+ //杩斿洖浜у搧
+ function GetHMaterNameValue(obj) {
+ $("#HMaterName2").val(obj[0].HName);
+ $("#HMaterID2").val(obj[0].HItemID);
+ $("#HMaterNumber2").val(obj[0].HNumber);
+ $("#HMaterHModel2").val(obj[0].HModel);
}
-
- function GetHKeeperValue(obj) { //杩斿洖妫�楠屽憳
- $("#HEmpName").val(obj[0].HName);
- $("#HFirstCheckEmp").val(obj[0].HItemID);
+ function GetHKeeperValue(obj) { //杩斿洖璐d换浜�
+ EmpName = obj[0].HName;
+ // $("#HEmpName").val(obj[0].HName);
+ //$("#HItemID").val(obj[0].HItemID);
}
-
- //杩斿洖鐢熶骇璧勬簮
- function GetProductionResourcesValue(obj) { //杩斿洖鐢熶骇璧勬簮
-
- $("#HSource").val(obj[0].鐢熶骇璧勬簮);
- $("#HSourceID").val(obj[0].HItemID);
+ function GetHProcValue(obj) {
+ subProcName = obj[0].宸ュ簭;
+ subProcID = obj[0].HItemID;
+ subProcNumber = obj[0].HProcNumber;
}
-
- //function GetHKeeperValue(obj) { //杩斿洖璐d换浜�
- // EmpName = obj[0].HName;
- // // $("#HEmpName").val(obj[0].HName);
- // //$("#HItemID").val(obj[0].HItemID);
- //}
- //function GetHProcValue(obj) { //杩斿洖鐢宠宸ュ簭
- // SQProcName = obj[0].宸ュ簭;
- // ProcID = obj[0].HItemID;
- // //$("#HSQProcName").val(obj[0].宸ュ簭);
- // //$("#HProcID").val(obj[0].HItemID);
- //}
+ function GetHSupValue(obj) {
+ subSupName = obj[0].HName;
+ subSupID = obj[0].HItemID;
+ subSupNumber = obj[0].HNumber;
+ }
+ function GetWorkCenterValue(obj) {
+ subWorkCenterName = obj[0].宸ヤ綔涓績;
+ subWorkCenterID = obj[0].HItemID;
+ subWorkCenterNumber = obj[0].宸ヤ綔涓績浠g爜;
+ }
function GetHZRValue(obj) { //杩斿洖璐d换宸ュ簭
ZRProcName = obj[0].宸ュ簭;
//$("#HZRProcName").val(obj[0].宸ュ簭);
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill_loser.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill_loser.html"
deleted file mode 100644
index 4753de1..0000000
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill_loser.html"
+++ /dev/null
@@ -1,340 +0,0 @@
-锘�<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8" />
- <title>宸ュ簭娴佽浆鍗�</title><!--杞﹂棿绠$悊/宸ュ簭娴佽浆鍗�/Sc_ProcessExchangeBill.html-->
- <meta name="renderer" content="webkit">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
- <script src="../../../layuiadmin/layui/layui.js"></script>
-</head>
-<body>
- <div class="layui-fluid" style="padding:0">
- <div class="layui-card">
- <div class="layui-card-body" style="padding: 20px;height:800px;">
- <form class="layui-form" action="" lay-filter="component-form-group">
- <div style="text-align: center;font-size: 24px;">
- <span >宸ュ簭娴佽浆鍗�</span>
- </div>
- <div class="layui-tab layui-col-xs12" lay-filter="tab-MoveStockBill">
- <ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1" style="padding:1px;" class="layui-this">琛ㄥご淇℃伅</li>
- <li lay-id="2" style="padding:1px;">鍏朵粬淇℃伅</li>
- </ul>
- <div class="layui-tab-content">
- <!--琛ㄥご淇℃伅-->
- <div class="layui-tab-item layui-show">
- <div class="layui-form-item">
- <table style="width:80%;">
- <tbody>
- <tr>
- <th>鏉″舰鐮�</th>
- <td class="t1_input">
- <input type="text" name="HBarCode" class="layui-input" id="HBarCode" placeholder="璇疯緭鍏ユ潯褰㈢爜">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- </tr>
- <tr>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- </tr>
- <tr>
- <th>娴佹按鍙�</th>
- <td class="t1_input">
- <input type="text" name="HProcNo" class="layui-input" id="HProcNo" placeholder="璇疯緭鍏ユ祦姘村彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- </tr>
- <tr>
- <th>宸ュ簭浠g爜</th>
- <td class="t1_input">
- <input type="text" name="HProcID" class="layui-input" id="HProcID" placeholder="璇疯緭鍏ュ伐搴忎唬鐮�">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <!--鍏朵粬淇℃伅-->
- <div class="layui-tab-item">
- <div class="layui-form-item">
- <table style="width:80%;">
- <tbody>
- <tr>
- <th>鏉″舰鐮�2</th>
- <td class="t1_input">
- <input type="text" name="HBarCode" class="layui-input" id="HBarCode" placeholder="璇疯緭鍏ユ潯褰㈢爜">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- </tr>
- <tr>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- </tr>
- <tr>
- <th>娴佹按鍙�</th>
- <td class="t1_input">
- <input type="text" name="HProcNo" class="layui-input" id="HProcNo" placeholder="璇疯緭鍏ユ祦姘村彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- </tr>
- <tr>
- <th>宸ュ簭浠g爜</th>
- <td class="t1_input">
- <input type="text" name="HProcID" class="layui-input" id="HProcID" placeholder="璇疯緭鍏ュ伐搴忎唬鐮�">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- <th>娴佽浆鍗″彿</th>
- <td class="t1_input">
- <input type="text" name="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="娴佽浆鍗″彿">
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div class="layui-tab layui-col-xs12" lay-filter="tab-MoveStockBill">
- <ul class="layui-tab-title" lay-filter="tab-all">
- <li lay-id="1" style="padding:1px;" class="layui-this">鏄庣粏淇℃伅</li>
- </ul>
- <div class="layui-tab-content">
- <!--鏄庣粏淇℃伅-->
- <div class="layui-tab-item layui-show">
- <table class="" id="mainTable" lay-filter="mainTable"></table>
- </div>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <script src="../../../layuiadmin/layui/layui.js"></script>
- <script src="../../../layuiadmin/Scripts/json2.js"></script>
- <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
- <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
- <script>
- layui.config({
- base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
- }).extend({
- index: 'lib/index', //涓诲叆鍙fā鍧�
- }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate'], function () {
- var $ = layui.$
- , admin = layui.admin
- , layer = layui.layer
- , table = layui.table
- , form = layui.form
- , element = layui.element
- , laypage = layui.laypage
- , laydate = layui.laydate
- //var sWhere = " 浜у搧浠g爜 = 'BX0002'";
- var sWhere = "";
-
- var option = {
- elem: '#mainTable'
- //, toolbar: '#toolbarDemo'
- , height: 'full-50'
- , page: true
- , cols: [[
- //{ field: 'HEmpID', title: 'HEmpID', sort: true, width: 110 }
- //, { field: 'HGroupID', title: 'HGroupID', width: 110 }
- //, { field: 'HMaterID', title: 'HMaterID', sort: true, width: 165 }
- //, { field: 'HProcID', title: 'HProcID', width: 175 }
- //, { field: 'HSourceID', title: 'HSourceID', width: 170 }
- { field: '杩涚珯鏃堕棿', title: '杩涚珯鏃堕棿', width: 120 }
- , { field: '浠诲姟鍗�', title: '浠诲姟鍗�', width: 80 }
- , { field: '宸ュ簭娴佽浆鍗″彿', title: '宸ュ簭娴佽浆鍗″彿', width: 165 }
- , { field: '浜у搧浠g爜', title: '浜у搧浠g爜', width: 100 }
- , { field: '浜у搧鍚嶇О', title: '浜у搧鍚嶇О', width: 100 }
- , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 100 }
- , { field: '褰撳墠宸ュ簭', title: '褰撳墠宸ュ簭', width: 100 }
- , { field: 'LOT鏁伴噺', title: '璁㈠崟鏁伴噺', width: 100 }
- , { field: '鎺ユ敹鏁伴噺', title: '鎺ユ敹鏁伴噺', width: 100 }
- , { field: '鐢熶骇鐝粍', title: '鐢熶骇鐝粍', width: 100 }
- , { field: '鐢熶骇璧勬簮', title: '鐢熶骇璧勬簮', width: 100 }
- , { field: '鎿嶄綔鍛�', title: '鎿嶄綔鍛�', width: 100 }
- , { field: '瀹㈡埛淇℃伅', title: '瀹㈡埛淇℃伅', width: 100 }
- , { field: '鑱旂郴浜轰俊鎭�', title: '鑱旂郴浜轰俊鎭�', width: 100 }
- //, { field: 'hmainid', title: 'hmainid', width: 160 }
- //, { field: '褰撳墠宸ュ簭浠g爜', title: '褰撳墠宸ュ簭浠g爜', width: 80 }
- //, { field: '鎿嶄綔鍛樹唬鐮�', title: '鎿嶄綔鍛樹唬鐮�', width: 80 }
- //, { field: '鐢熶骇鐝粍浠g爜', title: '鐢熶骇鐝粍浠g爜', width: 80 }
- //, { field: '鐢熶骇璧勬簮浠g爜', title: '鐢熶骇璧勬簮浠g爜', width: 105 }
- ]]
- };
-
- table.render(option);
- //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛�
- $.ajax({
- //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",
- url: GetWEBURL() + '/api/newBill/getStationInBillList',
- type: "GET",
- data: { "sWhere": sWhere },
- success: function (data1) {
- if (data1.code == 1) {
- option.data = data1.data.h_v_MES_StationInBillList;
- table.render(option);
- } else {
- layer.alert(data1.code + data1.msg, { icon: 5 });
- }
- }, error: function () {
- layer.msg("鎺ュ彛璇锋眰澶辫触!", {
- icon: 5, btn: ['纭'], time: 100000, offset: 't',
- skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず"
- });
- }
- });
-
- //閲嶇疆鎸夐挳
- form.on('submit(btnReSearch)', function (data) {
- $("#HDate").val("");//寮�濮嬫棩鏈�
- $("#HDate1").val("");//缁撴潫鏃ユ湡
- $("#HOrderProcNO").val("");//璁㈠崟璺熻釜鍙�
- $("#WorkCenter").val("");//宸ヤ綔涓績
- $("#HProcExchBillNo").val("");//娴佽浆鍗″彿
- $("#HMaker").val("");//鍒跺崟浜�
- $("#hname").val("");//浜у搧鍚嶇О
- $("#hnumber").val("");//浜у搧浠g爜
- $("#hmodel").val("");//瑙勬牸鍨嬪彿
- $("#btnSearch").click();
- });
-
- //鏌ヨ鎸夐挳
- form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅
- var HDate = $("#HDate").val();//寮�濮嬫棩鏈�
- var HDate1 = $("#HDate1").val();//缁撴潫鏃ユ湡
- var HOrderProcNO = $("#HOrderProcNO").val();//璁㈠崟璺熻釜鍙�
- var WorkCenter = $("#WorkCenter").val();//宸ヤ綔涓績
- var HProcExchBillNo = $("#HProcExchBillNo").val();//娴佽浆鍗″彿
- var HMaker = $("#HMaker").val();//鍒跺崟浜�
- var hname = $("#hname").val();//浜у搧鍚嶇О
- var hnumber = $("#hnumber").val();//浜у搧浠g爜
- var hmodel = $("#hmodel").val();//瑙勬牸鍨嬪彿
- if (HDate) {
- sWhere += " and 鏃ユ湡 >= '" + HDate + "'";
- }
- if (HDate1) {
- sWhere += " and 鏃ユ湡 <= '" + HDate1 + "'";
- }
- if (HOrderProcNO) {
- sWhere += " and 璁㈠崟璺熻釜鍙� like '%" + HOrderProcNO + "%'";
- }
- if (WorkCenter) {
- sWhere += " and 宸ヤ綔涓績 like '%" + WorkCenter + "%'";
- }
- if (HProcExchBillNo) {
- sWhere += " and 娴佽浆鍗″彿 like '%" + HProcExchBillNo + "%'";
- }
- if (HMaker) {
- sWhere += " and 鍒跺崟浜� like '%" + HMaker + "%'";
- }
- if (hname) {
- sWhere += " and 浜у搧鍚嶇О like '%" + hname + "%'";
- }
- if (hnumber) {
- sWhere += " and 浜у搧浠g爜 like '%" + hnumber + "%'";
- }
- if (hmodel) {
- sWhere += " and 瑙勬牸鍨嬪彿 like '%" + hmodel + "%'";
- }
- $.ajax({
- //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",
- url: GetWEBURL() + '/api/newBill/getStationInBillList',
- type: "GET",
- data: { "sWhere": sWhere },
- success: function (data1) {
- if (data1.code == 1) {
- option.data = data1.data.h_v_MES_StationInBillList;
- table.render(option);
- layer.alert("鏌ヨ鎴愬姛", { icon: 1 });
- } else {
- layer.alert(data1.code + data1.msg, { icon: 5 });
- }
- }, error: function () {
- layer.alert("鎺ュ彛澶辨晥!", { icon: 5 });
- }
- });
- sWhere = "";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨
- });
-
-
- //laydate.render({
- // elem: '#HDate'
- // , type: 'datetime'
- // , trigger: 'click'
- // , format:'yyyy-MM-dd HH:mm'
- //});
-
-
- //浠ヤ笂鏄痩ayui妯″潡
- });
-
-
-
-
- </script>
-</body>
-</html>
\ No newline at end of file
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html"
index 76cf734..a3f1a7e 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBill.html"
@@ -271,7 +271,7 @@
, element = layui.element;
//杩涘叆椤甸潰榛樿鍏夋爣鍦ㄦ潯褰㈢爜涓�
$("#HBarCode").focus();
-
+ var OperationType = 1;//鎿嶄綔绫诲瀷
/*鍥哄畾浠g爜锛屾瘡寮犲崟鎹兘瑕乥egin*/
/* 1.鏃犳簮鍗曟柊澧�
* 2.鏈夋簮鍗曟柊澧�
@@ -291,7 +291,7 @@
return vars;
}
var params = getUrlVars();
- var OperationType = params[params[0]];//鎿嶄綔绫诲瀷
+ OperationType = params[params[0]];//鎿嶄綔绫诲瀷
var linterid = params[params[1]];//婧愬崟id
var HBillNo = params[params[2]]; //鑾峰彇鍗曟嵁鍙�
/*鍥哄畾浠g爜锛屾瘡寮犲崟鎹兘瑕乥egin*/
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBillList.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBillList.html"
index 13bdc1c..0b0ef8d 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBillList.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\350\277\233\347\253\231\346\216\245\346\224\266\345\215\225/Cj_StationInBillList.html"
@@ -344,7 +344,7 @@
, data = checkStatus.data;
if (checkStatus.data.length === 1) {
var linterid = data[0].HInterID.toString();
- var type = 2;
+ var OperationType = 2;
layer.open({
type: 2
, area: ['100%', '100%']
@@ -352,7 +352,7 @@
, shade: 0.6
, maxmin: false
, anim: 0
- , content: ['../../璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html?linterid=' + linterid + '&type=' + type, 'yes']
+ , content: ['../../璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=' + OperationType + '&linterid=' + linterid, 'yes']
, resize: false
, cancel: function () {
btnIs();
--
Gitblit v1.9.1