From dfa28b7d5089acd327ed81e4d311310ec195185f Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 26 十一月 2024 08:35:36 +0800
Subject: [PATCH] 合版工单,专版工单,后到工单撤单
---
CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx | 418 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 389 insertions(+), 29 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
index 44a655e..30d6ea5 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
@@ -5,6 +5,7 @@
<head runat="server">
<title>涓撶増鏂藉伐鍗�</title>
<uc:CMSHead ID="CMSHead1" runat="server" />
+ <link rel="stylesheet" type="text/css" href="../../Styles/base.css?v=1" />
<style type="text/css">
body { font-family: 寰蒋闆呴粦; }
tr { line-height: 20px; }
@@ -196,25 +197,26 @@
<td rowspan="2" style="width: 195px;">
鏋勪欢
</td>
- <td rowspan="2" colspan="2" colspan="2">
+ <td rowspan="2" colspan="2" >
P鏁�
</td>
<td rowspan="2" colspan="2">
鍗板埛鏈哄彴
</td>
- <td colspan="2">
- 鍗拌壊
+ <td colspan="2" >
+ <p name="PSF_yinse" value_openwidthspan="<%#Container.ItemIndex + 1%>">鍗拌壊</p>
</td>
<td rowspan="2" colspan="2">
鍗板埛鏂瑰紡
</td>
+
</tr>
- <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6;">
+ <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6;" >
<td>
- 姝�
+ <p name="PSF_yinsezheng" value_openwidthspan="<%#Container.ItemIndex + 1%>">姝�</p>
</td>
<td>
- 鑳�
+ <p name="PSF_yinsebei" value_openwidthspan="<%#Container.ItemIndex + 1%>">鑳�</p>
</td>
</tr>
<tr>
@@ -229,27 +231,29 @@
<input type="text" class=" w80px int " msg="璇峰~鍐欐暟瀛�" name="PSF_PNum" value="<%#Eval("PSF_PNum")%>" />
</td>
<td colspan="2">
- <select keepdefaultstyle="true" class=" w120px" name="PSF_PressesDesk">
+ <select keepdefaultstyle="true" class=" w120px" name="PSF_PressesDesk" value_selspec="<%#Container.ItemIndex + 1%>">
<%--<option value="">璇烽�夋嫨</option>--%>
<%=PressesDeskHtml %>
</select>
</td>
- <td>
- <select keepdefaultstyle="true" class="" name="PSF_PrintedColorPositive">
- <option value="鍗曡壊">鍗曡壊</option>
+ <td >
+ <select keepdefaultstyle="true" class="" name="PSF_PrintedColorPositive" value_selspec="<%#Container.ItemIndex + 1%>" >
+ <option value="" >璇烽�夋嫨</option>
+ <option value="鍗曡壊" selected="selected">鍗曡壊</option>
<option value="鍙岃壊">鍙岃壊</option>
<option value="涓夎壊">涓夎壊</option>
- <option value="鍥涜壊" selected="selected">鍥涜壊</option>
+ <option value="鍥涜壊" >鍥涜壊</option>
<option value="鍥�+涓�">鍥�+涓�</option>
</select>
</td>
<td>
<select keepdefaultstyle="true" class="" name="PSF_PrintedColorRear" value_ppwaerid="<%#Container.ItemIndex + 1%>">
+ <option value="" >璇烽�夋嫨</option>
<option value="0鑹�">0鑹�</option>
- <option value="鍗曡壊">鍗曡壊</option>
+ <option value="鍗曡壊" selected="selected">鍗曡壊</option>
<option value="鍙岃壊">鍙岃壊</option>
<option value="涓夎壊">涓夎壊</option>
- <option value="鍥涜壊" selected="selected">鍥涜壊</option>
+ <option value="鍥涜壊" >鍥涜壊</option>
<option value="鍥�+涓�">鍥�+涓�</option>
</select>
</td>
@@ -260,9 +264,16 @@
<option value="鎵f澘">鎵f澘</option>
<option value="鍗曢潰">鍗曢潰</option>
</select>
+
+ <select keepdefaultstyle="true" class="" name="PSF_Typesettinghide" value_ppwaerid="<%#Container.ItemIndex + 1%>" style="display:none;">
+ <option value="鍗曢潰">鍗曢潰</option>
+ <option value="鍙岄潰">鍙岄潰</option>
+
+ </select>
</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%" name="PSF_PrintedPaperTd" value_selspec="<%#Container.ItemIndex + 1%>">
<td rowspan="2">
绾稿紶鏉ユ簮
</td>
@@ -279,7 +290,7 @@
寮�鏂欒鏍�
</td>
</tr>
- <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6;">
+ <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6;" name="PSF_PrintedPaperTdtr" value_selspec="<%#Container.ItemIndex + 1%>">
<td>
绾稿紶鏁伴噺
</td>
@@ -289,17 +300,17 @@
<td>
娑堣��
</td>
- <td colspan="1">
- 寮�鏁�
+ <td colspan="1" >
+ <p name="PSF_OpenSpecificationsspan" value_selspecspan="<%#Container.ItemIndex + 1%>">寮�鏁�</p>
</td>
<td>
- 瀹藉害(mm)
+ 瀹藉害(mm)
</td>
<td>
- 闀垮害(mm)
+ <p name="PSF_OpenWidthspan" value_openwidthspan="<%#Container.ItemIndex + 1%>">闀垮害(mm)</p>
</td>
</tr>
- <tr>
+ <tr name="PSF_PrintedPaperTdtrtr" value_selspec="<%#Container.ItemIndex + 1%>">
<td>
<select keepdefaultstyle="true" class=" w80px" name="PSF_PaperSource" value_selwaerid="<%#Container.ItemIndex + 1%>" value_name="" value_type="" value_soure="">
<option value="鏉ヨ嚜浠撳簱">鏉ヨ嚜浠撳簱</option>
@@ -332,19 +343,30 @@
</td>
<td colspan="1">
<select keepdefaultstyle="true" class=" w80px" name="PSF_OpenSpecifications" value_selspec="<%#Container.ItemIndex + 1%>">
- <%--<option value="">璇烽�夋嫨</option>--%>
+ <option value="">璇烽�夋嫨</option>
<%=selCuttingPaperSpecHtml%>
</select>
</td>
<td>
<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%>' />
+ <div class="xialapb" >
+
+ <div class="xialapr">755</div>
+ <div class="xialapr">760</div>
+ <div class="xialapr">765</div>
+ <div class="xialapr">770</div>
+ </div>
+ </div>
</td>
<td>
- <input type="text" class=" w80px int " msg="璇峰~鍐欐暟瀛�" name="PSF_OpenLength" value="<%#(Eval("PSF_OpenWidth") == null || Eval("PSF_OpenLength").ToString()=="0")?"":Eval("PSF_OpenLength").ToString()%>" value_ppwaerid='<%#Container.ItemIndex + 1%>' />
+ <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%">
- <td>
+ <td style="display:none;">
鐗堟潗绫诲瀷
</td>
<td colspan="2">
@@ -359,11 +381,11 @@
<td id="lbPSCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' class="lb lbPSCount" colspan="4" style="display: none">
PS鐗堟暟閲�
</td>
- <td colspan="6">
+ <td colspan="7">
</td>
</tr>
<tr>
- <td>
+ <td style="display:none;">
<select keepdefaultstyle="true" value_selwaerid="<%#Container.ItemIndex + 1%>" name="selPlateType" id="selPlateType">
<option value="鏈巶CTP">鏈巶CTP</option>
<option value="鑷甫CTP">鑷甫CTP</option>
@@ -373,8 +395,19 @@
<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" >
+ <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">
<option value="">璇烽�夋嫨</option>
<%=selCTPSpecHtml %>
@@ -395,7 +428,7 @@
<td id="tdPsCount" style="display: none" runat="server" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="td tdPsCount" colspan="4">
<input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt PSCount" name="PSCount" style="width: 80px" id="PSCount" value="<%#Eval("PSF_PSCount")%>" />
</td>
- <td colspan="6">
+ <td colspan="7">
</td>
</tr>
<tr>
@@ -511,6 +544,7 @@
var value_id = parseInt($(".AddTab").last().attr("value_id"));
$(".AddTab").last().after($(".AddTab").last().clone(true));
$(".AddTab").last().attr("value_id", value_id + 1);
+ $(".xialap").last().attr("value_ppwaerid", value_id + 1);
$(".AddTab span").last().text(value_id + 1);
$(".FromWarehouse").last().attr("value_WaerId", value_id + 1);
$("input[name='PSF_PaperId']").last().attr("value_PpWaerId", value_id + 1);
@@ -532,9 +566,17 @@
$("input[name='PSF_LastNum']").last().attr("value_lastNumid", value_id + 1);
$("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_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_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);
$("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);
$("select[name='selPlateType']").last().attr("value_selwaerid", value_id + 1);
@@ -552,7 +594,22 @@
$("input[name='PSF_PaperId2']").last().attr("value_PpWaerId", value_id + 1);
$("input[name='PSF_PaperId3']").last().attr("value_PpWaerId", value_id + 1);
+
+
+
+
+
+
+ $("tr[name='PSF_PrintedPaperTd']").last().attr("value_selspec", value_id + 1);
+ $("tr[name='PSF_PrintedPaperTdtr']").last().attr("value_selspec", value_id + 1);
+ $("tr[name='PSF_PrintedPaperTdtrtr']").last().attr("value_selspec", value_id + 1);
+
+ $("select[name='PSF_Typesettinghide']").last().attr("value_ppwaerid", value_id + 1);
+
+
// $("select[name='PSF_OpenSpecifications']").last().val("灏忓叏寮�");
+ //$("p[name='PSF_OpenSpecificationsspan']").last().text("寮�鏁�");
+ //$("p[name='PSF_OpenWidthspan']").last().text("闀垮害(mm)");
$("select[name='PSF_OpenSpecifications']").last().change();
$("select[name='PSF_PrintedColorRear']").last().change();
@@ -562,6 +619,10 @@
$("select[name='selPlateType']").last().val("鏈巶CTP");
$("select[name='selPlateType']").last().change();
+ $("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();
// $("select[name='PSF_Component']").last().val("鍐呴〉");
$("input[name='PSF_PNum']").last().val("");
@@ -570,9 +631,9 @@
$("input[name='PSF_PrintedCount']").last().val("");
$("input[name='PSF_PrintedPositive']").last().val("");
$("input[name='PSF_LastNum']").last().last().val("");
- $("input[name='CTPSpecName']").last().val("");
+ // $("input[name='CTPSpecName']").last().val("");
$("input[name='CTPCount']").last().last().val("");
-
+
});
$(".CutForums").click(function () {
@@ -687,6 +748,197 @@
}
});
+ $("select[name='PSF_PressesDesk']").live("change", function () {
+ var value_SelWaerId = $(this).attr("value_selspec");
+ 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("8寮�");
+ $("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();
+
+
+ $("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();
+
+
+ $("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();
+
+
+ }
+ 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");
+ $("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();
+ $("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();
+
+
+ $("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();
+ }
+ 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");
+ $("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();
+ $("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();
+
+
+ $("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();
+ }
+ 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");
+ $("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();
+ $("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();
+
+
+ $("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();
+ }
+ 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");
+ $("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();
+ $("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();
+
+ $("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();
+
+
+ $("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();
+
+
+ } else if ($(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();
+
+
+
+
+ $("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("");
+
+
+ }
+
+
+ });
+
+
$("select[name='PSF_PrintedColorRear']").live("change", function () {
var value_SelWaerId = $(this).attr("value_ppwaerid");
if ($(this).val() == "0鑹�") {
@@ -702,6 +954,7 @@
$(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_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"));
@@ -726,6 +979,17 @@
$("select[name='selPlateType']").each(function (ii, vv) {
$(vv).change();
});
+
+ $("select[name='PSF_OpenSpecifications']").each(function (ii, vv) {
+ var keyid = "<%=keyid %>";
+ if (keyid != "") {
+
+ } else {
+ $(vv).val("8寮�");
+
+ }
+ });
+
$("select[name='PSF_OpenSpecifications']").each(function (ii, vv) {
var keyid = "<%=keyid %>";
if (keyid != "") {
@@ -734,6 +998,59 @@
$(vv).change();
}
});
+
+ $("select[name='PSF_PressesDesk']").each(function (ii, vv) {
+ var keyid = "<%=keyid %>";
+ if (keyid != "") {
+ var value_SelWaerId = $(this).attr("value_selspec");
+ if ($(vv).val().indexOf('杞浆') >= 0) {
+
+ $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").hide();
+
+ $("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 + "']").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();
+
+
+ }
+ }
+ });
+
+
+
+ $("input[name='CTPSpecName']").each(function (ii, vv) {
+ var keyid = "<%=keyid %>";
+
+ if (keyid != "") {
+
+ } else {
+ $(vv).val("395*460");
+ }
+ });
+
+
+
$(function () {
$(".FromWarehouse").click(function () {
@@ -753,6 +1070,49 @@
});
});
+
+ $(".xialap").hover(function () {
+ $(this).find(".xialapb").show();
+ }, function () {
+ $(this).find(".xialapb").hide();
+ });
+
+ $(".xialapr").hover(function () {
+ $(this).find(".xialapb").show();
+ $(this).removeClass("xialapr").addClass("xialaprh");
+ }, function () {
+ $(this).removeClass("xialaprh").addClass("xialapr");
+ $(this).find(".xialapb").hide();
+ });
+
+ $(".xialapr").click(function () {
+ $(this).parent().parent().find("input").val($(this).text());
+ $(".xialapb").hide();
+ });
+
+
+
+
+
+ $(".xialapp").hover(function () {
+ $(this).find(".xialapbp").show();
+ }, function () {
+ $(this).find(".xialapbp").hide();
+ });
+
+ $(".xialaprp").hover(function () {
+ $(this).find(".xialapbp").show();
+ $(this).removeClass("xialaprp").addClass("xialaprhp");
+ }, function () {
+ $(this).removeClass("xialaprhp").addClass("xialaprp");
+ $(this).find(".xialapbp").hide();
+ });
+
+ $(".xialaprp").click(function () {
+ $(this).parent().parent().find("input").val($(this).text());
+ $(".xialapbp").hide();
+ });
+
});
function CorrectText() {
--
Gitblit v1.9.1