|
@@ -178,9 +178,9 @@
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import { mapGetters } from 'vuex'
|
|
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
|
|
// cashFlowGetExitDetail
|
|
-import { codeChangeName, filterListData } from '@/utils/index'
|
|
|
|
|
|
+import { codeChangeName } from '@/utils/index'
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
UnifiedEditor: () => import('@/components/UnifiedEditor/index.vue')
|
|
UnifiedEditor: () => import('@/components/UnifiedEditor/index.vue')
|
|
@@ -266,9 +266,11 @@ export default {
|
|
const attributionOfAccountCode = codeChangeName(this.attributionOfAccountList, attributionOfAccountId, 'id', 'code')
|
|
const attributionOfAccountCode = codeChangeName(this.attributionOfAccountList, attributionOfAccountId, 'id', 'code')
|
|
let list = []
|
|
let list = []
|
|
if (attributionOfAccountCode === 'longSilver') {
|
|
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') {
|
|
} 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
|
|
return list
|
|
}
|
|
}
|
|
@@ -399,7 +401,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getCompanyOwnership() {
|
|
getCompanyOwnership() {
|
|
- getCompanyOwnership({ parentCode: 'companyOwnership' }).then(response => {
|
|
|
|
|
|
+ getCompanyOwnershipTemp({ code: 'companyOwnership' }).then(response => {
|
|
this.companyOwnershipList = response.data
|
|
this.companyOwnershipList = response.data
|
|
})
|
|
})
|
|
},
|
|
},
|