This commit is contained in:
xman 2025-03-10 14:16:49 +08:00
parent e00dd9ce0f
commit acbe7be179
2 changed files with 10 additions and 2 deletions

View File

@ -36,6 +36,8 @@
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
data-operate-edit="{:$auth->check('orders/dispatch/edit')}"
data-operate-del="{:$auth->check('orders/dispatch/del')}"
data-operate-abnormal="{:$auth->check('orders/abnormal/add')}"
data-operate-income="{:$auth->check('orders/income/add')}"
width="100%">
</table>
</div>

View File

@ -105,7 +105,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
},
dropdown:"更多",
visible:function(row){
return true;
if(row.btn_income){
return true;
}
return false;
},
refresh:true,
},
@ -120,7 +123,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
},
dropdown:"更多",
visible:function(row){
return true;
if(row.btn_income){
return true;
}
return false;
},
//refresh:true,
}