<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AgMergerOrderEdit.aspx.cs" Inherits="CY.WebForm.Pages.business.AgMergerOrderEdit" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<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());
|
var PMS_PaperPositive = parseInt($("input[name='PMS_PaperPositive']").val());
|
var PMS_PaperConsume = parseInt($("input[name='PMS_PaperConsume']").val());
|
if (PMS_PaperCount < PMS_PaperPositive) {
|
alertMsg("所填正数不能大于纸张数量");
|
$("input[name='PMS_PaperPositive']").val("0");
|
} else {
|
var o_money = PMS_PaperCount - PMS_PaperPositive;
|
if (isNaN(o_money)) {
|
$("input[name='PMS_PaperConsume']").val("0");
|
} else {
|
$("input[name='PMS_PaperConsume']").val(o_money);
|
}
|
}
|
});
|
$("input[name='PMS_PaperConsume']").blur(function () {
|
var PMS_PaperCount = parseInt($("input[name='PMS_PaperCount']").val());
|
var PMS_PaperPositive = parseInt($("input[name='PMS_PaperPositive']").val());
|
var PMS_PaperConsume = parseInt($("input[name='PMS_PaperConsume']").val());
|
if (PMS_PaperCount < (PMS_PaperConsume + PMS_PaperPositive)) {
|
alertMsg("所消耗数不能大于纸张数量");
|
$("input[name='PMS_PaperConsume']").val("0");
|
} else {
|
var o_money = PMS_PaperCount - PMS_PaperConsume;
|
if (isNaN(o_money)) {
|
$("input[name='PMS_PaperPositive']").val("0");
|
} else {
|
$("input[name='PMS_PaperPositive']").val(o_money);
|
}
|
}
|
});
|
|
$(".CTP_o").change(function () {
|
$(".Film_o").val("");
|
$(".PS_o").val("");
|
});
|
$(".Film_o").change(function () {
|
$(".CTP_o").val("");
|
$(".PS_o").val("");
|
});
|
$(".PS_o").change(function () {
|
$(".Film_o").val("");
|
$(".CTP_o").val("");
|
});
|
|
$("#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">
|
function PaperSourceChange(sel)
|
{
|
if ('来自仓库' != sel.value)
|
{
|
document.getElementById('StoreBtn').style.display = "none";
|
document.getElementById('PMS_PaperName').style.display = "none";
|
document.getElementById('selPaperName').style.display = "";
|
document.getElementById('PMS_PaperSpecification').style.display = "none";
|
document.getElementById('SelPaperSpec').style.display = "";
|
}
|
else
|
{
|
document.getElementById('StoreBtn').style.display = "";
|
document.getElementById('PMS_PaperName').style.display = "";
|
document.getElementById('selPaperName').style.display = "none";
|
document.getElementById('PMS_PaperSpecification').style.display = "";
|
document.getElementById('SelPaperSpec').style.display = "none";
|
}
|
}
|
function PlateChange(sel)
|
{
|
if ('1' == sel.value)
|
{
|
document.getElementById('BtnStorePlate').style.display = "";
|
document.getElementById('PlateSpec').style.display = "";
|
document.getElementById('selCTPSpec').style.display = "none";
|
document.getElementById('selFilmSpec').style.display = "none";
|
document.getElementById('lbCTPCount').style.display = "";
|
document.getElementById('tdCTPCount').style.display = "";
|
}
|
else
|
{
|
document.getElementById('BtnStorePlate').style.display = "none";
|
document.getElementById('PlateSpec').style.display = "none";
|
document.getElementById('lbCTPCount').style.display = "none";
|
document.getElementById('tdCTPCount').style.display = "none";
|
if ('0' == sel.value) {
|
document.getElementById('selCTPSpec').style.display = "";
|
document.getElementById('selFilmSpec').style.display = "none";
|
document.getElementById('tdBlank').colSpan = "6"
|
}
|
else
|
{
|
document.getElementById('selCTPSpec').style.display = "none";
|
document.getElementById('selFilmSpec').style.display = "";
|
document.getElementById('tdBlank').colSpan = "2";
|
}
|
}
|
if ('2' == sel.value || '3' == sel.value) {
|
|
document.getElementById('lbPSSpec').style.display = "";
|
document.getElementById('tdPSSpec').style.display = "";
|
document.getElementById('lbPSCount').style.display = "";
|
document.getElementById('tdPsCount').style.display = "";
|
}
|
else
|
{
|
document.getElementById('lbPSSpec').style.display = "none";
|
document.getElementById('tdPSSpec').style.display = "none";
|
document.getElementById('lbPSCount').style.display = "none";
|
document.getElementById('tdPsCount').style.display = "none";
|
}
|
}
|
function TrimChange(sel)
|
{
|
if ("不修切" == sel.value)
|
{
|
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>
|
<form method="post" class="form2" runat="server">
|
<table class="tableStyle" style="width: 98%; margin: 5px auto;" usehover="false" useclick="false">
|
<tr>
|
<th colspan="10">
|
<b>基本信息</b>
|
</th>
|
</tr>
|
<tr>
|
<td class="ali03 w100px ">
|
紧急情况:
|
</td>
|
<td>
|
<select id='selExigencyDegree' runat="server" datatextfield="Name" datavaluefield="MeanValue" keepdefaultstyle='true'>
|
</select>
|
</td>
|
<td class="ali03 w100px ">
|
施工单号:
|
</td>
|
<td>
|
<span id="spanSpecialNum" runat="server"></span>
|
</td>
|
<td class="ali03 w100px ">
|
印刷厂商:
|
</td>
|
<td>
|
<select id="selOutFirm" runat="server" keepdefaultstyle="true" class="Sreq" msg="请选择印刷厂商">
|
<option value="-1">本厂印刷</option>
|
</select>
|
</td>
|
<td class="ali03 w100px ">
|
制单人:
|
</td>
|
<td>
|
<span id="spanSpecialOprator" runat="server"></span>
|
</td>
|
<td class="ali03 w100px ">
|
制单时间:
|
</td>
|
<td>
|
<span id="spanSpecialTime" runat="server"></span>
|
</td>
|
</tr>
|
</table>
|
<table class="tableStyle" style="width: 98%; margin: 5px auto;text-align: center;" usehover="false" useclick="false">
|
<tr>
|
<th colspan="7">
|
<b>订单信息</b>
|
</th>
|
</tr>
|
<tr>
|
<th style="text-align: center;">
|
订单号
|
</th>
|
<th style="text-align: center;">
|
印件名称
|
</th>
|
<th style="text-align: center;">
|
成品尺寸
|
</th>
|
<th style="text-align: center;">
|
印刷数量
|
</th>
|
<th style="text-align: center;">
|
修切要求
|
</th>
|
<th style="text-align: center;">
|
包装要求
|
</th>
|
<th style="text-align: center;">
|
后道及工艺要求
|
</th>
|
</tr>
|
<asp:Repeater ID="RepClientList" runat="server">
|
<ItemTemplate>
|
<tr>
|
<td>
|
<span><%#Eval("SellerOrderId")%></span>
|
<input type="hidden" id="txtOrderId" name="txtOrderId" value="<%#Eval("Keyid")%>" />
|
<input type="hidden" id="txtOrderNum" name="txtOrderNum" value="<%#Eval("SellerOrderId")%>" />
|
<input type="hidden" id="txtDocumentName" name="txtDocumentName" value="<%#Eval("DocumentName")%>" />
|
<input type="hidden" id="txtOrderSize" name="txtOrderSize" value="<%#Eval("PrintSizeName")%>" />
|
<input type="hidden" id="txtCustomName" name="txtCustomName" value="<%#Eval("BuyerName")%>" />
|
</td>
|
<td>
|
<span><%#Eval("DocumentName")%></span>
|
</td>
|
<td>
|
<input type="text" name="PrintSizeName" class=" noJ" value="<%#Eval("PrintSizeName") %>" id="PrintSizeName"/>
|
</td>
|
<td>
|
<input type="text" name="PO_Count" class=" w40px int" min="0" max="<%#Eval("OrderExtend.SurplusPrintNum")%>" value="<%#Eval("OrderExtend.SurplusPrintNum")%>"/>张
|
</td>
|
<td>
|
<select keepDefaultStyle="true" class=" w70px" name="PO_TrimRequire" onchange='TrimChange(this)'>
|
<option value="修切">修切</option>
|
<option value="不修切">不修切</option>
|
</select>
|
</td>
|
<td>
|
<select keepDefaultStyle="true" class=" w70px" name="PO_PackagRequire">
|
<option value="打包">打包</option>
|
<option value="打捆">打捆</option>
|
<option value="装纸箱">装纸箱</option>
|
<option value="不打包">不打包</option>
|
</select>
|
</td>
|
<td>
|
<%--<input type="text" name="PO_Requirement" class=" noJ" style="width: 300px;" value="<%#Eval("PrintDemandAfterWorksDemand") %>" />--%>
|
<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>
|
</ItemTemplate>
|
</asp:Repeater>
|
<asp:Repeater ID="RepMergerEdit" runat="server">
|
<ItemTemplate>
|
<tr>
|
<td>
|
<span>
|
<input type="hidden" id="txtOrderNum" name="txtOrderNum" value="<%#Eval("PO_OrderNum")%>" />
|
<input type="hidden" id="txtDocumentName" name="txtDocumentName" value="<%#Eval("PO_Title")%>" />
|
<%#Eval("PO_OrderNum")%></span>
|
</td>
|
<td>
|
<span>
|
<%#Eval("PO_Title")%></span>
|
</td>
|
<td>
|
<input type="text" name="PrintSizeName" class=" noJ" value="<%#Eval("PO_Size") %>" id="PrintSizeName"/>
|
</td>
|
<td>
|
<input type="text" name="PO_Count" class=" w40px int" min="0" value="<%#Eval("PO_Count")%>"/>张
|
</td>
|
<td>
|
<select keepDefaultStyle="true" class=" w70px" name="PO_TrimRequire" onchange='TrimChange(this)'">
|
<option value="修切" <%#Eval("PO_TrimRequire").ToString()=="修切"?"selected":""%>>修切</option>
|
<option value="不修切" <%#Eval("PO_TrimRequire").ToString()=="不修切"?"selected":""%>>不修切</option>
|
</select>
|
</td>
|
<td>
|
<select keepDefaultStyle="true" class=" w70px" name="PO_PackagRequire" value="<%#Eval("PO_PackagRequire")%>">
|
<option value="打包" <%#Eval("PO_PackagRequire").ToString()=="打包"?"selected":""%>>打包</option>
|
<option value="打捆" <%#Eval("PO_PackagRequire").ToString()=="打捆"?"selected":""%>>打捆</option>
|
<option value="装纸箱" <%#Eval("PO_PackagRequire").ToString()=="装纸箱"?"selected":""%>>装纸箱</option>
|
<option value="不打包" <%#Eval("PO_PackagRequire").ToString()=="不打包"?"selected":""%>>不打包</option>
|
</select>
|
</td>
|
<td>
|
<input type="text" name="PO_Requirement" class=" noJ" style="width: 405px;" value="<%#Eval("PO_RequirementWork").ToString().Replace(",+-+,", ",")%>" />
|
|
</td>
|
</tr>
|
</ItemTemplate>
|
</asp:Repeater>
|
</table>
|
<table class="tableStyle" style="width: 98%; margin: 5px auto;" usehover="false" useclick="false">
|
<tr>
|
<th colspan="10">
|
<b>印刷信息</b>
|
</th>
|
</tr>
|
<tbody>
|
<tr>
|
<td class="ali03 w70px ">
|
纸张来源:
|
</td>
|
<td>
|
<select keepDefaultStyle="true" name="PMS_PaperSource" onchange='PaperSourceChange(this)' runat="server" id="PMS_PaperSource" style=" width:80px;">
|
<option value="来自仓库">来自仓库</option>
|
<option value="自带纸">自带纸</option>
|
</select><label class="Btnb CangKubtn_o" style="margin-left: 2px;"><input type="button" class="Btn FromWarehouse" value="连接仓库" id="StoreBtn" /></label><input type="hidden" runat="server" name="PSF_PaperId" value="" id="PSF_PaperId1" /><input type="hidden" runat="server" name="PMS_PaperCount1" value="" id="PMS_PaperCount1" />
|
</td>
|
<td class="ali03 w70px ">
|
纸张名称:
|
</td>
|
<td>
|
<input type="text" class="noJ " name="PMS_PaperName" style="width:80px" id="PMS_PaperName" runat = "server" />
|
<select keepDefaultStyle="true" name="selPaperName" style=" display:none; width:80px" runat="server" id="selPaperName" ></select>
|
</td>
|
<td class="ali03 w70px ">
|
纸张规格:
|
</td>
|
<td>
|
<input type="text" class="noJ " name="PMS_PaperSpecification" style="width:80px" id="PMS_PaperSpecification" runat = "server"/>
|
<select keepDefaultStyle="true" name="SelPaperSpec" style=" display:none; width:80px" runat="server" id="SelPaperSpec"></select>
|
</td>
|
<td class="ali03 w70px ">
|
纸张数量:
|
</td>
|
<td colspan="3">
|
<input type="text" class="noJ w40px" name="PMS_PaperCount" runat="server" id="PMS_PaperCount" />张(其中正数<input type="text" class="noJ w40px" name="PMS_PaperPositive" runat ="server" id = "PMS_PaperPositive"/>张,消耗<input type="text" class="noJ w40px" name="PMS_PaperConsume" runat = "server" id="PMS_PaperConsume" />张)
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03 w70px ">
|
印刷机台:
|
</td>
|
<td>
|
<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>
|
<option value="3开机">3开机</option>
|
<option value="4开机">4开机</option>
|
<option value="8开机">8开机</option>
|
</select>
|
</td>
|
<td class="ali03 w70px ">
|
印刷方式:
|
</td>
|
<td>
|
<select keepDefaultStyle="true" name="PSF_Typesetting" id="PSF_Typesetting" runat = "server" style="width:80px">
|
<option value="自翻">自翻</option>
|
<option value="滚翻">滚翻</option>
|
<option value="扣板">扣板</option>
|
<option value="单面">单面</option>
|
</select>
|
</td>
|
<td class="ali03 w70px ">
|
是否修版:
|
</td>
|
<td>
|
<select keepDefaultStyle="true" name="PMS_IsRevisedEdition" runat = "server" id="PMS_IsRevisedEdition" style="width:80px">
|
<option value="true">修版</option>
|
<option value="false" selected ="selected">不修版</option>
|
</select>
|
</td>
|
<td class="ali03 w70px ">
|
色样:
|
</td>
|
<td>
|
<select keepDefaultStyle="true" id="PMS_IsColorSamples" name="PMS_IsColorSamples" runat="server" style="width:80px">
|
<option selected="selected" value="">请选择</option>
|
<option value="无">无</option>
|
<option value="原样">原样</option>
|
<option value="数码样">数码样</option>
|
<option value="印刷样">印刷样</option>
|
<option value="照片比照">照片比照</option>
|
<option value="其他">其他</option>
|
</select>
|
</td>
|
<td class="ali03 w70px ">
|
色数:
|
</td>
|
<td>
|
<select keepDefaultStyle="true" id="PMS_ChromaticNumber" name="PMS_ChromaticNumber" runat = "server" >
|
<option value="1">单色</option>
|
<option value="2">双色</option>
|
<option value="3">三色</option>
|
<option selected="selected" value="4">四色</option>
|
<option value="4+专">四+专</option>
|
</select>
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03 w70px " style="display:none;">
|
<%-- 版材类型:--%>
|
</td>
|
<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;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"/>--%>
|
<%-- <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>
|
<td class="ali03 w70px " id="lbCTPCount" runat = "server">
|
CTP数量:
|
</td>
|
<td id="tdCTPCount" runat = "server">
|
<input type="text" class="noJ PS_o" name="CTPCount" style="width:80px" id="CTPCount" runat = "server" />
|
</td>
|
<td class="ali03 w70px " id="lbPSSpec" style="display:none" runat="server">
|
PS版规格:
|
</td>
|
<td id="tdPSSpec" style="display:none" runat="server">
|
<input type="text" class="noJ PS_o" name="PMS_PSBan" style="width:80px;" runat = "server" id="PMS_PSBan" /><label class="Btnb CangKubtn_o" style="margin-left: 2px;"><input type="button" class="Btn FromWarehouseByBanCai1" value="连接仓库" id="BtnPs" /></label><input type="hidden" runat="server" name="PSF_PaperId" id="PSF_PaperId3" />
|
|
<%-- <label class="Btnb CangKubtn_o" style="margin-left: 2px;"><input type="button" class="Btn FromWarehouseByBanCai" value="连接仓库" id="BtnPs" /></label><input type="hidden" name="PSF_PaperId" /> --%>
|
|
</td>
|
<td class="ali03 w70px " id="lbPSCount" style="display:none" runat="server">
|
PS版数量:
|
</td>
|
<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 = "6">
|
</td>
|
|
</tr>
|
<tr>
|
<td class="ali03 w70px ">
|
完工时间:
|
</td>
|
<td>
|
<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;display:none;" runat = "server" id="PMS_TotalPrice" value="0" />
|
</td>
|
<td colspan="6">
|
</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>
|
</td>
|
</tr>
|
<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>
|
</table>
|
<div style=" display:none;">
|
<div id='ReceiptT_Html' style=" display:none;"></div>
|
</div>
|
</form>
|
<script type="text/javascript">
|
ReceiptT('member', '<%=targetid %>',6,100);
|
</script>
|
<script type="text/javascript">
|
function CorrectText() {
|
$("input[name='PO_Requirement']").each(function (ii, vv) {
|
$(vv).val($(vv).val().replace(/[,]/g, ",+-+,"));
|
});
|
}
|
function GetGoodsData(value_pparid, goodsName, SpecificationName, InventoryCounttext, Keyid, papernum1) {
|
if (value_pparid == "1") {
|
$("input[name='PMS_PaperName']").val(goodsName);
|
$("input[name='PMS_PaperSpecification']").val(SpecificationName);
|
$("input[name='PMS_PaperCount']").val(InventoryCounttext);
|
$("input[name='PSF_PaperId1']").val(Keyid);
|
$("input[name='PMS_PaperCount1']").val(papernum1);
|
}
|
else if (value_pparid == "2") {
|
$("input[name='PlateSpec']").val(SpecificationName);
|
$("input[name='CTPCount']").val(InventoryCounttext);
|
$("input[name='PSF_PaperId2']").val(Keyid);
|
}
|
else if (value_pparid == "3") {
|
$("input[name='PMS_PSBan']").val(SpecificationName);
|
$("input[name='PSCount']").val(InventoryCounttext);
|
$("input[name='PSF_PaperId3']").val(Keyid);
|
}
|
}
|
|
$(function () {
|
$(".FromWarehouse").click(function () {
|
var value_pparid = "1";
|
top.Dialog.open({ URL: "/Pages/business/AgConWarehouse.aspx?CommidityType=纸张&&value_pparid=" + value_pparid, Width: 1000, Height: 650, Title: "选择货品参数" });
|
});
|
$(".FromWarehouseByBanCai").click(function () {
|
var value_pparid = "2";
|
top.Dialog.open({ URL: "/Pages/business/AgConWarehouse.aspx?CommidityType=版材&&value_pparid=" + value_pparid, Width: 1000, Height: 650, Title: "选择货品参数" });
|
});
|
$(".FromWarehouseByBanCai1").click(function () {
|
var value_pparid = "3";
|
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>
|