1. Add menu
Usually two
com.ccssoft.code.web.view.CodeSegmentMgr.d7?metaClassName=CDMANUMBERSEGMENT
com.ccssoft.code.web.view.CodeSegmentMgr.d7?metaClassName=CDMANUMBERSEGMENT
Page: CodeSegmentMgr Specification: CDMANUMBERSEGMENT
2. Find the folder where the template is located
select ss.id,ss.code,ss.name,ss.coretablename,ss.* from xm_entityspec ss where ss.code like'PSTNLOGICNUMBERSEGMENT';
SELECT * FROM mm_entity_spec SS WHERE ss.id = 2010100000
SELECT * from xm_entityspec ss where ss.Id in (2010100001, 2010100000, 2010000000)
3. Add entry template
(1) After double-clicking the left button
1.1 Fill in the name alias code
1.2 Add verification in the property interface
1.3 If there is a relationship introduction in the document, add the relationship
The controls associated with the area are: manyToOneDropDownLDNBRSPACE_LOCATE_REG_AREA
(2) Control management template
New interface field settings and non-editable item settings, the area belongs to the associated control, remember to add
Where is the uneditable setting of the modification interface? Set in js, as follows
The presentation interface is as follows
New interface
4. Add management templates
According to the requirement document, the query condition in the attribute is set to yes
If there is a query box control in the query condition, you need to manually add it in the relationship interface
Remove the table columns to be displayed, and delete everything else
About the code
Calling the back-end method in js is like this