From 8f2347d441deb66bdd16f40544f2e7acbba210be Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期五, 31 十月 2025 10:43:54 +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