lvhao 5 月之前
父节点
当前提交
b74ba90b01
共有 1 个文件被更改,包括 3 次插入3 次删除
  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)
 	{