From 176106cf1be8bb0dfd9921180b26d7cc9efb7a3d Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 16 十二月 2024 08:52:39 +0800
Subject: [PATCH] 外协付款申请功能
---
CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx | 97 +++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 86 insertions(+), 11 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
index 3c6c658..f9891a0 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,40 @@
{
document.getElementById('PrintSizeName').value = "";
}
- }
+ }
+ /*
+浜ゆ槗瀹㈡埛閫変腑鍊煎彂鐢熸敼鍙�
+*/
+ function custormerChange(sel) {
+ if (window.isDataLoading) {
+ return;
+ }
+ if (sel.value.indexOf('鍏紑') >= 0) {
+ document.getElementById('PlateSpec').value = '395*460';
+ document.getElementById('PMS_ChromaticNumber').value = '1';
+ /*document.getElementById('CTPCount').value = '8';*/
+
+ } else if (sel.value.indexOf('鍥涜壊') >= 0 ) {
+ document.getElementById('PlateSpec').value = '770*1030';
+ document.getElementById('PMS_ChromaticNumber').value = '4';
+ /* document.getElementById('CTPCount').value = '2';*/
+ } else if (sel.value.indexOf('鍏壊') >= 0) {
+ document.getElementById('PlateSpec').value = '790*1030';
+ document.getElementById('PMS_ChromaticNumber').value = '4';
+ /* document.getElementById('CTPCount').value = '2';*/
+ } else if (sel.value.indexOf('榛戠櫧') >= 0 ) {
+ document.getElementById('PlateSpec').value = '760*920';
+ document.getElementById('PMS_ChromaticNumber').value = '1';
+ /* document.getElementById('CTPCount').value = '2';*/
+ } else if (sel.value.indexOf('杞浆') >= 0) {
+ document.getElementById('PlateSpec').value = '579*810';
+ document.getElementById('PMS_ChromaticNumber').value = '1';
+ /* document.getElementById('CTPCount').value = '';*/
+ }
+
+
+
+ }
</script>
</head>
<body>
@@ -329,7 +385,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>
@@ -386,22 +442,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 +501,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 +513,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>
--
Gitblit v1.9.1