|
@@ -38,6 +38,11 @@
|
|
<li>
|
|
<li>
|
|
<font class="cona dowot">下载Excel</font>
|
|
<font class="cona dowot">下载Excel</font>
|
|
</li>
|
|
</li>
|
|
|
|
+
|
|
|
|
+<li>
|
|
|
|
+<font class="cona dchc">导出惠程计数</font>
|
|
|
|
+</li>
|
|
|
|
+
|
|
<li>
|
|
<li>
|
|
<font class="cona obadd">添加信息</font>
|
|
<font class="cona obadd">添加信息</font>
|
|
</li>
|
|
</li>
|
|
@@ -101,6 +106,32 @@ var dataurl = "/systembound/";var fdataurl = "/systembound/";
|
|
$(document).ready(function() {
|
|
$(document).ready(function() {
|
|
$("#outbound").focus();
|
|
$("#outbound").focus();
|
|
});
|
|
});
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+$(".dchc").click(function() {
|
|
|
|
+ var f = "";
|
|
|
|
+ $(".select").each(function() {
|
|
|
|
+ f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
|
|
|
|
+ });
|
|
|
|
+ $("input:text").each(function() {
|
|
|
|
+ f = f + $(this).attr("name") + "=" + $(this).val() + "&";
|
|
|
|
+ });
|
|
|
|
+ $("input:hidden").each(function() {
|
|
|
|
+ f = f + $(this).attr("name") + "=" + $(this).val() + "&";
|
|
|
|
+ });
|
|
|
|
+ if($("input[name=systembox]").length > 0)
|
|
|
|
+ {
|
|
|
|
+ if($("select[name='warehouse']").children("option:selected").val() == '')
|
|
|
|
+ {
|
|
|
|
+ $(".ts p").text("请选择仓库!");
|
|
|
|
+ $(".ts").show();
|
|
|
|
+ setTimeout('$(".ts").fadeOut()', 800);
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ window.location.href = dataurl+"excelhc?fexcel=1&" + f;
|
|
|
|
+ $("select[name=fexcel] option:eq(0)").prop('selected', 'selected');
|
|
|
|
+});
|
|
</script>
|
|
</script>
|
|
<script type="text/javascript" src="{$theme}js/laydate.js"></script>
|
|
<script type="text/javascript" src="{$theme}js/laydate.js"></script>
|
|
<script type="text/javascript" src="{$theme}js/print.js?v=2020160001"></script>
|
|
<script type="text/javascript" src="{$theme}js/print.js?v=2020160001"></script>
|