|
|
@ -9,13 +9,10 @@ import { QadProject } from '../qadProject/qadProject.data' |
|
|
|
export const SubjectAccountRules = reactive({ |
|
|
|
code: [required], |
|
|
|
usageDescription: [required], |
|
|
|
costecentreId: [required], |
|
|
|
costecentreCode: [required], |
|
|
|
costecentreType: [required], |
|
|
|
projectId: [required], |
|
|
|
projectCode: [required], |
|
|
|
available: [required], |
|
|
|
concurrencyStamp: [required], |
|
|
|
}) |
|
|
|
|
|
|
|
export const SubjectAccount = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
@ -61,7 +58,7 @@ export const SubjectAccount = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择物料代码', // 输入框占位文本
|
|
|
|
searchField: 'costcentreCode', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '物料基础信息', // 查询弹窗标题
|
|
|
|
searchTitle: '成本中心信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: QadCostcentre.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: QadCostcentreApi.getQadCostcentrePage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|