From 770a4150fa45b8c6fdeacd39413505a257e58388 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期一, 09 一月 2023 09:40:37 +0800
Subject: [PATCH] 末道工序出站列表 入库 首道工序出站 列表 维护 委外工序发出单 委外工序接收单 工序进站接收单 维护
---
WebTM/views/生产工序管理/工序汇报单/Sc_ProcessReportOverList.html | 27 ++++++++++++++++++++++++++-
1 files changed, 26 insertions(+), 1 deletions(-)
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportOverList.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportOverList.html"
index e3b8070..b8c85bc 100644
--- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportOverList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportOverList.html"
@@ -32,6 +32,16 @@
<input type="date" class="layui-input" id="HDate" style="width:190px;">
</div>
</div>
+ <div class="layui-inline">
+ <label class="layui-form-label">鍚屾鐘舵��</label>
+ <div class="layui-input-block" style="margin-left: 125px;width:55%;">
+ <select name="HRelationQty" lay-filter="aihao" id="HRelationQty">
+ <option value="1" selected="selected">鍏ㄩ儴</option>
+ <option value="2">宸插悓姝�</option>
+ <option value="3">鏈悓姝�</option>
+ </select>
+ </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>
@@ -161,6 +171,7 @@
, { field: '浠诲姟鍗�', title: '浠诲姟鍗�', width: 125 }
, { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 190 }
, { field: '宸ュ簭娴佽浆鍗″彿', title: '宸ュ簭娴佽浆鍗″彿', width: 125 }
+ , { field: '鍚屾鐘舵��', title: '鍚屾鐘舵��' }
, { field: 'HProcID', title: 'HProcID', hide: true }
, { field: '褰撳墠宸ュ簭浠g爜', title: '褰撳墠宸ュ簭浠g爜', width: 125 }
, { field: '褰撳墠宸ュ簭', title: '褰撳墠宸ュ簭' }
@@ -214,10 +225,12 @@
//閲嶇疆杩囨护鏉′欢
function set_ClearQuery() {
- $("#HWorkBillNo").val();
+ $("#HWorkBillNo").val("");
$("#HBillNo").val("");
$("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd"));
$("#HProcExchBillNo").val("");
+ $("#HRelationQty").val("1")
+ form.render("select");
}
//蹇�熻繃婊�
@@ -226,6 +239,18 @@
var HWorkBillNo = $("#HWorkBillNo").val();
var HBillNo = $("#HBillNo").val();
var HProcExchBillNo = $("#HProcExchBillNo").val();
+ var HRelationQty = $("#HRelationQty").val();
+ switch (HRelationQty) {
+ case "1":
+ sWhere += "";
+ break;
+ case "2":
+ sWhere += " and 鍚屾鐘舵�� = '宸插悓姝�'";
+ break;
+ case "3":
+ sWhere += " and 鍚屾鐘舵�� = ''";
+ break;
+ }
if (HDate) {
sWhere += " and CONVERT(varchar(100),鍑虹珯鏃堕棿, 23) = '" + HDate + "'";
}
--
Gitblit v1.9.1