...
|
...
|
@@ -12,7 +12,7 @@ var ENUM={ |
|
|
var t = new common.tab({
|
|
|
el:"#basicTab",
|
|
|
click:function(){
|
|
|
g.reload();
|
|
|
g.reload(1);
|
|
|
},
|
|
|
columns:[
|
|
|
{name:"0",display:"待审核({0})"},
|
...
|
...
|
@@ -97,7 +97,7 @@ loadtab(); |
|
|
|
|
|
$("#filter-btn").click(function(){
|
|
|
loadtab();
|
|
|
g.reload();
|
|
|
g.reload(1);
|
|
|
});
|
|
|
|
|
|
var Bll={
|
...
|
...
|
@@ -144,17 +144,19 @@ $('#basicTable').on('click', '.apply-back', function() { |
|
|
|
|
|
//作废
|
|
|
$('#basicTable').on('click', '.apply-cancel', function() {
|
|
|
console.log(11);
|
|
|
var item=g.rows[$(this).data("index")];
|
|
|
var reason = $('#reason').val();
|
|
|
if (reason === '' || $.trim(reason) === '') {
|
|
|
return "请填写作废原因";
|
|
|
}
|
|
|
|
|
|
var data=function(){
|
|
|
if (reason === '' || $.trim(reason) === '') {
|
|
|
return "请填写作废原因";
|
|
|
}
|
|
|
return {
|
|
|
id:item.id,
|
|
|
status: 3,
|
|
|
reason:reason
|
|
|
};
|
|
|
}
|
|
|
Bll.toast(common.util.__template($("#template").html(),{title:"你确定要作废此限购码吗?"}),data);
|
|
|
Bll.toast(common.util.__template($("#template").html(),{name:"你确定要作废此限购码吗?"}),data);
|
|
|
}); |
...
|
...
|
|