lvhao 20 godzin temu
rodzic
commit
2ffa59fec2
1 zmienionych plików z 19 dodań i 14 usunięć
  1. 19 14
      template/erp/whlabel_bh_operate.html

+ 19 - 14
template/erp/whlabel_bh_operate.html

@@ -180,16 +180,19 @@ $(document).keyup(function(event) {
 })
 $(".wcxz").click(function() {
     var f = "transfer=3&";
+    f = f + "timetk="+$("input[name='timetk']").val()+"&";
+    f = f + "timetj="+$("input[name='timetj']").val()+"&";
+    
     // $(".select").each(function() {
     //     f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
     // });
-    f = f + "color="+$("select[name='color']").val()+"&";
-    $("input:text").each(function() {
-        f = f + $(this).attr("name") + "=" + $(this).val() + "&";
-    });
-	$("input:hidden").each(function() {
-        f = f + $(this).attr("name") + "=" + $(this).val() + "&";
-    });
+    // f = f + "color="+$("select[name='color']").val()+"&";
+    // $("input:text").each(function() {
+    //     f = f + $(this).attr("name") + "=" + $(this).val() + "&";
+    // });
+	// $("input:hidden").each(function() {
+    //     f = f + $(this).attr("name") + "=" + $(this).val() + "&";
+    // });
   window.location.href = "/whlabel_bh/excelwchz/?fexcel=1&"+f;
 });
 $(".cpkxz").click(function(){
@@ -197,13 +200,15 @@ $(".cpkxz").click(function(){
     // $(".select").each(function() {
     //     f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
     // });
-    f = f + "color="+$("select[name='color']").val()+"&";
-    $("input:text").each(function() {
-        f = f + $(this).attr("name") + "=" + $(this).val() + "&";
-    });
-	$("input:hidden").each(function() {
-        f = f + $(this).attr("name") + "=" + $(this).val() + "&";
-    });
+    // f = f + "color="+$("select[name='color']").val()+"&";
+    // $("input:text").each(function() {
+    //     f = f + $(this).attr("name") + "=" + $(this).val() + "&";
+    // });
+	// $("input:hidden").each(function() {
+    //     f = f + $(this).attr("name") + "=" + $(this).val() + "&";
+    // });
+    f = f + "timetk="+$("input[name='timetk']").val()+"&";
+    f = f + "timetj="+$("input[name='timetj']").val()+"&";
   window.location.href = "/whlabel_bh/excelcpkhz/?fexcel=1&"+f;
 })