username@email.com
2025-05-15 6fe02a16e55f17e45a3997171e1b2284d45af25b
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,42 @@
           {
               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 = '1';
            } else if (sel.value.indexOf('四色') >= 0) {
                document.getElementById('PlateSpec').value = '770*1030';
                document.getElementById('PMS_ChromaticNumber').value = '4';
                document.getElementById('CTPCount').value = '4';
            } else if (sel.value.indexOf('八色') >= 0) {
                document.getElementById('PlateSpec').value = '790*1030';
                document.getElementById('PMS_ChromaticNumber').value = '4';
                document.getElementById('CTPCount').value = '4';
            } 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 = '2';
            } else {
                document.getElementById('CTPCount').value = '';
            }
        }
    </script>
</head>
<body>
@@ -239,7 +297,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 +387,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 +444,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 +503,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 +515,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 +534,8 @@
            <tr>
                <td style="text-align: center;" colspan="10">
                    <asp:Button ID="btn_submit" runat="server" Text="提交" OnClick="btn_Submit_form" OnClientClick="CorrectText();" />
                    &nbsp; &nbsp; &nbsp; &nbsp; <input type="button" class="Btn" value="纸张采购"  onclick="zhizhangcaigou();" />
                </td>
            </tr>
        </tbody>
@@ -508,6 +587,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>