From 2f9795d4f09ca8a57b5c68fcea2c947b987f3a80 Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期一, 22 一月 2024 13:21:27 +0800
Subject: [PATCH] 修复工作任务组织回显
---
WebTM/views/项目管理/工作任务/PM_WorkTaskBillList.html | 2 +-
WebTM/views/项目管理/报表分析/PM_ProjectBillMainMy.html | 46 ++++++++--------------------------------------
2 files changed, 9 insertions(+), 39 deletions(-)
diff --git "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillList.html" "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillList.html"
index 7f1c7a9..aa1483b 100644
--- "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillList.html"
+++ "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillList.html"
@@ -56,7 +56,7 @@
<div class="layui-inline">
<label class="layui-form-label" style="width: 85px;">缁勭粐</label>
<div class="layui-input-block" style="margin-left: 120px; width: 185px;">
- <select name="HOrgID" id="HOrgID " class=" ForFilteringSchemes" lay-verify="HOrgID">
+ <select name="HOrgID" id="HOrgID" class=" ForFilteringSchemes" lay-verify="HOrgID">
<!--鍔ㄦ�佹覆鏌撶粍缁�-->
</select>
</div>
diff --git "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html" "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html"
index 2282b9b..584e5ba 100644
--- "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html"
+++ "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\346\212\245\350\241\250\345\210\206\346\236\220/PM_ProjectBillMainMy.html"
@@ -278,8 +278,7 @@
//#region 鏈〉闈㈡墍鏈夎璋冪敤鐨勬柟娉�
function set_ClearBill() {
- get_Dept();
-
+
//鍒濆鍖栦富琛ㄥ垪琛�
set_InitGrid();
//鍒濆鍖栦粠琛ㄥ垪琛�
@@ -294,11 +293,11 @@
//#region 閲嶇疆杩囨护鏉′欢鏂规硶
function set_ClearQuery() {
- $("#HBillNo").val("");//鍗曟嵁鍙�
- $("#ColContent").val("");
- $("#ColName").val("0");
- $("#Comparator").val("0");
- form.render('select');
+ //$("#HBillNo").val("");//鍗曟嵁鍙�
+ //$("#ColContent").val("");
+ //$("#ColName").val("0");
+ //$("#Comparator").val("0");
+ //form.render('select');
//$("#btnSearch").click();
sWhere = "";
get_FastQuery();
@@ -308,35 +307,6 @@
//#region 蹇�熻繃婊�
function get_FastQuery() {
- var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙�
- var ColName = $("#ColName").val();//澶嶉�夋
- var Comparator = $("#Comparator").val()
- var ColContent = $("#ColContent").val();
-
- if (ColName != 0 && Comparator != 0) {
- var com = "";
- switch (Comparator) {
- case "7":
- com = "like'%" + ColContent + "%'";
- break;
- case "8":
- com = "like'%" + ColContent + "'";
- break;
- case "9":
- com = "like'" + ColContent + "%'";
- break;
- case "10":
- com = "not like'%" + ColContent + "%'";
- break;
- default:
- com = "" + Comparator + "'" + ColContent + "'";
- break;
- }
- sWhere += " and " + ColName + " " + com;
- }
- if (HBillNo) {
- sWhere += " and 鍗曟嵁鍙� like '%" + HBillNo + "%'"
- }
get_Display(sWhere);
get_Display1(sWhere);
sWhere = "";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨
@@ -443,7 +413,7 @@
layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
}
});
- layer.close(index);
+
}
//#endregion
@@ -518,7 +488,7 @@
layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
}
});
- layer.close(index);
+
}
//#endregion
--
Gitblit v1.9.1