Authored by hongweigao

提交信息,关闭弹窗

... ... @@ -52,6 +52,8 @@ var option = {
]
};
var refundConfirm = {};
var Dialog = require('../common/dialog').Dialog;
require('../plugins/jquery.qupload');
... ... @@ -458,6 +460,7 @@ function loadWaiting(status) {
}
function saveRefundExchange(url, data) {
refundConfirm.close();
loadWaiting(true);
$.ajax({
type: 'POST',
... ... @@ -522,7 +525,7 @@ $('.save-btn').click(function() {
}
if (pageType) {
new Dialog($.extend(true, {}, option, {
refundConfirm = new Dialog($.extend(true, {}, option, {
content: content,
btns: [{
cb: function() {
... ...