index.js 781 Bytes
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
import operationFunc from "~/mixin/commonDepend";
export default {
	mixins: [commonFunctions, operationFunc],
	methods: {
		// 获取地区机构号列表
		async getOwnExtkeyCondition() {
			const loading = this.loading();
			let body = { ownExtKey: "" };
			let res = await Api.post('/report/cfa/public/getBranchListByownExtKey', body);
			loading.close();
			if (res.respCode === SUCCESS) {
			  this.ownExtkeyList = res.data;
			}
		  },

		  //通过机构号获取金标码
		  async getDecnum(ownextkey) {
			let res = await Api.post('/report/cfa/public/getDecnum', ownextkey);
			if (res.respCode === SUCCESS) {
				this.model.recgrp.bas.debtorcode = res.data;
			}
		},
		  
  },
}