|
@@ -136,6 +136,13 @@ export default {
|
|
|
icon: 'iconfont icon-shanchu',
|
|
|
power: 'deleteFinancial',
|
|
|
category: 'delete'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ msg: '重新发起还款申请',
|
|
|
+ icon: 'iconfont icon-shuaxin',
|
|
|
+ power: '',
|
|
|
+ rowPower: ['资方融资款项'],
|
|
|
+ category: 'reApply'
|
|
|
}
|
|
|
]
|
|
|
const options = btnList.map(item => {
|
|
@@ -162,8 +169,13 @@ export default {
|
|
|
},
|
|
|
tablePower() {
|
|
|
return ({ item, row }) => {
|
|
|
- const { rowPower } = item
|
|
|
- if (rowPower) {
|
|
|
+ const { rowPower, category } = item
|
|
|
+ if (category === 'reApply') {
|
|
|
+ if (rowPower && rowPower.includes(row.cashTypeDict.name)) {
|
|
|
+ return true
|
|
|
+ }
|
|
|
+ return false
|
|
|
+ } else if (rowPower) {
|
|
|
// entryOutType 出入帐类型 1--入账 2--出账 出账只存在查看按钮
|
|
|
if (rowPower.includes(row.cashStatus) || row.entryOutType === '2') {
|
|
|
return false
|