CB2-20200827ONU\Administrator
2021-09-22 4d584101e46ff34b2694e88af706b9b2e92364bc
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
@@ -15,13 +15,13 @@
                 alertMsg('请先保存客户');
                 return;
             }
                 dialog.open({
                     URL: '/Pages/business/CorporateClientsPrint2.aspx?Target=ToUpSetData&CorporateClientsid=' + CorporateClientsid + '&orderId=' + Keyid, Title: '订单需求修改', Height: 900, Width: 1000
                 });
             dialog.open({
                 URL: '/Pages/business/CorporateClientsPrint2.aspx?Target=ToUpSetData&CorporateClientsid=' + CorporateClientsid + '&orderId=' + Keyid, Title: '订单需求修改', Height: 900, Width: 1000
             });
         }
         function ToADD(Keyid, CorporateClientsid) {
@@ -33,8 +33,19 @@
             dialog.open({
                 URL: '/Pages/business/CorporateClientsPrint2.aspx?CorporateClientsid=' + CorporateClientsid + '&orderId=' + Keyid, Title: '订单需求新增', Height: 900, Width: 1000
             });
         }
         //维护
         function onViewuplod(keyid) {
             top.Dialog.open({ URL: "/Pages/business/CorporateClientsUpLoadContract.aspx?Keyid=" + keyid, Title: "上传和查看合同", Width: 900, Height: 750 });
         }
         //维护
         function GetKeyID(keyid) {
             return false
         }
     </script>
@@ -177,15 +188,17 @@
                    <td class="ali03 ">备注:</td>
                    <td colspan="5"><textarea runat="server" id="txtRemark" style=" width:92%; height:30px;"  maxlength="200"></textarea></td>
                </tr>
                <tr>                     <td class="ali03 ">完结状态:</td>                     <td   ><select id="selShifouwanjie" runat="server" datatextfield="PrintName" datavaluefield="Keyid" keepDefaultStyle='true' class=" w120px" disabled="disabled"></select></td>                      <td class="ali03 "></td>                     <td   ></td>                       <td class="ali03 "></td>                     <td   ></td>                   </tr>
                <tr>                     <td class="ali03 ">完结状态:</td>                     <td   ><select id="selShifouwanjie" runat="server" datatextfield="PrintName" datavaluefield="Keyid" keepDefaultStyle='true' class=" w120px" disabled="disabled"></select></td>                      <td class="ali03 "></td>                     <td   ></td>                       <td class="ali03 "></td>                     <td   ><button id="Buttonupload"   onclick="onViewuplod('<%= GetKeyID()%>')"   >上传合同</button></td>                   </tr>
                <tr>
                   
                    
                    <td class="ali02" colspan="6">
                         <% if (Shifouwanjie != "1") {%>
                        <asp:Button ID="btn_Submit" Text="保存" runat="server" OnClick="btn_Submit_Config" />&nbsp;<asp:Button ID="btn_wanjie" Text="完结" runat="server" OnClick="btn_Submit_Wanjie" />
                        <asp:Button ID="btn_Submit" Text="保存" runat="server" OnClick="btn_Submit_Config"  />&nbsp;<asp:Button ID="btn_wanjie" Text="完结" runat="server" OnClick="btn_Submit_Wanjie" />
                        <% } %>
                        <input type="hidden" id="HideKeyid" value="<%=Request["Keyid"]%>" /></td>
                        <input type="hidden" id="HideKeyid" value="<%=Request["Keyid"]%>" />
                        <input type="hidden" id="saveKey" runat="server"  />
                    </td>
                     
                </tr>
                 
@@ -254,11 +267,11 @@
          </fieldset>
       
          <fieldset  id="weihujilu">
         <%-- <fieldset  id="weihujilu">
               <legend>添加维护记录</legend>
                <table class="tableStyle" width="100%">
               <tr>                     <td class="ali03 ">维护日期:</td>                     <td   ><input id="txtVisitTime" type="text" runat="server"  maxlength="50" class="date w90px" datefmt="yyyy-MM-dd"  /></td>                      <td class="ali03 ">维护记录:</td>                     <td colspan="2"  ><textarea runat="server" id="txtvisitRemark" style=" width:92%; height:30px;"  maxlength="200"></textarea></td>                                           <td   ><asp:Button ID="Button1" Text="添加维护记录" runat="server" OnClick="btn_Submit_Visit" /></td>                   </tr> 
               </table>
               </table>--%>
          <%--  <asp:Repeater ID="RepClientList" runat="server">
                <HeaderTemplate>
                    <table class="tableStyle" useclick="false" usecheckbox="true" sortmode="true" style="text-align: center;">
@@ -301,7 +314,7 @@
                </FooterTemplate>
            </asp:Repeater>--%>
             
          </fieldset>
          <%--</fieldset>--%>
        <% }%>
    </form>
@@ -341,12 +354,16 @@
        });
        $("#selIsLoginCorporateWeb").change();
        $("#selPaytime").change(function () {             if ($(this).val() != "7") {                 $("#txtPaydays").attr("disabled", "disabled");                 $("#txtPaydays").val("");             } else {                 $("#txtPaydays").removeAttr("disabled");             }         });         $("#selPaytime").change();
        $("#selPaytime").change(function () {             if ($(this).val() != "7") {                 $("#txtPaydays").attr("disabled", "disabled");                 $("#txtPaydays").val("");             } else {                 $("#txtPaydays").removeAttr("disabled");             }         });         $("#selPaytime").change();
        $("#selContracttype").change(function () {             if ($(this).val() != "1") {                 $("#txtContractmoney").attr("disabled", "disabled");                 $("#txtContractmoney").val("");             } else {                 $("#txtContractmoney").removeAttr("disabled");             }         });         $("#selContracttype").change();
        $("#selExpiretype").change(function () {             if ($(this).val() != "1") {                 $("#txtExpireTime").attr("disabled", "disabled");                 $("#txtExpireTime").val("");             } else {                 $("#txtExpireTime").removeAttr("disabled");             }         });         $("#selExpiretype").change();
    });
</script>
</html>