产品熟悉
parent
ca37ce49dd
commit
a7aa20f9fb
|
@ -0,0 +1,57 @@
|
||||||
|
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||||
|
<%@include file="/context/mytags.jsp"%>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>产品属性</title>
|
||||||
|
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
|
||||||
|
<script type="text/javascript">
|
||||||
|
//编写自定义JS代码
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="baGoodsTypeController.do?doAdd" >
|
||||||
|
<input id="id" name="id" type="hidden" value="${baGoodsTypePage.id }"/>
|
||||||
|
<input id="createName" name="createName" type="hidden" value="${baGoodsTypePage.createName }"/>
|
||||||
|
<input id="createBy" name="createBy" type="hidden" value="${baGoodsTypePage.createBy }"/>
|
||||||
|
<input id="createDate" name="createDate" type="hidden" value="${baGoodsTypePage.createDate }"/>
|
||||||
|
<input id="updateName" name="updateName" type="hidden" value="${baGoodsTypePage.updateName }"/>
|
||||||
|
<input id="updateBy" name="updateBy" type="hidden" value="${baGoodsTypePage.updateBy }"/>
|
||||||
|
<input id="updateDate" name="updateDate" type="hidden" value="${baGoodsTypePage.updateDate }"/>
|
||||||
|
<input id="sysOrgCode" name="sysOrgCode" type="hidden" value="${baGoodsTypePage.sysOrgCode }"/>
|
||||||
|
<input id="sysCompanyCode" name="sysCompanyCode" type="hidden" value="${baGoodsTypePage.sysCompanyCode }"/>
|
||||||
|
<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
|
||||||
|
<tr>
|
||||||
|
<td align="right">
|
||||||
|
<label class="Validform_label">
|
||||||
|
产品属性编码:
|
||||||
|
</label>
|
||||||
|
</td>
|
||||||
|
<td class="value">
|
||||||
|
<input id="goodsTypeCode" name="goodsTypeCode" type="text" style="width: 150px" class="inputxt"
|
||||||
|
|
||||||
|
ignore="ignore"
|
||||||
|
/>
|
||||||
|
<span class="Validform_checktip"></span>
|
||||||
|
<label class="Validform_label" style="display: none;">产品属性编码</label>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right">
|
||||||
|
<label class="Validform_label">
|
||||||
|
产品属性名称:
|
||||||
|
</label>
|
||||||
|
</td>
|
||||||
|
<td class="value">
|
||||||
|
<input id="goodsTypeName" name="goodsTypeName" type="text" style="width: 150px" class="inputxt"
|
||||||
|
|
||||||
|
ignore="ignore"
|
||||||
|
/>
|
||||||
|
<span class="Validform_checktip"></span>
|
||||||
|
<label class="Validform_label" style="display: none;">产品属性名称</label>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</t:formvalid>
|
||||||
|
</body>
|
||||||
|
<script src = "webpage/com/zzjee/ba/baGoodsType.js"></script>
|
|
@ -0,0 +1,55 @@
|
||||||
|
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||||
|
<%@include file="/context/mytags.jsp"%>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>产品属性</title>
|
||||||
|
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
|
||||||
|
<script type="text/javascript">
|
||||||
|
//编写自定义JS代码
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="baGoodsTypeController.do?doUpdate" >
|
||||||
|
<input id="id" name="id" type="hidden" value="${baGoodsTypePage.id }">
|
||||||
|
<input id="createName" name="createName" type="hidden" value="${baGoodsTypePage.createName }">
|
||||||
|
<input id="createBy" name="createBy" type="hidden" value="${baGoodsTypePage.createBy }">
|
||||||
|
<input id="createDate" name="createDate" type="hidden" value="${baGoodsTypePage.createDate }">
|
||||||
|
<input id="updateName" name="updateName" type="hidden" value="${baGoodsTypePage.updateName }">
|
||||||
|
<input id="updateBy" name="updateBy" type="hidden" value="${baGoodsTypePage.updateBy }">
|
||||||
|
<input id="updateDate" name="updateDate" type="hidden" value="${baGoodsTypePage.updateDate }">
|
||||||
|
<input id="sysOrgCode" name="sysOrgCode" type="hidden" value="${baGoodsTypePage.sysOrgCode }">
|
||||||
|
<input id="sysCompanyCode" name="sysCompanyCode" type="hidden" value="${baGoodsTypePage.sysCompanyCode }">
|
||||||
|
<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
|
||||||
|
<tr>
|
||||||
|
<td align="right">
|
||||||
|
<label class="Validform_label">
|
||||||
|
产品属性编码:
|
||||||
|
</label>
|
||||||
|
</td>
|
||||||
|
<td class="value">
|
||||||
|
<input id="goodsTypeCode" name="goodsTypeCode" type="text" style="width: 150px" class="inputxt"
|
||||||
|
ignore="ignore"
|
||||||
|
value='${baGoodsTypePage.goodsTypeCode}'>
|
||||||
|
<span class="Validform_checktip"></span>
|
||||||
|
<label class="Validform_label" style="display: none;">产品属性编码</label>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right">
|
||||||
|
<label class="Validform_label">
|
||||||
|
产品属性名称:
|
||||||
|
</label>
|
||||||
|
</td>
|
||||||
|
<td class="value">
|
||||||
|
<input id="goodsTypeName" name="goodsTypeName" type="text" style="width: 150px" class="inputxt"
|
||||||
|
ignore="ignore"
|
||||||
|
value='${baGoodsTypePage.goodsTypeName}'>
|
||||||
|
<span class="Validform_checktip"></span>
|
||||||
|
<label class="Validform_label" style="display: none;">产品属性名称</label>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</t:formvalid>
|
||||||
|
</body>
|
||||||
|
<script src = "webpage/com/zzjee/ba/baGoodsType.js"></script>
|
|
@ -0,0 +1,32 @@
|
||||||
|
|
||||||
|
|
||||||
|
//通用弹出式文件上传
|
||||||
|
function commonUpload(callback){
|
||||||
|
$.dialog({
|
||||||
|
content: "url:systemController.do?commonUpload",
|
||||||
|
lock : true,
|
||||||
|
title:"文件上传",
|
||||||
|
zIndex:2100,
|
||||||
|
width:700,
|
||||||
|
height: 200,
|
||||||
|
parent:windowapi,
|
||||||
|
cache:false,
|
||||||
|
ok: function(){
|
||||||
|
var iframe = this.iframe.contentWindow;
|
||||||
|
iframe.uploadCallback(callback);
|
||||||
|
return true;
|
||||||
|
},
|
||||||
|
cancelVal: '关闭',
|
||||||
|
cancel: function(){
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function browseImages(inputId, Img) {// 图片管理器,可多个上传共用
|
||||||
|
}
|
||||||
|
function browseFiles(inputId, file) {// 文件管理器,可多个上传共用
|
||||||
|
}
|
||||||
|
function decode(value, id) {//value传入值,id接受值
|
||||||
|
var last = value.lastIndexOf("/");
|
||||||
|
var filename = value.substring(last + 1, value.length);
|
||||||
|
$("#" + id).text(decodeURIComponent(filename));
|
||||||
|
}
|
|
@ -0,0 +1,52 @@
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||||
|
<%@include file="/context/mytags.jsp"%>
|
||||||
|
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
|
||||||
|
<div class="easyui-layout" fit="true">
|
||||||
|
<div region="center" style="padding:0px;border:0px">
|
||||||
|
<t:datagrid name="baGoodsTypeList" checkbox="false" pagination="true" fitColumns="false" title="产品属性" actionUrl="baGoodsTypeController.do?datagrid" idField="id" fit="true" queryMode="group">
|
||||||
|
<t:dgCol title="主键" field="id" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="创建人名称" field="createName" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="创建日期" field="createDate" formatter="yyyy-MM-dd" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="更新人名称" field="updateName" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="更新人登录名称" field="updateBy" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="更新日期" field="updateDate" formatter="yyyy-MM-dd" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="所属部门" field="sysOrgCode" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="所属公司" field="sysCompanyCode" hidden="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="产品属性编码" field="goodsTypeCode" query="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="产品属性名称" field="goodsTypeName" query="true" queryMode="single" width="120"></t:dgCol>
|
||||||
|
<t:dgCol title="操作" field="opt" width="100"></t:dgCol>
|
||||||
|
<t:dgDelOpt title="删除" url="baGoodsTypeController.do?doDel&id={id}" urlclass="ace_button" urlfont="fa-trash-o"/>
|
||||||
|
<t:dgToolBar title="录入" icon="icon-add" url="baGoodsTypeController.do?goAdd" funname="add"></t:dgToolBar>
|
||||||
|
<t:dgToolBar title="编辑" icon="icon-edit" url="baGoodsTypeController.do?goUpdate" funname="update"></t:dgToolBar>
|
||||||
|
<t:dgToolBar title="批量删除" icon="icon-remove" url="baGoodsTypeController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
|
||||||
|
<t:dgToolBar title="查看" icon="icon-search" url="baGoodsTypeController.do?goUpdate" funname="detail"></t:dgToolBar>
|
||||||
|
<t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>
|
||||||
|
<t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
|
||||||
|
<t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar>
|
||||||
|
</t:datagrid>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script src = "webpage/com/zzjee/ba/baGoodsTypeList.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function(){
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//导入
|
||||||
|
function ImportXls() {
|
||||||
|
openuploadwin('Excel导入', 'baGoodsTypeController.do?upload', "baGoodsTypeList");
|
||||||
|
}
|
||||||
|
|
||||||
|
//导出
|
||||||
|
function ExportXls() {
|
||||||
|
JeecgExcelExport("baGoodsTypeController.do?exportXls","baGoodsTypeList");
|
||||||
|
}
|
||||||
|
|
||||||
|
//模板下载
|
||||||
|
function ExportXlsByT() {
|
||||||
|
JeecgExcelExport("baGoodsTypeController.do?exportXlsByT","baGoodsTypeList");
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
Loading…
Reference in New Issue