1.数据字典取值

<t:dictSelect field="fjingji" hasLabel="false" typeGroupCode="fjingji"  defaultVal="${paichePage.fjingji}"></t:dictSelect>

typeGroupCode:数据字典的名字

2.数据表里取值

<t:dictSelect field="createBy"  dictTable="t_s_base_user" dictCondition="where departid='2c92b1f26778a02d01677bde33cf0192'" dictField="username" dictText="username" title="下派状态"></t:dictSelect>

dictTable:表名  dictCondition:表的描述  dictField:表的字段(传给后台的值) dictText:界面显示的字段

取值:

$("select[name='createBy']").val();

$("select[name='createBy']").find("option:selected").text();

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-12-02
  • 2021-08-03
猜你喜欢
  • 2021-07-08
  • 2022-03-06
  • 2022-01-12
  • 2022-12-23
相关资源
相似解决方案