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/AgMergerOrderEdit.aspx | 152 ++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 139 insertions(+), 13 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
index 3c6c658..a7a6d59 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
@@ -5,7 +5,9 @@
<head runat="server">
<title>鍚堢増鏂藉伐鍗�</title>
<uc:CMSHead ID="CMSHead1" runat="server" />
+ <link rel="stylesheet" type="text/css" href="../../Styles/base.css" />
<script type="text/javascript">
+
$(function () {
$("input[name='PMS_PaperPositive']").blur(function () {
var PMS_PaperCount = parseInt($("input[name='PMS_PaperCount']").val());
@@ -55,6 +57,27 @@
$("#PMS_PaperSource").change();
$("#selPlateType").change();
+
+
+ $(".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();
+ });
+
});
</script>
<script type="text/javascript">
@@ -127,7 +150,81 @@
{
document.getElementById('PrintSizeName').value = "";
}
- }
+ }
+
+
+ $("#PSF_Typesetting").live("change", function () {
+
+ if ($("#selPMS_Machine").val().indexOf('鍏紑') >= 0 || $("#selPMS_Machine").val().indexOf('榛戠櫧') >= 0) {
+ if ($("#PSF_Typesetting").val() == "鎵g増") {
+ $("#CTPCount").val("2");
+ } else {
+ $("#CTPCount").val("1");
+ }
+ }
+
+ if ($("#selPMS_Machine").val().indexOf('鍥涜壊') >= 0 || $("#selPMS_Machine").val().indexOf('鍏壊') >= 0) {
+ if ($("#PSF_Typesetting").val() == "鎵g増") {
+ $("#CTPCount").val("8");
+ } else {
+ $("#CTPCount").val("4");
+ }
+ }
+
+
+ });
+
+ /*
+浜ゆ槗瀹㈡埛閫変腑鍊煎彂鐢熸敼鍙�
+*/
+ function custormerChange(sel) {
+ if (window.isDataLoading) {
+ return;
+ }
+ if (sel.value.indexOf('鍏紑') >= 0) {
+ document.getElementById('PlateSpec').value = '395*460';
+ document.getElementById('PMS_ChromaticNumber').value = '1';
+ if ($("#PSF_Typesetting").val() == "鎵g増") {
+ $("#CTPCount").val("2");
+ } else {
+ $("#CTPCount").val("1");
+ }
+
+ } else if (sel.value.indexOf('鍥涜壊') >= 0) {
+ document.getElementById('PlateSpec').value = '770*1030';
+ document.getElementById('PMS_ChromaticNumber').value = '4';
+ if ($("#PSF_Typesetting").val() == "鎵g増") {
+ $("#CTPCount").val("8");
+ } else {
+ $("#CTPCount").val("4");
+ }
+ } else if (sel.value.indexOf('鍏壊') >= 0) {
+ document.getElementById('PlateSpec').value = '790*1030';
+ document.getElementById('PMS_ChromaticNumber').value = '4';
+ if ($("#PSF_Typesetting").val() == "鎵g増") {
+ $("#CTPCount").val("8");
+ } else {
+ $("#CTPCount").val("4");
+ }
+ } else if (sel.value.indexOf('榛戠櫧') >= 0) {
+ document.getElementById('PlateSpec').value = '760*920';
+ document.getElementById('PMS_ChromaticNumber').value = '1';
+ if ($("#PSF_Typesetting").val() == "鎵g増") {
+ $("#CTPCount").val("2");
+ } else {
+ $("#CTPCount").val("1");
+ }
+ } else if (sel.value.indexOf('杞浆') >= 0) {
+ document.getElementById('PlateSpec').value = '579*810';
+ document.getElementById('PMS_ChromaticNumber').value = '1';
+ document.getElementById('CTPCount').value = '2';
+ } else {
+ document.getElementById('CTPCount').value = '';
+ }
+
+
+
+ }
</script>
</head>
<body>
@@ -239,7 +336,7 @@
</td>
<td>
<%--<input type="text" name="PO_Requirement" class=" noJ" style="width: 300px;" value="<%#Eval("PrintDemandAfterWorksDemand") %>" />--%>
- <input type="text" name="PO_Requirement" class=" noJ" style="width: 405px;" />
+ <input type="text" name="PO_Requirement" class=" noJ" maxlength="500" style="width: 405px;" value="<%#Eval("PrintDemandAfterWorksDemand")%>" />
<%--<%#Eval("m_InquiryCommonModel.PrintDemand")%><%#Eval("m_InquiryCommonModel.AfterWorksDemand")%>--%>
</td>
</tr>
@@ -329,7 +426,7 @@
鍗板埛鏈哄彴锛�
</td>
<td>
- <select keepDefaultStyle="true" name="PMS_Machine" id="selPMS_Machine" runat="server" style=" width:80px;">
+ <select keepDefaultStyle="true" name="PMS_Machine" id="selPMS_Machine" runat="server" style=" width:80px;" onchange='custormerChange(this)'>
<option value="">璇烽�夋嫨</option>
<option value="1寮�鏈�">1寮�鏈�</option>
<option value="2寮�鏈�">2寮�鏈�</option>
@@ -345,7 +442,7 @@
<select keepDefaultStyle="true" name="PSF_Typesetting" id="PSF_Typesetting" runat = "server" style="width:80px">
<option value="鑷炕">鑷炕</option>
<option value="婊氱炕">婊氱炕</option>
- <option value="鎵f澘">鎵f澘</option>
+ <option value="鎵g増">鎵g増</option>
<option value="鍗曢潰">鍗曢潰</option>
</select>
</td>
@@ -386,22 +483,41 @@
</td>
</tr>
<tr>
- <td class="ali03 w70px ">
- 鐗堟潗绫诲瀷锛�
+ <td class="ali03 w70px " style="display:none;">
+ <%-- 鐗堟潗绫诲瀷锛�--%>
</td>
- <td>
- <select keepDefaultStyle="true" name="selPlateType" onchange='PlateChange(this)' runat = "server" id="selPlateType" style=" width:80px;">
+ <td style="display:none;">
+ <select keepDefaultStyle="true" name="selPlateType" onchange='PlateChange(this)' runat = "server" id="selPlateType" style=" width:80px;display:none;">
<option selected="selected" value="1">鏈巶CTP</option>
<option value="0">鑷甫CTP</option>
<option value="2">鑷甫鑿叉灄</option>
<option value="3">鏈巶鑿叉灄</option>
- </select><label class="Btnb CangKubtn_o" style="margin-left: 2px;"><input type="button" class="Btn FromWarehouseByBanCai" value="杩炴帴浠撳簱" id="BtnStorePlate" /></label><input type="hidden" runat="server" name="PSF_PaperId" id="PSF_PaperId2" />
+ </select><label class="Btnb CangKubtn_o" style="margin-left: 2px;display:none;"><input type="button" class="Btn FromWarehouseByBanCai" value="杩炴帴浠撳簱" id="BtnStorePlate" /></label><input type="hidden" runat="server" name="PSF_PaperId" id="PSF_PaperId2" />
</td>
<td class="ali03 w70px ">
瑙勬牸锛�
</td>
<td>
- <input type="text" class="noJ " name="CTPSpecName" style="width:80px" id="PlateSpec" runat = "server"/>
+
+ <%-- <input type="text" class="noJ " name="CTPSpecName" style="width:80px" id="PlateSpec" runat = "server"/>--%>
+ <%-- <select keepDefaultStyle="true" name="CTPSpecName" id="PlateSpec" runat="server" style="width:80px" >
+
+ </select> --%>
+
+ <div class="xialap">
+ <input type="text" class="noJ " name="CTPSpecName" style="width:80px" id="PlateSpec" runat = "server"/>
+ <div class="xialapb" >
+ <%=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" name="selCTPSpec" runat="server" style="display:none;width:80px" id="selCTPSpec" runat = "server"></select>
<select keepDefaultStyle="true" name="selFilmSpec" runat="server" style="display:none;width:80px" id="selFilmSpec" runat = "server"></select>
</td>
@@ -426,7 +542,7 @@
<td id="tdPsCount" style="display:none" runat="server">
<input type="text" class="noJ PS_o" name="PSCount" style="width:80px" id="PSCount" runat = "server" />
</td>
- <td id="tdBlank" colspan = "4">
+ <td id="tdBlank" colspan = "6">
</td>
</tr>
@@ -438,10 +554,10 @@
<input type="text" class="date" name="PMS_CompletionTime" style=" width:140px;" runat = "server" id ="PMS_CompletionTime"/>
</td>
<td class="ali03 w70px ">
- 閲戦锛�
+ <%-- 閲戦锛�--%>
</td>
<td>
- <input type="text" class="float req " min="0" name="PMS_TotalPrice" style="width:80px" runat = "server" id="PMS_TotalPrice" />
+ <input type="text" class="float req " min="0" name="PMS_TotalPrice" style="width:80px;display:none;" runat = "server" id="PMS_TotalPrice" value="0" />
</td>
<td colspan="6">
</td>
@@ -457,6 +573,8 @@
<tr>
<td style="text-align: center;" colspan="10">
<asp:Button ID="btn_submit" runat="server" Text="鎻愪氦" OnClick="btn_Submit_form" OnClientClick="CorrectText();" />
+
+ <input type="button" class="Btn" value="绾稿紶閲囪喘" onclick="zhizhangcaigou();" />
</td>
</tr>
</tbody>
@@ -508,6 +626,14 @@
top.Dialog.open({ URL: "/Pages/business/AgConWarehouse.aspx?CommidityType=鐗堟潗&&value_pparid=" + value_pparid, Width: 1000, Height: 650, Title: "閫夋嫨璐у搧鍙傛暟" });
});
});
+
+
+ //绾稿紶閲囪喘
+ function zhizhangcaigou() {
+
+ top.Dialog.open({ URL: "/Pages/procurement/ProcurementADD.aspx", Title: "绾稿紶閲囪喘", Width: 1100, Height: 700 });
+
+ }
</script>
</body>
</html>
--
Gitblit v1.9.1