From f6cb981322bc4c2a27921ad0480dce7fb483a4d8 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 10 四月 2026 13:23:54 +0800
Subject: [PATCH] 先提交一部分

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx |  260 +++++++++++++++++++++++++++++++--------------------
 1 files changed, 156 insertions(+), 104 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
index 9106d11..0d72fce 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
@@ -179,7 +179,7 @@
                             <thead>
                                 <tr class="ForumName" style="display:none">
                                     <th colspan="12">
-                                        <b>绗�<span class=" AddCount red"><%#Container.ItemIndex + 1%></span>鐗�<input name="PSF_Forumsid" value="<%#Container.ItemIndex + 1%>" type="hidden" value_hide_psf_component="<%#Eval("PSF_Component")%>" value_hide_psf_pressesdesk="<%#Eval("PSF_PressesDesk")%>" value_hide_psf_printedcolorpositive="<%#Eval("PSF_PrintedColorPositive")%>" value_hide_psf_printedcolorrear="<%#Eval("PSF_PrintedColorRear")%>" value_hide_psf_typesetting="<%#Eval("PSF_Typesetting")%>" value_hide_psf_papersource="<%#Eval("PSF_PaperSource")%>" value_hide_psf_openspecifications="<%#Eval("PSF_OpenSpecifications")%>" value_hide_psf_selpapername="<%#Eval("PSF_PaperName")%>" value_hide_psf_selpaperspec="<%#Eval("PSF_MaterialSpecifications")%>" value_hide_psf_selplatetype="<%#Eval("PSF_PlateSource")%>" value_hide_psf_selctpspec="<%#Eval("PSF_CTPSpecType")%>" value_hide_psf_selfilmspec="<%#Eval("PSF_FilmType")%>" /></b>
+                                        <b>绗�<span class=" AddCount red"><%#Container.ItemIndex + 1%></span>鐗�<input name="PSF_Forumsid" value="<%#Container.ItemIndex + 1%>" type="hidden" value_hide_psf_component="<%#Eval("PSF_Component")%>" value_hide_psf_pressesdesk="<%#Eval("PSF_PressesDesk")%>" value_hide_psf_printedcolorpositive="<%#Eval("PSF_PrintedColorPositive")%>" value_hide_psf_printedcolorrear="<%#Eval("PSF_PrintedColorRear")%>" value_hide_psf_typesetting="<%#Eval("PSF_Typesetting")%>" value_hide_psf_fabantaoshu="<%#Eval("PSF_Fabantaoshu")%>" value_hide_psf_papersource="<%#Eval("PSF_PaperSource")%>" value_hide_psf_openspecifications="<%#Eval("PSF_OpenSpecifications")%>" value_hide_psf_selpapername="<%#Eval("PSF_PaperName")%>" value_hide_psf_selpaperspec="<%#Eval("PSF_MaterialSpecifications")%>" value_hide_psf_selplatetype="<%#Eval("PSF_PlateSource")%>" value_hide_psf_selctpspec="<%#Eval("PSF_CTPSpecType")%>" value_hide_psf_selfilmspec="<%#Eval("PSF_FilmType")%>" /></b>
                                     </th>
                                 </tr>
                             </thead>
@@ -187,27 +187,39 @@
                                 <td rowspan="2" style="width: 195px;">
                                  鏋勪欢
                                 </td>
-                                <td rowspan="2" colspan="2" >
-                                  P鏁�
+                                <td rowspan="2"  >
+                                 椤垫暟
                                 </td>
-                                <td rowspan="2" colspan="2">
+                                <td rowspan="2"  >
                                     鍗板埛鏈哄彴
                                 </td>
-                                <td colspan="2"   >
-                                    <p name="PSF_yinse" value_openwidthspan="<%#Container.ItemIndex + 1%>">鍗拌壊</p>        
+                                <td colspan="3"   >
+                                     <p name="PSF_yinse" value_openwidthspan="<%#Container.ItemIndex + 1%>">鍗板埛瑕佹眰</p>       
                                 </td>
