...
|
...
|
@@ -169,19 +169,21 @@ |
|
|
console.log(res)
|
|
|
openIframeLayer("{:url('activity/refund')}?id=" + selectedCategoriesId, '拒绝信息', {
|
|
|
area: ['700px', '300px'],
|
|
|
// btn: ['确定', '取消'],
|
|
|
btn: ['关闭'],
|
|
|
yes: function (index, layero) {
|
|
|
//do something
|
|
|
var iframeWin = window[layero.find('iframe')[0]['name']];
|
|
|
var selectedCategories = iframeWin.confirm();
|
|
|
if (selectedCategories.selectedCategoriesId.length == 0) {
|
|
|
layer.msg('请选择分类');
|
|
|
return;
|
|
|
}
|
|
|
$('#js-categories-id-input').val(selectedCategories.selectedCategoriesId.join(','));
|
|
|
$('#js-categories-name-input').val(selectedCategories.selectedCategoriesName.join(' '));
|
|
|
console.log(index)
|
|
|
console.log(layero)
|
|
|
var iframeWin= window[layero.find('iframe')];
|
|
|
|
|
|
// console.log('222222222222');
|
|
|
/* console.log($('#refund_form').html());
|
|
|
$('#refund_form').submit();*/
|
|
|
|
|
|
//console.log(layer.getFrameIndex(index));
|
|
|
layer.close(index); //如果设定了yes回调,需进行手工关闭
|
|
|
layer.close(index); //如果设定了yes回调,需进行手工关闭
|
|
|
console.log('reload');
|
|
|
location.reload()
|
|
|
}
|
|
|
});
|
|
|
}
|
...
|
...
|
|