Ver código fonte

更新pc_menu.json

zou.yingbin 4 anos atrás
pai
commit
6b9c7d91b0
2 arquivos alterados com 15 adições e 1 exclusões
  1. 13 1
      config/pc_menu.json
  2. 2 0
      models/ermcp3Report.go

+ 13 - 1
config/pc_menu.json

@@ -493,7 +493,19 @@
                 "remark": "",
                 "children": [
                 ]
-              }
+              },
+              {
+                "code": "commodity_contract_summary_order_closed",
+                "title": "按单平仓",
+                "sort": 1,
+                "type": 2,
+                "rulekey": "",
+                "isshow": true,
+                "url": "",
+                "remark": "",
+                "children": [
+                ]
+              },
             ]
           },
 

+ 2 - 0
models/ermcp3Report.go

@@ -3032,6 +3032,8 @@ func (r *Ermcp3SCMiddleGoodsReport) GetDataEx() (interface{}, error) {
 	err := db.GetEngine().SQL(r.buildSql()).Find(&sData)
 	for i := range sData {
 		sData[i].calc()
+		sData[i].BeginDate = r.BeginDate
+		sData[i].EndDate = r.EndDate
 	}
 	return sData, err
 }