-                                <td rowspan="2" colspan="2">
+                              <%--  <td rowspan="2" colspan="2">
                                     <p name="PSF_yinshufangshi" value_openwidthspan="<%#Container.ItemIndex + 1%>">鍗板埛鏂瑰紡</p>      
+                                </td>--%>
+                                  <td rowspan="2"   >
+                                    <p   class="lb lbCTPCount lbCTPCountc" value_ppwaerid="<%#Container.ItemIndex + 1%>">鏉挎潗瑙勬牸</p>     
                                 </td>
-                                 
+                                <td  rowspan="2"  >
+                                  <p   class="lb lbCTPCount lbCTPCounta" value_ppwaerid="<%#Container.ItemIndex + 1%>">鏁伴噺锛堝紶锛�</p>     
+                                </td>
+                                     <td rowspan="2" >
+                                        鍙戠増濂楁暟
+                                    </td>
                             </tr>
                             <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6;"   >
+                                
                                 <td>
-                                  <p name="PSF_yinsezheng" value_openwidthspan="<%#Container.ItemIndex + 1%>">姝�</p>      
+                                  <p name="PSF_yinsezheng" value_openwidthspan="<%#Container.ItemIndex + 1%>">姝i潰鑹叉暟</p>      
                                 </td>
                                 <td>
-                                 <p name="PSF_yinsebei" value_openwidthspan="<%#Container.ItemIndex + 1%>">鑳�</p>       
+                                 <p name="PSF_yinsebei" value_openwidthspan="<%#Container.ItemIndex + 1%>">鑳岄潰鑹叉暟</p>       
                                 </td>
+                                  <td>
+                                        <p name="PSF_yinshufangshi" value_openwidthspan="<%#Container.ItemIndex + 1%>">鍗板埛鏂瑰紡</p>   
+                                    </td>
                             </tr>
                             <tr>
                                 <td>
@@ -221,10 +233,10 @@
 
                                    
                                 </td>
-                                <td colspan="2">
+                                <td  >
                                     <input type="text" class="  w80px  int " msg="璇峰~鍐欐暟瀛�" name="PSF_PNum" value="<%#Eval("PSF_PNum")%>" value_ppwaerid="<%#Container.ItemIndex + 1%>" />
                                 </td>
-                                <td colspan="2">
+                                <td  >
                                     <select keepdefaultstyle="true" class="  w120px" name="PSF_PressesDesk"    value_selspec="<%#Container.ItemIndex + 1%>">
                                         <%--<option value="">璇烽�夋嫨</option>--%>
                                         <%=PressesDeskHtml %>
@@ -251,7 +263,7 @@
                                         <option value="鍥�+涓�">鍥�+涓�</option>
                                     </select>
                                 </td>
-                                <td colspan="2">
+                                <td>
                                     <select keepdefaultstyle="true" class="" name="PSF_Typesetting" value_ppwaerid="<%#Container.ItemIndex + 1%>">
                                         <option value="鑷炕">鑷炕</option>
                                         <option value="婊氱炕">婊氱炕</option>
@@ -265,7 +277,31 @@
                                       
                                     </select>
                                 </td>
-                               
+                                 <td>
+                                      <div class="xialapp">
+                                    <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPSpecName lbCTPCount lbCTPCountb" name="CTPSpecName"   value="<%#Eval("PSF_CTPSpecType")%>" style=" width: 80px" />
+                                          <div class="xialapbp" >
+                                <%=xialapr %>
+                            </div>
+                        </div>
+                                       </td>
+                                 <td>
+                                      <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPCount lbCTPCount int" name="CTPCount"  value="<%#Eval("PSF_CTPCount")%>" style=" width: 80px" />
+
+                                       </td>
+                                 <td>
+                                       <div class="xialap" >
+                                      <input type="text" class="  w40px  int "  name="PSF_Fabantaoshu" value_ppwaerid="<%#Container.ItemIndex + 1%>" value="<%#Eval("PSF_Fabantaoshu")%>"  />
+                                            <div class="xialapb" >
+                              
+                                <div class="xialapr">2</div>
+                                <div class="xialapr">3</div>
+                                <div class="xialapr">4</div>  
+                                <div class="xialapr">5</div> 
+                            </div>
+                               </div>         
+                                    
+                                       </td>
                             </tr>
                             <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%" name="PSF_PrintedPaperTd"  value_selspec="<%#Container.ItemIndex + 1%>">
                                 <td rowspan="2">
