<%@ Page Title="4M1E Input Check" Language="C#" MasterPageFile="~/checkinput/CheckInput.Master" AutoEventWireup="true" CodeBehind="4M1E_input_check.aspx.cs" Inherits="CheckSheet.checkinput._4M1E_input_check" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
     <script type="text/javascript" src="4M1E_input_check.js?v=1234"></script>

    <div id="frommain">
     
        <div id="loader"><img src="../loader.gif" /></div>    
        <div id="g1" class="grouplist" style="padding-bottom:10px;">
               <div class="form-row">
                <div class="frmrow">
                    <span class="sp1">
                    <label>
                            <div id="sthd" class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lblPageName" runat="server"  CssClass="frmheader"  Text="Changing point control"  width="250px"></asp:Label>
                   
                    </label>
                    </span>

                    
                </div>
             </div>
               <div class="form-row">
                <div class="frmrow">

                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_partnumber" runat="server" CssClass="fontlabel"   Text="Part number :" width="150px"></asp:Label>
                    <asp:Label ID="txt_partnumber" runat="server"  Width="250px" CssClass="fontlabelcontent"></asp:Label> 
                    </label>
                    </span>


                </div>
             </div>
       
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_type" runat="server" CssClass="fontlabel"   Text="type :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_typeno"  runat="server" Width="250"  CssClass="ctlsearchinput" placeholder="type no.">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_type" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_typeno','MainContent_txt_typename','itemno','itemname','InspectionItem','$and equid in (select equid from EquipmentList where partnumber=\''+$('#MainContent_txt_partnumber').html()+'\')');return false;"  />

                    </label>
                    </span>
                </div>
            </div>
            
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                     <asp:Label ID="lbl_typename" runat="server" CssClass="fontlabel"   Text="" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_typename"  runat="server" Width="250"  CssClass="ctlsearchinput" placeholder="type name">
                    </asp:TextBox>

                    </label>
                    </span>
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_detail" runat="server" CssClass="fontlabel" style="font-size:14px;" Text="Detail change point :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_detail"  runat="server" TextMode="MultiLine" Rows="6" Width="250" CssClass="ctlsearchinput" oninput="javascript:checklencp(this);return false;"></asp:TextBox> 
                   
                    </label>
                    </span>
                     
                </div>
            </div>
                <div class="form-row" style="margin-top:40px;margin-left:160px;">
                <div class="frmrow">

         
                        <span id="strcp" style="font-size:12px;color:gray;">Input have remaining 200 character.</span>
                    

            </div>
                </div>
         
             <div class="form-row">
                <div class="frmrow">

                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_result1" runat="server" CssClass="fontlabel"   Text="Result(1st) :" width="150px"></asp:Label>
                       
                    <asp:Button ID="btnok1" CssClass="button" runat="server" Text="OK" style="width:100px;max-height:60px; color:white;background-color:#E3BC08;" OnClientClick="javascript:btncheckng1(this);return false;"  />
                    </label>
                   
                    <label>
                    <asp:Button ID="btnng1" CssClass="button" runat="server" Text="NG" style="width:100px;max-height:60px;color:white;background-color:#E3BC08;" OnClientClick="javascript:btncheckng1(this);return false;" />
                    </label>
                    </span>

                </div>
             </div>
        
            <div class="form-row" style="margin-top:5px;">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_actioncase1" runat="server" CssClass="fontlabel"   Text="Action(Case NG) :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_actioncase1"  runat="server" Width="250" CssClass="ctlsearchinput" oninput="javascript:checklenng1(this);return false;"></asp:TextBox> 
        
                    </label>
                    </span>
                  
                </div>
            </div>
                <div class="form-row" style="margin-top:-7px;margin-left:160px;">
                <div class="frmrow">

         
                        <span id="strac1" style="font-size:12px;color:gray;">Input have remaining 100 character.</span>
                    

            </div>
                </div>
            <div class="form-row">
                <div class="frmrow">

                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_result2" runat="server" CssClass="fontlabel"   Text="Result(2nd) :" width="150px"></asp:Label>
                       
                    <asp:Button ID="btnok2" CssClass="button" runat="server" Text="OK" style="width:100px;max-height:60px; color:white;background-color:#E3BC08;"  OnClientClick="javascript:btncheckng2(this);return false;" />
                    </label>
                   
                    <label>
                    <asp:Button ID="btnng2" CssClass="button" runat="server" Text="NG" style="width:100px;max-height:60px;color:white;background-color:#E3BC08;"   OnClientClick="javascript:btncheckng2(this);return false;"/>
                    </label>
                    </span>

                </div>
             </div>
          
              <div class="form-row" style="margin-top:5px;">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_actioncase2" runat="server" CssClass="fontlabel"   Text="Action(Case NG) :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_actioncase2"  runat="server" Width="250" CssClass="ctlsearchinput" oninput="javascript:checklenng2(this);return false;"></asp:TextBox> 
 
                    </label>
                    </span>
               
                </div>
            </div>
                <div class="form-row" style="margin-top:-7px;margin-left:160px;">
                <div class="frmrow">

         
                        <span id="strac2" style="font-size:12px;color:gray;">Input have remaining 100 character.</span>
                    

            </div>
                </div>
            
              <br />
            <div class="form-row">
                <div class="frmrow">

                     <label>
                    <asp:Label ID="lbl_notice" runat="server" CssClass="fontlabel"   Text="Notice :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_notice" runat="server"  Width="280" TextMode="MultiLine" Rows="5" MaxLength="100" CssClass="ctlsearchinput" oninput="javascript:checklen(this);return false;"></asp:TextBox> 
                    </label>


            </div>
                </div>
             <div class="form-row" style="margin-top:15px;margin-left:160px;">
                <div class="frmrow">

         
                        <span id="strnotice" style="font-size:12px;color:gray;">Input have remaining 100 character.</span>
                    

            </div>
                </div>

             <div class="form-row"   style="height:150px;margin-top:-5px;">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_img" runat="server" CssClass="fontlabel"   Text="Image :" width="150px"></asp:Label>
                    <img id="piz" src="../image/piz.png" style="width:150px;" class="ctlsearchinput" />

                    </label>
                <asp:Button ID="btnfil_takephoto" runat="server" Text="&nbsp;" CssClass="ctltakephotobutton"  OnClientClick="JavaScript:takephoto();return false;"  />

                    </span>
                </div>
            </div>

           <br />
            <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                  
                    <asp:Button ID="btnrequestapprove" CssClass="button" runat="server" Text="Save & request approve" style="width:200px;color:white;" OnClientClick="javascript:save();return false;" />
                    </label>
                    </span>
                    
                </div>
            </div>

             <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                  
                             <asp:Button ID="btnback" runat="server"  Text="Back"  style="height:40px;width:200px;color:white;"  CssClass="ctlbackbutton" OnClick="btnback_Click"/>

                    </label>
                    </span>
                    
                </div>
            </div><br />


  
        </div>       

     


   </div>
</asp:Content>
