From 529d8cb61421eb65d86559d3d2636ad405b87b41 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 22 七月 2025 08:50:06 +0800
Subject: [PATCH] 专版 四色 八色 自翻印刷的时候 ctp 4张 扣版 8张
---
CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx | 54 ++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 48 insertions(+), 6 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
index cb0728e..741390c 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
@@ -261,7 +261,7 @@
<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>
@@ -431,6 +431,14 @@
<td colspan="7">
</td>
</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>
<td style="font-weight: bold; background-color: #E6E6E6;">
娉ㄦ剰浜嬮」锛�
@@ -586,6 +594,8 @@
$(".CTPSpecName").last().attr("value_ppwaerid", value_id + 1);
$(".CTPCount").last().attr("value_ppwaerid", value_id + 1);
$(".lbCTPCount").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);
$(".tdCTPCount").last().attr("value_ppwaerid", value_id + 1);
@@ -775,10 +785,18 @@
$("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 || $("select[name='PSF_PressesDesk'][value_selspec='" + value_SelWaerId + "']").val().indexOf('榛戠櫧') >= 0) {
- if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵f澘") {
+ 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");
}
}
@@ -819,8 +837,9 @@
$("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() == "鎵f澘") {
+ 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");
@@ -857,8 +876,14 @@
$("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");
+ //$("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("鍥涜壊");
@@ -890,8 +915,14 @@
$("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");
+ // $("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("鍗曡壊");
@@ -923,9 +954,10 @@
$("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() == "鎵f澘") {
+ 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");
@@ -965,6 +997,7 @@
$("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");
}
@@ -1070,6 +1103,7 @@
$(".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();
@@ -1109,6 +1143,7 @@
$(".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();
@@ -1226,6 +1261,7 @@
$("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();
}
@@ -1254,6 +1290,7 @@
$("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) {
@@ -1282,6 +1319,7 @@
$("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) {
@@ -1310,6 +1348,7 @@
$("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");
}
@@ -1343,6 +1382,7 @@
$("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();
}
@@ -1357,6 +1397,7 @@
$(".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();
@@ -1390,6 +1431,7 @@
$(".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();
--
Gitblit v1.9.1