@@ -281,7 +317,7 @@
                                 <p name="PSF_Zhizhangshuliang" value_selspecspan="<%#Container.ItemIndex + 1%>">绾稿紶鏁伴噺锛堝紶锛�</p>     
                                 </td>
                                 <td colspan="4">
-                                  <p name="PSF_Kailiaoguige" value_selspecspan="<%#Container.ItemIndex + 1%>">寮�鏂欒鏍�</p>   
+                                  <p name="PSF_Kailiaoguige" value_selspecspan="<%#Container.ItemIndex + 1%>">寮�鏂欒鏍硷紙mm锛�</p>   
                                 </td>
                             </tr>
                             <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6;"  name="PSF_PrintedPaperTdtr"  value_selspec="<%#Container.ItemIndex + 1%>">
@@ -298,10 +334,10 @@
                                 <p name="PSF_OpenSpecificationsspan" value_selspecspan="<%#Container.ItemIndex + 1%>">寮�鏁�</p>    
                                 </td>
                                 <td>
-                                 <p name="PSF_Kuandu" value_selspecspan="<%#Container.ItemIndex + 1%>">瀹藉害(mm)  </p>            
+                                 <p name="PSF_Kuandu" value_selspecspan="<%#Container.ItemIndex + 1%>">瀹藉害</p>            
                                 </td>
                                 <td>
-                                   <p name="PSF_OpenWidthspan" value_openwidthspan="<%#Container.ItemIndex + 1%>">闀垮害(mm)</p>      
+                                   <p name="PSF_OpenWidthspan" value_openwidthspan="<%#Container.ItemIndex + 1%>">闀垮害</p>      
                                 </td>
                             </tr>
                             <tr name="PSF_PrintedPaperTdtrtr"  value_selspec="<%#Container.ItemIndex + 1%>">
@@ -333,7 +369,7 @@
                                     <input type="text" class="  w80px  int " msg="璇峰~鍐欐暟瀛�" name="PSF_PrintedPositive" value="<%#Eval("PSF_PrintedPositive")%>" value_positiveid="<%#Container.ItemIndex + 1%>" />
                                 </td>
                                 <td colspan="1">
-                                    <input type="text" class="  w80px  int " msg="璇峰~鍐欐暟瀛�" name="PSF_LastNum" value="<%#Eval("PSF_LastNum")%>" value_lastnumid="<%#Container.ItemIndex + 1%>" />
+                                    <input type="text" class="  w60px  int " msg="璇峰~鍐欐暟瀛�" name="PSF_LastNum" value="<%#Eval("PSF_LastNum")%>" value_lastnumid="<%#Container.ItemIndex + 1%>" />
                                 </td>
                                 <td colspan="1">
                                     <select keepdefaultstyle="true" class="  w80px" name="PSF_OpenSpecifications" value_selspec="<%#Container.ItemIndex + 1%>">
@@ -359,16 +395,16 @@
                                     <input type="text" class="  w80px  int " msg="璇峰~鍐欐暟瀛�" name="PSF_OpenLength" value="<%#(Eval("PSF_OpenLength") == null || Eval("PSF_OpenLength").ToString()=="0")?"":Eval("PSF_OpenLength").ToString()%>" value_ppwaerid='<%#Container.ItemIndex + 1%>' />
                                 </td>
                             </tr>
-                            <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%">
+                            <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%;display: none;">
                                 <td style="display:none;">
                                     鐗堟潗绫诲瀷
                                 </td>
-                                <td colspan="2"  class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' >
+                               <%-- <td colspan="2"  class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' >
                                     瑙勬牸
                                 </td>
                                 <td id="lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' class="lb lbCTPCount" colspan="3">
                                     CTP鏁伴噺锛堝紶锛�
