| | |
| | | XsmxMode ModeType = "xsmx" |
| | | ) |
| | | |
| | | type systemSetID int |
| | | |
| | | const ( |
| | | systemSetIDQuotationLinkSalesChance systemSetID = 1 //报价单是否必须关联销售机会 |
| | | systemSetIDSalesDetailsLinkQuotation systemSetID = 2 //销售明细单是否必须关联报价单 |
| | | systemSetIDSalesDetailsLinkSalesChance systemSetID = 3 //销售明细单是否必须关联业务机会 |
| | | systemSetIDCreateCollectionPlanAfterSalesDetails systemSetID = 4 //销售明细创建后是否自动生成收款计划 |
| | | systemSetIDSalesDetailsProductAutoSyncQuotationProduct systemSetID = 5 //销售明细产品是否自动同步报价单产品 |
| | | ) |
| | | |
| | | var SystemSet = map[string]interface{}{ |
| | | "CRM": map[string]interface{}{ |
| | | "报价单是否必须关联销售机会": map[string]interface{}{ |
| | | "id": systemSetIDQuotationLinkSalesChance, |
| | | "value": "是", |
| | | "type": "select", |
| | | "select": map[string]string{ |
| | |
| | | "modeType": "bjd", |
| | | }, |
| | | "销售明细单是否必须关联报价单": map[string]interface{}{ |
| | | "id": systemSetIDSalesDetailsLinkQuotation, |
| | | "value": "是", |
| | | "type": "select", |
| | | "select": map[string]string{ |
| | |
| | | "modeType": "xsmx", |
| | | }, |
| | | "销售明细单是否必须关联业务机会": map[string]interface{}{ |
| | | "id": systemSetIDSalesDetailsLinkSalesChance, |
| | | "value": "是", |
| | | "type": "select", |
| | | "select": map[string]string{ |
| | | "1": "是", |
| | | "2": "否", |
| | | }, |
| | | "modeType": "xsmx", |
| | | }, |
| | | "销售明细创建后是否自动生成收款计划": map[string]interface{}{ |
| | | "id": systemSetIDCreateCollectionPlanAfterSalesDetails, |
| | | "value": "是", |
| | | "type": "select", |
| | | "select": map[string]string{ |
| | | "1": "是", |
| | | "2": "否", |
| | | }, |
| | | "modeType": "xsmx", |
| | | }, |
| | | "销售明细产品是否自动同步报价单产品": map[string]interface{}{ |
| | | "id": systemSetIDSalesDetailsProductAutoSyncQuotationProduct, |
| | | "value": "是", |
| | | "type": "select", |
| | | "select": map[string]string{ |