lvhao 5 tháng trước cách đây
mục cha
commit
b74ba90b01
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      template/erp/shop_edit.html

+ 3 - 3
template/erp/shop_edit.html

@@ -206,7 +206,7 @@
 <script>var addedit="/shop/edit/";var rowsurl="/shop/rows/";
 $(document).ready(function() {
 	var va = $(".isshopid").find("option:selected").val();
-	if(va == 269 || va == 2297 || val == 1513)
+	if(va == 269 || va == 2297 || va == 1513)
 	{
 		$(".shoppass").show();$(".shopurl").show();$(".shopadmin").show();
 		$(".shopprogram").show();
@@ -216,8 +216,8 @@ $(document).ready(function() {
 		$(".shoppass").hide();$(".shopurl").hide();$(".shopadmin").hide();
 		$(".shopprogram").hide();
 	}
-	 });
-	 $("select[name='type']").change(function(){
+});
+$("select[name='type']").change(function(){
     var val = $(this).find("option:selected").val();
 	if(val == 269 || val == 2297 || val == 1513)
 	{