...
|
...
|
@@ -426,7 +426,9 @@ $(document).on('click', "#filter-btn", function () { |
|
|
// 通过
|
|
|
var BllPass = {
|
|
|
toast: function (content, fn) {
|
|
|
var $this=$(this);
|
|
|
common.dialog.confirm("温馨提示", content, function () {
|
|
|
common.util.__disButton.call($this);
|
|
|
common.util.__ajax({
|
|
|
url: '/base/goods/pass',
|
|
|
data: fn()
|
...
|
...
|
@@ -441,7 +443,10 @@ var BllPass = { |
|
|
// 驳回
|
|
|
var BllReject = {
|
|
|
toast: function (content, fn) {
|
|
|
var $this=$(this);
|
|
|
|
|
|
common.dialog.confirm("温馨提示", content, function () {
|
|
|
common.util.__disButton.call($this);
|
|
|
common.util.__ajax({
|
|
|
url: '/base/goods/reject',
|
|
|
data: fn()
|
...
|
...
|
@@ -478,7 +483,7 @@ $(document).on("click", ".apply-success", function () { |
|
|
productSknList: JSON.stringify([item.productSkn]),
|
|
|
};
|
|
|
}
|
|
|
BllPass.toast("你确定审核通过吗?", data);
|
|
|
BllPass.toast.call(this,"你确定审核通过吗?", data);
|
|
|
});
|
|
|
|
|
|
//单个驳回
|
...
|
...
|
@@ -496,7 +501,7 @@ $(document).on("click", ".apply-back", function () { |
|
|
rejectReason: reason
|
|
|
};
|
|
|
}
|
|
|
BllReject.toast($("#template").html(), data);
|
|
|
BllReject.toast.call(this,$("#template").html(), data);
|
|
|
});
|
|
|
|
|
|
|
...
|
...
|
@@ -530,7 +535,7 @@ $(document).on("click", "#reject-btn", function () { |
|
|
rejectReason: reason
|
|
|
};
|
|
|
}
|
|
|
BllReject.toast($("#template").html(), data);
|
|
|
BllReject.toast.call(this,$("#template").html(), data);
|
|
|
});
|
|
|
|
|
|
//批量通过
|
...
|
...
|
@@ -555,7 +560,7 @@ $(document).on("click", "#pass-btn", function () { |
|
|
productSknList: JSON.stringify(sknList),
|
|
|
};
|
|
|
}
|
|
|
BllPass.toast("确定要通过该申请吗?", data);
|
|
|
BllPass.toast.call(this,"确定要通过该申请吗?", data);
|
|
|
});
|
|
|
|
|
|
|
...
|
...
|
|