Ver código fonte

提价数据

lvhao 12 horas atrás
pai
commit
3c7abd5bd6

+ 8 - 2
template/erp/js/fullorder-addedit.js

@@ -514,7 +514,11 @@ $("#currency").change(function(){
 	});
 	//自动显示option
 	function option() {
+	    
 	var index = $(".cike select").find("option:selected").index();
+	// if(index == 8){
+	// 	index = 2
+	// }
 	$(".pttab li").hide();	$(".pttab li").removeClass("post");
     $("."+index).show();$(".none"+index).hide();$("."+index).addClass("post");
 	$('.pttab select option:eq(0)').prop('selected','selected'); 
@@ -551,6 +555,9 @@ $("#currency").change(function(){
 		{
 			$(".synthetichair").show();
 		}
+	}else if(index == 8){
+		$(".BlendedHair").hide()
+	}
     //var indexb = $(".cikeb.post select").find("option:selected").val();
 	//发块的类型的清除 这里直接写死了
 	if(index == 1){
@@ -558,7 +565,6 @@ $("#currency").change(function(){
 	}else{
 		var indexb = 0;
 	}
-    var indexb = $(".cikeb.post select").find("option:selected").val();
 	$(".pttab .a1").hide();$(".pttab .a2").hide();$(".pttab .a3").hide();$(".pttab .a4").hide();$(".pttab .a1").removeClass("post");$(".pttab .a2").removeClass("post");$(".pttab .a3").removeClass("post");$(".pttab .a4").removeClass("post");
 	if(indexb == 195)
      {
@@ -2198,4 +2204,4 @@ function choicetjTotalNum(){
 		}
 	})
 	$("#sl_show",window.parent.document).text(num)
-}
+}

+ 6 - 1
template/erp/js/fullorder-addeditdlz.js

@@ -519,6 +519,9 @@ $("#currency").change(function(){
 	//自动显示option
 	function option() {
 	var index = $(".cike select").find("option:selected").index();
+	// if(index == 8){
+	// 	index = 2
+	// }
 	$(".pttab li").hide();	$(".pttab li").removeClass("post");
     $("."+index).show();$(".none"+index).hide();$("."+index).addClass("post");
 	$('.pttab select option:eq(0)').prop('selected','selected'); 
@@ -555,6 +558,9 @@ $("#currency").change(function(){
 		{
 			$(".synthetichair").show();
 		}
+	}else if(index == 8){
+		$(".BlendedHair").hide()
+	}
     //var indexb = $(".cikeb.post select").find("option:selected").val();
 	//发块的类型的清除 这里直接写死了
 	if(index == 1){
@@ -562,7 +568,6 @@ $("#currency").change(function(){
 	}else{
 		var indexb = 0;
 	}
-    var indexb = $(".cikeb.post select").find("option:selected").val();
 	$(".pttab .a1").hide();$(".pttab .a2").hide();$(".pttab .a3").hide();$(".pttab .a4").hide();$(".pttab .a1").removeClass("post");$(".pttab .a2").removeClass("post");$(".pttab .a3").removeClass("post");$(".pttab .a4").removeClass("post");
 	if(indexb == 195)
      {

+ 5 - 0
template/erp/js/fullorder-addeditv2.js

@@ -519,6 +519,9 @@ $("#currency").change(function(){
 	//自动显示option
 	function option() {
 	var index = $(".cike select").find("option:selected").index();
+	// if(index == 8){
+    //     index = 2
+    // }
 	$(".pttab li").hide();	$(".pttab li").removeClass("post");
     $("."+index).show();$(".none"+index).hide();$("."+index).addClass("post");
 	$('.pttab select option:eq(0)').prop('selected','selected'); 
@@ -555,6 +558,8 @@ $("#currency").change(function(){
 		{
 			$(".synthetichair").show();
 		}
+	}else if(index == 8){
+		$(".BlendedHair").hide()
 	}
     //var indexb = $(".cikeb.post select").find("option:selected").val();
 	//发块清除这里直接写死了