From 4dd5e5a122d6baf19c5fe4e81e6f6b43d3869007 Mon Sep 17 00:00:00 2001 From: ch <37327@LLOOCCY> Date: 星期四, 08 四月 2021 09:11:43 +0800 Subject: [PATCH] 新增模具基础资料、检具基础资料 --- WebTM/views/模治具管理/模治具管理/Sc_CheckToolsDotCheckBillList.html | 255 +++ WebTM/views/模治具管理/模治具管理/Sc_CheckToolsMaintainPlanBillList.html | 259 +++ WebTM/views/模治具管理/模治具管理/Sc_MouldDotCheckPlanBillList.html | 274 ++++ WebTM/views/模治具管理/模治具管理/Sc_MouldConkBookBillList.html | 284 ++++ WebTM/views/模治具管理/模治具管理/Sc_MouldRepairCheckBillList.html | 281 ++++ WebTM/Properties/PublishProfiles/SWETM.pubxml.user | 64 WebTM/views/模治具管理/模治具管理/Sc_CheckToolsDotCheckPlanBillList.html | 253 +++ WebTM/views/模治具管理/模治具管理/Sc_MouldDotCheckBillList.html | 274 ++++ WebTM/views/模治具管理/模治具管理/Gy_Mould.html | 212 +++ WebTM/views/模治具管理/模治具管理/Sc_CheckToolsConkBookBillList.html | 280 ++++ WebTM/views/模治具管理/模治具管理/Sc_CheckToolsMaintainBillList.html | 259 +++ WebTM/views/模治具管理/模治具管理/Sc_MouldMaintainPlanBillList.html | 273 ++++ WebTM/views/模治具管理/模治具管理/Gy_CheckToolsFileMainList.html | 200 ++ WebTM/views/模治具管理/模治具管理/Sb_MouldRepairWorkBillList.html | 297 ++++ WebTM/views/模治具管理/模治具管理/Sc_CheckToolsRepairWorkBillList.html | 6 WebTM/views/模治具管理/模治具管理/Sc_MouldMaintainBillList.html | 279 ++++ WebTM/views/index.html | 17 WebTM/views/模治具管理/模治具管理/Sc_CheckToolsRepairCheckBillList.html | 278 ++++ WebTM/WebTM.csproj | 15 19 files changed, 4,051 insertions(+), 9 deletions(-) diff --git a/WebTM/Properties/PublishProfiles/SWETM.pubxml.user b/WebTM/Properties/PublishProfiles/SWETM.pubxml.user index 29da8bc..183cf3b 100644 --- a/WebTM/Properties/PublishProfiles/SWETM.pubxml.user +++ b/WebTM/Properties/PublishProfiles/SWETM.pubxml.user @@ -17,10 +17,10 @@ <publishTime>03/24/2021 08:53:43</publishTime> </File> <File Include="bin/WebTM.dll"> - <publishTime>03/26/2021 15:10:14</publishTime> + <publishTime>04/02/2021 14:47:26</publishTime> </File> <File Include="bin/WebTM.pdb"> - <publishTime>03/26/2021 15:10:14</publishTime> + <publishTime>04/02/2021 14:47:26</publishTime> </File> <File Include="layuiadmin/config.js"> <publishTime>03/24/2021 08:53:43</publishTime> @@ -587,7 +587,7 @@ <publishTime>03/24/2021 08:53:43</publishTime> </File> <File Include="layuiadmin/Scripts/webConfig.js"> - <publishTime>03/25/2021 15:09:26</publishTime> + <publishTime>03/26/2021 15:15:02</publishTime> </File> <File Include="layuiadmin/style/admin.css"> <publishTime>03/24/2021 08:53:43</publishTime> @@ -938,7 +938,7 @@ <publishTime>03/24/2021 08:53:43</publishTime> </File> <File Include="views/index.html"> - <publishTime>03/26/2021 11:28:42</publishTime> + <publishTime>04/02/2021 14:47:12</publishTime> </File> <File Include="views/senior/echarts/bar.html"> <publishTime>03/24/2021 08:53:43</publishTime> @@ -1090,8 +1090,17 @@ <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Warehouse.html"> <publishTime>03/24/2021 10:10:09</publishTime> </File> + <File Include="views/鍩虹璧勬枡/宸ヨ祫鍩虹璧勬枡/Gy_Group.html"> + <publishTime>03/26/2021 15:14:49</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_BadReason.html"> + <publishTime>03/26/2021 15:14:49</publishTime> + </File> <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Process.html"> <publishTime>03/24/2021 08:53:43</publishTime> + </File> + <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/Gy_Source.html"> + <publishTime>03/26/2021 15:14:49</publishTime> </File> <File Include="views/鍩虹璧勬枡/鐢熶骇鍩虹璧勬枡/H_ProcessDetail.html"> <publishTime>03/24/2021 08:53:43</publishTime> @@ -1108,8 +1117,53 @@ <File Include="views/妯℃不鍏风鐞�/Sc_CheckToolsRepairWorkBillList.html"> <publishTime>03/26/2021 11:25:45</publishTime> </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Gy_CheckToolsFileMainList.html"> + <publishTime>04/02/2021 16:48:43</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Gy_Mould.html"> + <publishTime>04/02/2021 13:04:45</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sb_MouldRepairWorkBillList.html"> + <publishTime>03/30/2021 10:14:03</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsConkBookBillList.html"> + <publishTime>03/30/2021 14:39:06</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsDotCheckBillList.html"> + <publishTime>03/30/2021 14:08:58</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsDotCheckPlanBillList.html"> + <publishTime>03/29/2021 14:35:57</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsMaintainBillList.html"> + <publishTime>03/29/2021 14:36:09</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsMaintainPlanBillList.html"> + <publishTime>03/29/2021 15:12:58</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsRepairCheckBillList.html"> + <publishTime>03/29/2021 16:36:54</publishTime> + </File> <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsRepairWorkBillList.html"> - <publishTime>03/26/2021 12:09:53</publishTime> + <publishTime>03/29/2021 14:36:16</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldConkBookBillList.html"> + <publishTime>03/29/2021 16:05:24</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldDotCheckBillList.html"> + <publishTime>03/29/2021 15:12:58</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldDotCheckPlanBillList.html"> + <publishTime>03/29/2021 15:12:58</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldMaintainBillList.html"> + <publishTime>03/29/2021 14:25:03</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldMaintainPlanBillList.html"> + <publishTime>03/29/2021 15:24:30</publishTime> + </File> + <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldRepairCheckBillList.html"> + <publishTime>03/29/2021 16:05:24</publishTime> </File> <File Include="views/鐢熶骇绠$悊/鐢熶骇浠诲姟鍗�/Sc_ICMOBillList.html"> <publishTime>03/24/2021 08:53:43</publishTime> diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj index 7fa6b19..40b4ba5 100644 --- a/WebTM/WebTM.csproj +++ b/WebTM/WebTM.csproj @@ -437,6 +437,21 @@ <Content Include="views\鍩虹璧勬枡\鐢熶骇鍩虹璧勬枡\H_ProcessDetail.html" /> <Content Include="views\鍩虹璧勬枡\鐢熶骇鍩虹璧勬枡\H_ProcessList.html" /> <Content Include="views\鍩虹璧勬枡\閲囪喘鍩虹璧勬枡\Gy_Supplier.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Gy_CheckToolsFileMainList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Gy_Mould.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_CheckToolsConkBookBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_CheckToolsDotCheckBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_CheckToolsMaintainPlanBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_CheckToolsRepairCheckBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sb_MouldRepairWorkBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_MouldRepairCheckBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_MouldConkBookBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_MouldMaintainPlanBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_MouldDotCheckBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_MouldDotCheckPlanBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_MouldMaintainBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_CheckToolsMaintainBillList.html" /> + <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_CheckToolsDotCheckPlanBillList.html" /> <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Sc_CheckToolsRepairWorkBillList.html" /> <Content Include="views\鐢熶骇绠$悊\鐢熶骇浠诲姟鍗昞Sc_ICMOBillList.html" /> <Content Include="views\缁勮鍗昞Sc_AssemblyBill_Fast.html" /> diff --git a/WebTM/views/index.html b/WebTM/views/index.html index 1fb923b..7f98c3a 100644 --- a/WebTM/views/index.html +++ b/WebTM/views/index.html @@ -190,7 +190,22 @@ <dd class="layui-nav-itemed"> <a>妯℃不鍏风鐞�</a> <dl class="layui-nav-child"> - <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsRepairWorkBillList.html">妯℃不鍏风淮淇伐鍗曡〃鍒楄〃</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Gy_CheckToolsFileMainList.html">妫�鍏锋。妗�</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Gy_Mould.html">妯″叿妗f</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldRepairCheckBillList.html">妯″叿缁翠慨楠屾敹鍗曞垪琛�</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsRepairCheckBillList.html">妫�鍏风淮淇獙鏀跺崟鍒楄〃</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sb_MouldRepairWorkBillList.html">妯″叿缁翠慨宸ュ崟鍒楄〃</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsRepairWorkBillList.html">妫�鍏风淮淇伐鍗曞垪琛�</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldConkBookBillList.html">妯″叿鏁呴殰鐧昏琛ㄥ垪琛�</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsConkBookBillList.html">妫�鍏锋晠闅滅櫥璁板崟鍒楄〃</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldMaintainPlanBillList.html">妯″叿淇濆吇璁″垝琛ㄥ垪琛�</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsMaintainPlanBillList.html">妫�鍏蜂繚鍏昏鍒掕〃鍒楄〃</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldMaintainBillList.html">妯″叿淇濆吇璁板綍琛ㄥ垪琛�</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsMaintainBillList.html">妫�鍏蜂繚鍏昏褰曡〃鍒楄〃</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldDotCheckBillList.html">妯″叿鐐规璁板綍琛ㄥ垪琛�</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsDotCheckBillList.html">妫�鍏风偣妫�璁板綍琛ㄥ垪琛�</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_MouldDotCheckPlanBillList.html">妯″叿鐐规璁″垝琛ㄥ垪琛�</a></dd> + <dd><a lay-href="妯℃不鍏风鐞�/妯℃不鍏风鐞�/Sc_CheckToolsDotCheckPlanBillList.html">妫�鍏风偣妫�璁″垝琛ㄥ垪琛�</a></dd> </dl> </dd> </dl> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_CheckToolsFileMainList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_CheckToolsFileMainList.html" new file mode 100644 index 0000000..4adc927 --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_CheckToolsFileMainList.html" @@ -0,0 +1,200 @@ +锘�<!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, 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"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">瀵瑰簲ERP鐗╂枡浠g爜</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HNumber" id="HNumber"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">瀵瑰簲ERP鐗╂枡鍚嶇О</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HName" id="HName"> + </div> + </div> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button> + + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + ,height: 'full-50' + , page: true + ,cellMinWidth: 90 + , cols: [[ + { field: '閫夋嫨', title: '閫夋嫨', hide: true } + , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡' } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�' } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷' } + , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞' } + , { field: '瀵瑰簲ERP鐗╂枡浠g爜', title: '瀵瑰簲ERP鐗╂枡浠g爜' } + , { field: '瀵瑰簲ERP鐗╂枡鍚嶇О', title: '瀵瑰簲ERP鐗╂枡鍚嶇О' } + , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿' } + , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜' } + , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅' } + , { field: '渚涘簲鍟�', title: '渚涘簲鍟�' } + , { field: '榛樿浠撳簱', title: '榛樿浠撳簱' } + , { field: '榛樿浠撲綅', title: '榛樿浠撲綅' } + , { field: '榛樿浠撲綅缁�', title: '榛樿浠撲綅缁�', hide: true } + , { field: 'HMaterID', title: 'HMaterID', hide: true } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡' } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡' } + , { field: '淇敼浜�', title: '淇敼浜�' } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡' } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�' } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡' } + , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷' } + , { field: '浣滃簾浜�', title: '浣滃簾浜�' } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡' } + , { field: 'hsubid', title: 'hsubid', hide: true } + , { field: 'hbilltype', title: 'hbilltype', hide: true } + ]] + }; + + var index = layer.load(0, { shade: false }); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Gy_CheckToolsFileMainList/list2', + type: "GET", + data: { "sWhere": sWhere }, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + form.on('submit(btnReSearch)', function (data) { + $("#HNumber").val(""); + $("#HName").val(""); + $("#btnSearch").click(); + }); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) { + var HNumber = $("#HNumber").val(); + var HName = $("#HName").val(); + if (HNumber) { + sWhere += " and 瀵瑰簲ERP鐗╂枡浠g爜 like '%" + HNumber + "%'"; + } + if (HName) { + sWhere += " and 瀵瑰簲ERP鐗╂枡鍚嶇О like '%" + HName + "%'"; + } + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Gy_CheckToolsFileMainList/list2', + type: "GET", + data: { "sWhere": sWhere }, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.alert(data1.code + data1.Message, { 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> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_Mould.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_Mould.html" new file mode 100644 index 0000000..ce78d94 --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_Mould.html" @@ -0,0 +1,212 @@ +锘�<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> + <title>妯″叿妗f</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, 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"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">妯″叿缂栧彿</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HNumber" id="HNumber"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">妯″叿鍚嶇О</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HName" id="HName"> + </div> + </div> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button> + + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + ,height: 'full-50' + , page: true + ,cellMinWidth: 90 + , cols: [[ + { field: '閫夋嫨', title: '閫夋嫨', hide: true } + , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡' } + , { field: '鏉$爜缂栧彿', title: '鏉$爜缂栧彿' } + , { field: '妯″叿鍝佺被', title: '妯″叿鍝佺被' } + , { field: '妯″叿鐘舵��', title: '妯″叿鐘舵��' } + , { field: '妯″叿缂栧彿', title: '妯″叿缂栧彿' } + , { field: '妯″叿鍚嶇О', title: '妯″叿鍚嶇О' } + , { field: '妯″叿鍨嬪彿', title: '妯″叿鍨嬪彿' } + , { field: '褰撳墠妯″叿瑙勬牸', title: '褰撳墠妯″叿瑙勬牸' } + , { field: '鍒濆妯″叿瑙勬牸', title: '鍒濆妯″叿瑙勬牸' } + , { field: '褰撳墠璁捐瀵垮懡', title: '褰撳墠璁捐瀵垮懡' } + , { field: '妯″叿ERP鐗╂枡', title: '妯″叿ERP鐗╂枡' } + , { field: 'HMoudType', title: 'HMoudType', hide: true } + , { field: 'HUnitID', title: 'HUnitID', hide: true } + , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅' } + , { field: 'HSupID', title: 'HSupID', hide: true } + , { field: '渚涘簲鍟嗕唬鐮�', title: '渚涘簲鍟嗕唬鐮�' } + , { field: '渚涘簲鍟�', title: '渚涘簲鍟�' } + , { field: 'HWhID', title: 'HWhID', hide: true } + , { field: '榛樿浠撳簱', title: '榛樿浠撳簱' } + , { field: '榛樿浠撲綅', title: '榛樿浠撲綅' } + , { field: '鍒濆璁捐瀵垮懡', title: '鍒濆璁捐瀵垮懡' } + , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡' } + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡' } + , { field: '宸茬敓浜ф暟閲�', title: '宸茬敓浜ф暟閲�' } + , { field: '宸茬敓浜ч噸閲�', title: '宸茬敓浜ч噸閲�' } + , { field: '澶囨敞', title: '澶囨敞' } + , { field: 'hsubid', title: 'hsubid', hide: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺' } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡' } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡' } + , { field: '淇敼浜�', title: '淇敼浜�' } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡' } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�' } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡' } + , { field: 'hbilltype', title: 'hbilltype', hide: true } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�' } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷' } + ]] + }; + + var index = layer.load(0, { shade: false }); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Gy_Mould/list1', + type: "GET", + data: { "sWhere": sWhere }, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + form.on('submit(btnReSearch)', function (data) { + $("#HNumber").val(""); + $("#HName").val(""); + $("#btnSearch").click(); + }); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) { + var HNumber = $("#HNumber").val(); + var HName = $("#HName").val(); + if (HNumber) { + sWhere += " and 妯″叿缂栧彿 like '%" + HNumber + "%'"; + } + if (HName) { + sWhere += " and 妯″叿鍚嶇О like '%" + HName + "%'"; + } + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Gy_Mould/list1', + type: "GET", + data: { "sWhere": sWhere }, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.alert(data1.code + data1.Message, { 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> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html" new file mode 100644 index 0000000..87b5549 --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html" @@ -0,0 +1,297 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 160, hide: true } + , { field: 'HMouldID', title: 'HMouldID', width: 200, hide: true } + , { field: '浜у搧妯″叿浠g爜', title: '浜у搧妯″叿浠g爜', width: 200 } + , { field: '浜у搧妯″叿', title: '浜у搧妯″叿', width: 200 } + , { field: 'HEquipID', title: 'HEquipID', width: 200, hide: true } + , { field: '璁惧浠g爜', title: '璁惧浠g爜', width: 200 } + , { field: '璁惧', title: '璁惧', width: 200 } + , { field: '缁翠慨椤圭洰浠g爜', title: '缁翠慨椤圭洰浠g爜', width: 200 } + , { field: '缁翠慨椤圭洰', title: '缁翠慨椤圭洰', width: 160 } + , { field: '缁翠慨寮�濮嬫棩鏈�', title: '缁翠慨寮�濮嬫棩鏈�', width: 160 } + , { field: '缁翠慨缁撴潫鏃ユ湡', title: '缁翠慨缁撴潫鏃ユ湡', width: 160 } + , { field: '缁翠慨鍐呭', title: '缁翠慨鍐呭', width: 200 } + , { field: '鏃堕棿鍗曚綅', title: '鏃堕棿鍗曚綅', width: 200 } + , { field: '璁″垝缁翠慨宸ユ椂', title: '璁″垝缁翠慨宸ユ椂', width: 200 } + , { field: '瀹為檯缁翠慨宸ユ椂', title: '瀹為檯缁翠慨宸ユ椂', width: 200 } + , { field: 'HEmpID', title: 'HEmpID', width: 200, hide: true } + , { field: '缁翠慨浜轰唬鐮�', title: '缁翠慨浜轰唬鐮�', width: 200 } + , { field: '缁翠慨浜�', title: '缁翠慨浜�', width: 200 } + , { field: 'HManagerID', title: 'HManagerID', width: 115, hide: true } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 115 } + , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200 } + , { field: 'HDeptID', title: 'HDeptID', width: 200, hide: true } + , { field: '缁翠慨閮ㄩ棬浠g爜', title: '缁翠慨閮ㄩ棬浠g爜', width: 115 } + , { field: '缁翠慨閮ㄩ棬', title: '缁翠慨閮ㄩ棬', width: 200 } + , { field: 'HSupID', title: 'HSupID', width: 200, hide: true } + , { field: '渚涘簲鍟嗕唬鐮�', title: '渚涘簲鍟嗕唬鐮�', width: 200 } + , { field: '渚涘簲鍟�', title: '渚涘簲鍟�', width: 200 } + , { field: '缁翠慨绫诲瀷', title: '缁翠慨绫诲瀷', width: 115 } + , { field: '缁翠慨鍚庢柊瑙勬牸', title: '缁翠慨鍚庢柊瑙勬牸', width: 200 } + , { field: '鏂拌璁″鍛�', title: '鏂拌璁″鍛�', width: 200 } + , { field: '缁翠慨瑕佹眰', title: '缁翠慨瑕佹眰', width: 200 } + , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 115 } + , { field: '澶囨敞', title: '澶囨敞', width: 200 } + , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200 } + , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 200 } + , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200 } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200 } + , { field: 'HRepairID', title: 'HRepairID', width: 115, hide: true } + , { field: '瀛愮淮淇」鐩唬鐮�', title: '瀛愮淮淇」鐩唬鐮�', width: 200 } + , { field: '瀛愮淮淇」鐩�', title: '瀛愮淮淇」鐩�', width: 200 } + , { field: '瀛愮淮淇姹�', title: '瀛愮淮淇姹�', width: 200 } + , { field: '瀛愯礋璐d汉浠g爜', title: '瀛愯礋璐d汉浠g爜', width: 200 } + , { field: '瀛愯礋璐d汉', title: '瀛愯礋璐d汉', width: 200 } + , { field: '缁翠慨璐圭敤', title: '缁翠慨璐圭敤', width: 115 } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 200 } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200 } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200 } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 200 } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200 } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 200 } + , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', width: 200, hide: true } + , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', width: 200, hide: true} + , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 200 } + , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 200 } + , { field: 'HBillType', title: 'HBillType', width: 200, hide: true } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sb_MouldRepairWorkBill/GetMouldRepairWorkBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sb_MouldRepairWorkBill/GetMouldRepairWorkBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsConkBookBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsConkBookBillList.html" new file mode 100644 index 0000000..7fb00eb --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsConkBookBillList.html" @@ -0,0 +1,280 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: 'HCheckToolsID', title: 'HCheckToolsID', width: 160, hide: true } + , { field: '妫�鍏�', title: '妫�鍏�', width: 200 } + , { field: 'HConkTypeID', title: 'HConkTypeID', width: 200, hide: true } + , { field: '鏁呴殰绫诲埆浠g爜', title: '鏁呴殰绫诲埆浠g爜', width: 200 } + , { field: '鏁呴殰绫诲埆', title: '鏁呴殰绫诲埆', width: 200 } + , { field: '鏁呴殰鍙戠敓鏃ユ湡', title: '鏁呴殰鍙戠敓鏃ユ湡', width: 200 } + , { field: '瑕佹眰瀹屽杽鏃ユ湡', title: '瑕佹眰瀹屽杽鏃ユ湡', width: 200 } + , { field: 'HEmpID', title: 'HEmpID', width: 200, hide: true } + , { field: '鍙戠幇浜轰唬鐮�', title: '鍙戠幇浜轰唬鐮�', width: 200 } + , { field: '鍙戠幇浜�', title: '鍙戠幇浜�', width: 200 } + , { field: 'HManagerID', title: 'HManagerID', width: 200, hide: true } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 115 } + , { field: 'HDeptID', title: 'HDeptID', width: 200, hide: true } + , { field: '浣跨敤閮ㄩ棬浠g爜', title: '浣跨敤閮ㄩ棬浠g爜', width: 200 } + , { field: '浣跨敤閮ㄩ棬', title: '浣跨敤閮ㄩ棬', width: 200 } + , { field: '鏁呴殰鎻忚堪', title: '鏁呴殰鎻忚堪', width: 115 } + , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', width: 200 } + , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 200 } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 200 } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200 } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200 } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 115 } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200 } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 200 } + , { field: 'HConkReasonID', title: 'HConkReasonID', width: 200, hide: true } + , { field: '鏁呴殰鍘熷洜浠g爜', title: '鏁呴殰鍘熷洜浠g爜', width: 200 } + , { field: '鏁呴殰鍘熷洜', title: '鏁呴殰鍘熷洜', width: 200 } + , { field: 'HConkExplanation', title: 'HConkExplanation', width: 200, hide: true } + , { field: '瀛愯礋璐d汉浠g爜', title: '瀛愯礋璐d汉浠g爜', width: 200 } + , { field: '瀛愯礋璐d汉', title: '瀛愯礋璐d汉', width: 115 } + , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 200 } + , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200 } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200 } + , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', width: 200, hide: true } + , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', width: 200, hide: true } + , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 200 } + , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 200 } + , { field: 'hsubid', title: 'hsubid', width: 2000,hide: true } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_CheckToolsConkBookBill/GetCheckToolsConkBookBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_CheckToolsConkBookBill/GetCheckToolsConkBookBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsDotCheckBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsDotCheckBillList.html" new file mode 100644 index 0000000..dd4745b --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsDotCheckBillList.html" @@ -0,0 +1,255 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', width: 160, hide: true } + , { field: '鐐规椤圭洰浠g爜', title: '鐐规椤圭洰浠g爜', width: 200 } + , { field: '鐐规椤圭洰鍚嶇О', title: '鐐规椤圭洰鍚嶇О', width: 200 } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200 } + , { field: '瀛愯〃涓婚敭', title: '瀛愯〃涓婚敭', width: 200 } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 200 } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200 } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200 } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 200 } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 115 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200 } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 200 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 200 } + , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_CheckToolsDotCheckBill/GetCheckToolsDotCheckBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_CheckToolsDotCheckBill/GetCheckToolsDotCheckBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsDotCheckPlanBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsDotCheckPlanBillList.html" new file mode 100644 index 0000000..a3daaca --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsDotCheckPlanBillList.html" @@ -0,0 +1,253 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', width: 160, hide: true } + , { field: '鐐规椤圭洰浠g爜', title: '鐐规椤圭洰浠g爜', width: 200 } + , { field: '鐐规椤圭洰鍚嶇О', title: '鐐规椤圭洰鍚嶇О', width: 200 } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200 } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 200 } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200 } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200 } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 200 } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 115 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200 } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 200 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 200 } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_CheckToolsDotCheckPlan/GetCheckToolsDotCheckPlanBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_CheckToolsDotCheckPlan/GetCheckToolsDotCheckPlanBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsMaintainBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsMaintainBillList.html" new file mode 100644 index 0000000..bdf3547 --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsMaintainBillList.html" @@ -0,0 +1,259 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', width: 160, hide: true } + , { field: '閰嶄欢浠g爜', title: '閰嶄欢浠g爜', width: 200 } + , { field: '閰嶄欢鍚嶇О', title: '閰嶄欢鍚嶇О', width: 200 } + , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 200 } + , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', width: 200 } + , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', width: 200 } + , { field: '淇濆吇椤圭洰浠g爜', title: '淇濆吇椤圭洰浠g爜', width: 200 } + , { field: '淇濆吇椤圭洰鍚嶇О', title: '淇濆吇椤圭洰鍚嶇О', width: 200 } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜哄悕绉�', title: '璐熻矗浜哄悕绉�', width: 200 } + , { field: '鏈叧鑱旀暟閲�', title: '鏈叧鑱旀暟閲�', width: 200 } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 200 } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 115 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200 } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200 } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 115 } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200 } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 200 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 200 } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_CheckToolsMaintainBill/GetCheckToolsMaintainBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_CheckToolsMaintainBill/GetCheckToolsMaintainBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsMaintainPlanBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsMaintainPlanBillList.html" new file mode 100644 index 0000000..2585373 --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsMaintainPlanBillList.html" @@ -0,0 +1,259 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', width: 160, hide: true } + , { field: '閰嶄欢浠g爜', title: '閰嶄欢浠g爜', width: 200 } + , { field: '閰嶄欢鍚嶇О', title: '閰嶄欢鍚嶇О', width: 200 } + , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 200 } + , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', width: 200 } + , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', width: 200 } + , { field: '淇濆吇椤圭洰浠g爜', title: '淇濆吇椤圭洰浠g爜', width: 200 } + , { field: '淇濆吇椤圭洰鍚嶇О', title: '淇濆吇椤圭洰鍚嶇О', width: 200 } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜哄悕绉�', title: '璐熻矗浜哄悕绉�', width: 200 } + , { field: '鏈叧鑱旀暟閲�', title: '鏈叧鑱旀暟閲�', width: 200 } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 200 } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 115 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200 } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200 } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 115 } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200 } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 200 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 200 } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_CheckToolsMaintainPlanBill/GetCheckToolsMaintainPlanBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_CheckToolsMaintainPlanBill/GetCheckToolsMaintainPlanBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairCheckBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairCheckBillList.html" new file mode 100644 index 0000000..8444066 --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairCheckBillList.html" @@ -0,0 +1,278 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'HInterID', title: '鍗曟嵁ID', hide: true } + , { field: 'HDate', title: '鏃ユ湡', width: 160 } + , { field: 'HBillNo', title: '鍗曟嵁鍙�', width: 160 } + , { field: 'HCheckToolsID', title: 'HCheckToolsID', width: 160, hide: true } + , { field: '妫�鍏�', title: '妫�鍏�', width: 200 } + , { field: '缁翠慨鏃ユ湡', title: '缁翠慨鏃ユ湡', width: 200 } + , { field: '楠屾敹缁撹', title: '楠屾敹缁撹', width: 200 } + , { field: 'HEmpID', title: 'HEmpID', width: 200, hide: true } + , { field: '楠屾敹浜轰唬鐮�', title: '楠屾敹浜轰唬鐮�', width: 200 } + , { field: '楠屾敹浜�', title: '楠屾敹浜�', width: 200 } + , { field: 'HManagerID', title: 'HManagerID', width: 200, hide: true } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200 } + , { field: 'HDeptID', title: 'HDeptID', width: 200, hide: true } + , { field: '楠屾敹閮ㄩ棬浠g爜', title: '楠屾敹閮ㄩ棬浠g爜', width: 200 } + , { field: '楠屾敹閮ㄩ棬', title: '楠屾敹閮ㄩ棬', width: 115 } + , { field: '鎽樿', title: '鎽樿', width: 200 } + , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', width: 200 } + , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 200 } + , { field: 'HRepairCheckID', title: 'HRepairCheckID', width: 200, hide: true } + , { field: '楠屾敹椤圭洰浠g爜', title: '楠屾敹椤圭洰浠g爜', width: 200 } + , { field: '楠屾敹椤圭洰', title: '楠屾敹椤圭洰', width: 200 } + , { field: '楠屾敹鍐呭', title: '楠屾敹鍐呭', width: 200 } + , { field: '瀛愯礋璐d汉浠g爜', title: '瀛愯礋璐d汉浠g爜', width: 200 } + , { field: '瀛愯礋璐d汉', title: '瀛愯礋璐d汉', width: 200 } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 200, hide: true } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200, hide: true } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200, hide: true } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200, hide: true } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200, hide: true } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 200, hide: true } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200, hide: true } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200, hide: true } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200, hide: true } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 200, hide: true } + , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 200, hide: true } + , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200, hide: true } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, hide: true } + , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', width: 200, hide: true } + , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', width: 200, hide: true } + , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 200, hide: true } + , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 200, hide: true } + , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } + + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_CheckToolsRepairCheckBill/GetCheckToolsRepairCheckBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_CheckToolsRepairCheckBill/GetCheckToolsRepairCheckBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairWorkBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairWorkBillList.html" index 9714b16..cef799b 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairWorkBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_CheckToolsRepairWorkBillList.html" @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; 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, maximum-scale=1"> @@ -186,7 +186,7 @@ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", url: GetWEBURL() + '/Sc_CheckToolsRepair/GetCheckToolsRepairWorkBillList', type: "GET", - data: {}, + data: { "sWhere": sWhere}, success: function (data1) { if (data1.count == 1) { option.data = data1.data; @@ -237,7 +237,7 @@ //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", url: GetWEBURL1() + '/Sc_CheckToolsRepair/GetCheckToolsRepairWorkBillList', type: "GET", - data: {}, + data: { "sWhere": sWhere}, success: function (data1) { if (data1.count == 1) { option.data = data1.data; diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html" new file mode 100644 index 0000000..fbbedb0 --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html" @@ -0,0 +1,284 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 160, hide: true } + , { field: 'hempid', title: 'hempid', width: 160, hide: true } + , { field: '鍙戠幇浜轰唬鐮�', title: '鍙戠幇浜轰唬鐮�', width: 200 } + , { field: '鍙戠幇浜�', title: '鍙戠幇浜�', width: 200 } + , { field: 'HConkTypeID', title: 'HConkTypeID', width: 200, hide: true } + , { field: '鏁呴殰绫诲埆浠g爜', title: '鏁呴殰绫诲埆浠g爜', width: 200 } + , { field: '鏁呴殰绫诲埆', title: '鏁呴殰绫诲埆', width: 200 } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200 } + , { field: 'HDeptID', title: 'HDeptID', width: 200, hide: true } + , { field: '浣跨敤閮ㄩ棬浠g爜', title: '浣跨敤閮ㄩ棬浠g爜', width: 200 } + , { field: '浣跨敤閮ㄩ棬', title: '浣跨敤閮ㄩ棬', width: 200 } + , { field: 'HMouldID', title: 'HMouldID', width: 200, hide: true } + , { field: '浜у搧妯″叿浠g爜', title: '浜у搧妯″叿浠g爜', width: 200 } + , { field: '浜у搧妯″叿', title: '浜у搧妯″叿', width: 200 } + , { field: '鏁呴殰鍙戠敓鏃ユ湡', title: '鏁呴殰鍙戠敓鏃ユ湡', width: 200 } + , { field: '瑕佹眰瀹屽杽鏃ユ湡', title: '瑕佹眰瀹屽杽鏃ユ湡', width: 200 } + , { field: '鎽樿', title: '鎽樿', width: 200 } + , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 200 } + , { field: '澶囨敞', title: '澶囨敞', width: 200 } + , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } + , { field: 'HConkReasonID', title: 'HConkReasonID', width: 115, hide: true } + , { field: '鏁呴殰鍘熷洜浠g爜', title: '鏁呴殰鍘熷洜浠g爜', width: 200 } + , { field: '鏁呴殰鍘熷洜', title: '鏁呴殰鍘熷洜', width: 200 } + , { field: '鏁呴殰鍘熷洜鎻忚堪', title: '鏁呴殰鍘熷洜鎻忚堪', width: 200 } + , { field: 'HManagerID', title: 'HManagerID', width: 115, hide: true } + , { field: '瀛愯礋璐d汉浠g爜', title: '瀛愯礋璐d汉浠g爜', width: 200 } + , { field: '瀛愯礋璐d汉', title: '瀛愯礋璐d汉', width: 200 } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200 } + , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 115 } + , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200 } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, hide: true } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 115, hide: true } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200, hide: true } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200, hide: true } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 115, hide: true } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200, hide: true } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 115, hide: true } + , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', width: 200, hide: true } + , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', width: 200, hide: true } + , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 200 } + , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 200 } + , { field: 'hbilltype', title: 'hbilltype', width: 200 } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_MouldConkBookBill/GetMouldConkBookBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_MouldConkBookBill/GetMouldConkBookBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckBillList.html" new file mode 100644 index 0000000..b8d7edd --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckBillList.html" @@ -0,0 +1,274 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 160, hide: true } + , { field: '鐐规璁″垝缂栧彿', title: '鐐规璁″垝缂栧彿', width: 200 } + , { field: '鐐规璁″垝鍐呯爜', title: '鐐规璁″垝鍐呯爜', width: 200, hide: true } + , { field: 'HMouldID', title: 'HMouldID', width: 200, hide: true } + , { field: '浜у搧妯″叿浠g爜', title: '浜у搧妯″叿浠g爜', width: 200 } + , { field: '浜у搧妯″叿', title: '浜у搧妯″叿', width: 200 } + , { field: '鐐规寮�濮嬫棩鏈�', title: '鐐规寮�濮嬫棩鏈�', width: 200 } + , { field: '鐐规缁撴潫鏃ユ湡', title: '鐐规缁撴潫鏃ユ湡', width: 200 } + , { field: '鎽樿', title: '鎽樿', width: 200 } + , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 200 } + , { field: '澶囨敞', title: '澶囨敞', width: 200 } + , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } + , { field: '鐐规椤圭洰', title: '鐐规椤圭洰', width: 115, hide: true } + , { field: '鐐规閮ㄤ綅', title: '鐐规閮ㄤ綅', width: 200 } + , { field: '鍏蜂綋瑕佹眰', title: '鍏蜂綋瑕佹眰', width: 200 } + , { field: 'HManagerID', title: 'HManagerID', width: 200, hide: true } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200 } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200 } + , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 115, hide: true } + , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200 } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, hide: true } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 115, hide: true } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200, hide: true } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200, hide: true } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 115, hide: true } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200, hide: true } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 115, hide: true } + , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', width: 200, hide: true } + , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', width: 200, hide: true } + , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 200 } + , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 200 } + , { field: 'hbilltype', title: 'hbilltype', width: 200 } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_MouldDotCheckBill/GetMouldDotCheckBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_MouldDotCheckBill/GetMouldDotCheckBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckPlanBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckPlanBillList.html" new file mode 100644 index 0000000..d27fc6f --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckPlanBillList.html" @@ -0,0 +1,274 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 160, hide: true } + , { field: 'HMouldID', title: 'HMouldID', width: 200, hide: true } + , { field: '浜у搧妯″叿浠g爜', title: '浜у搧妯″叿浠g爜', width: 200 } + , { field: '浜у搧妯″叿', title: '浜у搧妯″叿', width: 200, hide: true } + , { field: '鍛ㄦ湡鍗曚綅', title: '鍛ㄦ湡鍗曚綅', width: 200 } + , { field: '淇濆吇鍛ㄦ湡', title: '淇濆吇鍛ㄦ湡', width: 200 } + , { field: '璁″垝寮�濮嬫棩鏈�', title: '璁″垝寮�濮嬫棩鏈�', width: 200 } + , { field: '璁″垝缁撴潫鏃ユ湡', title: '璁″垝缁撴潫鏃ユ湡', width: 200 } + , { field: '鎽樿', title: '鎽樿', width: 200 } + , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 200 } + , { field: '澶囨敞', title: '澶囨敞', width: 200 } + , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } + , { field: '鐐规椤圭洰', title: '鐐规椤圭洰', width: 115, hide: true } + , { field: '鐐规閮ㄤ綅', title: '鐐规閮ㄤ綅', width: 200 } + , { field: '鍏蜂綋瑕佹眰', title: '鍏蜂綋瑕佹眰', width: 200 } + , { field: 'HManagerID', title: 'HManagerID', width: 200, hide: true } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200 } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 115 } + , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 200 } + , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200, hide: true } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, hide: true } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 115, hide: true } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200, hide: true } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200, hide: true } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 115, hide: true } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200, hide: true } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 115, hide: true } + , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', width: 200, hide: true } + , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', width: 200, hide: true } + , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 200 } + , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 200 } + , { field: 'hbilltype', title: 'hbilltype', width: 200 } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_MouldDotCheckPlanBill/GetMouldDotCheckPlanBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_MouldDotCheckPlanBill/GetMouldDotCheckPlanBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainBillList.html" new file mode 100644 index 0000000..0fe934b --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainBillList.html" @@ -0,0 +1,279 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 160, hide: true } + , { field: '淇濆吇璁″垝缂栧彿', title: '淇濆吇璁″垝缂栧彿', width: 200 } + , { field: '淇濆吇璁″垝鍐呯爜', title: '淇濆吇璁″垝鍐呯爜', width: 200 } + , { field: 'HMouldID', title: 'HMouldID', width: 200, hide: true } + , { field: '浜у搧妯″叿浠g爜', title: '浜у搧妯″叿浠g爜', width: 200 } + , { field: '浜у搧妯″叿', title: '浜у搧妯″叿', width: 200 } + , { field: '淇濆吇寮�濮嬫棩鏈�', title: '淇濆吇寮�濮嬫棩鏈�', width: 200 } + , { field: '淇濆吇缁撴潫鏃ユ湡', title: '淇濆吇缁撴潫鏃ユ湡', width: 200 } + , { field: '鎽樿', title: '鎽樿', width: 200 } + , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 200 } + , { field: '澶囨敞', title: '澶囨敞', width: 200 } + , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } + , { field: 'hmaterid', title: 'hmaterid', width: 115, hide: true } + , { field: '閰嶄欢浠g爜', title: '閰嶄欢浠g爜', width: 200 } + , { field: '閰嶄欢鍚嶇О', title: '閰嶄欢鍚嶇О', width: 200 } + , { field: 'hunitid', title: 'hunitid', width: 200, hide: true } + , { field: '鍗曚綅浠g爜', title: '鍗曚綅浠g爜', width: 200 } + , { field: '鍗曚綅鍚嶇О', title: '鍗曚綅鍚嶇О', width: 200 } + , { field: '瀹為檯鐢ㄩ噺', title: '瀹為檯鐢ㄩ噺', width: 115 } + , { field: '鏍囧噯鐢ㄩ噺', title: '鏍囧噯鐢ㄩ噺', width: 200 } + , { field: 'HManagerID', title: 'HManagerID', width: 200, hide: true } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200 } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200 } + , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 115, hide: true } + , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200 } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, hide: true } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 115, hide: true } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200, hide: true } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200, hide: true } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 115, hide: true } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200, hide: true } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 115, hide: true } + , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', width: 200, hide: true } + , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', width: 200, hide: true } + , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 200 } + , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 200 } + , { field: 'hbilltype', title: 'hbilltype', width: 200 } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_MouldMaintainBill/GetMouldMaintainBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_MouldMaintainBill/GetMouldMaintainBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" new file mode 100644 index 0000000..66d59f4 --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" @@ -0,0 +1,273 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 160, hide: true } + , { field: '鍛ㄦ湡鍗曚綅', title: '鍛ㄦ湡鍗曚綅', width: 200 } + , { field: '淇濆吇鍛ㄦ湡', title: '淇濆吇鍛ㄦ湡', width: 200 } + , { field: '璁″垝寮�濮嬫棩鏈�', title: '璁″垝寮�濮嬫棩鏈�', width: 200 } + , { field: '璁″垝缁撴潫鏃ユ湡', title: '璁″垝缁撴潫鏃ユ湡', width: 200 } + , { field: '鎽樿', title: '鎽樿', width: 200 } + , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 200 } + , { field: '澶囨敞', title: '澶囨敞', width: 200 } + , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } + , { field: 'hmaterid', title: 'hmaterid', width: 115, hide: true } + , { field: '閰嶄欢浠g爜', title: '閰嶄欢浠g爜', width: 200 } + , { field: '閰嶄欢鍚嶇О', title: '閰嶄欢鍚嶇О', width: 200 } + , { field: 'hunitid', title: 'hunitid', width: 200, hide: true } + , { field: '鍗曚綅浠g爜', title: '鍗曚綅浠g爜', width: 200 } + , { field: '鍗曚綅鍚嶇О', title: '鍗曚綅鍚嶇О', width: 200 } + , { field: '鐢ㄩ噺', title: '鐢ㄩ噺', width: 200 } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200 } + , { field: '鏍囧噯鐢ㄩ噺', title: '鏍囧噯鐢ㄩ噺', width: 115 } + , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 115 } + , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200 } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, hide: true } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 115, hide: true } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200, hide: true } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200, hide: true } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 115, hide: true } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200, hide: true } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 115, hide: true } + , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', width: 200, hide: true } + , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', width: 200, hide: true } + , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 200 } + , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 200 } + , { field: 'hbilltype', title: 'hbilltype', width: 200 } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_MouldMaintainPlanBill/GetMouldMaintainPlanBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_MouldMaintainPlanBill/GetMouldMaintainPlanBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldRepairCheckBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldRepairCheckBillList.html" new file mode 100644 index 0000000..4ed6c3a --- /dev/null +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldRepairCheckBillList.html" @@ -0,0 +1,281 @@ +锘�<!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, 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> + <style type="text/css"> + input.layui-input.layui-unselect { + padding-right: 0; + } + </style> +</head> +<body> + <div class="layui-fluid"> + <div class="layui-col-md12"> + <div class="layui-card" style="padding: 1px"> + <div class="layui-card-body" style="padding: 1px;"> + <form class="layui-form" action="" lay-filter="component-form-group"> + <div class="layui-collapse"> + <div class="layui-colla-item"> + <div class="layui-colla-title layui-inline"> + <div class="layui-inline"> + <span>鏇村</span> + </div> + </div> + <!--<div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁绫诲瀷</label> + <div class="layui-input-block"> + <select name="HBillType" id="HBillType"> + <option value="">鎵�鏈�</option> + <option value="ZHXJ">涓嬫灦鎵捐揣鍗�</option> + <option value="ZHSJ">涓婃灦褰掕繕鍗�</option> + </select> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍗曟嵁鍙�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">鍒跺崟浜�</label> + <div class="layui-input-block"> + <input type="text" class="layui-input" name="HCreateBy" id="HCreateBy"> + </div> + </div>--> + <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> + <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> + </button> + <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>--> + <!--<div class="layui-colla-content"> + <div class="layui-inline"> + <div class="layui-inline"> + <span>鍏朵粬鏉′欢></span> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">寮�濮嬫椂闂�</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="BenginHCreateDate" id="BenginHCreateDate"> + </div> + </div> + <div class="layui-inline"> + <label class="layui-form-label">缁撴潫鏃堕棿</label> + <div class="layui-input-block"> + <input type="date" class="layui-input" name="EndHCreateDate" id="EndHCreateDate"> + </div> + </div> + </div>--> + </div> + </div> + <table class="" 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-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button> + <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button> + + </div> + </script> + </form> + </div> + </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 + , util = layui.util + //鏌ヨ鏉′欢 + var sWhere = ""; + + var option = { + elem: '#mainTable' + //, toolbar: '#toolbarDemo' + , height: 'full-50' + , page: true + , cellMinWidth: 90 + , cols: [[ + { field: 'hmainid', title: '鍗曟嵁ID', hide: true } + , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160 } + , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } + , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 160, hide: true } + , { field: 'HEmpID', title: 'HEmpID', width: 200, hide: true } + , { field: '楠屾敹浜轰唬鐮�', title: '楠屾敹浜轰唬鐮�', width: 200 } + , { field: '楠屾敹浜�', title: '楠屾敹浜�', width: 200 } + , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200 } + , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200 } + , { field: 'HDeptID', title: 'HDeptID', width: 200, hide: true } + , { field: '楠屾敹閮ㄩ棬浠g爜', title: '楠屾敹閮ㄩ棬浠g爜', width: 200 } + , { field: '楠屾敹閮ㄩ棬', title: '楠屾敹閮ㄩ棬', width: 160 } + , { field: 'HMouldID', title: 'HMouldID', width: 160, hide: true } + , { field: '浜у搧妯″叿浠g爜', title: '浜у搧妯″叿浠g爜', width: 160 } + , { field: '浜у搧妯″叿', title: '浜у搧妯″叿', width: 200, hide: true } + , { field: '缁翠慨鏃ユ湡', title: '缁翠慨鏃ユ湡', width: 200 } + , { field: '楠屾敹缁撹', title: '楠屾敹缁撹', width: 200 } + , { field: '鎽樿', title: '鎽樿', width: 200 } + , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 200 } + , { field: '澶囨敞', title: '澶囨敞', width: 200 } + , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 115, hide: true } + , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 115 } + , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200 } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, hide: true } + , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 115, hide: true } + , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200 } + , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 200 } + , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 200, hide: true } + , { field: '淇敼浜�', title: '淇敼浜�', width: 200, hide: true } + , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 115, hide: true } + , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 200 } + , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 200 } + , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 200, hide: true } + , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 115, hide: true } + , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', width: 200, hide: true } + , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', width: 200, hide: true } + , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 200 } + , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 200 } + , { field: 'hbilltype', title: 'hbilltype', width: 200 } + , { field: 'HRepairCheckID', title: 'HRepairCheckID', width: 200, hide: true } + , { field: '楠屾敹椤圭洰浠g爜', title: '楠屾敹椤圭洰浠g爜', width: 115 } + , { field: '楠屾敹椤圭洰', title: '楠屾敹椤圭洰', width: 200 } + , { field: '楠屾敹鍐呭', title: '楠屾敹鍐呭', width: 200 } + , { field: 'HManagerID', title: 'HManagerID', width: 200, hide: true } + , { field: '瀛愯礋璐d汉浠g爜', title: '瀛愯礋璐d汉浠g爜', width: 200 } + , { field: '瀛愯礋璐d汉', title: '瀛愯礋璐d汉', width: 200 } + ]] + }; + + var index = layer.load(0); + //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛� + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL() + '/Sc_MouldRepairCheckBill/GetMouldRepairCheckBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 }); + } + }); + + //閲嶇疆鎸夐挳 + //form.on('submit(btnReSearch)', function (data) { + // $("#HBillType").val("");//鍗曟嵁绫诲瀷 + // $("#HBillNo").val("");//鍗曟嵁鍙� + // $("#HSourceBillNo").val("");//婧愬崟鍙� + // $("#HCreateBy").val("");//鍒跺崟浜� + // $("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + // $("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + // $("#btnSearch").click(); + //}); + + //鏌ヨ鎸夐挳 + form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅 + //var HBillType = $("#HBillType").val();//鍗曟嵁绫诲瀷 + //var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙� + //var HCreateBy = $("#HCreateBy").val();//鍒跺崟浜� + //var BenginHCreateDate = $("#BenginHCreateDate").val();//寮�濮嬪埗鍗曟椂闂� + //var EndHCreateDate = $("#EndHCreateDate").val();//缁撴潫鍒跺崟鏃堕棿 + //if (HBillNo) { + // sWhere += " and HBillNo like '%" + HBillNo + "%'"; + //} + //if (HCreateBy) { + // sWhere += " and HCreateBy like '%" + HCreateBy + "%'"; + //} + //if (BenginHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) >= '" + BenginHCreateDate + "'"; + //} + //if (EndHCreateDate) { + // sWhere += " and CONVERT(varchar(100),HCreateDate, 23) <= '" + EndHCreateDate + "'"; + //} + var index = layer.load(0); + $.ajax({ + //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", + url: GetWEBURL1() + '/Sc_MouldRepairCheckBill/GetMouldRepairCheckBillList', + type: "GET", + data: { "sWhere": sWhere}, + success: function (data1) { + if (data1.count == 1) { + option.data = data1.data; + table.render(option); + layer.close(index); + layer.alert("鏌ヨ鎴愬姛", { icon: 1 }); + } else { + layer.close(index); + layer.alert(data1.code + data1.Message, { icon: 5 }); + } + }, error: function () { + layer.close(index); + layer.alert("鎺ュ彛澶辨晥!", { icon: 5 }); + } + }); + //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨 + sWhere = ""; + //$("#HBillType").val("");//鍗曟嵁绫诲瀷 + //$("#HBillNo").val("");//鍗曟嵁鍙� + //$("#HSourceBillNo").val("");//婧愬崟鍙� + //$("#HCreateBy").val("");//鍒跺崟浜� + //$("#BenginHCreateDate").val("");//寮�濮嬪埗鍗曟椂闂� + //$("#EndHCreateDate").val("");//缁撴潫鍒跺崟鏃堕棿 + }); + + //鐩戝惉琛屽弻鍑讳簨浠� + table.on('rowDouble(mainTable)', function (obj) { + layer.alert("鍙屽嚮浜嬩欢", { icon: 1 }); + }); + + + //laydate.render({ + // elem: '#HDate' + // , type: 'datetime' + // , trigger: 'click' + // , format:'yyyy-MM-dd HH:mm' + //}); + + + //浠ヤ笂鏄痩ayui妯″潡 + }); + + + + + </script> + +</body> +</html> -- Gitblit v1.9.1