From 42f53c0f2c1f2da37fd745768ef17bce42410ce1 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期六, 13 九月 2025 17:20:55 +0800
Subject: [PATCH] 添康排产;日计划列表添加日期过滤;设备点检计划选择规程后自动带出摘要;质量追溯报表;车间上下架报表;
---
WebTM/views/PublicPage/ProductionOrder.html | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/WebTM/views/PublicPage/ProductionOrder.html b/WebTM/views/PublicPage/ProductionOrder.html
index b699b13..8f9919e 100644
--- a/WebTM/views/PublicPage/ProductionOrder.html
+++ b/WebTM/views/PublicPage/ProductionOrder.html
@@ -134,11 +134,16 @@
//鏌ヨ鏉′欢
var sWhere = "";
+ $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd"));
+ $("#HDate1").val(Format(new Date(), "yyyy-MM-dd"));
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + $("#HDate").val() + "'";
+ sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + $("#HDate1").val() + "'";
+
var index = layer.load(0);
table.render({
elem: '#mainTable'
, url: GetWEBURL() + '/Sc_ProductionOrder/GetProductionOrderBill'
- , where: { sWhere: "" } //鎵╁睍鍙傛暟,鍙互浼犳暟鎹埌鍚庡彴
+ , where: { sWhere: sWhere } //鎵╁睍鍙傛暟,鍙互浼犳暟鎹埌鍚庡彴
, page: true //寮�鍚垎椤�
, limit: 20 //涓�椤佃兘澶熸樉绀虹殑鏈�澶ф暟鐩�
,limits: [20, 40,60,80,100] //鎺у埗澶氬皯琛屼竴椤碉紙榛樿浜旀潯涓�椤碉級
--
Gitblit v1.9.1