...
|
...
|
@@ -92,6 +92,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
var SeasonType = document.getElementById("c-season_type");
|
|
|
var BodyType = document.getElementById("c-body_type");
|
|
|
var WorkType = document.getElementById("c-work_type");
|
|
|
var FaceType = document.getElementById("c-face_type");
|
|
|
var web1 = document.getElementById("web1");
|
|
|
var goods1 = document.getElementById("goods1");
|
|
|
var web2 = document.getElementById("web2");
|
...
|
...
|
@@ -102,6 +103,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
var goods4 = document.getElementById("goods4");
|
|
|
var web5 = document.getElementById("web5");
|
|
|
var goods5 = document.getElementById("goods5");
|
|
|
var web6 = document.getElementById("web6");
|
|
|
var goods6 = document.getElementById("goods6");
|
|
|
SportType.onchange = function () {
|
|
|
if (SportType.value == 1) {
|
|
|
web1.style.display = 'none';
|
...
|
...
|
@@ -147,6 +150,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
goods5.style.display = 'none';
|
|
|
}
|
|
|
};
|
|
|
FaceType.onchange = function () {
|
|
|
if (FaceType.value == 1) {
|
|
|
web6.style.display = 'none';
|
|
|
goods6.style.display = 'block';
|
|
|
} else {
|
|
|
web6.style.display = 'block';
|
|
|
goods6.style.display = 'none';
|
|
|
}
|
|
|
};
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
|
edit: function () {
|
...
|
...
|
@@ -155,6 +167,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
var SeasonType = Config.SeasonType;
|
|
|
var BodyType = Config.BodyType;
|
|
|
var WorkType = Config.WorkType;
|
|
|
var FaceType = Config.FaceType;
|
|
|
var web1 = document.getElementById("web1");
|
|
|
var goods1 = document.getElementById("goods1");
|
|
|
var web2 = document.getElementById("web2");
|
...
|
...
|
@@ -165,6 +178,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
var goods4 = document.getElementById("goods4");
|
|
|
var web5 = document.getElementById("web5");
|
|
|
var goods5 = document.getElementById("goods5");
|
|
|
var web6 = document.getElementById("web6");
|
|
|
var goods6 = document.getElementById("goods6");
|
|
|
if (SportType == 1) {
|
|
|
web1.style.display = 'none';
|
|
|
goods1.style.display = 'block';
|
...
|
...
|
@@ -202,11 +217,21 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
goods5.style.display = 'none';
|
|
|
}
|
|
|
};
|
|
|
FaceType.onchange = function () {
|
|
|
if (FaceType == 1) {
|
|
|
web6.style.display = 'none';
|
|
|
goods6.style.display = 'block';
|
|
|
} else {
|
|
|
web6.style.display = 'block';
|
|
|
goods6.style.display = 'none';
|
|
|
}
|
|
|
};
|
|
|
var SportType2 = document.getElementById("c-sport_type");
|
|
|
var EatType2 = document.getElementById("c-eat_type");
|
|
|
var SeasonType2 = document.getElementById("c-season_type");
|
|
|
var BodyType2 = document.getElementById("c-body_type");
|
|
|
var WorkType2 = document.getElementById("c-work_type");
|
|
|
var FaceType2 = document.getElementById("c-FaceType2");
|
|
|
SportType2.onchange = function () {
|
|
|
if (SportType2.value == 1) {
|
|
|
web1.style.display = 'none';
|
...
|
...
|
@@ -252,6 +277,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
goods5.style.display = 'none';
|
|
|
}
|
|
|
};
|
|
|
FaceType2.onchange = function () {
|
|
|
if (FaceType2.value == 1) {
|
|
|
web6.style.display = 'none';
|
|
|
goods6.style.display = 'block';
|
|
|
} else {
|
|
|
web6.style.display = 'block';
|
|
|
goods6.style.display = 'none';
|
|
|
}
|
|
|
};
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
|
api: {
|
...
|
...
|
|