修改: 1. 财务模块 日付申请 数据删除权限(日付申请删除权限,且经理和财务均未审核)
@@ -173,6 +173,12 @@ class DailyPaymentListAdapter(private var itemList: ArrayList<DailyPaymentCardLi
}
+
+ if (OASystem.authorization(OASystem.DAILY_PAYMENT, OASystem.DELETE) && it.fAudit == 0 && it.mAudit == 0) {
+ deleteButton.visibility = View.VISIBLE
+ } else {
+ deleteButton.visibility = View.GONE
+ }