From b03ae699c49cfca53d22772f0c2aec5210bc9758 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 02 四月 2026 08:50:35 +0800
Subject: [PATCH] 张薇按我这个界面比例画图 生产要求只填1行就够了,其他跟之前的一样 这个地方是增加或者删除不需要的后道
---
CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx | 1156 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 1,079 insertions(+), 77 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
index b610db5..2e212a5 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
@@ -75,7 +75,7 @@
</td>
<td>
<%-- <span id="spanOrderDeliveryTime" runat="server"></span>--%>
- <input id='txtDeliveryTime' class='date req' runat="server" />
+ <input id='txtDeliveryTime' class='date' runat="server" />
</td>
</tr>
<tr style=" display:none;">
@@ -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">
@@ -189,48 +197,64 @@
<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>
<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鏁�
+ <td rowspan="2" >
+ <%=PrintTypeId=="7"?"鐗堟暟":"椤垫暟" %>
</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_yinshufangshi" value_openwidthspan="<%#Container.ItemIndex + 1%>">鍗板埛鏂瑰紡</p>
+ </td>
<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>
</tr>
<tr>
<td>
- <select keepdefaultstyle="true" class="" name="PSF_Component" value_ppwaerid="<%#Container.ItemIndex + 1%>">
- <option value="" selected="selected">-鏃�-</option>
+ <select keepdefaultstyle="true" class="" name="PSF_Component" value_ppwaerid="<%#Container.ItemIndex + 1%>" <%=PrintTypeId=="7"?"style=\"display:none;\"":"" %> >
+ <option value="">-鏃�-</option>
<option value="灏侀潰">灏侀潰</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">
+ <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 %>
@@ -257,11 +281,11 @@
<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>
- <option value="鎵f澘">鎵f澘</option>
+ <option value="鎵g増">鎵g増</option>
<option value="鍗曢潰">鍗曢潰</option>
</select>
@@ -271,6 +295,27 @@
</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" name="CTPCount" value="<%#Eval("PSF_CTPCount")%>" style=" width: 80px" />
+
+ </td>
+ <td>
+ <select keepdefaultstyle="true" class="" name="PSF_Fabantaoshu" value_ppwaerid="<%#Container.ItemIndex + 1%>">
+ <option value=""></option>
+ <option value="2">2</option>
+ <option value="3">3</option>
+ <option value="4">4</option>
+ <option value="5">5</option>
+ </select>
+ </td>
</tr>
<tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%" name="PSF_PrintedPaperTd" value_selspec="<%#Container.ItemIndex + 1%>">
@@ -284,30 +329,30 @@
绾稿紶瑙勬牸
</td>
<td colspan="3">
- 绾稿紶鏁伴噺锛堝紶锛�
+ <p name="PSF_Zhizhangshuliang" value_selspecspan="<%#Container.ItemIndex + 1%>">绾稿紶鏁伴噺锛堝紶锛�</p>
</td>
<td colspan="4">
- 寮�鏂欒鏍�
+ <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%>">
<td>
- 绾稿紶鏁伴噺
+ <p name="PSF_Zhizhangshulianga" value_selspecspan="<%#Container.ItemIndex + 1%>">绾稿紶鏁伴噺</p>
</td>
<td>
- 鍗板埛姝f暟
+ <p name="PSF_Yinshuazhengshu" value_selspecspan="<%#Container.ItemIndex + 1%>">鍗板埛姝f暟</p>
</td>
<td>
- 娑堣��
+ <p name="PSF_Xiaohao" value_selspecspan="<%#Container.ItemIndex + 1%>">娑堣��</p>
</td>
<td colspan="1" >
<p name="PSF_OpenSpecificationsspan" value_selspecspan="<%#Container.ItemIndex + 1%>">寮�鏁�</p>
</td>
<td>
- 瀹藉害(mm)
+ <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%>">
@@ -351,7 +396,7 @@
<input type="text" class=" w80px int " msg="璇峰~鍐欐暟瀛�" name="PSF_OpenWidth" value="<%#(Eval("PSF_OpenWidth") == null || Eval("PSF_OpenWidth").ToString()=="0")?"":Eval("PSF_OpenWidth").ToString()%>" value_ppwaerid='<%#Container.ItemIndex + 1%>' />
<div class="xialap" value_ppwaerid='<%#Container.ItemIndex + 1%>' style="display:none;" >
- <input type="text" class=" w80px int " name="PSF_OpenWidthName" value="<%#(Eval("PSF_OpenWidth") == null || Eval("PSF_OpenWidth").ToString()=="0")?"":Eval("PSF_OpenWidth").ToString()%>" value_ppwaerid='<%#Container.ItemIndex + 1%>' />
+ <input type="text" class=" w80px int " value_ppwaerid='<%#Container.ItemIndex + 1%>' name="PSF_OpenWidthName" value="<%#(Eval("PSF_OpenWidth") == null || Eval("PSF_OpenWidth").ToString()=="0")?"":Eval("PSF_OpenWidth").ToString()%>" />
<div class="xialapb" >
<div class="xialapr">755</div>
@@ -365,16 +410,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">
+ <%--<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>
@@ -384,7 +429,7 @@
<td colspan="7">
</td>
</tr>
- <tr>
+ <tr style="display:none;">
<td style="display:none;">
<select keepdefaultstyle="true" value_selwaerid="<%#Container.ItemIndex + 1%>" name="selPlateType" id="selPlateType">
<option value="鏈巶CTP">鏈巶CTP</option>
@@ -395,17 +440,12 @@
<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" >
+ <%--<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">
@@ -419,7 +459,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;">
@@ -431,9 +471,17 @@
<td colspan="7">
</td>
</tr>
- <tr>
+ <tr class="PSF_Qitadingdanhao" value_ppwaerid='<%#Container.ItemIndex + 1%>' style="display:none;">
<td style="font-weight: bold; background-color: #E6E6E6;">
- 娉ㄦ剰浜嬮」锛�
+ 鍏跺畠璁㈠崟鐨勮鍗曞彿锛�
+ </td>
+ <td colspan="12" align="left" >
+ <input type="text" name="PSF_Qitadingdanhao" style="width: 50%;" value_ppwaerid="<%#Container.ItemIndex + 1%>"value="<%#Eval("PSF_PaperName")%>" maxlength="50" />
+ </td>
+ </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>
@@ -451,18 +499,70 @@
<input type="button" class="Btn" value="绾稿紶閲囪喘" onclick="zhizhangcaigou();" />
</td>
</tr>
- <tr>
+ <tr >
<td colspan="2">
<table class="tableStyle" style="width: 98%; margin: 5px auto;">
- <thead>
+ <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>
+ </tr>
+ </ItemTemplate>
+ </asp:Repeater>
+ </tbody>
+ </table>
+ </td>
+ <td class="w70px " >
+ <a class="Btn AddHoudaos" style="font-size:20px;" >+</a> <a class="Btn CutHoudaos" style="font-size:20px;" >-</a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </td>
+ </tr>
+
+ <tr style="display:none;">
+ <td colspan="2">
+ <table class="tableStyle" style="width: 98%; margin: 5px auto;">
+ <%--<thead>
<tr>
<th>
<b>鍚庨亾宸ュ簭</b>
</th>
</tr>
- </thead>
+ </thead>--%>
<tbody>
<tr>
+ <td class="ali03 w70px " >
+ 鍚庨亾宸ュ簭锛�
+ </td>
<td>
<textarea style="width: 96%; height: 40px;" name="PSO_Work" runat="server" id="txtPSO_Work"></textarea>
</td>
@@ -474,15 +574,18 @@
<tr>
<td colspan="2">
<table class="tableStyle" style="width: 98%; margin: 5px auto;">
- <thead>
+ <%-- <thead>
<tr>
<th>
<b>澶囨敞</b>
</th>
</tr>
- </thead>
+ </thead>--%>
<tbody>
<tr>
+ <td class="ali03 w70px " >
+ 鐢熶骇瑕佹眰锛�
+ </td>
<td>
<textarea style="width: 96%; height: 40px;" name="PSO_Remarks" runat="server" id="txtPSO_Remarks"></textarea>
</td>
@@ -568,14 +671,25 @@
$("input[name='PSF_PrintedCount']").last().attr("value_ppwaerid", value_id + 1);
$("select[name='PSF_OpenSpecifications']").last().attr("value_selSpec", value_id + 1);
$("p[name='PSF_OpenSpecificationsspan']").last().attr("value_selspecspan", value_id + 1);
+
+ $("p[name='PSF_Zhizhangshuliang']").last().attr("value_selspecspan", value_id + 1);
+ $("p[name='PSF_Kailiaoguige']").last().attr("value_selspecspan", value_id + 1);
+ $("p[name='PSF_Zhizhangshulianga']").last().attr("value_selspecspan", value_id + 1);
+ $("p[name='PSF_Yinshuazhengshu']").last().attr("value_selspecspan", value_id + 1);
+ $("p[name='PSF_Xiaohao']").last().attr("value_selspecspan", value_id + 1);
+ $("p[name='PSF_Kuandu']").last().attr("value_selspecspan", value_id + 1);
+
+
$("p[name='PSF_OpenWidthspan']").last().attr("value_openwidthspan", value_id + 1);
$("p[name='PSF_yinse']").last().attr("value_openwidthspan", value_id + 1);
$("p[name='PSF_yinsezheng']").last().attr("value_openwidthspan", value_id + 1);
+ $("p[name='PSF_yinshufangshi']").last().attr("value_openwidthspan", value_id + 1);
$("p[name='PSF_yinsebei']").last().attr("value_openwidthspan", value_id + 1);
$("select[name='PSF_PrintedColorRear']").last().attr("value_ppwaerid", value_id + 1);
$("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);
+ $("select[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);
@@ -585,8 +699,14 @@
$(".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);
$("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);
@@ -625,13 +745,45 @@
$("select[name='PSF_OpenSpecifications']").last().val("8寮�");
$("select[name='PSF_OpenSpecifications']").last().change();
$("input[name='CTPSpecName']").last().val("395*460");
- $("select[name='PSF_PressesDesk']").last().change();
+ $("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") {
+ if (value_id == 1) {
+ $("input[name='PSF_PNum']").last().val("<%=shukuanhuaceneiye1 %>");
+ } else if (value_id == 2) {
+ $("input[name='PSF_PNum']").last().val("<%=shukuanhuaceneiye2 %>");
+ } else if (value_id == 3) {
+ $("input[name='PSF_PNum']").last().val("<%=shukuanhuaceneiye3 %>");
+ } else if (value_id == 4) {
+ $("input[name='PSF_PNum']").last().val("<%=shukuanhuaceneiye4 %>");
+ } else if (value_id == 5) {
+ $("input[name='PSF_PNum']").last().val("<%=shukuanhuaceneiye5 %>");
+ }
+
+
+ }
}
- $("input[name='PSF_PNum']").last().val("");
+
$("input[name='PSF_PaperName']").last().val("");
$("input[name='PSF_MaterialSpecifications']").last().val("");
$("input[name='PSF_PrintedCount']").last().val("");
@@ -639,6 +791,7 @@
$("input[name='PSF_LastNum']").last().last().val("");
// $("input[name='CTPSpecName']").last().val("");
$("input[name='CTPCount']").last().last().val("");
+ $("select[name='PSF_PressesDesk']").last().change();
});
@@ -649,6 +802,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);
+
+
+ });
+
+
+ $(".CutHoudaos").click(function () {
+ var value_id = parseInt($(".AddHoudao").last().attr("value_id"));
+ if (value_id == 1) {
+ } else {
+ $(".AddHoudao").last().remove();
+ }
+ });
+
+
$("select[name='PSF_PaperSource']").live("change", function () {
var value_SelWaerId = $(this).attr("value_SelWaerId");
@@ -769,8 +942,161 @@
}
});
+
+ $("select[name='PSF_Typesetting']").live("change", function () {
+ var value_SelWaerId = $(this).attr("value_ppwaerid");
+ if ($("select[name='PSF_PressesDesk'][value_selspec='" + value_SelWaerId + "']").val().indexOf('鍏紑') >= 0 ) {
+ if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵g増" || $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val() == "鍙岃壊") {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2");
+ } else {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("1");
+ }
+ }
+
+
+ if ( $("select[name='PSF_PressesDesk'][value_selspec='" + value_SelWaerId + "']").val().indexOf('榛戠櫧') >= 0) {
+ if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵g増") {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2");
+ } else {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("1");
+ }
+ }
+
+ if ($("select[name='PSF_PressesDesk'][value_selspec='" + value_SelWaerId + "']").val().indexOf('鍥涜壊') >= 0 || $("select[name='PSF_PressesDesk'][value_selspec='" + value_SelWaerId + "']").val().indexOf('鍏壊') >= 0) {
+ if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵g増") {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("8");
+ } else {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("4");
+ }
+ }
+
+
+ });
+
+
+
+
+ $("select[name='PSF_PrintedColorPositive']").live("change", function () {
+ var value_SelWaerId = $(this).attr("value_selspec");
+ if ($("select[name='PSF_PressesDesk'][value_selspec='" + value_SelWaerId + "']").val().indexOf('鍏紑') >= 0) {
+ if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵g増" || $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val() == "鍙岃壊") {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2");
+ } else {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("1");
+ }
+ }
+
+
+ });
+
+
+
$("select[name='PSF_PressesDesk']").live("change", function () {
var value_SelWaerId = $(this).attr("value_selspec");
+
+ if ($(this).val().indexOf('灏忔.') >= 0) {
+ var selectPSF_PrintedColorPositive = $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']");
+
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectPSF_PrintedColorPositive.empty();
+
+ const newOptions1 = [
+ { value: '鍗曡壊', text: '鍗曡壊' },
+ { value: '鍙岃壊', text: '鍙岃壊' },
+ { value: '涓夎壊', text: '涓夎壊' },
+ { value: '鍥涜壊', text: '鍥涜壊' },
+ ];
+
+
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml1 = '';
+ newOptions1.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml1 += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectPSF_PrintedColorPositive.html(optionHtml1); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+
+
+
+ var selectPSF_PrintedColorRear = $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']");
+
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectPSF_PrintedColorRear.empty();
+
+ const newOptions2 = [
+ { value: '0鑹�', text: '0鑹�' },
+ { value: '鍗曡壊', text: '鍗曡壊' },
+ { value: '鍙岃壊', text: '鍙岃壊' },
+ { value: '涓夎壊', text: '涓夎壊' },
+ { value: '鍥涜壊', text: '鍥涜壊' },
+ ];
+
+
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml2 = '';
+ newOptions2.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml2 += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectPSF_PrintedColorRear.html(optionHtml2); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+ } else {
+ var selectPSF_PrintedColorPositive = $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']");
+
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectPSF_PrintedColorPositive.empty();
+
+ const newOptions1 = [
+ { value: '鍗曡壊', text: '鍗曡壊' },
+ { value: '鍙岃壊', text: '鍙岃壊' },
+ { value: '涓夎壊', text: '涓夎壊' },
+ { value: '鍥涜壊', text: '鍥涜壊' },
+ { value: '鍥�+涓�', text: '鍥�+涓�' },
+ ];
+
+
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml1 = '';
+ newOptions1.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml1 += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectPSF_PrintedColorPositive.html(optionHtml1); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+
+
+
+ var selectPSF_PrintedColorRear = $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']");
+
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectPSF_PrintedColorRear.empty();
+
+ const newOptions2 = [
+ { value: '0鑹�', text: '0鑹�' },
+ { value: '鍗曡壊', text: '鍗曡壊' },
+ { value: '鍙岃壊', text: '鍙岃壊' },
+ { value: '涓夎壊', text: '涓夎壊' },
+ { value: '鍥涜壊', text: '鍥涜壊' },
+ { value: '鍥�+涓�', text: '鍥�+涓�' },
+ ];
+
+
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml2 = '';
+ newOptions2.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml2 += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectPSF_PrintedColorRear.html(optionHtml2); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+ }
+
+
if ($(this).val().indexOf('鍏紑') >= 0) {
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍗曡壊");
$("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("鍗曡壊");
@@ -791,6 +1117,8 @@
$("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").show();
+
$("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").show();
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").show();
@@ -800,7 +1128,16 @@
$("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
$("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵g増") {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2");
+ } else {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("1");
+ }
+
}
else if ($(this).val().indexOf('鍥涜壊') >= 0) {
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍥涜壊");
@@ -821,7 +1158,7 @@
$("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").show();
-
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").show();
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").show();
@@ -830,6 +1167,15 @@
$("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
$("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
$("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ //$("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("4");
+ if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵g増") {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("8");
+ } else {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("4");
+ }
}
else if ($(this).val().indexOf('鍏壊') >= 0) {
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍥涜壊");
@@ -852,7 +1198,7 @@
$("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").show();
-
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").show();
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").show();
@@ -860,6 +1206,15 @@
$("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
$("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
$("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ // $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("4");
+ if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵g増") {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("8");
+ } else {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("4");
+ }
}
else if ($(this).val().indexOf('榛戠櫧') >= 0) {
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍗曡壊");
@@ -871,8 +1226,8 @@
$("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
$("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
- $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
- $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").show();
@@ -881,7 +1236,7 @@
$("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").show();
-
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").show();
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").show();
@@ -890,6 +1245,15 @@
$("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
$("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
$("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("870");
+ if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵g増") {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2");
+ } else {
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("1");
+ }
}
else if ($(this).val().indexOf('杞浆') >= 0) {
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("鍗曡壊");
@@ -898,24 +1262,25 @@
$("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();
+ $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
$("input[name='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("755");
$("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").hide();
$("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").hide();
$("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").hide();
$("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").hide();
- $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").show();
+
- $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").hide();
$("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").show();
$("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").show();
-
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").hide();
$("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").show();
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").show();
@@ -923,40 +1288,273 @@
$("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
$("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
$("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2");
+ 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("900*570");
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("8");
+ }
+ }
+ // else if () {
+ // //$("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
+ // //$("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
+ // //$("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ // //$("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ // //$("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ // //$(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+
- } else if ($(this).val().indexOf('鏁扮爜') >= 0) {
+ // //$("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ // //$("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ // //$("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ // //$("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+
+
+ // //$("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ // //$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").hide();
+
+ // //$("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").hide();
+ // //$("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").hide();
+ // //$("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").hide();
+ // //$("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ // //$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("");
+ // //$("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("");
+
+
+ //}
+ else if ($(this).val().indexOf('鐩存帴淇垏') >= 0 || $(this).val().indexOf('鏁扮爜') >= 0 || $(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");
+ $("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();
$("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
$("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
$(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
-
-
-
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("");
$("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").hide();
$("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").hide();
$("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").hide();
$("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide();
-
-
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+
+
$("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").hide();
$("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").hide();
-
+
+ $("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ }
+ 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("395*460");
+ $("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();
+
+
+
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("");
+ $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ $("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+
+
+ $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").hide();
+
$("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").hide();
$("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").hide();
$("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").hide();
- $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").show();
- $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("");
- $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("");
+ $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ }
+
+
+
+
+ if ($(this).val().indexOf('杞浆') >= 0) {
+ var selectElement = $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']");
+
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectElement.empty();
+
+ const newOptions = [
+ { value: '鎵g増', text: '鎵g増' },
+ { value: '鍗曢潰', text: '鍗曢潰' }
+
+ ];
+
+
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml = '';
+ newOptions.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectElement.html(optionHtml); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+ $("p[name='PSF_Zhizhangshuliang'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_Kailiaoguige'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_Zhizhangshulianga'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_Yinshuazhengshu'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_Xiaohao'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_Kuandu'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_PrintedCount'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_PrintedPositive'][value_positiveid='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_LastNum'][value_lastnumid='" + value_SelWaerId + "']").hide();
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+
+ }
+ else {
+ var selectElement = $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']")
+
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectElement.empty();
+
+ const newOptions = [
+ { value: '鑷炕', text: '鑷炕' },
+ { value: '婊氱炕', text: '婊氱炕' },
+ { value: '鎵g増', text: '鎵g増' },
+ { value: '鍗曢潰', text: '鍗曢潰' }
+
+ ];
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml = '';
+ newOptions.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectElement.html(optionHtml); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+
+ $("p[name='PSF_Zhizhangshuliang'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_Kailiaoguige'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_Zhizhangshulianga'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_Yinshuazhengshu'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_Xiaohao'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_Kuandu'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_PrintedCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_PrintedPositive'][value_positiveid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_LastNum'][value_lastnumid='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
+
+ if ($(this).val().indexOf('榛戠櫧') >= 0) {
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ }
}
-
-
+
+
+
+
+
});
@@ -969,13 +1567,19 @@
$("input[name='PSF_Forumsid']").each(function (ii, vv) {
var keyid = "<%=keyid %>";
+ if ("<%=PrintTypeId %>" == "7") {
+ $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PressesDesk']").val("灏忔.鍟嗕笟杞浆鏈�");
+ $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PressesDesk']").change();
+ }
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"));
$(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"));
@@ -984,6 +1588,16 @@
$(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 {
+ if ("<%=shukuanhuace %>" == "true") {
+ $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Component']").val("灏侀潰");
+ $(vv).parent().parent().parent().parent().parent().find("input[name='PSF_PNum']").val("4");
+
+ } else {
+ $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Component']").val("");
+ $(vv).parent().parent().parent().parent().parent().find("input[name='PSF_PNum']").val("");
+ }
+ $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Component']").change();
}
});
@@ -1024,25 +1638,214 @@
var keyid = "<%=keyid %>";
if (keyid != "") {
var value_SelWaerId = $(this).attr("value_selspec");
- if ($(vv).val().indexOf('杞浆') >= 0) {
+ if ($(vv).val().indexOf('鍏紑') >= 0) {
+
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").show();
+
+ $("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").show();
+
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").show();
+
+
+ $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").show();
+
+ $("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+
+ }
+ else if ($(vv).val().indexOf('鍥涜壊') >= 0) {
+
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+
+ $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").show();
+
+ $("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").show();
+
+ $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").show();
+
+ $("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ }
+ else if ($(vv).val().indexOf('鍏壊') >= 0) {
+
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+
+
+ $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").show();
+
+ $("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").show();
+
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").show();
+
+ $("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ }
+ else if ($(vv).val().indexOf('榛戠櫧') >= 0) {
+
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").show();
+
+
+
+ $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").show();
+
+ $("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").show();
+
+ $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").show();
+
+ $("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ // $("input[name='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("870");
+ }
+ else if ($(vv).val().indexOf('杞浆') >= 0) {
+
$("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").hide();
+ $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ // $("input[name='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("755");
$("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").hide();
$("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").hide();
$("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").hide();
$("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").hide();
- $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").show();
- } else if ($(vv).val().indexOf('鏁扮爜') >= 0)
- {
-
+
+
+
+ $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ $("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").show();
+
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").show();
+
+ $("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ }
+
+ else if ($(vv).val().indexOf('鐩存帴淇垏') >= 0 || $(vv).val().indexOf('鏁扮爜') >= 0 || $(this).val().indexOf('琛ュ崟') >= 0 ) {
+
+
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").hide();
$("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").hide();
$("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").hide();
$("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").hide();
$("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+
+
+ $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").hide();
+
+ $("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ }
+
+
+ else if ($(vv).val().indexOf('涓庡叾浠栬鍗曞悎鐗�') >= 0 ) {
+
+
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".PSF_Qitadingdanhao[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ $("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+
+ $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").hide();
$("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").hide();
@@ -1051,10 +1854,204 @@
$("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").hide();
$("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").hide();
$("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").hide();
- $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").show();
-
-
+ $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
}
+
+
+ if ($(vv).val().indexOf('杞浆') >= 0) {
+ var selectElement = $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']");
+ var sssssss = selectElement.val();
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectElement.empty();
+
+ const newOptions = [
+ { value: '鎵g増', text: '鎵g増' },
+ { value: '鍗曢潰', text: '鍗曢潰' }
+
+ ];
+
+
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml = '';
+ newOptions.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectElement.html(optionHtml); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+
+
+ selectElement.val(sssssss);
+
+ $("p[name='PSF_Zhizhangshuliang'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_Kailiaoguige'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_Zhizhangshulianga'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_Yinshuazhengshu'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_Xiaohao'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_Kuandu'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").hide();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_PrintedCount'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_PrintedPositive'][value_positiveid='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_LastNum'][value_lastnumid='" + value_SelWaerId + "']").hide();
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+
+ }
+ else {
+ var selectElement = $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']")
+ var sssssss = selectElement.val();
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectElement.empty();
+
+ const newOptions = [
+ { value: '鑷炕', text: '鑷炕' },
+ { value: '婊氱炕', text: '婊氱炕' },
+ { value: '鎵g増', text: '鎵g増' },
+ { value: '鍗曢潰', text: '鍗曢潰' }
+
+ ];
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml = '';
+ newOptions.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectElement.html(optionHtml); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+
+ selectElement.val(sssssss);
+
+ $("p[name='PSF_Zhizhangshuliang'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_Kailiaoguige'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_Zhizhangshulianga'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_Yinshuazhengshu'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_Xiaohao'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_Kuandu'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
+ $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_PrintedCount'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_PrintedPositive'][value_positiveid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_LastNum'][value_lastnumid='" + value_SelWaerId + "']").show();
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show();
+ $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show();
+
+ if ($(this).val().indexOf('榛戠櫧') >= 0) {
+ $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").hide();
+ }
+ }
+
+
+
+ if ($(vv).val().indexOf('灏忔.') >= 0) {
+ var selectPSF_PrintedColorPositive = $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']");
+ var sssssss = selectPSF_PrintedColorPositive.val();
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectPSF_PrintedColorPositive.empty();
+
+ const newOptions1 = [
+ { value: '鍗曡壊', text: '鍗曡壊' },
+ { value: '鍙岃壊', text: '鍙岃壊' },
+ { value: '涓夎壊', text: '涓夎壊' },
+ { value: '鍥涜壊', text: '鍥涜壊' },
+ ];
+
+
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml1 = '';
+ newOptions1.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml1 += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectPSF_PrintedColorPositive.html(optionHtml1); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+
+ selectPSF_PrintedColorPositive.val(sssssss);
+
+ var selectPSF_PrintedColorRear = $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']");
+ var ssssssss = selectPSF_PrintedColorRear.val();
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectPSF_PrintedColorRear.empty();
+
+ const newOptions2 = [
+ { value: '0鑹�', text: '0鑹�' },
+ { value: '鍗曡壊', text: '鍗曡壊' },
+ { value: '鍙岃壊', text: '鍙岃壊' },
+ { value: '涓夎壊', text: '涓夎壊' },
+ { value: '鍥涜壊', text: '鍥涜壊' },
+ ];
+
+
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml2 = '';
+ newOptions2.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml2 += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectPSF_PrintedColorRear.html(optionHtml2); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+ selectPSF_PrintedColorRear.val(ssssssss);
+ } else {
+ var selectPSF_PrintedColorPositive = $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']");
+
+ var sssssss = selectPSF_PrintedColorPositive.val();
+ // 娓呯┖鐜版湁鐨刼ption
+ selectPSF_PrintedColorPositive.empty();
+
+ const newOptions1 = [
+ { value: '鍗曡壊', text: '鍗曡壊' },
+ { value: '鍙岃壊', text: '鍙岃壊' },
+ { value: '涓夎壊', text: '涓夎壊' },
+ { value: '鍥涜壊', text: '鍥涜壊' },
+ { value: '鍥�+涓�', text: '鍥�+涓�' },
+ ];
+
+
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml1 = '';
+ newOptions1.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml1 += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectPSF_PrintedColorPositive.html(optionHtml1); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+
+ selectPSF_PrintedColorPositive.val(sssssss);
+
+ var selectPSF_PrintedColorRear = $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']");
+ var ssssssss = selectPSF_PrintedColorRear.val();
+
+ // 娓呯┖鐜版湁鐨刼ption
+ selectPSF_PrintedColorRear.empty();
+
+ const newOptions2 = [
+ { value: '0鑹�', text: '0鑹�' },
+ { value: '鍗曡壊', text: '鍗曡壊' },
+ { value: '鍙岃壊', text: '鍙岃壊' },
+ { value: '涓夎壊', text: '涓夎壊' },
+ { value: '鍥涜壊', text: '鍥涜壊' },
+ { value: '鍥�+涓�', text: '鍥�+涓�' },
+ ];
+
+
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml2 = '';
+ newOptions2.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml2 += `<option value="${item.value}">${item.text}</option>`;
+ });
+ selectPSF_PrintedColorRear.html(optionHtml2); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
+ selectPSF_PrintedColorRear.val(ssssssss);
+ }
+
}
});
@@ -1066,7 +2063,10 @@
if (keyid != "") {
} else {
- $(vv).val("395*460");
+ if ("<%=PrintTypeId %>" != "7") {
+ $(vv).val("395*460");
+ }
+
}
});
@@ -1089,6 +2089,8 @@
var value_pparid = "3";
top.Dialog.open({ URL: "/Pages/business/AgConWarehouse.aspx?CommidityType=鐗堟潗&&value_pparid=" + value_pparid, Width: 1000, Height: 650, Title: "閫夋嫨璐у搧鍙傛暟" });
});
+
+
});
@@ -1174,7 +2176,7 @@
//绾稿紶閲囪喘
function zhizhangcaigou() {
- top.Dialog.open({ URL: "/Pages/procurement/ProcurementADD.aspx", Title: "绾稿紶閲囪喘", Width: 1100, Height: 700 });
+ top.Dialog.open({ URL: "/Pages/procurement/ProcurementADD.aspx?orderIdstrrrr=<%=orderIdstrrrr %>", Title: "绾稿紶閲囪喘", Width: 1100, Height: 700 });
}
</script>
--
Gitblit v1.9.1