WebRoot/jsp/order/productEdit.jsp
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<%@ include file="/common/meta.jsp"%>
<SCRIPT LANGUAGE=javascript>
function valid(tform){
var name = tform.name;
var price = tform.price;
if(name.value.length==0){
alert("名称不能为空");
name.focus();
return false;
}else if(price.value.length==0){
alert("金额不能为空");
price.focus();
return false;
}else{
tform.submit();
}
}
</script>
</head>
<body>
<div class="f6Page" id="f6Page" style="float:left;width:99%;">
<div class="FP_toolBar" id="FP_toolBar" uic="toolbar">
<div class="pageTitle" id="pageTitle">信息维护</div>
<div class="buttonBar" style="margin-top: 15px;">
<a href="#" onclick="valid(document.forms.gz1);"><button><span class="icon_save">保存</span></button></a>
<a href="#" onclick="window.history.go(-1);"><button><span class="icon_back">返回</span></button></a>
</div>
</div>
<div class="FP_pagecontent">
<form id="gz1" name="gz1" enctype="multipart/form-data" action="<%=request.getContextPath()%>/order.do?method=productSave" method="post" >
<span style="color: red">${mess }</span>
<table cellspacing="0" cellpadding="0" class="FP_containerDetailM1">
<input type="hidden" name="id" id="id" value = "${obj.id }"/>
<tr>
<td class="FP_th"><label>名称:<span style="color:red;">*</span></label></td>
<td class="FP_content">
<input type="text" name="name" id="name" value="${obj.name}" />
</td>
</tr>
<tr>
<td class="FP_th"><label>类型:</label></td>
<td class="FP_content">
<select name="productType">
<c:forEach items="${typeList}" var="type" >
<option value="${type.id}" ${obj.productType.id==type.id?'selected':'' }>${type.name }</option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<td class="FP_th"><label>保险:</label></td>
<td class="FP_content">
后面还有 54 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
