From b63e4e9f97aba58867a01b85e7d128b6eb738a0a Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 09 十月 2025 09:48:50 +0800
Subject: [PATCH] 请示类别要增加 维修申请 维修付款申请
---
CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx | 82 +++++++++++++++++++++++++++++++++++++----
1 files changed, 74 insertions(+), 8 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
index b1c5a10..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);
@@ -626,7 +636,7 @@
$("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();
+
if ($("select[name='PSF_Component']").first().val() == "灏侀潰") {
$("select[name='PSF_Component']").last().val("鍐呴〉");
@@ -640,6 +650,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();
});
@@ -770,6 +781,28 @@
}
});
+
+ $("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() == "鎵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_PressesDesk']").live("change", function () {
var value_SelWaerId = $(this).attr("value_selspec");
if ($(this).val().indexOf('鍏紑') >= 0) {
@@ -804,8 +837,14 @@
$("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("1");
+ 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) {
@@ -837,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("鍥涜壊");
@@ -870,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("鍗曡壊");
@@ -903,9 +954,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='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("870");
- $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2");
+ 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("鍗曡壊");
@@ -941,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");
}
@@ -1046,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();
@@ -1085,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();
@@ -1202,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();
}
@@ -1230,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) {
@@ -1258,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) {
@@ -1286,14 +1348,15 @@
$("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");
+ // $("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 + "']").show();
- $("input[name='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("755");
+ // $("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();
@@ -1319,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();
}
@@ -1333,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();
@@ -1366,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