<html>
<head>
	<title>{/$module_name/}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 
	<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> 
	<META HTTP-EQUIV="Expires" CONTENT="0"> 
	<link href="../images/default/style.css" rel="stylesheet" type="text/css">
	<style type="text/css">
	<!--
	body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	}
	.style1 {
		font-size: 24px;
		font-family: "楷体_GB2312";
	}
	-->
	</style>
	<base target="_self">
</head>
<body>
<form name="form1" method="post" action="{/$action_file/}">
  <table width="967" height="97%" border="1" align="center" cellpadding="0" cellspacing="0">
    <tr valign="middle">
      <td height="35" colspan="31"><div align="center" class="style1">{/$module_name/}</div><input type="hidden" name="table_name" value="{/$table_name/}"></td>
    </tr>
    <tr valign="middle">
      <td height="40" colspan="6"><div align="center">&nbsp;项目/字段（名称）&nbsp;</div>        </td>
      <td height="40" colspan="3"><div align="center">列表</div></td>
      <td height="40" colspan="5"><div align="center">增加/修改/删除</div></td>
      <td height="40" colspan="4"><div align="center">查找</div></td>
      <td height="40" colspan="4"><div align="center">打印单据</div></td>
      <td height="40" colspan="3"><div align="center">打印/导出列表</div></td>
	  <td height="40" colspan="3"><div align="center">选择</div></td>
	  <td height="40" colspan="3"><div align="center">引用</div></td>
    </tr>
    <tr valign="middle">
      <td><div align="center">字段名称</div></td>
      <td><div align="center">显示名称</div></td>
      <td height="40"><div align="center">是否<br>
        只读</div></td>
      <td><div align="center">可否<br>
        为空</div></td>
      <td><div align="center">可否<br>
    重复</div></td>
      <td><div align="center">字段<br>
      类型</div></td>
      <td height="40"><div align="center">是否<br>
        显示</div></td>
      <td height="40"><div align="center">显示<br>
        宽度</div></td>
      <td><div align="center">显示<br>
        顺序</div></td>
      <td height="40"><div align="center">是否<br>
        显示</div></td>
      <td><div align="center">显示<br>
        位置</div></td>
      <td><div align="center">显示<br>
        类型</div></td>
      <td height="40"><div align="center">显示<br>
        宽度</div></td>
      <td height="40"><div align="center">显示<br>
        顺序</div></td>
      <td><div align="center">是否<br>
        显示</div></td>
      <td><div align="center">显示<br>
        类型</div></td>
      <td><div align="center">显示<br>
        宽度</div></td>
      <td><div align="center">显示<br>
        顺序</div></td>
      <td height="40"><div align="center">是否<br>
        显示</div></td>
      <td><div align="center">显示<br>
        位置</div></td>
      <td><div align="center">显示<br>
        宽度</div></td>
      <td><div align="center">显示<br>
        顺序</div></td>
	  <td height="40"><div align="center">是否<br>
        显示</div></td>
      <td><div align="center">显示<br>
        宽度</div></td>
      <td><div align="center">显示<br>
        顺序</div></td>
	  <td height="40"><div align="center">是否<br>
        显示</div></td>
      <td><div align="center">显示<br>
        宽度</div></td>
      <td><div align="center">显示<br>
        顺序</div></td>
	  <td height="40"><div align="center">是否<br>
        显示</div></td>
      <td><div align="center">显示<br>
        宽度</div></td>
      <td><div align="center">显示<br>
        顺序</div></td>
    </tr>
	{/section name=sec loop=$set_array/}
    <tr valign="middle">
      <td>
	  	<div align="center"><strong>{/$set_array[sec].field_name/}</strong>
  	      <input type="hidden" name="field_name[]" value="{/$set_array[sec].field_name/}">        
        </div></td>
      <td><div align="center">
        <input name="display_name[]" type="text" size="8" value="{/$set_array[sec].display_name/}">
      </div></td>
      <td>
        <div align="center">
          <input type="checkbox" name="is_readonly[{/$set_array[sec].id/}]" value="1" {/if $set_array[sec].is_readonly eq 1/}checked{//if/}>
        </div></td>
      <td>
        <div align="center">
          <input type="checkbox" name="can_be_empty[{/$set_array[sec].id/}]" value="1" {/if $set_array[sec].can_be_empty eq 1/}checked{//if/}>
        </div></td>
      <td><div align="center">
	  	  <input type="checkbox" name="can_be_same[{/$set_array[sec].id/}]" value="1" {/if $set_array[sec].can_be_same eq 1/}checked{//if/}>
	  </div></td>
      <td>
        <div align="center">
			<input name="field_type[]" type="text" size="8" value="{/$set_array[sec].field_type/}">
        </div></td>
      <td>
        <div align="center">
          <input type="checkbox" name="list_is_display[{/$set_array[sec].id/}]" value="1" {/if $set_array[sec].list_is_display eq 1/}checked{//if/}>
        </div></td>
      <td>
        <div align="center">
          <input name="list_display_width[]" type="text" size="3" value="{/$set_array[sec].list_display_width/}">
        </div></td>
      <td>
        <div align="center">
          <input name="list_display_number[]" type="text" size="2" value="{/$set_array[sec].list_display_number/}">
        </div></td>
      <td>
        <div align="center">
          <input type="checkbox" name="admin_is_display[{/$set_array[sec].id/}]" value="1" {/if $set_array[sec].admin_is_display eq 1/}checked{//if/}>
        </div></td>
      <td>
        <div align="center">
			<input name="admin_position[]" type="text" size="8" value="{/$set_array[sec].admin_position/}">
		</div></td>
      <td>
        <div align="center">
			<input name="admin_display_type[]" type="text" size="7" value="{/$set_array[sec].admin_display_type/}">
        </div></td>
      <td>
        <div align="center">
          <input name="admin_display_width[]" type="text" size="3" value="{/$set_array[sec].admin_display_width/}">
        </div></td>
      <td>
        <div align="center">
          <input name="admin_display_number[]" type="text" size="2" value="{/$set_array[sec].admin_display_number/}">
        </div></td>
      <td>
        <div align="center">
          <input type="checkbox" name="search_is_display[{/$set_array[sec].id/}]" value="1" {/if $set_array[sec].search_is_display eq 1/}checked{//if/}>
        </div></td>
      <td>
        <div align="center">
			<input name="search_display_type[]" type="text" size="7" value="{/$set_array[sec].search_display_type/}">
        </div></td>
      <td>
        <div align="center">
          <input name="search_display_width[]" type="text" size="3" value="{/$set_array[sec].search_display_width/}">
        </div></td>
      <td>
        <div align="center">
          <input name="search_display_number[]" type="text" size="2" value="{/$set_array[sec].search_display_number/}">
        </div></td>
      <td>
        <div align="center">
          <input type="checkbox" name="print_is_display[{/$set_array[sec].id/}]" value="1" {/if $set_array[sec].print_is_display eq 1/}checked{//if/}>
        </div></td>
      <td>
        <div align="center">
			<input name="print_position[]" type="text" size="8" value="{/$set_array[sec].print_position/}">
        </div></td>
      <td>
        <div align="center">
          <input name="print_display_width[]" type="text" size="3" value="{/$set_array[sec].print_display_width/}">
        </div></td>
      <td>
        <div align="center">
          <input name="print_display_number[]" type="text" size="2" value="{/$set_array[sec].print_display_number/}">
        </div></td>
	  <td>
        <div align="center">
          <input type="checkbox" name="print_list_is_display[{/$set_array[sec].id/}]" value="1" {/if $set_array[sec].print_list_is_display eq 1/}checked{//if/}>
        </div></td>
      <td>
        <div align="center">
          <input name="print_list_display_width[]" type="text" size="3" value="{/$set_array[sec].print_list_display_width/}">
        </div></td>
      <td>
        <div align="center">
          <input name="print_list_display_number[]" type="text" size="2" value="{/$set_array[sec].print_list_display_number/}">
        </div></td>
	  <td>
        <div align="center">
          <input type="checkbox" name="select_is_display[{/$set_array[sec].id/}]" value="1" {/if $set_array[sec].select_is_display eq 1/}checked{//if/}>
        </div></td>
      <td>
        <div align="center">
          <input name="select_display_width[]" type="text" size="3" value="{/$set_array[sec].select_display_width/}">
        </div></td>
      <td>
        <div align="center">
          <input name="select_display_number[]" type="text" size="2" value="{/$set_array[sec].select_display_number/}">
        </div></td>
	  <td>
        <div align="center">
          <input type="checkbox" name="quote_is_display[{/$set_array[sec].id/}]" value="1" {/if $set_array[sec].quote_is_display eq 1/}checked{//if/}>
        </div></td>
      <td>
        <div align="center">
          <input name="quote_display_width[]" type="text" size="3" value="{/$set_array[sec].quote_display_width/}">
        </div></td>
      <td>
        <div align="center">
          <input name="quote_display_number[]" type="text" size="2" value="{/$set_array[sec].quote_display_number/}">
        </div></td>
    </tr>
	{//section/}
    <tr valign="middle">
      <td height="35" colspan="31"><div align="center">
		  <input class="INPUT_BUTTON" type="submit" name="set_confirm" value=" 设置 "  onclick="if(confirm('确定要保存设置吗？')) return true; else return false;" {disabled}>
			&nbsp;		  
		  <input class="INPUT_BUTTON" type="button" name="cancel" value=" 取消 " onClick="self.close()">
      </div></td>
    </tr>
  </table>
</form>
</BODY>
</HTML>