-                                </td>
+                                </td>--%>
                                 <td id="lbPSSpec" value_ppwaerid='<%#Container.ItemIndex + 1%>' class="lb lbPSSpec" colspan="2" style="display: none">
                                     PS鐗堣鏍�
                                 </td>
@@ -378,28 +414,23 @@
                                 <td colspan="7">
                                 </td>
                             </tr>
-                            <tr>
-                                <td style="display:none;">
+                            <tr style="display:none;" >
+                                <td >
                                     <select keepdefaultstyle="true" value_selwaerid="<%#Container.ItemIndex + 1%>" name="selPlateType" id="selPlateType">
                                         <option value="鏈巶CTP">鏈巶CTP</option>
                                         <option value="鑷甫CTP">鑷甫CTP</option>
-                                        <option value="鑷甫鑿叉灄">鑷甫鑿叉灄</option>
-                                        <option value="鏈巶鑿叉灄">鏈巶鑿叉灄</option>
+                                      <%--  <option value="鑷甫鑿叉灄">鑷甫鑿叉灄</option>
+                                        <option value="鏈巶鑿叉灄">鏈巶鑿叉灄</option>--%>
                                     </select>
                                     <label class="Btnb CangKubtn_o" style="margin-left: 10px;">
                                         <input type="button" value_waerid="<%#Container.ItemIndex + 1%>" class="Btn FromWarehouseByBanCai" value="杩炴帴浠撳簱" id="BtnStorePlate" /></label><input type="hidden" value_ppwaerid="<%#Container.ItemIndex + 1%>" name="PSF_PaperId2" />
                                 </td>
-                                <td colspan="2"  class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' >
+                               <%-- <td colspan="2"  class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' >
                                       <div class="xialapp" style="margin-left:32%;">
                                     <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPSpecName " name="CTPSpecName" id="PlateSpec" value="<%#Eval("PSF_CTPSpecType")%>" />
                                           <div class="xialapbp" >
                                 <%=xialapr %>
-                              <%--  <div class="xialapr">500</div>
-                                <div class="xialapr">1000</div>
-                                <div class="xialapr">2000</div>  
-                                <div class="xialapr">3000</div> 
-                                <div class="xialapr">5000</div> 
-                                <div class="xialapr">10000</div>--%>
+                             
                             </div>
                         </div>
                                     <select keepdefaultstyle="true" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="sel selCTPSpec" name="selCTPSpec" style="display: none; width: 80px" id="selCTPSpec">
@@ -413,7 +444,7 @@
                                 </td>
                                 <td id="tdCTPCount" runat="server" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="td tdCTPCount" colspan="3">
                                     <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPCount" name="CTPCount" id="CTPCount" value="<%#Eval("PSF_CTPCount")%>" />
-                                </td>
+                                </td>--%>
                                 <td id="tdPSSpec" style="display: none" runat="server" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="td tdPSSpec" colspan="2">
                                     <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt PSF_PSBan" name="PSF_PSBan" style="width: 80px;" id="PSF_PSBan" value="<%#Eval("PSF_PSSpec")%>" />
                                     <label class="Btnb CangKubtn_o" style="margin-left: 10px;">
@@ -433,9 +464,9 @@
                                    <input type="text"   name="PSF_Qitadingdanhao"  style="width: 50%;"   value_ppwaerid="<%#Container.ItemIndex + 1%>"value="<%#Eval("PSF_PaperName")%>" maxlength="50" /> 
                                 </td>
                             </tr>
-                            <tr>
+                            <tr style=" display:none;">
                                 <td style="font-weight: bold; background-color: #E6E6E6;">
-                                    娉ㄦ剰浜嬮」锛�
+                                    鐢熶骇瑕佹眰锛�
                                 </td>
                                 <td colspan="12">
                                     <textarea style="width: 96%; height: 40px; float: left;" name="PSF_Note"><%#Eval("PSF_Note")%></textarea>
