From f6cb981322bc4c2a27921ad0480dce7fb483a4d8 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 10 四月 2026 13:23:54 +0800
Subject: [PATCH] 先提交一部分
---
CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx | 279 ++++++++++++++++++++++++++++++++++---------------------
1 files changed, 173 insertions(+), 106 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
index ca2691d..0d72fce 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgMergerOrderEdit.aspx
@@ -179,7 +179,7 @@
<thead>
<tr class="ForumName" style="display:none">
<th colspan="12">
- <b>绗�<span class=" AddCount red"><%#Container.ItemIndex + 1%></span>鐗�<input name="PSF_Forumsid" value="<%#Container.ItemIndex + 1%>" type="hidden" value_hide_psf_component="<%#Eval("PSF_Component")%>" value_hide_psf_pressesdesk="<%#Eval("PSF_PressesDesk")%>" value_hide_psf_printedcolorpositive="<%#Eval("PSF_PrintedColorPositive")%>" value_hide_psf_printedcolorrear="<%#Eval("PSF_PrintedColorRear")%>" value_hide_psf_typesetting="<%#Eval("PSF_Typesetting")%>" value_hide_psf_papersource="<%#Eval("PSF_PaperSource")%>" value_hide_psf_openspecifications="<%#Eval("PSF_OpenSpecifications")%>" value_hide_psf_selpapername="<%#Eval("PSF_PaperName")%>" value_hide_psf_selpaperspec="<%#Eval("PSF_MaterialSpecifications")%>" value_hide_psf_selplatetype="<%#Eval("PSF_PlateSource")%>" value_hide_psf_selctpspec="<%#Eval("PSF_CTPSpecType")%>" value_hide_psf_selfilmspec="<%#Eval("PSF_FilmType")%>" /></b>
+ <b>绗�<span class=" AddCount red"><%#Container.ItemIndex + 1%></span>鐗�<input name="PSF_Forumsid" value="<%#Container.ItemIndex + 1%>" type="hidden" value_hide_psf_component="<%#Eval("PSF_Component")%>" value_hide_psf_pressesdesk="<%#Eval("PSF_PressesDesk")%>" value_hide_psf_printedcolorpositive="<%#Eval("PSF_PrintedColorPositive")%>" value_hide_psf_printedcolorrear="<%#Eval("PSF_PrintedColorRear")%>" value_hide_psf_typesetting="<%#Eval("PSF_Typesetting")%>" value_hide_psf_fabantaoshu="<%#Eval("PSF_Fabantaoshu")%>" value_hide_psf_papersource="<%#Eval("PSF_PaperSource")%>" value_hide_psf_openspecifications="<%#Eval("PSF_OpenSpecifications")%>" value_hide_psf_selpapername="<%#Eval("PSF_PaperName")%>" value_hide_psf_selpaperspec="<%#Eval("PSF_MaterialSpecifications")%>" value_hide_psf_selplatetype="<%#Eval("PSF_PlateSource")%>" value_hide_psf_selctpspec="<%#Eval("PSF_CTPSpecType")%>" value_hide_psf_selfilmspec="<%#Eval("PSF_FilmType")%>" /></b>
</th>
</tr>
</thead>
@@ -187,42 +187,56 @@
<td rowspan="2" style="width: 195px;">
鏋勪欢
</td>
- <td rowspan="2" colspan="2" >
- P鏁�
+ <td rowspan="2" >
+ 椤垫暟
</td>
- <td rowspan="2" colspan="2">
+ <td rowspan="2" >
鍗板埛鏈哄彴
</td>
- <td colspan="2" >
- <p name="PSF_yinse" value_openwidthspan="<%#Container.ItemIndex + 1%>">鍗拌壊</p>
+ <td colspan="3" >
+ <p name="PSF_yinse" value_openwidthspan="<%#Container.ItemIndex + 1%>">鍗板埛瑕佹眰</p>
</td>
- <td rowspan="2" colspan="2">
+ <%-- <td rowspan="2" colspan="2">
<p name="PSF_yinshufangshi" value_openwidthspan="<%#Container.ItemIndex + 1%>">鍗板埛鏂瑰紡</p>
+ </td>--%>
+ <td rowspan="2" >
+ <p class="lb lbCTPCount lbCTPCountc" value_ppwaerid="<%#Container.ItemIndex + 1%>">鏉挎潗瑙勬牸</p>
</td>
-
+ <td rowspan="2" >
+ <p class="lb lbCTPCount lbCTPCounta" value_ppwaerid="<%#Container.ItemIndex + 1%>">鏁伴噺锛堝紶锛�</p>
+ </td>
+ <td rowspan="2" >
+ 鍙戠増濂楁暟
+ </td>
</tr>
<tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6;" >
+
<td>
- <p name="PSF_yinsezheng" value_openwidthspan="<%#Container.ItemIndex + 1%>">姝�</p>
+ <p name="PSF_yinsezheng" value_openwidthspan="<%#Container.ItemIndex + 1%>">姝i潰鑹叉暟</p>
</td>
<td>
- <p name="PSF_yinsebei" value_openwidthspan="<%#Container.ItemIndex + 1%>">鑳�</p>
+ <p name="PSF_yinsebei" value_openwidthspan="<%#Container.ItemIndex + 1%>">鑳岄潰鑹叉暟</p>
</td>
+ <td>
+ <p name="PSF_yinshufangshi" value_openwidthspan="<%#Container.ItemIndex + 1%>">鍗板埛鏂瑰紡</p>
+ </td>
</tr>
<tr>
<td>
<select keepdefaultstyle="true" class="" name="PSF_Component" value_ppwaerid="<%#Container.ItemIndex + 1%>" >
- <option value="" selected="selected">-鏃�-</option>
- <option value="灏侀潰">灏侀潰</option>
+ <option value="" selected="selected">-鏃�-</option>
+ <option value="灏侀潰" >灏侀潰</option>
+ <option value="灏佸唴鍚堟嫾">灏佸唴鍚堟嫾</option>
+ <option value="澶氬崟鍚堟嫾">澶氬崟鍚堟嫾</option>
<option value="鍐呴〉">鍐呴〉</option>
</select>
</td>
- <td colspan="2">
+ <td >
<input type="text" class=" w80px int " msg="璇峰~鍐欐暟瀛�" name="PSF_PNum" value="<%#Eval("PSF_PNum")%>" value_ppwaerid="<%#Container.ItemIndex + 1%>" />
</td>
- <td colspan="2">
+ <td >
<select keepdefaultstyle="true" class=" w120px" name="PSF_PressesDesk" value_selspec="<%#Container.ItemIndex + 1%>">
<%--<option value="">璇烽�夋嫨</option>--%>
<%=PressesDeskHtml %>
@@ -249,7 +263,7 @@
<option value="鍥�+涓�">鍥�+涓�</option>
</select>
</td>
- <td colspan="2">
+ <td>
<select keepdefaultstyle="true" class="" name="PSF_Typesetting" value_ppwaerid="<%#Container.ItemIndex + 1%>">
<option value="鑷炕">鑷炕</option>
<option value="婊氱炕">婊氱炕</option>
@@ -263,7 +277,31 @@
</select>
</td>
-
+ <td>
+ <div class="xialapp">
+ <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPSpecName lbCTPCount lbCTPCountb" name="CTPSpecName" value="<%#Eval("PSF_CTPSpecType")%>" style=" width: 80px" />
+ <div class="xialapbp" >
+ <%=xialapr %>
+ </div>
+ </div>
+ </td>
+ <td>
+ <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPCount lbCTPCount int" name="CTPCount" value="<%#Eval("PSF_CTPCount")%>" style=" width: 80px" />
+
+ </td>
+ <td>
+ <div class="xialap" >
+ <input type="text" class=" w40px int " name="PSF_Fabantaoshu" value_ppwaerid="<%#Container.ItemIndex + 1%>" value="<%#Eval("PSF_Fabantaoshu")%>" />
+ <div class="xialapb" >
+
+ <div class="xialapr">2</div>
+ <div class="xialapr">3</div>
+ <div class="xialapr">4</div>
+ <div class="xialapr">5</div>
+ </div>
+ </div>
+
+ </td>
</tr>
<tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%" name="PSF_PrintedPaperTd" value_selspec="<%#Container.ItemIndex + 1%>">
<td rowspan="2">
@@ -279,7 +317,7 @@
<p name="PSF_Zhizhangshuliang" value_selspecspan="<%#Container.ItemIndex + 1%>">绾稿紶鏁伴噺锛堝紶锛�</p>
</td>
<td colspan="4">
- <p name="PSF_Kailiaoguige" value_selspecspan="<%#Container.ItemIndex + 1%>">寮�鏂欒鏍�</p>
+ <p name="PSF_Kailiaoguige" value_selspecspan="<%#Container.ItemIndex + 1%>">寮�鏂欒鏍硷紙mm锛�</p>
</td>
</tr>
<tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6;" name="PSF_PrintedPaperTdtr" value_selspec="<%#Container.ItemIndex + 1%>">
@@ -296,10 +334,10 @@
<p name="PSF_OpenSpecificationsspan" value_selspecspan="<%#Container.ItemIndex + 1%>">寮�鏁�</p>
</td>
<td>
- <p name="PSF_Kuandu" value_selspecspan="<%#Container.ItemIndex + 1%>">瀹藉害(mm) </p>
+ <p name="PSF_Kuandu" value_selspecspan="<%#Container.ItemIndex + 1%>">瀹藉害</p>
</td>
<td>
- <p name="PSF_OpenWidthspan" value_openwidthspan="<%#Container.ItemIndex + 1%>">闀垮害(mm)</p>
+ <p name="PSF_OpenWidthspan" value_openwidthspan="<%#Container.ItemIndex + 1%>">闀垮害</p>
</td>
</tr>
<tr name="PSF_PrintedPaperTdtrtr" value_selspec="<%#Container.ItemIndex + 1%>">
@@ -331,7 +369,7 @@
<input type="text" class=" w80px int " msg="璇峰~鍐欐暟瀛�" name="PSF_PrintedPositive" value="<%#Eval("PSF_PrintedPositive")%>" value_positiveid="<%#Container.ItemIndex + 1%>" />
</td>
<td colspan="1">
- <input type="text" class=" w80px int " msg="璇峰~鍐欐暟瀛�" name="PSF_LastNum" value="<%#Eval("PSF_LastNum")%>" value_lastnumid="<%#Container.ItemIndex + 1%>" />
+ <input type="text" class=" w60px int " msg="璇峰~鍐欐暟瀛�" name="PSF_LastNum" value="<%#Eval("PSF_LastNum")%>" value_lastnumid="<%#Container.ItemIndex + 1%>" />
</td>
<td colspan="1">
<select keepdefaultstyle="true" class=" w80px" name="PSF_OpenSpecifications" value_selspec="<%#Container.ItemIndex + 1%>">
@@ -357,16 +395,16 @@
<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%">
+ <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%;display: none;">
<td style="display:none;">
鐗堟潗绫诲瀷
</td>
- <td colspan="2" class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' >
+ <%-- <td colspan="2" class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' >
瑙勬牸
</td>
<td id="lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' class="lb lbCTPCount" colspan="3">
CTP鏁伴噺锛堝紶锛�
- </td>
+ </td>--%>
<td id="lbPSSpec" value_ppwaerid='<%#Container.ItemIndex + 1%>' class="lb lbPSSpec" colspan="2" style="display: none">
PS鐗堣鏍�
</td>
@@ -376,28 +414,23 @@
<td colspan="7">
</td>
</tr>
- <tr>
- <td style="display:none;">
+ <tr style="display:none;" >
+ <td >
<select keepdefaultstyle="true" value_selwaerid="<%#Container.ItemIndex + 1%>" name="selPlateType" id="selPlateType">
<option value="鏈巶CTP">鏈巶CTP</option>
<option value="鑷甫CTP">鑷甫CTP</option>
- <option value="鑷甫鑿叉灄">鑷甫鑿叉灄</option>
- <option value="鏈巶鑿叉灄">鏈巶鑿叉灄</option>
+ <%-- <option value="鑷甫鑿叉灄">鑷甫鑿叉灄</option>
+ <option value="鏈巶鑿叉灄">鏈巶鑿叉灄</option>--%>
</select>
<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" class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' >
+ <%-- <td colspan="2" class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' >
<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">
@@ -411,7 +444,7 @@
</td>
<td id="tdCTPCount" runat="server" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="td tdCTPCount" colspan="3">
<input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPCount" name="CTPCount" id="CTPCount" value="<%#Eval("PSF_CTPCount")%>" />
- </td>
+ </td>--%>
<td id="tdPSSpec" style="display: none" runat="server" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="td tdPSSpec" colspan="2">
<input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt PSF_PSBan" name="PSF_PSBan" style="width: 80px;" id="PSF_PSBan" value="<%#Eval("PSF_PSSpec")%>" />
<label class="Btnb CangKubtn_o" style="margin-left: 10px;">
@@ -431,9 +464,9 @@
<input type="text" name="PSF_Qitadingdanhao" style="width: 50%;" value_ppwaerid="<%#Container.ItemIndex + 1%>"value="<%#Eval("PSF_PaperName")%>" maxlength="50" />
</td>
</tr>
- <tr>
+ <tr style=" display:none;">
<td style="font-weight: bold; background-color: #E6E6E6;">
- 娉ㄦ剰浜嬮」锛�
+ 鐢熶骇瑕佹眰锛�
</td>
<td colspan="12">
<textarea style="width: 96%; height: 40px; float: left;" name="PSF_Note"><%#Eval("PSF_Note")%></textarea>
@@ -451,12 +484,61 @@
<input type="button" class="Btn CutForums" value="鍑忓皯鐗堥潰" />
</td>
</tr>
+ <tr >
+ <td colspan="2">
+ <table class="tableStyle" style="width: 98%; margin: 5px auto;">
+ <tbody>
+ <tr>
+ <td class="ali03 w70px " >
+ 鍚庨亾宸ュ簭锛�
+ </td>
+ <td>
+ <table class="tableStyle" style="width: 98%; margin: 5px auto;">
+ <tbody>
+ <asp:Repeater ID="RepeaterHoudaoList" runat="server">
+ <ItemTemplate>
+ <tr class="AddHoudao" value_id="<%#Container.ItemIndex + 1%>" >
+ <td>
+ <select keepdefaultstyle="true" class=" w70px" name="selHoudaogongxu" >
+ <%#Eval("PSF_Houdaogongxu")%>
+ </select>
+ </td>
+
+ <td>
+ 鏁伴噺:<input type="text" name="txtShuliang" class=" w40px int" min="0" maxlength="50" value="<%#Eval("PSF_Shuliang")%>"/>
+ </td>
+ <td>
+ 鍊嶆暟:<input type="text" name="txtBeishu" class=" w40px int" min="0" maxlength="50" value="<%#Eval("PSF_Beishu")%>"/>
+ </td>
+ <td>
+ 鏈洪暱:<input type="text" name="txtJichang" class=" w80px" maxlength="50" value="<%#Eval("PSF_Jichang")%>"/>
+ </td>
+ <td>
+
+ 瑕佹眰: <input type="text" name="txtYaoqiu" class=" noJ" maxlength="500" style="width: 405px;" value="<%#Eval("PSF_Yaoqiu")%>" />
+
+ </td>
+ <td class="w70px " >
+ <a class="Btn AddHoudaos" value_id="<%#Container.ItemIndex + 1%>" style="font-size:20px;" >+</a> <a class="Btn CutHoudaos" value_id="<%#Container.ItemIndex + 1%>" style="font-size:20px;" >-</a>
+ </td>
+ </tr>
+ </ItemTemplate>
+ </asp:Repeater>
+ </tbody>
+ </table>
+ </td>
+
+ </tr>
+ </tbody>
+ </table>
+ </td>
+ </tr>
<tr>
<td class="ali03 w70px " >
- 澶囨敞锛�
+ 鐢熶骇瑕佹眰锛�
</td>
<td colspan="9">
- <textarea style="width: 940px; height: 62px;" name="PMS_Remarks" runat = "server" id="PMS_Remarks"></textarea>
+ <textarea style="width: 940px; height: 12px;" name="PMS_Remarks" runat = "server" id="PMS_Remarks"></textarea>
</td>
</tr>
<tr>
@@ -558,6 +640,7 @@
$("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_Fabantaoshu']").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);
@@ -567,6 +650,9 @@
$(".CTPSpecName").last().attr("value_ppwaerid", value_id + 1);
$(".CTPCount").last().attr("value_ppwaerid", value_id + 1);
$(".lbCTPCount").last().attr("value_ppwaerid", value_id + 1);
+ $(".lbCTPCounta").last().attr("value_ppwaerid", value_id + 1);
+ $(".lbCTPCountb").last().attr("value_ppwaerid", value_id + 1);
+ $(".lbCTPCountc").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);
@@ -609,10 +695,23 @@
$("select[name='PSF_OpenSpecifications']").last().val("8寮�");
$("select[name='PSF_OpenSpecifications']").last().change();
- $("input[name='CTPSpecName']").last().val("395*460");
+ $("input[name='CTPSpecName']").last().val("460*395");
$("input[name='PSF_PNum']").last().val("");
if ($("select[name='PSF_Component']").first().val() == "灏侀潰") {
+ const newOptions = [
+ { value: '澶氬崟鍚堟嫾', text: '澶氬崟鍚堟嫾' },
+ { value: '鍐呴〉', text: '鍐呴〉' }
+
+ ];
+
+ // 3. 鎵归噺鏂板option鍒皊elect涓�
+ let optionHtml = '';
+ newOptions.forEach(item => {
+ // 鎷兼帴option鏍囩锛岀洿鎺ヨ祴鍊煎嵆鍙�
+ optionHtml += `<option value="${item.value}">${item.text}</option>`;
+ });
+ $("select[name='PSF_Component']").last().html(optionHtml); // 璧嬪�煎埌select锛屽畬鎴愭柊澧�
$("select[name='PSF_Component']").last().val("鍐呴〉");
@@ -637,6 +736,26 @@
$(".AddTab").last().remove();
}
});
+
+
+ $(".AddHoudaos").click(function () {
+ var value_id = parseInt($(".AddHoudao").last().attr("value_id"));
+ $(".AddHoudao").last().after($(".AddHoudao").last().clone(true));
+ $(".AddHoudao").last().attr("value_id", value_id + 1);
+ $(".AddHoudaos").last().attr("value_id", value_id + 1);
+ $(".CutHoudaos").last().attr("value_id", value_id + 1);
+
+ });
+
+
+ $(".CutHoudaos").click(function () {
+ var value_id = parseInt($(this).attr("value_id"));
+ var count = $('.AddHoudao').length;
+ if (count == 1) {
+ } else {
+ $(".AddHoudao[value_id='" + value_id + "']").remove();
+ }
+ });
$("select[name='PSF_PaperSource']").live("change", function () {
var value_SelWaerId = $(this).attr("value_SelWaerId");
@@ -692,9 +811,9 @@
} else if ($(this).val() == "鑷甫CTP") {
$(".FromWarehouseByBanCai[value_WaerId='" + value_SelWaerId + "']").hide();
- $(".CTPSpecName[value_ppwaerid='" + value_SelWaerId + "']").hide();
- $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
- $(".tdCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $(".CTPSpecName[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
+ $(".tdCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show();
$(".selCTPSpec[value_ppwaerid='" + value_SelWaerId + "']").show();
$(".selFilmSpec[value_ppwaerid='" + value_SelWaerId + "']").hide();
@@ -702,6 +821,7 @@
$(".tdPSSpec[value_ppwaerid='" + value_SelWaerId + "']").hide();
$(".lbPSCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
$(".tdPsCount[value_ppwaerid='" + value_SelWaerId + "']").hide();
+ $("input[name='PSF_PaperId2'][value_ppwaerid='" + value_WaerId + "']").val("");
}
else {
@@ -915,7 +1035,7 @@
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");
+ $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("460*395");
$("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();
@@ -957,7 +1077,7 @@
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");
+ $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("1030*770");
$("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();
@@ -995,7 +1115,7 @@
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");
+ $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("1030*790");
$("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();
@@ -1034,7 +1154,7 @@
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");
+ $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("920*760");
$("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();
@@ -1073,7 +1193,7 @@
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");
+ $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("810*579");
$("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();
@@ -1148,66 +1268,12 @@
$("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");
+ $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("460*395");
$("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 + "']").show();
- if ($("#spanOrderPrintDemand").html() != "" && $("#spanOrderPrintDemand").html().indexOf("table") < 0) {
- var sss = $("#spanOrderPrintDemand").html().split('锛�');
- if (sss != null) {
-
- for (var i = 0; i < sss.length; i++) {
- var sfdsdfdf = sss[i].split('锛�');
-
-
-
-
- if (sfdsdfdf[0].indexOf('(') >= 0 && sfdsdfdf[0].indexOf(')') >= 0) {
-
-
- // 鍋囪瑕佹埅鍙栫殑瀛楃涓蹭负str锛屽紑濮嬪瓧绗︿覆涓簊tart锛岀粨鏉熷瓧绗︿覆涓篹nd
- var startIndex = sfdsdfdf[0].indexOf('(') + 1;
- var endIndex = sfdsdfdf[0].indexOf(')');
- var substr = sfdsdfdf[0].slice(startIndex, endIndex);
-
-
- var ssssaaa = substr;
-
- if (ssssaaa.indexOf('脳') >= 0) {
-
- var dfdfdf = ssssaaa.split('脳');
- $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "").trim());
- $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim());
- } else if (ssssaaa.indexOf('*') >= 0) {
-
- var dfdfdf = ssssaaa.split('*');
- $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "").trim());
- $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim());
- }
-
-
-
- } else {
- if (sss[i].indexOf('脳') >= 0) {
- var sfdsdfdf = sss[i].split('锛�');
-
- var dfdfdf = sfdsdfdf[0].split('脳');
- $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "").trim());
- $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim());
- } else if (sss[i].indexOf('*') >= 0) {
-
- var sfdsdfdf = sss[i].split('锛�');
-
- var dfdfdf = sfdsdfdf[0].split('*');
- $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "").trim());
- $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim());
- }
- }
-
- }
- }
- }
+
$("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show();
$("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show();
@@ -1242,7 +1308,7 @@
$("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");
+ $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("460*395");
$("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 + "']").show();
@@ -1389,6 +1455,7 @@
$(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_Fabantaoshu']").val($(vv).attr("value_hide_psf_fabantaoshu"));
$(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"));
@@ -1862,7 +1929,7 @@
if (keyid != "") {
} else {
- $(vv).val("395*460");
+ $(vv).val("460*395");
}
});
--
Gitblit v1.9.1