zhuguifei
2026-03-10 58402bd5e762361363a0f7d7907153c77dbb819f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script type="text/javascript" src="${pageContext.request.contextPath}/pms/pub/combobox/comboboxUtil.js" charset="utf-8"></script>
<script type="text/javascript">
 
    $.loadComboboxData($("#matprod"),"MATPROD",false);
 
</script>
<!--新增编辑  -->
<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'center',border:false" title="" style="overflow: hidden;padding:5px">
        <form id="form" method="post">
            <fieldset>
                <legend>基本信息</legend>
                <table class="table" style="width: 100%;">
                    <tr>
                        <th>品名</th>
                        <td>
                            <input type="hidden" name="id" value="${bean.id}"/>
                            <input id="matprod" name="procId" 
                            data-options="panelHeight:'auto',width:176,editable:false,required:true" 
                            value="${bean.procId}" maxlength="50" />
                        </td>
                        <th>编号</th>
                        <td>
                            <input value="${bean.prodNumber}" type="text"
                            name="prodNumber" class="easyui-validatebox"
                            onkeyup="value=value.replace(/[^\a-zA-Z0-9\_-]/g,'')"
                            data-options="required:true" maxlength="50" />
                        </td>
                    </tr>
                    <tr>
                        <th>产品标题</th>
                        <td colspan="3">
                            <input value="${bean.prodName}" type="text" name="prodName"
                            class="easyui-validatebox" data-options="required:true,width:438" maxlength="50"/>
                        </td>
                            
                        <th style="display:none;">是否启用</th>
                        <td style="display:none;">
                            <select name="prodStop" class="easyui-combobox fselect" 
                            data-options="panelHeight:'auto',width:176,editable:false,required:true">
                                <option value="0" <c:if test="${bean.prodStop=='0'}">selected="selected"</c:if>>启用</option>
                                <option value="1" <c:if test="${bean.prodStop=='1'}">selected="selected"</c:if> >禁用</option>
                            </select>
                        </td>        
                    </tr>    
                    <tr>
                        <th>内容描述</th>
                        <td colspan="3">
                            <textarea style="width:432px;height:60px;resize:none" 
                            name="prodContent"  maxlength="1000" >${bean.prodContent}</textarea>
                        </td>
                    </tr>            
                </table>
            </fieldset>
        </form>
    </div>
</div>