| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <%@ 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,autocomplete"></t:base>
- <script type="text/javascript">
- //编写自定义JS代码
- </script>
- </head>
- <body>
- <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="clothingController.do?doUpdate" beforeSubmit="beforeSubmit">
- <input id="id" name="id" type="hidden" value="${clothingPage.id }"/>
- <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="name" name="name" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" value='${clothingPage.name}'/>
- <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">
- <t:dictSelect field="type" type="list" datatype="*" typeGroupCode="clothingtype" defaultVal="${clothingPage.type}" hasLabel="false" title="款式" ></t:dictSelect>
- <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">
- <t:dictSelect field="clothingusertype" type="list" datatype="*" typeGroupCode="clothingusertype" defaultVal="${clothingPage.clothingusertype}" hasLabel="false" title="使用人类别" ></t:dictSelect>
- <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="price" name="price" type="text" style="width: 150px" class="inputxt" value="${clothingPage.price}" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/"
- onKeyUp="this.value=this.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')" ignore="checked" />
- <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">
- <t:dictSelect id="unit" field="unit" type="list" datatype="*" typeGroupCode="metering_calcu_unit" defaultVal="${clothingPage.unit}" hasLabel="false" title="单位" ></t:dictSelect>
- <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">
- <t:autocomplete entityName="RelatedUnitsEntity" name="providername"
- searchField="unitName" labelField="unitName" valueField="id" hiddenInputId="providerid" width="300"
- scrollWidth="400" scrollHeight="400" defValue="${clothingPage.providername}"></t:autocomplete>
- <input id="providerid" name="providerid" type="hidden" value="${clothingPage.providerid }" />
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">供应商</label>
- </td>
- </tr>
- </table>
- <div style="width: 690px; height: 1px;"></div>
- <t:tabs id="tt" iframe="false" tabPosition="top" fit="false">
- <t:tab href="clothingController.do?tBRelatedUnitPriceInfoList&id=${clothingPage.id}" icon="icon-search" title="供应商价格表" id="relatedUnitsPrices"></t:tab>
- </t:tabs>
- </t:formvalid>
- <table style="display:none" id="add_relatedUnitsContacts_table">
- <tbody id="add_tBRelatedUnitPriceInfo_table_template">
- <tr>
- <td align="center"><div style="width: 35px;" name="xh"></div></td>
- <td align="center"><input style="width:35px;" type="checkbox" name="ck"/>
- <input name="tBRelatedUnitPriceInfoList[#index#].relatedunitid" type="hidden"/>
- </td>
- <td align="left">
- <input name="tBRelatedUnitPriceInfoList[#index#].relatedunitname" maxlength="32"
- type="text" class="inputxt" style="width:240px;" >
- <label class="Validform_label" style="display: none;">供应商</label>
- </td>
- <td align="left">
- <t:dictSelect field="tBRelatedUnitPriceInfoList[#index#].meteringUnit" type="list" extendJson="{class:'form-control',style:'width:120px'}"
- typeGroupCode="metering_calcu_unit" defaultVal="" hasLabel="false" title="计量单位" datatype="*"></t:dictSelect>
- <label class="Validform_label" style="display: none;">计量单位</label>
- </td>
- <td align="left">
- <input name="tBRelatedUnitPriceInfoList[#index#].retailPrice" maxlength="50" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/"
- type="text" class="inputxt" style="width:120px;" >
- <label class="Validform_label" style="display: none;">采购单价</label>
- </td>
- <td align="left">
- <input name="tBRelatedUnitPriceInfoList[#index#].setPrice1" maxlength="11" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/"
- type="text" class="inputxt" style="width:120px;" >
- <label class="Validform_label" style="display: none;">对外报价</label>
- </td>
- </tr>
- </tbody>
- </table>
- </body>
- <script src = "webpage/cn/com/lzt/clothing/base/clothing.js"></script>
|