From d9ccb1dfdb438225014b0b95d642a4e2a0c3736b Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 07 九月 2022 19:43:10 +0800
Subject: [PATCH] 隐藏列 维护 工艺路线 物料id 小写
---
WebTM/views/生产管理/日计划报表/ReportPODemandPlanBillList.html | 43 +++++++++++++++++++++----------------------
1 files changed, 21 insertions(+), 22 deletions(-)
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportPODemandPlanBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportPODemandPlanBillList.html"
index 6861064..2c6b381 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportPODemandPlanBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportPODemandPlanBillList.html"
@@ -77,7 +77,7 @@
</div>
</div>
</div>
- <div class="layui-row" style="margin-top:10px;">
+ <div class="layui-row" style="margin: 10px 0 10px;">
<div class="layui-inline">
<label class="layui-form-label" style="width: 85px;">閲囪喘璁㈠崟鍙�</label>
<div class="layui-input-block" style="margin-left: 120px;">
@@ -168,7 +168,7 @@
//鍒濆鍖栬〃鏍�
set_InitGrid();
//蹇�熻繃婊�
- //get_FastQuery(1);
+ get_FastQuery(1);
}
//#endregion
@@ -180,29 +180,29 @@
var MM = myDate.getMonth() + 1;
var dd = myDate.getDate();
var SumMonth = 31; //鍔ㄦ�佷袱鏈堜箣宸� new Date(yyyy, MM, 0).getDate()
-
+ var MonthCount = new Date(yyyy, MM-1, 0).getDate();
columns.push({ type: 'checkbox', fixed: 'left' });
- columns.push({ field: '鍗曟嵁鍙�', title: '閲囪喘缁勭粐' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '鐗╂枡鍚嶇О' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '鐗╂枡瑙勬牸' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '渚涘簲鍟�' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '鍚堣' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '閲囪喘璁㈠崟鍙�' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '闇�姹傚崟鍙�' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '鎽樿' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '澶囨敞' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '閲囪喘鍛�' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '鐗╂枡缂栫爜' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '璁¢噺鍗曚綅' });
- columns.push({ field: '閿�鍞鍗曞彿', title: '鎻愭枡鎷栨湡鏁伴噺' });
- for (var i = 0; i <= (SumMonth - dd); i++) {
- columns.push({ field: Format(yyyy + '/' + (MM - 1) + '/' + (dd + i), 'yyyy-MM-dd'), title: Format(yyyy + '/' + (MM - 1) + '/' + (dd + i), 'MM.dd'), edit: 'text', width: 70 })//0
+ columns.push({ field: '缁勭粐', title: '閲囪喘缁勭粐' });
+ columns.push({ field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О' });
+ columns.push({ field: '瑙勬牸鍨嬪彿', title: '鐗╂枡瑙勬牸' });
+ columns.push({ field: '渚涘簲鍟�', title: '渚涘簲鍟�' });
+ columns.push({ field: 'FSUMQTY', title: '鍚堣' });
+ columns.push({ field: 'HPOOrderBillNo', title: '閲囪喘璁㈠崟鍙�' });
+ columns.push({ field: 'HSeOrderBillNo', title: '闇�姹傚崟鍙�' });
+ columns.push({ field: 'HPOOrderBillRemark', title: '鎽樿' });
+ columns.push({ field: 'HPOOrderBillNote', title: '澶囨敞' });
+ columns.push({ field: '閲囪喘鍛�', title: '閲囪喘鍛�' });
+ columns.push({ field: '鐗╂枡浠g爜', title: '鐗╂枡缂栫爜' });
+ columns.push({ field: '璁¢噺鍗曚綅鍚嶇О', title: '璁¢噺鍗曚綅' });
+ columns.push({ field: 'TQSUM', title: '鎻愭枡鎷栨湡鏁伴噺' });
+ for (var i = 1; i <= (MonthCount - dd); i++) {
+ columns.push({ field: Format(yyyy + '/' + (MM - 1) + '/' + (dd + i), 'yyyy-MM-dd'), title: Format(yyyy + '/' + (MM - 1) + '/' + (dd + i), 'MM.dd'), width: 70 })//0
}
- for (var i = 1; i < dd; i++) {
- columns.push({ field: Format(yyyy + '/' + MM + '/' + i, 'yyyy-MM-dd'), title: Format(yyyy + '/' + MM + '/' + i, 'MM.dd'), edit: 'text', width: 70 })//0
+ for (var i = 1; i <= (SumMonth - MonthCount + dd); i++) {
+ columns.push({ field: Format(yyyy + '/' + MM + '/' + i, 'yyyy-MM-dd'), title: Format(yyyy + '/' + MM + '/' + i, 'MM.dd'), width: 70 })//0
}
- columns.push({ field: 'hmainid', title: '鎻愭枡璁″垝鍚堣' });
+ columns.push({ field: '', title: '鎻愭枡璁″垝鍚堣' });
option = {
elem: '#mainTable'
@@ -215,7 +215,6 @@
, loading: false
, cols: [columns]
};
- table.render(option);
}
//#endregion
--
Gitblit v1.9.1