|
|
@@ -582,22 +582,16 @@ $(document).keyup(function(event){
|
|
|
var list = a.features;
|
|
|
list = list.substring(0,list.length-1);
|
|
|
var data = list.split("-");
|
|
|
+ $('.select_two').select2("destroy");
|
|
|
+ $(".select_two").removeClass("select_two");
|
|
|
for(i=1;i<data.length+1;i++)
|
|
|
{
|
|
|
$(".setting .select").each(function() {
|
|
|
- $(this).find("option[value='"+data[i]+"']").prop("selected","selected");
|
|
|
+ $(this).find("option[value='"+data[i]+"']").prop("selected","selected");
|
|
|
});
|
|
|
$("input:radio[value='"+data[i]+"']").attr('checked','true');
|
|
|
}
|
|
|
cpxz();
|
|
|
-
|
|
|
- for(i=1;i<data.length+1;i++)
|
|
|
- {
|
|
|
- $(".selcet_two").each(function() {
|
|
|
- $(this).val(data[i]).trigger('change');
|
|
|
- })
|
|
|
- }
|
|
|
-
|
|
|
} else {
|
|
|
$("input[name='tmsku']").val("");
|
|
|
$(".ts p").html("未找到此条码或SKU");
|