浏览代码

时间组件修改

WH01243 7 月之前
父节点
当前提交
83d4ba1f82
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6 4
      jyBXCore/rpc/service/operator.go

+ 6 - 4
jyBXCore/rpc/service/operator.go

@@ -26,10 +26,11 @@ func getGetCriteriaType(entId, positionId, tag int64) []map[string]interface{} {
 	data := []map[string]interface{}{}
 	data := []map[string]interface{}{}
 	if tag == 1 {
 	if tag == 1 {
 		data = append(data, map[string]interface{}{
 		data = append(data, map[string]interface{}{
-			"key":        "purchaseTime",
-			"type":       "dateTimeList",
-			"label":      "预计采购时间",
-			"defaultVal": "",
+			"key":            "purchaseTime",
+			"type":           "dateTimeList",
+			"label":          "预计采购时间",
+			"defaultVal":     "",
+			"endTimeFeature": true,
 			"props": map[string]interface{}{
 			"props": map[string]interface{}{
 				"multiple": false,
 				"multiple": false,
 			},
 			},
@@ -57,6 +58,7 @@ func getGetCriteriaType(entId, positionId, tag int64) []map[string]interface{} {
 			"props": map[string]interface{}{
 			"props": map[string]interface{}{
 				"multiple": false,
 				"multiple": false,
 			},
 			},
+			"endTimeFeature": true,
 			"options": []map[string]interface{}{
 			"options": []map[string]interface{}{
 				{
 				{
 					"label": "全部", "value": "",
 					"label": "全部", "value": "",