|
@@ -65,6 +65,7 @@
|
|
|
</select>
|
|
|
</div>
|
|
|
<input type="hidden" id="first" value="{$vo.first_classify|default='-1'}"/>
|
|
|
+ <input type="hidden" id="second" value="{$vo.second_classify|default='-1'}"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -468,12 +469,9 @@
|
|
|
var first_key = $("select[name='first_classify']").find("option:selected").data("first_key")
|
|
|
$("#first").val(first_key);
|
|
|
$("select[name='second_classify']").html('');
|
|
|
- $("select[name='third_classify']").html('');
|
|
|
- $("select[name='fourth_classify']").html('');
|
|
|
// 没有下级不继续
|
|
|
if(first_key == -1 || !("children" in goods_spec[first_key])){
|
|
|
$("#second").val(-1);
|
|
|
- $("#third").val(-1);
|
|
|
window.form.render();
|
|
|
return true;
|
|
|
}else{
|