From b1ac791a0e8896ee3d2016949911d44c9f0fb7a9 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 16 三月 2026 13:17:23 +0800
Subject: [PATCH] 封面的构件选项修改为“封面、封内合拼、多单合拼、内页”,默认封面 选择了封面构件后,新增的内页构件中的选项该为“内页、多单合拼”, 默认内页 专版按以上 合版的选项中增加“无”,默认无 无”打印的时候为空白,不显示“无”字

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx |   44 +++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 39 insertions(+), 5 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
index 6c9dcb5..249af52 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
@@ -175,6 +175,14 @@
                         </tr>
                         <tr>
                             <td class="ali03">
+                                鍗板埛鏁伴噺锛�
+                            </td>
+                            <td colspan="5">
+                                 <input type="text" id="txtOrderNum" class=" w120px int" min="0"  runat="server" />
+                            </td>
+                        </tr>
+                        <tr>
+                            <td class="ali03">
                                 澶囨敞锛�
                             </td>
                             <td colspan="5">
@@ -195,10 +203,10 @@
                             </thead>
                             <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%">
                                 <td rowspan="2" style="width: 195px;">
-                                    鏋勪欢
+                                 <%=PrintTypeId=="7"?"鎴愬搧灏哄":"鏋勪欢"  %>   
                                 </td>
                                 <td rowspan="2" colspan="2" >
-                                    P鏁�
+                                   <%=PrintTypeId=="7"?"鐗堟暟":"P鏁�"  %>    
                                 </td>
                                 <td rowspan="2" colspan="2">
                                     鍗板埛鏈哄彴
@@ -221,11 +229,15 @@
                             </tr>
                             <tr>
                                 <td>
-                                    <select keepdefaultstyle="true" class="" name="PSF_Component" value_ppwaerid="<%#Container.ItemIndex + 1%>">
-                                        <option value="" selected="selected">-鏃�-</option>
-                                        <option value="灏侀潰">灏侀潰</option>
+                                    <select keepdefaultstyle="true" class="" name="PSF_Component" value_ppwaerid="<%#Container.ItemIndex + 1%>" <%=PrintTypeId=="7"?"style=\"display:none;\"":""  %>    >
+                                       <%-- <option value="" selected="selected">-鏃�-</option>--%>
+                                        <option value="灏侀潰" selected="selected" >灏侀潰</option>
+                                        <option value="灏佸唴鍚堟嫾">灏佸唴鍚堟嫾</option>
+                                        <option value="澶氬崟鍚堟嫾">澶氬崟鍚堟嫾</option>
                                         <option value="鍐呴〉">鍐呴〉</option>
                                     </select>
+
+                                    <input type="text" class="  w120px " maxlength="50"   name="PSF_Chengpinchicun"  value_ppwaerid="<%#Container.ItemIndex + 1%>" value="<%#Eval("PSF_Component")%>" <%=PrintTypeId=="7"?"":"style=\"display:none;\""  %>  />
                                 </td>
                                 <td colspan="2">
                                     <input type="text" class="  w80px  int " msg="璇峰~鍐欐暟瀛�" name="PSF_PNum" value="<%#Eval("PSF_PNum")%>" value_ppwaerid="<%#Container.ItemIndex + 1%>" />
@@ -607,6 +619,7 @@
                 $("input[name='PSF_Qitadingdanhao']").last().attr("value_ppwaerid", value_id + 1);
                 $("select[name='PSF_Component']").last().attr("value_ppwaerid", value_id + 1);
                 $("input[name='PSF_PNum']").last().attr("value_ppwaerid", value_id + 1);
+                $("input[name='PSF_Chengpinchicun']").last().attr("value_ppwaerid", value_id + 1);
                 $(".tdCTPCount").last().attr("value_ppwaerid", value_id + 1);
                 $(".selCTPSpec").last().attr("value_ppwaerid", value_id + 1);
                 $(".selFilmSpec").last().attr("value_ppwaerid", value_id + 1);
@@ -648,6 +661,22 @@
                 $("input[name='PSF_PNum']").last().val("");
 
                 if ($("select[name='PSF_Component']").first().val() == "灏侀潰") {
+
+
+                    const newOptions = [
+                        { value: '澶氬崟鍚堟嫾', text: '澶氬崟鍚堟嫾' },
+                        { value: '鍐呴〉', text: '鍐呴〉' }
+
+                    ];
+
+                    // 3. 鎵归噺鏂板option鍒皊elect涓�
+                    let optionHtml = '';
+                    newOptions.forEach(item => {
+                        // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+                        optionHtml += `<option value="${item.value}">${item.text}</option>`;
+                    });
+                    $("select[name='PSF_Component']").last().html(optionHtml); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+
                     $("select[name='PSF_Component']").last().val("鍐呴〉");
 
                     if ("<%=shukuanhuace %>" == "true") {
@@ -918,6 +947,7 @@
                         { value: '鍗曡壊', text: '鍗曡壊' },
                         { value: '鍙岃壊', text: '鍙岃壊' },
                         { value: '涓夎壊', text: '涓夎壊' },
+                        { value: '鍥涜壊', text: '鍥涜壊' },
                         { value: '鍥�+涓�', text: '鍥�+涓�' },
                     ];
 
@@ -1436,6 +1466,7 @@
                 }
                 if (keyid != "") {
                     $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Component']").val($(vv).attr("value_hide_psf_component"));
+                    //$(vv).parent().parent().parent().parent().parent().find("input[name='PSF_Chengpinchicun']").val($(vv).attr("value_hide_psf_component"));
                     $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PressesDesk']").val($(vv).attr("value_hide_psf_pressesdesk"));
                     $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PrintedColorPositive']").val($(vv).attr("value_hide_psf_printedcolorpositive"));
                     $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PrintedColorRear']").val($(vv).attr("value_hide_psf_printedcolorrear"));
@@ -1449,6 +1480,8 @@
                     $(vv).parent().parent().parent().parent().parent().find("select[name='selCTPSpec']").val($(vv).attr("value_hide_psf_selCTPSpec"));
                     $(vv).parent().parent().parent().parent().parent().find("select[name='selFilmSpec']").val($(vv).attr("value_hide_psf_selFilmSpec"));
 
+                } else {
+                    $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Component']").change();
                 }
             });
 
@@ -1860,6 +1893,7 @@
                             { value: '鍗曡壊', text: '鍗曡壊' },
                             { value: '鍙岃壊', text: '鍙岃壊' },
                             { value: '涓夎壊', text: '涓夎壊' },
+                            { value: '鍥涜壊', text: '鍥涜壊' },
                             { value: '鍥�+涓�', text: '鍥�+涓�' },
                         ];
 

--
Gitblit v1.9.1