@@ -453,12 +484,61 @@
                 <input type="button" class="Btn CutForums" value="鍑忓皯鐗堥潰" />  &nbsp; &nbsp; &nbsp; &nbsp;
             </td>
         </tr>
+             <tr >
+            <td colspan="2">
+                <table class="tableStyle" style="width: 98%; margin: 5px auto;">
+                    <tbody>
+                        <tr>
+                             <td class="ali03 w70px " >
+                鍚庨亾宸ュ簭锛�
+                 </td>
+                            <td>
+                                 <table class="tableStyle" style="width: 98%; margin: 5px auto;">
+                                     <tbody>
+                                          <asp:Repeater ID="RepeaterHoudaoList" runat="server">
+                    <ItemTemplate>
+                                         <tr class="AddHoudao" value_id="<%#Container.ItemIndex + 1%>" >
+                                             <td>
+                        <select keepdefaultstyle="true"   class=" w70px" name="selHoudaogongxu" >
+                            <%#Eval("PSF_Houdaogongxu")%>
+                        </select>
+                    </td>
+
+                                              <td>
+                        鏁伴噺:<input type="text" name="txtShuliang" class=" w40px int" min="0" maxlength="50" value="<%#Eval("PSF_Shuliang")%>"/>
+                    </td>
+                                             <td>
+                        鍊嶆暟:<input type="text" name="txtBeishu" class=" w40px int" min="0" maxlength="50"  value="<%#Eval("PSF_Beishu")%>"/>
+                    </td>
+       <td>
+                        鏈洪暱:<input type="text" name="txtJichang" class=" w80px"  maxlength="50" value="<%#Eval("PSF_Jichang")%>"/>
+                    </td>
+                                              <td>
+                        
+                       瑕佹眰: <input type="text" name="txtYaoqiu" class=" noJ" maxlength="500" style="width: 405px;" value="<%#Eval("PSF_Yaoqiu")%>" />
+                         
+                    </td>
+                                             <td class="w70px " >
+                                 <a class="Btn AddHoudaos" value_id="<%#Container.ItemIndex + 1%>"  style="font-size:20px;" >+</a>&nbsp;&nbsp;  <a class="Btn CutHoudaos" value_id="<%#Container.ItemIndex + 1%>"  style="font-size:20px;" >-</a> 
+                 </td>
+                                              </tr>
+                          </ItemTemplate>
+                </asp:Repeater>
+                                         </tbody>
+                                     </table>
+                            </td>
+                             
+                        </tr>
+                    </tbody>
+                </table>
+            </td>
+        </tr>
             <tr>
                 <td class="ali03 w70px " >
-                澶囨敞锛�
+                鐢熶骇瑕佹眰锛�
                  </td>
                 <td colspan="9">
-                    <textarea style="width: 940px; height: 62px;" name="PMS_Remarks" runat = "server" id="PMS_Remarks"></textarea>
+                    <textarea style="width: 940px; height: 12px;" name="PMS_Remarks" runat = "server" id="PMS_Remarks"></textarea>
                 </td>
             </tr>
             <tr>
@@ -560,6 +640,7 @@
                  $("select[name='PSF_PressesDesk']").last().attr("value_selspec", value_id + 1);
                  $("select[name='PSF_PrintedColorPositive']").last().attr("value_selspec", value_id + 1);
                  $("select[name='PSF_Typesetting']").last().attr("value_ppwaerid", value_id + 1);
+                 $("input[name='PSF_Fabantaoshu']").last().attr("value_ppwaerid", value_id + 1);
                  $("input[name='PSF_OpenWidth']").last().attr("value_ppwaerid", value_id + 1);
                  $("input[name='PSF_OpenWidthName']").last().attr("value_ppwaerid", value_id + 1);
                  $("input[name='PSF_OpenLength']").last().attr("value_ppwaerid", value_id + 1);
@@ -569,6 +650,9 @@
                  $(".CTPSpecName").last().attr("value_ppwaerid", value_id + 1);
                  $(".CTPCount").last().attr("value_ppwaerid", value_id + 1);
                  $(".lbCTPCount").last().attr("value_ppwaerid", value_id + 1);
