From fe1a4ed8d3a161bc555d4b3fbbce3a7e10a5fbcd Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期四, 21 八月 2025 11:12:07 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI
---
WebTM/views/Baseset/基础资料/Sc_ProcessPlanViewList.html | 36 +++++++++++++++++++++++-------------
1 files changed, 23 insertions(+), 13 deletions(-)
diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessPlanViewList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessPlanViewList.html"
index 516f22a..0df994f 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessPlanViewList.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_ProcessPlanViewList.html"
@@ -29,7 +29,7 @@
</div>
</div>
</div>
- <table class="layui-hide" id="ck-table"></table>
+ <table class="layui-hide" id="mainTable"></table>
<script src="../../../layuiadmin/layui/layui.js"></script>
<script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
<script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
@@ -41,30 +41,40 @@
, layer = layui.layer;
form.on('submit(HQuery)', function () {//閫夋嫨鍗曚綅
- //var sMainStr = JSON.stringify(table.cache['ck-table']);
+ //var sMainStr = JSON.stringify(table.cache['mainTable']);
RoadQuery($('#Value').val());
});
form.on('submit(FH)', function () {//閫夋嫨鍗曚綅
- //var sMainStr = JSON.stringify(table.cache['ck-table']);
- var checkStatus = table.checkStatus('ck-table')
+ //var sMainStr = JSON.stringify(table.cache['mainTable']);
+ var checkStatus = table.checkStatus('mainTable')
, data = checkStatus.data;
- parent.GetHUnitNameValue(data);
+ parent.GetHPlanValue(data);
var index = parent.layer.getFrameIndex(window.name);
parent.layer.close(index);
});
RoadQuery($('#Value').val());
table.render({
- elem: '#ck-table'
+ elem: '#mainTable'
// , url: '/demo/table/user/'
, data: []
, cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
, cols: [[
{ type: 'radio' }
- , { field: 'HItemID', width: 150, title: '鍗曚綅ID', hide: true }
- , { field: 'HNumber', width: 150, title: '璁¢噺鍗曚綅浠g爜' }
- , { field: 'HName', width: 150, title: '璁¢噺鍗曚綅', sort: true }
+ , { field: 'hmainid', width: 150, title: 'hmainid', hide: true, sort: true }
+ , { field: 'hsubid', width: 150, title: 'hsubid', hide: true }
+ , { field: '鍗曟嵁鍙�', width: 150, title: '鍗曟嵁鍙�' }
+ , { field: 'HMaterID', width: 150, title: 'HMaterID', hide: true }
+ , { field: '鐗╂枡浠g爜', width: 150, title: '鐗╂枡浠g爜' }
+ , { field: '鐗╂枡鍚嶇О', width: 150, title: '鐗╂枡鍚嶇О' }
+ , { field: 'HCenterID', width: 150, title: 'HCenterID', hide: true }
+ , { field: '宸ヤ綔涓績', width: 150, title: '宸ヤ綔涓績' }
+ , { field: '瑙勬牸鍨嬪彿', width: 150, title: '瑙勬牸鍨嬪彿' }
+ , { field: '璁″垝鏁伴噺', width: 150, title: '璁″垝鏁伴噺' }
+
]]
- , page: true
+ , page: true
+ , limits: [50, 500, 5000, 50000]
+ , limit: 50
});
///鍔犺浇鏄剧ず鏁版嵁
function RoadQuery(Where) {
@@ -75,13 +85,13 @@
$.ajax({
type: "get",
//url: "http://61.130.49.162:9090/WMSAPI///Web/GetDepartmentList_Json",
- url: GetWEBURL() + "/Web/GetUnitList_Json",
+ url: GetWEBURL() + "/Web/GetPlanList_Json",
async: true,
- data: { "Unit": Value },
+ data: { "Billno": Value },
//data: { "Value": Value },
success: function (result) {
ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
- table.reload('ck-table', {
+ table.reload('mainTable', {
data: ajaxReturnData
, height: 'full-10'
, loading: false
--
Gitblit v1.9.1