tBGoodsInfo-update.jsp 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html lang="zh-CN">
  5. <head>
  6. <meta charset="utf-8">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  8. <title>货品信息</title>
  9. <t:base type="jquery,easyui,tools"></t:base>
  10. <meta name="description" content="">
  11. <meta name="viewport" content="width=device-width, initial-scale=1">
  12. <link rel="stylesheet" href="online/template/ledefault/css/vendor.css">
  13. <link rel="stylesheet" href="online/template/ledefault/css/bootstrap-theme.css">
  14. <link rel="stylesheet" href="online/template/ledefault/css/bootstrap.css">
  15. <link rel="stylesheet" href="online/template/ledefault/css/app.css">
  16. <link rel="stylesheet" href="plug-in/Validform/css/metrole/style.css" type="text/css"/>
  17. <link rel="stylesheet" href="plug-in/Validform/css/metrole/tablefrom.css" type="text/css"/>
  18. <script type="text/javascript" src="plug-in/jquery/jquery-1.9.0.js"></script>
  19. <script type="text/javascript" src="plug-in/tools/dataformat.js"></script>
  20. <script type="text/javascript" src="plug-in/easyui/jquery.easyui.min.1.3.2.js"></script>
  21. <script type="text/javascript" src="plug-in/easyui/locale/zh-cn.js"></script>
  22. <script type="text/javascript" src="plug-in/tools/syUtil.js"></script>
  23. <script type="text/javascript" src="plug-in/My97DatePicker/WdatePicker.js"></script>
  24. <script type="text/javascript" src="plug-in/lhgDialog/lhgdialog.min.js"></script>
  25. <script type="text/javascript" src="plug-in/tools/curdtools_zh-cn.js"></script>
  26. <script type="text/javascript" src="plug-in/tools/easyuiextend.js"></script>
  27. <script type="text/javascript" src="plug-in/Validform/js/Validform_v5.3.1_min_zh-cn.js"></script>
  28. <script type="text/javascript" src="plug-in/Validform/js/Validform_Datatype_zh-cn.js"></script>
  29. <script type="text/javascript" src="plug-in/Validform/js/datatype_zh-cn.js"></script>
  30. <script type="text/javascript" src="plug-in/Validform/plugin/passwordStrength/passwordStrength-min.js"></script>
  31. <link rel="stylesheet" href="plug-in/uploadify/css/uploadify.css" type="text/css"></link>
  32. <script type="text/javascript" src="plug-in/uploadify/jquery.uploadify-3.1.js"></script>
  33. <link rel="stylesheet" href="plug-in/umeditor/themes/default/css/umeditor.css" type="text/css"></link>
  34. <script type="text/javascript" src="plug-in/umeditor/umeditor.config.js"></script>
  35. <script type="text/javascript" src="plug-in/umeditor/umeditor.min.js"></script>
  36. <script type="text/javascript" src="plug-in/umeditor/lang/zh-cn/zh-cn.js"></script>
  37. <script src="${webBasePath}/webpage/cn/com/lzt/useractiviti/select_user_tools.js"></script>
  38. </head>
  39. <script type="text/javascript">
  40. $(function() {
  41. var selfId = "";
  42. $('#cc').combotree({
  43. url : 'tBGoodsCategoryController.do?setPGoodsCategory&selfId=' + selfId,
  44. width: 317.25,
  45. onSelect : function(node) {
  46. //此三类货品默认值有变化
  47. if(node.text == '固定资产' || node.text == '应急采购' || node.text == '其他'){
  48. isGDZC = true;
  49. //$('#jform_tab').hide();
  50. var trList = $("#add_tBPriceInfo_table").children("tr");
  51. for(var row = 0;row < trList.length;row++){
  52. trList.eq(row).remove();
  53. }
  54. newPrice();
  55. }else{
  56. isGDZC = false;
  57. //$('#jform_tab').show();
  58. }
  59. if(node.text == '固定资产'){
  60. //设置固定资产类型必输项
  61. $("#propertytype").attr("datatype","*").attr("nullmsg","请选择!");
  62. $("#gdzcnullflag").show();
  63. $("#propertytype").show();
  64. $("#gdzctypediv").show();
  65. }else{
  66. $("#propertytype").removeAttr("datatype").removeAttr("nullmsg");
  67. $("#gdzcnullflag").hide();
  68. $("#propertytype").hide();
  69. $("#propertytype").val("");
  70. $("#gdzctypediv").hide();
  71. }
  72. }
  73. });
  74. //if('${empty pid}' == 'false') { // 设置新增页面时的父级
  75. //$('#cc').combotree('setValue', '${pid}');
  76. //}
  77. });
  78. $(document).ready(function(){
  79. init();
  80. $("#jform_tab .con-wrapper").hide(); //Hide all tab content
  81. $("#jform_tab li:first").addClass("active").show(); //Activate first tab
  82. $("#jform_tab .con-wrapper:first").show(); //Show first tab content
  83. //On Click Event
  84. $("#jform_tab li").click(function() {
  85. $("#jform_tab li").removeClass("active"); //Remove any "active" class
  86. $(this).addClass("active"); //Add "active" class to selected tab
  87. $("#jform_tab .con-wrapper").hide(); //Hide all tab content
  88. var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
  89. $(activeTab).fadeIn(); //Fade in the active content
  90. //$(""+activeTab).show();
  91. if( $(activeTab).html()!="") {
  92. return false;
  93. }else{
  94. $(activeTab).html('正在加载内容,请稍后...');
  95. var url = $(this).attr("tab-ajax-url");
  96. $.post(url, {}, function(data) {
  97. //$(this).attr("tab-ajax-cached", true);
  98. $(activeTab).html(data);
  99. });
  100. }
  101. return false;
  102. });
  103. });
  104. //初始化下标
  105. /* function resetTrNum(tableId) {
  106. $tbody = $("#"+tableId+"");
  107. $tbody.find('>tr').each(function(i){
  108. $(':input, select', this).each(function(){
  109. var $this = $(this), name = $this.attr('name'), val = $this.val();
  110. if(name!=null){
  111. if (name.indexOf("#index#") >= 0){
  112. $this.attr("name",name.replace('#index#',i));
  113. }else{
  114. var s = name.indexOf("[");
  115. var e = name.indexOf("]");
  116. var new_name = name.substring(s+1,e);
  117. $this.attr("name",name.replace(new_name,i));
  118. }
  119. }
  120. });
  121. $(this).find('div[name=\'xh\']').html(i+1);
  122. });
  123. } */
  124. function init(){
  125. var tabHead =$("#jform_tab li:first");
  126. var tabBox = $("#jform_tab .con-wrapper:first");
  127. var url = tabHead.attr("tab-ajax-url");
  128. tabBox.html('正在加载内容,请稍后...');
  129. $.post(url, {}, function(data) {
  130. tabBox.html(data);
  131. //tabHead.attr("tab-ajax-cached", true);
  132. });
  133. }
  134. function openRelatedSelect() {
  135. selectRelatedUnit(function(selectedRows){
  136. var one = selectedRows[0];
  137. var supplierId = one.id;
  138. var supplierName = one.unitName;
  139. $('#defaultProvider').val(supplierId);
  140. $('#defaultProviderTxt').val(supplierName);
  141. });
  142. }
  143. </script>
  144. <body>
  145. <form id="formobj" action="tBGoodsInfoController.do?doUpdate" name="formobj" method="post"><input type="hidden" id="btn_sub" class="btn_sub"/>
  146. <input type="hidden" id="btn_sub" class="btn_sub"/>
  147. <input type="hidden" name="id" value='${tBGoodsInfoPage.id}' >
  148. <input type="hidden" name="createName" value='${tBGoodsInfoPage.createName}' >
  149. <input type="hidden" name="createBy" value='${tBGoodsInfoPage.createBy}' >
  150. <input type="hidden" name="createDate" value='${tBGoodsInfoPage.createDate}' >
  151. <input type="hidden" name="status" value='${tBGoodsInfoPage.status}' >
  152. <input type="hidden" name="deleteFlag" value='${tBGoodsInfoPage.deleteFlag}' >
  153. <div class="tab-wrapper">
  154. <!-- tab -->
  155. <ul class="nav nav-tabs">
  156. <li role="presentation" class="active"><a href="javascript:void(0);">货品信息</a></li>
  157. </ul>
  158. <!-- tab内容 -->
  159. <div class="con-wrapper" style="display: block;">
  160. <div class="row form-wrapper">
  161. <div class="row show-grid">
  162. <div class="col-xs-3 text-center">
  163. <span color="red" class="requiredIcon">*</span><b>货品名称:</b>
  164. </div>
  165. <div class="col-xs-3">
  166. <input id="goodsName" name="goodsName" type="text" class="form-control" value='${tBGoodsInfoPage.goodsName}' maxlength="20" datatype="s1-20">
  167. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  168. <label class="Validform_label" style="display: none">货品名称</label>
  169. </div>
  170. <div class="col-xs-3 text-center">
  171. <b>规格型号:</b>
  172. </div>
  173. <div class="col-xs-3">
  174. <input id="specification" name="specification" type="text" class="form-control" value='${tBGoodsInfoPage.specification}' maxlength="20"ignore="ignore">
  175. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  176. <label class="Validform_label" style="display: none">规格型号</label>
  177. </div>
  178. </div>
  179. <div class="row show-grid">
  180. <div class="col-xs-3 text-center">
  181. <span color="red" class="requiredIcon">*</span><b>所属分类:</b>
  182. </div>
  183. <div class="col-xs-3">
  184. <%-- <t:dictSelect field="belongCategory" type="list" extendJson="{class:'form-control',style:'width:150px'}"
  185. dictTable="t_b_goods_category" dictField="id" dictText="category_name" defaultVal="${tBGoodsInfoPage.belongCategory}" hasLabel="false" title="所属分类"></t:dictSelect> --%>
  186. <input id="cc" name="belongCategory" value="${tBGoodsInfoPage.belongCategory}">
  187. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  188. <label class="Validform_label" style="display: none">所属分类</label>
  189. </div>
  190. <div class="col-xs-3 text-center">
  191. <b>品牌:</b>
  192. </div>
  193. <div class="col-xs-3">
  194. <input id="brand" name="brand" type="text" class="form-control" value='${tBGoodsInfoPage.brand}' maxlength="20" datatype="s1-20" ignore="ignore">
  195. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  196. <label class="Validform_label" style="display: none">品牌</label>
  197. </div>
  198. </div>
  199. <!-- 未知规格型号货品编辑 -->
  200. <c:if test="${tBGoodsInfoPage.belongCategory != 'ff8080816aaeea68016ad3f390370ee1'}">
  201. <div class="row show-grid">
  202. <div class="col-xs-3 text-center">
  203. <span color="red" class="requiredIcon">*</span><b>默认供应商:</b>
  204. </div>
  205. <div class="col-xs-3">
  206. <%--defaultProvider--%><%--defaultVal="${tBGoodsInfoPage.defaultProvider}"--%>
  207. <input type="hidden" name="defaultProvider" id="defaultProvider" value="${tBGoodsInfoPage.defaultProvider}" datatype="*"/>
  208. <input type="text" name="defaultProviderTxt" id="defaultProviderTxt" value="${relatedUnitsEntity.unitName}" readonly="readonly"
  209. onclick="openRelatedSelect()" class="form-control" style="background:#ffffff"/>
  210. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  211. <label class="Validform_label" style="display: none">默认供应商</label>
  212. </div>
  213. </c:if>
  214. <div class="col-xs-3 text-center">
  215. <span color="red" class="requiredIcon">*</span><b>基本单位:</b>
  216. </div>
  217. <div class="col-xs-3">
  218. <t:dictSelect field="baseUnit" type="list" extendJson="{class:'form-control',style:'width:150px'}"
  219. typeGroupCode="metering_calcu_unit" defaultVal="${tBGoodsInfoPage.baseUnit}" hasLabel="false" title="基本单位" datatype="*"></t:dictSelect>
  220. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  221. <label class="Validform_label" style="display: none">基本单位</label>
  222. </div>
  223. </div>
  224. <div class="row show-grid">
  225. <div class="col-xs-3 text-center">
  226. <span color="red" class="requiredIcon">*</span><b>采购时默认计量单位:</b>
  227. </div>
  228. <div class="col-xs-3">
  229. <t:dictSelect id="purchaseUnit" field="purchaseUnit" type="list" extendJson="{class:'form-control',style:'width:150px'}"
  230. typeGroupCode="metering_calcu_unit" defaultVal="${tBGoodsInfoPage.purchaseUnit}" hasLabel="false" title="采购单位" datatype="*"></t:dictSelect>
  231. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  232. <label class="Validform_label" style="display: none">采购单位</label>
  233. </div>
  234. <div class="col-xs-3 text-center">
  235. <span color="red" class="requiredIcon">*</span> <b>申购时默认计量单位:</b>
  236. </div>
  237. <div class="col-xs-3">
  238. <t:dictSelect id="salesUnit" field="salesUnit" type="list" extendJson="{class:'form-control',style:'width:150px'}"
  239. typeGroupCode="metering_calcu_unit" defaultVal="${tBGoodsInfoPage.salesUnit}" hasLabel="false" title="申购单位" datatype="*"></t:dictSelect>
  240. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  241. <label class="Validform_label" style="display: none">申购单位</label>
  242. </div>
  243. </div>
  244. <div class="row show-grid">
  245. <div class="col-xs-3 text-center" style="display: none">
  246. <b>货品编码:</b>
  247. </div>
  248. <div class="col-xs-3" style="display: none">
  249. <input id="goodsCode" name="goodsCode" type="text" class="form-control" value='${tBGoodsInfoPage.goodsCode}' readonly="readonly">
  250. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  251. <label class="Validform_label" style="display: none">货品编码</label>
  252. </div>
  253. <div class="col-xs-3 text-center">
  254. <b>货品描述:</b>
  255. </div>
  256. <div class="col-xs-3">
  257. <textarea id="goodsDesc" class="form-control" rows="6" name="goodsDesc" maxlength="100">${tBGoodsInfoPage.goodsDesc}</textarea>
  258. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  259. <label class="Validform_label" style="display: none">货品描述</label>
  260. </div>
  261. <div id="gdzctypediv" class="col-xs-3 text-center">
  262. <font id="gdzcnullflag" color="red" style="display: none;">* </font> <b>固定资产类型:</b>
  263. </div>
  264. <div class="col-xs-3">
  265. <t:dictSelect id="propertytype" field="propertytype" type="list" extendJson="{class:'form-control',style:'width:150px'}"
  266. typeGroupCode="propertytype" hasLabel="false" title="固定资产类型" ></t:dictSelect>
  267. <span class="Validform_checktip" style="float:left;height:0px;"></span>
  268. <label class="Validform_label" style="display: none">固定资产类型</label>
  269. </div>
  270. </div>
  271. </div>
  272. </div>
  273. <div class="con-wrapper" style="display: block;"></div>
  274. </div>
  275. <script type="text/javascript">
  276. $(function(){
  277. //查看模式情况下,删除和上传附件功能禁止使用
  278. if(location.href.indexOf("load=detail")!=-1){
  279. $(".jeecgDetail").hide();
  280. }
  281. if(location.href.indexOf("mode=read")!=-1){
  282. //查看模式控件禁用
  283. $("#formobj").find(":input").attr("disabled","disabled");
  284. }
  285. if(location.href.indexOf("mode=onbutton")!=-1){
  286. //其他模式显示提交按钮
  287. $("#sub_tr").show();
  288. }
  289. });
  290. var neibuClickFlag = false;
  291. function neibuClick() {
  292. neibuClickFlag = true;
  293. $('#btn_sub').trigger('click');
  294. }
  295. </script>
  296. <div id="jform_tab" class="tab-wrapper">
  297. <!-- tab -->
  298. <ul class="nav nav-tabs">
  299. <!--<li role="presentation" tab-ajax-url="tBGoodsInfoController.do?tBStockInfoList&id=${tBGoodsInfoPage.id}"><a href="#con-wrapper0">库存信息</a></li>-->
  300. <li role="presentation" tab-ajax-url="tBGoodsInfoController.do?tBPriceInfoList&id=${tBGoodsInfoPage.id}"><a href="#con-wrapper0">价格信息</a></li>
  301. <li role="presentation" tab-ajax-url="tBGoodsInfoController.do?tBRelatedUnitPriceInfoList&id=${tBGoodsInfoPage.id}"><a href="#con-wrapper1">供应商信息</a></li>
  302. </ul>
  303. <div class="con-wrapper" id="con-wrapper0" style="display: none;"></div>
  304. <div class="con-wrapper" id="con-wrapper1" style="display: none;"></div>
  305. </div>
  306. <div align="center" id = "sub_tr" style="display: none;" > <input type="button" value="提交" onclick="neibuClick();" class="ui_state_highlight"></div>
  307. <script type="text/javascript">
  308. $(function() {
  309. $("#formobj").Validform({
  310. tiptype: 1,
  311. btnSubmit: "#btn_sub",
  312. btnReset: "#btn_reset",
  313. ajaxPost: true,
  314. beforeSubmit: function(curform) {
  315. var tag = true;
  316. //提交前处理
  317. return tag;
  318. },
  319. usePlugin: {
  320. passwordstrength: {
  321. minLen: 6,
  322. maxLen: 18,
  323. trigger: function(obj, error) {
  324. if (error) {
  325. obj.parent().next().find(".Validform_checktip").show();
  326. obj.find(".passwordStrength").hide();
  327. } else {
  328. $(".passwordStrength").show();
  329. obj.parent().next().find(".Validform_checktip").hide();
  330. }
  331. }
  332. }
  333. },
  334. callback: function(data) {
  335. if (data.success == true) {
  336. var win = frameElement.api.opener;
  337. win.reloadTable();
  338. win.tip(data.msg);
  339. frameElement.api.close();
  340. } else {
  341. if (data.responseText == '' || data.responseText == undefined) {
  342. $.messager.alert('错误', data.msg);
  343. $.Hidemsg();
  344. } else {
  345. try {
  346. var emsg = data.responseText.substring(data.responseText.indexOf('错误描述'), data.responseText.indexOf('错误信息'));
  347. $.messager.alert('错误', emsg);
  348. $.Hidemsg();
  349. } catch(ex) {
  350. $.messager.alert('错误', data.responseText + '');
  351. }
  352. }
  353. return false;
  354. }
  355. }
  356. });
  357. });
  358. </script>
  359. </form>
  360. <!-- 添加 产品明细 模版 -->
  361. <table style="display:none" id="add_tBRelatedUnitPriceInfo_table">
  362. <tbody id="add_tBRelatedUnitPriceInfo_table_template">
  363. <tr>
  364. <th scope="row"><div name="xh"></div></th>
  365. <td><input style="width:20px;" type="checkbox" name="ck"/>
  366. <input name="tBRelatedUnitPriceInfoList[#index#].relatedunitid" type="hidden"/>
  367. </td>
  368. <td align="left">
  369. <input name="tBRelatedUnitPriceInfoList[#index#].relatedunitname" maxlength="10"
  370. type="text" class="form-control" style="width:260px;" >
  371. <label class="Validform_label" style="display: none;">供应商</label>
  372. </td>
  373. <td align="left">
  374. <t:dictSelect field="tBRelatedUnitPriceInfoList[#index#].meteringUnit" type="list" extendJson="{class:'form-control',style:'width:150px'}"
  375. typeGroupCode="metering_calcu_unit" defaultVal="" hasLabel="false" title="计量单位" datatype="*"></t:dictSelect>
  376. <label class="Validform_label" style="display: none;">计量单位</label>
  377. </td>
  378. <td align="left">
  379. <input name="tBRelatedUnitPriceInfoList[#index#].retailPrice" maxlength="10"
  380. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/">
  381. <label class="Validform_label" style="display: none;">采购价格</label>
  382. </td>
  383. <td align="left">
  384. <input name="tBRelatedUnitPriceInfoList[#index#].setPrice1" maxlength="10"
  385. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/">
  386. <label class="Validform_label" style="display: none;">对外价格</label>
  387. </td>
  388. </tr>
  389. </tbody>
  390. </table>
  391. <table style="display:none" id="add_tBPriceInfo_table">
  392. <tbody id="add_tBPriceInfo_table_template">
  393. <tr>
  394. <th scope="row"><div name="xh"></div></th>
  395. <td><input style="width:20px;" type="checkbox" name="ck"/></td>
  396. <td align="left">
  397. <t:dictSelect field="tBPriceInfoList[#index#].meteringUnit" type="list" extendJson="{class:'form-control',style:'width:150px'}"
  398. typeGroupCode="metering_calcu_unit" defaultVal="" hasLabel="false" title="计量单位" datatype="*"></t:dictSelect>
  399. <label class="Validform_label" style="display: none;">计量单位</label>
  400. </td>
  401. <td align="left">
  402. <input name="tBPriceInfoList[#index#].conversion" maxlength="10"
  403. type="text" class="form-control" style="width:130px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/">
  404. <label class="Validform_label" style="display: none;">与基本单位换算</label>
  405. </td>
  406. <td align="left">
  407. <input name="tBPriceInfoList[#index#].retailPrice" maxlength="10"
  408. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/">
  409. <label class="Validform_label" style="display: none;">对外价格</label>
  410. </td>
  411. <td align="left">
  412. <input name="tBPriceInfoList[#index#].setPrice1" maxlength="10"
  413. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/">
  414. <label class="Validform_label" style="display: none;">采购价格</label>
  415. </td>
  416. <%-- <td align="left">
  417. <input name="tBPriceInfoList[#index#].setPrice2" maxlength="10"
  418. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/" ignore="ignore">
  419. <label class="Validform_label" style="display: none;">预设价格二</label>
  420. </td>
  421. <td align="left">
  422. <input name="tBPriceInfoList[#index#].setPrice3" maxlength="10"
  423. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/" ignore="ignore">
  424. <label class="Validform_label" style="display: none;">预设价格三</label>
  425. </td>
  426. <td align="left">
  427. <input name="tBPriceInfoList[#index#].setPrice4" maxlength="10"
  428. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/" ignore="ignore">
  429. <label class="Validform_label" style="display: none;">预设价格四</label>
  430. </td>
  431. <td align="left">
  432. <input name="tBPriceInfoList[#index#].setDiscount1" maxlength="10"
  433. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/">
  434. <label class="Validform_label" style="display: none;">预设折扣一</label>
  435. </td>
  436. <td align="left">
  437. <input name="tBPriceInfoList[#index#].setDiscount2" maxlength="10"
  438. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/" ignore="ignore">
  439. <label class="Validform_label" style="display: none;">预设折扣二</label>
  440. </td>
  441. <td align="left">
  442. <input name="tBPriceInfoList[#index#].setDiscount3" maxlength="10"
  443. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/" ignore="ignore">
  444. <label class="Validform_label" style="display: none;">预设折扣三</label>
  445. </td>
  446. <td align="left">
  447. <input name="tBPriceInfoList[#index#].setDiscount4" maxlength="10"
  448. type="text" class="form-control" style="width:120px;" datatype="/^[0-9]+([.]{1}[0-9]+){0,1}$/" ignore="ignore">
  449. <label class="Validform_label" style="display: none;">预设折扣四</label>
  450. </td> --%>
  451. </tr>
  452. </tbody>
  453. </table>
  454. <script src = "webpage/cn/com/lzt/goodsinfo/tBGoodsInfo.js"></script>
  455. </body>
  456. </html>