+                 $(".lbCTPCounta").last().attr("value_ppwaerid", value_id + 1);
+                 $(".lbCTPCountb").last().attr("value_ppwaerid", value_id + 1);
+                 $(".lbCTPCountc").last().attr("value_ppwaerid", value_id + 1);
                  $(".PSF_Qitadingdanhao").last().attr("value_ppwaerid", value_id + 1);
                  $("input[name='PSF_Qitadingdanhao']").last().attr("value_ppwaerid", value_id + 1);
                  $("select[name='PSF_Component']").last().attr("value_ppwaerid", value_id + 1);
@@ -611,7 +695,7 @@
 
                  $("select[name='PSF_OpenSpecifications']").last().val("8寮�");
                  $("select[name='PSF_OpenSpecifications']").last().change();
-                 $("input[name='CTPSpecName']").last().val("395*460");
+                 $("input[name='CTPSpecName']").last().val("460*395");
                  $("input[name='PSF_PNum']").last().val("");
 
                  if ($("select[name='PSF_Component']").first().val() == "灏侀潰") {
@@ -652,6 +736,26 @@
                     $(".AddTab").last().remove();
                 }
             });
+
+
+             $(".AddHoudaos").click(function () {
+                 var value_id = parseInt($(".AddHoudao").last().attr("value_id"));
+                 $(".AddHoudao").last().after($(".AddHoudao").last().clone(true));
+                 $(".AddHoudao").last().attr("value_id", value_id + 1);
+                 $(".AddHoudaos").last().attr("value_id", value_id + 1);
+                 $(".CutHoudaos").last().attr("value_id", value_id + 1);
+
+             });
+
+
+             $(".CutHoudaos").click(function () {
+                 var value_id = parseInt($(this).attr("value_id"));
+                 var count = $('.AddHoudao').length;
+                 if (count == 1) {
+                 } else {
+                     $(".AddHoudao[value_id='" + value_id + "']").remove();
+                 }
+             });
 
             $("select[name='PSF_PaperSource']").live("change", function () {
                 var value_SelWaerId = $(this).attr("value_SelWaerId");
@@ -707,9 +811,9 @@
                 } else if ($(this).val() == "鑷甫CTP") {
 
                     $(".FromWarehouseByBanCai[value_WaerId='" + value_SelWaerId + "']").hide();
-                    $(".CTPSpecName[value_ppwaerid='" + value_SelWaerId + "']").hide();
-                    $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
-                    $(".tdCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
+                    $(".CTPSpecName[value_ppwaerid='" + value_SelWaerId + "']").show();
+                    $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+                    $(".tdCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
                     $(".selCTPSpec[value_ppwaerid='" + value_SelWaerId + "']").show();
                     $(".selFilmSpec[value_ppwaerid='" + value_SelWaerId + "']").hide();
 
@@ -717,6 +821,7 @@
                     $(".tdPSSpec[value_ppwaerid='" + value_SelWaerId + "']").hide();
                     $(".lbPSCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
                     $(".tdPsCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
+                    $("input[name='PSF_PaperId2'][value_ppwaerid='" + value_WaerId + "']").val("");
                 }
                 else {
 
@@ -930,7 +1035,7 @@
                 if ($(this).val().indexOf('鍏紑') >= 0) {
                     $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍗曡壊");
                     $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("鍗曡壊");
-                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("395*460");
+                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("460*395");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("8寮�");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change();
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
@@ -972,7 +1077,7 @@
                 else if ($(this).val().indexOf('鍥涜壊') >= 0) {
                     $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍥涜壊");
                     $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("鍥涜壊");
-                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("770*1030");
+                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("1030*770");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("2寮�");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change();
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
@@ -1010,7 +1115,7 @@
                 else if ($(this).val().indexOf('鍏壊') >= 0) {
                     $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍥涜壊");
                     $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("鍥涜壊");
-                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("790*1030");
+                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("1030*790");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("2寮�");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change();
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
@@ -1049,7 +1154,7 @@
                 else if ($(this).val().indexOf('榛戠櫧') >= 0) {
                     $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍗曡壊");
                     $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("鍗曡壊");
-                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("760*920");
+                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("920*760");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("2寮�");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change();
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
@@ -1088,7 +1193,7 @@
                 else if ($(this).val().indexOf('杞浆') >= 0) {
                     $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍗曡壊");
                     $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("鍗曡壊");
-                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("578*810");
+                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("810*579");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change();
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").hide();
@@ -1163,66 +1268,12 @@
                     
                     $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍗曡壊");
                     $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("鍗曡壊");
-                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("395*460");
+                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("460*395");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change();
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
 
-                    if ($("#spanOrderPrintDemand").html() != "" && $("#spanOrderPrintDemand").html().indexOf("table") < 0) {
-                        var sss = $("#spanOrderPrintDemand").html().split('锛�');
-                        if (sss != null) {
-
-                            for (var i = 0; i < sss.length; i++) {
-                                var sfdsdfdf = sss[i].split('锛�');
-
-
-
-
-                                if (sfdsdfdf[0].indexOf('(') >= 0 && sfdsdfdf[0].indexOf(')') >= 0) {
-
-
-                                    // 鍋囪瑕佹埅鍙栫殑瀛楃涓蹭负str锛屽紑濮嬪瓧绗︿覆涓簊tart锛岀粨鏉熷瓧绗︿覆涓篹nd
-                                    var startIndex = sfdsdfdf[0].indexOf('(') + 1;
-                                    var endIndex = sfdsdfdf[0].indexOf(')');
-                                    var substr = sfdsdfdf[0].slice(startIndex, endIndex);
-
-
-                                    var ssssaaa = substr;
-
-                                    if (ssssaaa.indexOf('脳') >= 0) {
-
-                                        var dfdfdf = ssssaaa.split('脳');
-                                        $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "").trim());
-                                        $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim());
-                                    } else if (ssssaaa.indexOf('*') >= 0) {
-
-                                        var dfdfdf = ssssaaa.split('*');
-                                        $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "").trim());
-                                        $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim());
-                                    }
-
-
-
-                                } else {
-                                    if (sss[i].indexOf('脳') >= 0) {
-                                        var sfdsdfdf = sss[i].split('锛�');
-
-                                        var dfdfdf = sfdsdfdf[0].split('脳');
-                                        $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "").trim());
-                                        $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim());
-                                    } else if (sss[i].indexOf('*') >= 0) {
-
-                                        var sfdsdfdf = sss[i].split('锛�');
-
-                                        var dfdfdf = sfdsdfdf[0].split('*');
-                                        $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "").trim());
-                                        $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim());
-                                    } 
-                                }
-                               
-                            }
-                        }
-                    }
+                    
 
                     $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
                     $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
@@ -1257,7 +1308,7 @@
 
                     $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍗曡壊");
                     $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("鍗曡壊");
-                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("395*460");
+                    $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("460*395");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("");
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change();
                     $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
@@ -1404,6 +1455,7 @@
                     $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PrintedColorRear']").val($(vv).attr("value_hide_psf_printedcolorrear"));
                     $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Typesetting']").val($(vv).attr("value_hide_psf_typesetting"));
                     $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Typesettinghide']").val($(vv).attr("value_hide_psf_typesetting"));
+                   // $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Fabantaoshu']").val($(vv).attr("value_hide_psf_fabantaoshu"));
                     $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PaperSource']").val($(vv).attr("value_hide_psf_papersource"));
                     $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_OpenSpecifications']").val($(vv).attr("value_hide_psf_openspecifications"));
                     $(vv).parent().parent().parent().parent().parent().find("select[name='selPaperName']").val($(vv).attr("value_hide_psf_selPaperName"));
@@ -1877,7 +1929,7 @@
                  if (keyid != "") {
 
                  } else {
-                     $(vv).val("395*460");
+                     $(vv).val("460*395");
                     
                 }
             });

--
Gitblit v1.9.1