Commit f47a3ccf authored by smestry's avatar smestry

Updated the Product wizard for brand.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102421 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 34a512f6
...@@ -128,12 +128,13 @@ function setActionVal( value ) ...@@ -128,12 +128,13 @@ function setActionVal( value )
</td> </td>
<td class="td_leftAlign" style="width:20%;"> <td class="td_leftAlign" style="width:20%;">
<input type="text" class="editInputClass" value="{$item_code}" name="Detail2.{normalize-space($dbID)}.item_code" <input type="text" class="editInputClass" value="{$item_code}" name="Detail2.{normalize-space($dbID)}.item_code"
id="Detail2.{normalize-space($dbID)}.item_code" maxlength="10" style="width: 100%" readonly="1"/> id="Detail2.{normalize-space($dbID)}.item_code" maxlength="10" style="width: 100%" readonly="1"
onkeypress="return disableEnter()" />
</td> </td>
<td colspan="2"> <td colspan="2">
<input type="text" name="Detail2.{normalize-space($dbID)}.descr" id="Detail2.{normalize-space($dbID)}.descr" <input type="text" name="Detail2.{normalize-space($dbID)}.descr" id="Detail2.{normalize-space($dbID)}.descr"
value="{descr}" class="editInputClass" style="width: 100%;" maxlength="80" value="{descr}" class="editInputClass" style="width: 100%;" maxlength="80"
onkeyup = "return specialCharValidate(this.id);" /> <!-- Changed by Sneha on 23-06-2016, for special character validation --> onkeyup = "return specialCharValidate(this.id);" onkeypress="return disableEnter()" /> <!-- Changed by Sneha on 23-06-2016, for special character validation -->
</td> </td>
</tr> </tr>
...@@ -144,7 +145,7 @@ function setActionVal( value ) ...@@ -144,7 +145,7 @@ function setActionVal( value )
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<input type="text" name="Detail2.{normalize-space($dbID)}.sh_descr" id="Detail2.{normalize-space($dbID)}.sh_descr" <input type="text" name="Detail2.{normalize-space($dbID)}.sh_descr" id="Detail2.{normalize-space($dbID)}.sh_descr"
value="{sh_descr}" class="editInputClass" maxlength="30" style="width: 100%" value="{sh_descr}" class="editInputClass" maxlength="30" style="width: 100%"
onkeyup = "return specialCharValidate(this.id);" /> <!-- Changed by Sneha on 23-06-2016, for special character validation --> onkeyup = "return specialCharValidate(this.id);" onkeypress="return disableEnter()" /> <!-- Changed by Sneha on 23-06-2016, for special character validation -->
</td> </td>
</tr> </tr>
...@@ -154,7 +155,8 @@ function setActionVal( value ) ...@@ -154,7 +155,8 @@ function setActionVal( value )
</td> </td>
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<textarea rows="1" name="Detail2.{normalize-space($dbID)}.long_descr" id="Detail2.{normalize-space($dbID)}.long_descr" <textarea rows="1" name="Detail2.{normalize-space($dbID)}.long_descr" id="Detail2.{normalize-space($dbID)}.long_descr"
class="editInputClass" maxlength="490" style="width: 100%; resize: none;" onkeyup = "return specialCharValidate(this.id);" > class="editInputClass" maxlength="490" style="width: 100%; resize: none;" onkeyup = "return specialCharValidate(this.id);"
onkeypress="return disableEnter()" >
<xsl:value-of select="long_descr"/> <xsl:value-of select="long_descr"/>
<!-- Changed by Sneha on 23-06-2016, for special character validation --> <!-- Changed by Sneha on 23-06-2016, for special character validation -->
</textarea> </textarea>
...@@ -167,7 +169,7 @@ function setActionVal( value ) ...@@ -167,7 +169,7 @@ function setActionVal( value )
</td> </td>
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<input type="text" name="Detail2.{normalize-space($dbID)}.meta_keywords" id="Detail2.{normalize-space($dbID)}.meta_keywords" <input type="text" name="Detail2.{normalize-space($dbID)}.meta_keywords" id="Detail2.{normalize-space($dbID)}.meta_keywords"
value="{meta_keywords}" class="editInputClass" maxlength="15" style="width: 100%"/> value="{meta_keywords}" class="editInputClass" maxlength="15" style="width: 100%" onkeypress="return disableEnter()" />
</td> </td>
</tr> </tr>
...@@ -177,7 +179,7 @@ function setActionVal( value ) ...@@ -177,7 +179,7 @@ function setActionVal( value )
</td> </td>
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<input type="text" name="Detail2.{normalize-space($dbID)}.meta_title" id="Detail2.{normalize-space($dbID)}.meta_title" <input type="text" name="Detail2.{normalize-space($dbID)}.meta_title" id="Detail2.{normalize-space($dbID)}.meta_title"
value="{meta_title}" class="editInputClass" maxlength="15" style="width: 100%"/> value="{meta_title}" class="editInputClass" maxlength="15" style="width: 100%" onkeypress="return disableEnter()" />
</td> </td>
</tr> </tr>
...@@ -188,7 +190,7 @@ function setActionVal( value ) ...@@ -188,7 +190,7 @@ function setActionVal( value )
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<input type="text" name="Detail2.{normalize-space($dbID)}.meta_desc" id="Detail2.{normalize-space($dbID)}.meta_desc" <input type="text" name="Detail2.{normalize-space($dbID)}.meta_desc" id="Detail2.{normalize-space($dbID)}.meta_desc"
value="{meta_desc}" class="editInputClass" maxlength="15" style="width: 100%" value="{meta_desc}" class="editInputClass" maxlength="15" style="width: 100%"
onkeyup = "return specialCharValidate(this.id);" /> <!-- Changed by Sneha on 23-06-2016, for special character validation --> onkeyup = "return specialCharValidate(this.id);" onkeypress="return disableEnter()" /> <!-- Changed by Sneha on 23-06-2016, for special character validation -->
</td> </td>
</tr> </tr>
...@@ -198,7 +200,7 @@ function setActionVal( value ) ...@@ -198,7 +200,7 @@ function setActionVal( value )
</td> </td>
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<input type="text" name="Detail2.{normalize-space($dbID)}.img_path" id="Detail2.{normalize-space($dbID)}.img_path" <input type="text" name="Detail2.{normalize-space($dbID)}.img_path" id="Detail2.{normalize-space($dbID)}.img_path"
value="{img_path}" class="editInputClass" style="width: 100%"/> <!--Changed by parikshit on 23/7/15 removed maxlenght--> value="{img_path}" class="editInputClass" style="width: 100%" onkeypress="return disableEnter()" /> <!--Changed by parikshit on 23/7/15 removed maxlenght-->
</td> </td>
</tr> </tr>
...@@ -209,7 +211,7 @@ function setActionVal( value ) ...@@ -209,7 +211,7 @@ function setActionVal( value )
</td> </td>
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<input type="text" name="Detail2.{normalize-space($dbID)}.attr_value" id="Detail2.{normalize-space($dbID)}.attr_value" <input type="text" name="Detail2.{normalize-space($dbID)}.attr_value" id="Detail2.{normalize-space($dbID)}.attr_value"
value="{attr_value}" class="editInputClass" style="width: 100%"/> value="{attr_value}" class="editInputClass" style="width: 100%" onkeypress="return disableEnter()" />
</td> </td>
</tr> </tr>
<!--Changed by Sneha on 07-07-2016, for item parent description [End] --> <!--Changed by Sneha on 07-07-2016, for item parent description [End] -->
...@@ -223,10 +225,11 @@ function setActionVal( value ) ...@@ -223,10 +225,11 @@ function setActionVal( value )
<input type="text" class="editInputClass" value="{$item_type}" name="Detail2.{normalize-space($dbID)}.item_type" <input type="text" class="editInputClass" value="{$item_type}" name="Detail2.{normalize-space($dbID)}.item_type"
id="Detail2.{normalize-space($dbID)}.item_type" maxlength="10" ISCHANGED="false" readOnly = "1" id="Detail2.{normalize-space($dbID)}.item_type" maxlength="10" ISCHANGED="false" readOnly = "1"
onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','item_type', 'Product Type', 0);" onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','item_type', 'Product Type', 0);"
style="width: 95%;" /> style="width: 95%;" onkeypress="return disableEnter()" />
<div style="width:3%; float: right;"> <div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_type', 'Product Type', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_type', 'Product Type', 0);"
style="float: left;text-decoration: none;" id="Detail2.{normalize-space($dbID)}.item_type_pophelp" > style="float: left;text-decoration: none;" id="Detail2.{normalize-space($dbID)}.item_type_pophelp"
onkeypress="return disableEnter()" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Product Type"/> <img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Product Type"/>
</a> </a>
</div> </div>
...@@ -234,7 +237,8 @@ function setActionVal( value ) ...@@ -234,7 +237,8 @@ function setActionVal( value )
</td> </td>
<td colspan="2"> <td colspan="2">
<input type="text" name="Detail2.{normalize-space($dbID)}.item_type_descr" id="Detail2.{normalize-space($dbID)}.item_type_descr" <input type="text" name="Detail2.{normalize-space($dbID)}.item_type_descr" id="Detail2.{normalize-space($dbID)}.item_type_descr"
value="{item_type_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" /> value="{item_type_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%"
onkeypress="return disableEnter()" />
</td> </td>
</tr> </tr>
...@@ -248,10 +252,10 @@ function setActionVal( value ) ...@@ -248,10 +252,10 @@ function setActionVal( value )
<input type="text" class="editInputClass" value="{$item_ser}" name="Detail2.{normalize-space($dbID)}.item_ser" <input type="text" class="editInputClass" value="{$item_ser}" name="Detail2.{normalize-space($dbID)}.item_ser"
id="Detail2.{normalize-space($dbID)}.item_ser" maxlength="10" ISCHANGED="false" readOnly = "1" id="Detail2.{normalize-space($dbID)}.item_ser" maxlength="10" ISCHANGED="false" readOnly = "1"
onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','item_ser', 'Item Series', 0);" onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','item_ser', 'Item Series', 0);"
style="width: 95%;"/> style="width: 95%;" onkeypress="return disableEnter()" />
<div style="width:3%; float: right;"> <div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_ser', 'Item Series', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_ser', 'Item Series', 0);"
style="float: left;text-decoration: none;"> style="float: left;text-decoration: none;" onkeypress="return disableEnter()">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Item Series" /> <img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Item Series" />
</a> </a>
</div> </div>
...@@ -259,7 +263,8 @@ function setActionVal( value ) ...@@ -259,7 +263,8 @@ function setActionVal( value )
</td> </td>
<td colspan="2"> <td colspan="2">
<input type="text" name="Detail2.{normalize-space($dbID)}.item_ser_descr" id="Detail2.{normalize-space($dbID)}.item_ser_descr" <input type="text" name="Detail2.{normalize-space($dbID)}.item_ser_descr" id="Detail2.{normalize-space($dbID)}.item_ser_descr"
value="{item_ser_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" /> value="{item_ser_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%"
onkeypress="return disableEnter()" />
</td> </td>
</tr> </tr>
...@@ -273,10 +278,10 @@ function setActionVal( value ) ...@@ -273,10 +278,10 @@ function setActionVal( value )
<input type="text" class="editInputClass" value="{$grp_code}" name="Detail2.{normalize-space($dbID)}.grp_code" <input type="text" class="editInputClass" value="{$grp_code}" name="Detail2.{normalize-space($dbID)}.grp_code"
id="Detail2.{normalize-space($dbID)}.grp_code" maxlength="10" ISCHANGED="false" readOnly = "1" id="Detail2.{normalize-space($dbID)}.grp_code" maxlength="10" ISCHANGED="false" readOnly = "1"
onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','grp_code', 'Group Code', 0);" onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','grp_code', 'Group Code', 0);"
style="width: 95%;"/> style="width: 95%;" onkeypress="return disableEnter()"/>
<div style="width:3%; float: right;"> <div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','grp_code', 'Group Code', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','grp_code', 'Group Code', 0);"
style="float: left;text-decoration: none;"> style="float: left;text-decoration: none;" onkeypress="return disableEnter()">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Group Code" /> <img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Group Code" />
</a> </a>
</div> </div>
...@@ -284,7 +289,8 @@ function setActionVal( value ) ...@@ -284,7 +289,8 @@ function setActionVal( value )
</td> </td>
<td colspan="2"> <td colspan="2">
<input type="text" name="Detail2.{normalize-space($dbID)}.grp_code_descr" id="Detail2.{normalize-space($dbID)}.grp_code_descr" <input type="text" name="Detail2.{normalize-space($dbID)}.grp_code_descr" id="Detail2.{normalize-space($dbID)}.grp_code_descr"
value="{grp_code_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" /> value="{grp_code_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%"
onkeypress="return disableEnter()" />
</td> </td>
</tr> </tr>
...@@ -298,10 +304,11 @@ function setActionVal( value ) ...@@ -298,10 +304,11 @@ function setActionVal( value )
<input type="text" class="editInputClass" value="{$loc_code}" name="Detail2.{normalize-space($dbID)}.loc_code" <input type="text" class="editInputClass" value="{$loc_code}" name="Detail2.{normalize-space($dbID)}.loc_code"
id="Detail2.{normalize-space($dbID)}.loc_code" maxlength="10" ISCHANGED="false" readOnly = "1" id="Detail2.{normalize-space($dbID)}.loc_code" maxlength="10" ISCHANGED="false" readOnly = "1"
onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','loc_code', 'Location Code', 0);" onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','loc_code', 'Location Code', 0);"
style="width: 95%;"/> style="width: 95%;" onkeypress="return disableEnter()"/>
<div style="width:3%; float: right;"> <div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','loc_code', 'Location Code', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','loc_code', 'Location Code', 0);"
style="float: left;text-decoration: none;" id="Detail2.{normalize-space($dbID)}.loc_code_pophelp"> style="float: left;text-decoration: none;" id="Detail2.{normalize-space($dbID)}.loc_code_pophelp"
onkeypress="return disableEnter()" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Location Code" /> <img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Location Code" />
</a> </a>
</div> </div>
...@@ -309,7 +316,8 @@ function setActionVal( value ) ...@@ -309,7 +316,8 @@ function setActionVal( value )
</td> </td>
<td colspan="2"> <td colspan="2">
<input type="text" name="Detail2.{normalize-space($dbID)}.loc_code_descr" id="Detail2.{normalize-space($dbID)}.loc_code_descr" <input type="text" name="Detail2.{normalize-space($dbID)}.loc_code_descr" id="Detail2.{normalize-space($dbID)}.loc_code_descr"
value="{loc_code_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" /> value="{loc_code_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%"
onkeypress="return disableEnter()"/>
<input type="hidden" value="{$loc_type}" name="Detail2.{normalize-space($dbID)}.loc_type" <input type="hidden" value="{$loc_type}" name="Detail2.{normalize-space($dbID)}.loc_type"
id="Detail2.{normalize-space($dbID)}.loc_type" maxlength="10"/> id="Detail2.{normalize-space($dbID)}.loc_type" maxlength="10"/>
</td> </td>
...@@ -326,10 +334,11 @@ function setActionVal( value ) ...@@ -326,10 +334,11 @@ function setActionVal( value )
<input type="text" class="editInputClass" value="{$phy_attrib_24}" name="Detail2.{normalize-space($dbID)}.phy_attrib_24" <input type="text" class="editInputClass" value="{$phy_attrib_24}" name="Detail2.{normalize-space($dbID)}.phy_attrib_24"
id="Detail2.{normalize-space($dbID)}.phy_attrib_24" maxlength="10" ISCHANGED="false" readOnly = "1" id="Detail2.{normalize-space($dbID)}.phy_attrib_24" maxlength="10" ISCHANGED="false" readOnly = "1"
onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','phy_attrib_24', 'Brand', 0);" onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','phy_attrib_24', 'Brand', 0);"
style="width: 95%;"/> style="width: 95%;" onkeypress="return disableEnter()"/>
<div style="width:3%; float: right;"> <div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','phy_attrib_24', 'Brand', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','phy_attrib_24', 'Brand', 0);"
style="float: left;text-decoration: none;" id="Detail2.{normalize-space($dbID)}.phy_attrib_24_pophelp" > style="float: left;text-decoration: none;" id="Detail2.{normalize-space($dbID)}.phy_attrib_24_pophelp"
onkeypress="return disableEnter()" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Location Code" /> <img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Location Code" />
</a> </a>
</div> </div>
...@@ -337,7 +346,8 @@ function setActionVal( value ) ...@@ -337,7 +346,8 @@ function setActionVal( value )
</td> </td>
<td colspan="2"> <td colspan="2">
<input type="text" name="Detail2.{normalize-space($dbID)}.brand_descr" id="Detail2.{normalize-space($dbID)}.brand_descr" <input type="text" name="Detail2.{normalize-space($dbID)}.brand_descr" id="Detail2.{normalize-space($dbID)}.brand_descr"
value="{brand_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" /> value="{brand_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%"
onkeypress="return disableEnter()" />
<input type="hidden" value="{$phy_attrib_24}" name="Detail2.{normalize-space($dbID)}.phy_attrib_24" <input type="hidden" value="{$phy_attrib_24}" name="Detail2.{normalize-space($dbID)}.phy_attrib_24"
id="Detail2.{normalize-space($dbID)}.phy_attrib_24" maxlength="10"/> id="Detail2.{normalize-space($dbID)}.phy_attrib_24" maxlength="10"/>
</td> </td>
...@@ -350,7 +360,8 @@ function setActionVal( value ) ...@@ -350,7 +360,8 @@ function setActionVal( value )
</td> </td>
<td class="td_leftAlign" style="width:20%;"> <td class="td_leftAlign" style="width:20%;">
<input type="text" class="editInputClass" value="{$pur_lead_time}" name="Detail2.{normalize-space($dbID)}.pur_lead_time" <input type="text" class="editInputClass" value="{$pur_lead_time}" name="Detail2.{normalize-space($dbID)}.pur_lead_time"
id="Detail2.{normalize-space($dbID)}.pur_lead_time" maxlength="4" style='text-align: right; width: 90%' onchange='return isNumeric1(this)' /> id="Detail2.{normalize-space($dbID)}.pur_lead_time" maxlength="4" style='text-align: right; width: 90%' onchange='return isNumeric1(this)'
onkeypress="return disableEnter()" />
</td> </td>
<td class="td_rightAlign" colspan="2"> <td class="td_rightAlign" colspan="2">
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
</head> </head>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Common.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Edit.js" charset="utf-8"></script> <script type="text/javascript" src="/ibase/webitm/js/prodWiz_Edit.js" charset="utf-8"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script> <script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment