更新生成合同选择甲方公司列表
This commit is contained in:
parent
288554451e
commit
793ce79b89
@ -29,6 +29,12 @@ export function apiCompanyDetail(params: any) {
|
||||
export function apiSubordinateList(params: any) {
|
||||
return request.get({ url: '/company/subordinate', params })
|
||||
}
|
||||
|
||||
// 获取甲方公司类型
|
||||
export function getContractPartyACompanyTypeList(params: any) {
|
||||
return request.get({ url: '/setting.dict.dict_data/getContractPartyACompanyTypeList', params })
|
||||
}
|
||||
|
||||
// 重新发送短信
|
||||
export function sendMsgApi(params: any) {
|
||||
return request.get({ url: '/company/postsms', params })
|
||||
|
@ -69,6 +69,7 @@ import {
|
||||
apiCompanyLists,
|
||||
companyListTwo,
|
||||
apiCompanyDelete,
|
||||
getContractPartyACompanyTypeList,
|
||||
} from "@/api/company";
|
||||
import { defineEmits } from "vue";
|
||||
|
||||
@ -86,8 +87,10 @@ const props = defineProps({
|
||||
},
|
||||
});
|
||||
|
||||
const typeList = props.companyTypeList.filter((item: any) => {
|
||||
return item.id == 30 || item.id == 16;
|
||||
// 可选公司类型
|
||||
const typeList = ref([]);
|
||||
getContractPartyACompanyTypeList({}).then((res) => {
|
||||
typeList.value = res;
|
||||
});
|
||||
|
||||
// 查询条件
|
||||
|
Loading…
x
Reference in New Issue
Block a user