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