|
@@ -178,9 +178,9 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { mapGetters } from 'vuex'
|
|
|
-import { getEnterprises, getAttributionOfAccount, getCompanyOwnership, getInstitutionName, getNocapitalBankName, getBankCardNo, getBusinessType, getCpitalBankName, cashFlowGetEntryDetail } from '@/api/financialManagement/financialManagement'
|
|
|
+import { getEnterprises, getAttributionOfAccount, getCompanyOwnershipTemp, getInstitutionName, getNocapitalBankName, getBankCardNo, getBusinessType, getCpitalBankName, cashFlowGetEntryDetail } from '@/api/financialManagement/financialManagement'
|
|
|
// cashFlowGetExitDetail
|
|
|
-import { codeChangeName, filterListData } from '@/utils/index'
|
|
|
+import { codeChangeName } from '@/utils/index'
|
|
|
export default {
|
|
|
components: {
|
|
|
UnifiedEditor: () => import('@/components/UnifiedEditor/index.vue')
|
|
@@ -266,9 +266,11 @@ export default {
|
|
|
const attributionOfAccountCode = codeChangeName(this.attributionOfAccountList, attributionOfAccountId, 'id', 'code')
|
|
|
let list = []
|
|
|
if (attributionOfAccountCode === 'longSilver') {
|
|
|
- list = filterListData(this.companyOwnershipList, ['shang_hai_ao_hong', 'xi_an_ao_hong', 'shan_xi_ka_fubao', 'shen_zhen_chang_yin_bao', 'shang_hai_ke_fubao'])
|
|
|
+ list = this.companyOwnershipList.filter(el => el.value === '1181')
|
|
|
+ // list = filterListData(this.companyOwnershipList, ['shang_hai_ao_hong', 'xi_an_ao_hong', 'shan_xi_ka_fubao', 'shen_zhen_chang_yin_bao', 'shang_hai_ke_fubao'])
|
|
|
} else if (attributionOfAccountCode === 'noLongSilver') {
|
|
|
- list = filterListData(this.companyOwnershipList, ['zi_guan', 'factoring', 'investment', 'shen_zhen_chang_yin', 'shang_hai_yin_guo'])
|
|
|
+ // list = filterListData(this.companyOwnershipList, ['zi_guan', 'factoring', 'investment', 'shen_zhen_chang_yin', 'shang_hai_yin_guo'])
|
|
|
+ list = this.companyOwnershipList.filter(el => el.value === '1182')
|
|
|
}
|
|
|
return list
|
|
|
}
|
|
@@ -399,7 +401,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getCompanyOwnership() {
|
|
|
- getCompanyOwnership({ parentCode: 'companyOwnership' }).then(response => {
|
|
|
+ getCompanyOwnershipTemp({ code: 'companyOwnership' }).then(response => {
|
|
|
this.companyOwnershipList = response.data
|
|
|
})
|
|
|
},
|