zhangqian
2024-01-08 f1842bf9b5bb69b5078a215c02cb16b7e33f893a
constvar/const.go
@@ -207,3 +207,43 @@
const (
   SystemType = 2
)
// ModeType 模块类型
type ModeType string
const (
   BjdMode  ModeType = "bjd"
   XsmxMode ModeType = "xsmx"
)
var SystemSet = map[string]interface{}{
   "CRM": map[string]interface{}{
      "报价单是否必须关联销售机会": map[string]interface{}{
         "value": "是",
         "type":  "select",
         "select": map[string]string{
            "1": "是",
            "2": "否",
         },
         "modeType": "bjd",
      },
      "销售明细单是否必须关联报价单": map[string]interface{}{
         "value": "是",
         "type":  "select",
         "select": map[string]string{
            "1": "是",
            "2": "否",
         },
         "modeType": "xsmx",
      },
      "销售明细单是否必须关联业务机会": map[string]interface{}{
         "value": "是",
         "type":  "select",
         "select": map[string]string{
            "1": "是",
            "2": "否",
         },
         "modeType": "xsmx",
      },
   },
}