...
|
...
|
@@ -5,7 +5,7 @@ |
|
|
*/
|
|
|
var $ = require('yoho-jquery'),
|
|
|
lazyload = require('yoho-jquery-lazyload'),
|
|
|
Confirm = require('../plugins/dialog').Confirm;
|
|
|
dialog = require('../plugins/dialog');
|
|
|
|
|
|
var $mainWrap = $('.refund-datail-wrap'),
|
|
|
$submitExpress = $mainWrap.find('.submit-express'),
|
...
|
...
|
@@ -18,6 +18,9 @@ var $expressCompany = $('.express-company'), |
|
|
var id = $mainWrap.data('id'),
|
|
|
expressList = $editExpress.data();
|
|
|
|
|
|
var Confirm = dialog.Confirm,
|
|
|
Alert = dialog.Alert;
|
|
|
|
|
|
$('.blk-footer .return-top').remove(); // 移除通用的返回顶部组件
|
|
|
|
|
|
require('yoho-jquery-dotdotdot');
|
...
|
...
|
@@ -43,6 +46,8 @@ function cancelRefundApply() { |
|
|
success: function(data) {
|
|
|
if (data.code === 200) {
|
|
|
location.reload();
|
|
|
} else {
|
|
|
new Alert(data.message || '取消申请失败').show();
|
|
|
}
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -60,9 +65,10 @@ function setRefundEepress(eid, num) { |
|
|
number: num
|
|
|
},
|
|
|
success: function(data) {
|
|
|
console.log(data);
|
|
|
if (data.code === 200) {
|
|
|
location.reload();
|
|
|
} else {
|
|
|
new Alert(data.message || '保存失败').show();
|
|
|
}
|
|
|
}
|
|
|
});
|
...
|
...
|
|