jobqiangdan32/WebRoot/web/pages/Bill/bill.jsp
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head id="Head1">
<%@ include file="/web/common/common.jsp" %>
<script type="text/javascript">
$(function () {
$('#grid1').datagrid({
title: '订单列表',
nowrap: false,
striped: true,
fit: true,
url: "<%=__APP__%>/Bill!getList",
idField: 'id',
pagination: true,
rownumbers: true,
pageSize: 10,
pageNumber: 1,
singleSelect: true,
fitColumns: true,
pageList: [10, 20, 50, 100, 200, 300, 500, 1000],
sortName: 'id',
sortOrder: 'desc',
onLoadSuccess:function(){
var rows = $('#grid1').datagrid('getRows');//获取当前的数据行
var total = 0;
for (var i = 0; i < rows.length; i++) {
total += rows[i]['total']*1;
}
$("#shouyi").text("总酬金:"+total+"元");
},
columns: [
[
//{field: 'ck', checkbox: true},
{title: '订单编号', width: 50, field: 'id', sortable: true},
{title: '名称', width: 300, field: 'gnames', sortable: true},
//{title: '订单方式', width: 100, field: 'way', sortable: true},
{title: '总价', width: 100, field: 'total', sortable: true},
{title: '用户id', width: 50, field: 'uid',sortable: true},
{title: '电话', width: 50, field: 'tel',sortable: true},
{title: '备注', width: 200, field: 'note',sortable: true},
{title: '时间', width: 100, field: 'ndate',sortable: true},
{title: '催单状态', width: 100, field: 'cuidan',sortable: true},
{title: '状态', width: 200, field: 'statecn',sortable: true}
]
]
, toolbar: [
/* {
text: '新增',
id: "tooladd",
disabled: false,
iconCls: 'icon-add',
handler: function () {
后面还有 226 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。