list.gsp
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:10k
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title><g:message code="inovice.list" default="Inovice List" /></title>
- </head>
- <script type="text/javascript" src="${createLinkTo(dir:'js/dojo',file:'dojo.js')}">
- </script>
- <script type="text/javascript">
- dojo.require("dojo.widget.validate");
- dojo.require("dojo.widget.ComboBox");
- dojo.require("dojo.widget.Checkbox");
- dojo.require("dojo.widget.Editor");
- dojo.require("dojo.widget.DropdownDatePicker");
- dojo.require("dojo.widget.Button");
- </script>
- <body>
- <div class="nav">
- <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}"><g:message code="home" default="Home" /></a></span>
- <span class="menuButton"><g:link class="create" action="create" params="${[_inoBuyname:params._inoBuyname,_inoBuycompany:params._inoBuycompany,_inoCargoname:params._inoCargoname,_inoLastchangefrom:params._inoLastchangefrom,_inoLastchangeto:params._inoLastchangeto,_inoDel:params._inoDel,max:params.max,sort:params.sort,offset:params.offset,order:params.order]}"><g:message code="inovice.new" default="New Inovice" /></g:link></span>
- </div>
- <div class="body">
- <h1><g:message code="inovice.list" default="Inovice List" /></h1>
- <g:if test="${flash.message}">
- <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
- </g:if>
- <g:form name="inovice" controller="inovice" action="list" method="post" enctype="multipart/form-data">
- <table border="0">
- <div >
- <tr >
- <td valign='middle' class='name'>
- <label for='_inoBuyname' ><g:message code="inovice.inoBuyname" default="ino Buyname" />:</label>
- </td>
- <td valign='middle' class='value ${hasErrors(bean:inovice,field:'inoBuyname','errors')}'>
- <input type="text" id='_inoBuyname' name='_inoBuyname' value="${params._inoBuyname}" size="16" maxlength="12"/>
- </td>
- <td valign='middle' class='name'>
- <label for='_inoBuycompany'><g:message code="inovice.inoBuycompany" default="ino Buycompany" />:</label>
- </td>
- <td valign='middle' class='value ${hasErrors(bean:inovice,field:'inoBuycompany','errors')}'>
-
- <input type="text" id='_inoBuycompany' name='_inoBuycompany' value="${params._inoBuycompany}" size="16" maxlength="12"/>
- </td>
- <td valign='middle' class='name'>
- <label for='_inoCargoname'><g:message code="inovice.inoCargoname" default="ino Type" />:</label>
- </td>
- <td valign='middle' class='value ${hasErrors(bean:inovice,field:'inoCargoname','errors')}'>
-
- <input type="text" id='_inoCargoname' name='_inoCargoname' value="${params._inoCargoname}" size="16" maxlength="12"/>
- </td>
- </tr>
- <tr>
- <td valign='middle' class='name'>
- <label for='_inoLastchangefrom'><g:message code="inovice.inoLastchange" default="ino Lastchange" />:</label>
- </td>
- <td valign='middle' class='value ${hasErrors(bean:inovice,field:'Lastchange','errors')}'>
- <input readonly="true" type="text" dojoType="DropdownDatePicker" id="_inoLastchangefrom" name="_inoLastchangefrom" value="${params._inoLastchangefrom}"/>
- <input readonly="true" type="text" dojoType="DropdownDatePicker" id="_inoLastchangeto" name="_inoLastchangeto" value="${params._inoLastchangeto}"/>
- </td>
- <td valign='middle' class='name'>
- <g:checkBox name="_inoDel" value="${params._inoDel=='on'}" />
- </td>
- <td valign='middle' class='name'>
- <label for='_inoDel'><g:message code="search.all" default="Search all" /></label>
- </td>
- <td valign='middle' class='value' >
- <input class="save" type="submit" value="${message(code:'search', 'default':'Search')}"></input>
- </td>
- <td valign='middle' class='value'>
- </td>
- </tr>
- </div>
- </table>
- </g:form>
- <div class="list">
- <br>
- <table>
- <thead>
- <tr>
-
-
- <g:sortableColumn property="inoId" title="Ino Id" titleKey="inovice.inoId" params="${[_inoBuyname:params._inoBuyname,_inoBuycompany:params._inoBuycompany,_inoCargoname:params._inoCargoname,_inoLastchangefrom:params._inoLastchangefrom,_inoLastchangeto:params._inoLastchangeto,_inoDel:params._inoDel,max:params.max,offset:params.offset]}"/>
-
- <g:sortableColumn property="inoBuyname" title="Ino Buyname" titleKey="inovice.inoBuyname" params="${[_inoBuyname:params._inoBuyname,_inoBuycompany:params._inoBuycompany,_inoCargoname:params._inoCargoname,_inoLastchangefrom:params._inoLastchangefrom,_inoLastchangeto:params._inoLastchangeto,_inoDel:params._inoDel,max:params.max,offset:params.offset]}"/>
-
- <g:sortableColumn property="inoBuycompany" title="Ino Buycompany" titleKey="inovice.inoBuycompany" params="${[_inoBuyname:params._inoBuyname,_inoBuycompany:params._inoBuycompany,_inoCargoname:params._inoCargoname,_inoLastchangefrom:params._inoLastchangefrom,_inoLastchangeto:params._inoLastchangeto,_inoDel:params._inoDel,max:params.max,offset:params.offset]}"/>
-
- <g:sortableColumn property="inoBuytel" title="Ino Buytel" titleKey="inovice.inoBuytel" params="${[_inoBuyname:params._inoBuyname,_inoBuycompany:params._inoBuycompany,_inoCargoname:params._inoCargoname,_inoLastchangefrom:params._inoLastchangefrom,_inoLastchangeto:params._inoLastchangeto,_inoDel:params._inoDel,max:params.max,offset:params.offset]}"/>
-
- <g:sortableColumn property="inoBuyaddress" title="Ino Buyaddress" titleKey="inovice.inoBuyaddress" params="${[_inoBuyname:params._inoBuyname,_inoBuycompany:params._inoBuycompany,_inoCargoname:params._inoCargoname,_inoLastchangefrom:params._inoLastchangefrom,_inoLastchangeto:params._inoLastchangeto,_inoDel:params._inoDel,max:params.max,offset:params.offset]}"/>
- <g:sortableColumn property="inoCargoname" title="Ino Cargoname" titleKey="inovice.inoCargoname" params="${[_inoBuyname:params._inoBuyname,_inoBuycompany:params._inoBuycompany,_inoCargoname:params._inoCargoname,_inoLastchangefrom:params._inoLastchangefrom,_inoLastchangeto:params._inoLastchangeto,_inoDel:params._inoDel,max:params.max,offset:params.offset]}"/>
- <g:sortableColumn property="inoDel" title="Ino Del" titleKey="inovice.inoDel" params="${[_inoBuyname:params._inoBuyname,_inoBuycompany:params._inoBuycompany,_inoCargoname:params._inoCargoname,_inoLastchangefrom:params._inoLastchangefrom,_inoLastchangeto:params._inoLastchangeto,_inoDel:params._inoDel,max:params.max,offset:params.offset]}"/>
- </tr>
- </thead>
- <tbody>
- <g:each in="${inoviceList}" status="i" var="inovice">
- <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
-
- <td><g:link action="show" id="${inovice.id}" params="${[_inoBuyname:params._inoBuyname,_inoBuycompany:params._inoBuycompany,_inoCargoname:params._inoCargoname,_inoLastchangefrom:params._inoLastchangefrom,_inoLastchangeto:params._inoLastchangeto,_inoDel:params._inoDel,max:params.max,sort:params.sort,offset:params.offset,order:params.order]}">${inovice.inoId?.encodeAsHTML()}</g:link></td>
-
- <td>${inovice.inoBuyname?.encodeAsHTML()}</td>
-
- <td>${inovice.inoBuycompany?.encodeAsHTML()}</td>
-
- <td>${inovice.inoBuytel?.encodeAsHTML()}</td>
-
- <td>${inovice.inoBuyaddress?.encodeAsHTML()}</td>
- <td>${inovice.inoCargoname?.encodeAsHTML()}</td>
- <td><g:delState del="${inovice.inoDel}"/></td>
-
- </tr>
- </g:each>
- <% index = inoviceList.size() %>
- <g:while test="${index < 10}">
- <% index++ %>
- <tr class="${(index % 2) == 1 ? 'odd' : 'even'}">
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </g:while>
- </tbody>
- </table>
- </div>
- <div class="paginateButtons">
- <g:paginate total="${Inovice.count()}" params="${[_inoBuyname:params._inoBuyname,_inoBuycompany:params._inoBuycompany,_inoCargoname:params._inoCargoname,_inoLastchangefrom:params._inoLastchangefrom,_inoLastchangeto:params._inoLastchangeto,_inoDel:params._inoDel]}"/>
- </div>
- </div>
- </body>
- </html>