...
|
...
|
@@ -142,17 +142,12 @@ common.edit.ajaxfileupload("#upload-input", { |
|
|
console.log(response);
|
|
|
$('.load-modal').hide();
|
|
|
if (response.code == 200) {
|
|
|
var data = response.data,
|
|
|
li = '';
|
|
|
|
|
|
$('#priceTable').show();
|
|
|
$('.success-wrap').hide();
|
|
|
successList = data.successList;
|
|
|
$.each(data.failFileReason, function(i, value) {
|
|
|
var li = '';
|
|
|
common.util.__tip(response.message, 'success');
|
|
|
$.each(response.data.failFileReason, function(i, value) {
|
|
|
li += '<li>' + value + '</li>';
|
|
|
});
|
|
|
$error.empty().html(li);
|
|
|
p.init(successList);
|
|
|
$('#error-msg').html(li);
|
|
|
} else {
|
|
|
common.util.__tip(response.message, 'danger');
|
|
|
}
|
...
|
...
|
|