<AppSpan
  name="{{item.codeName}}"
{{#eq ctrlType 'form'}}
  :disabled="state.detailsModel.{{item.codeName}}.disabled"
{{/eq}}
{{#if item.psEditor.psAppCodeList}}
  codeListTag="{{item.psEditor.psAppCodeList.codeListTag}}"
  codeListType="{{item.psEditor.psAppCodeList.codeListType}}"
{{/if}}
{{#if item.getDataType}}
  dataType="{{item.getDataType}}"
{{/if}}
{{#if item.psEditor.editorParams.unitName}}
  unitName="{{item.psEditor.editorParams.unitName}}"
{{/if}}
{{#if item.psEditor.editorParams.valueFormat}}
  valueFormat="{{item.psEditor.editorParams.valueFormat}}"
{{else if (item.valueFormat)}}
  valueFormat="{{item.valueFormat}}"
{{else if (item.psAppDEField.valueFormat)}}
  valueFormat="{{item.psAppDEField.valueFormat}}"
{{/if}}
{{#if item.psEditor.precision}}
  :precision="{{item.psEditor.precision}}"
{{/if}}
{{#if item.psEditor.psNavigateContexts}}
  localContext="{{> @macro/front-end/common/navparam.hbs appNavParams=item.psEditor.psNavigateContexts}}"
{{/if}}
{{#if item.psEditor.psNavigateParams}}
  localParam="{{> @macro/front-end/common/navparam.hbs appNavParams=item.psEditor.psNavigateParams}}"
{{/if}}
{{#if (or (eq ctrlType 'form') (eq ctrlType 'panel'))}}
  :value="state.data.{{item.psEditor.name}}"
{{/if}}
{{#eq ctrlType 'grid'}}
  :value="record.{{item.psEditor.name}}"
{{/eq}}
  :context="state.context"
  :viewParams="state.viewParams"/>
