jiangshuai
2024-02-06 116948bcec330a6dde841708515c222fcebf51a7
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",
      },
   },
}