|
@ -133,16 +133,26 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
|
|
|
enterSearch: true, |
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择成本中心代码', |
|
|
searchListPlaceholder: '请选择成本中心代码', |
|
|
searchField: 'costcentreCode', |
|
|
searchField: 'costcentreCode', |
|
|
searchTitle: '成本中心代码', |
|
|
searchTitle: '成本中心代码', |
|
|
searchAllSchemas: QadCostcentre.allSchemas, |
|
|
searchAllSchemas: QadCostcentre.allSchemas, |
|
|
searchPage: QadCostcentreApi.getQadCostcentrePage |
|
|
searchPage: QadCostcentreApi.getQadCostcentrePage, |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'costcentreCode', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
enterSearch: true, |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本
|
|
|
searchField: 'costcentreCode', // 查询弹窗赋值字段
|
|
|
searchField: 'costcentreCode', // 查询弹窗赋值字段
|
|
@ -153,7 +163,15 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'costcentreCode', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -178,6 +196,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
|
|
|
enterSearch: true, |
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择成领用原因代码', |
|
|
searchListPlaceholder: '请选择成领用原因代码', |
|
|
searchField: 'code', |
|
|
searchField: 'code', |
|
@ -193,11 +212,20 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
value: 'costCenterType', |
|
|
value: 'costCenterType', |
|
|
message: '成本中心类型不能为空!', |
|
|
message: '成本中心类型不能为空!', |
|
|
isMainValue: true |
|
|
isMainValue: true |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
enterSearch: true, |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
@ -213,7 +241,15 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
value: 'costCenterType', |
|
|
value: 'costCenterType', |
|
|
message: '成本中心类型不能为空!', |
|
|
message: '成本中心类型不能为空!', |
|
|
isMainValue: true |
|
|
isMainValue: true |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -225,16 +261,26 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
|
|
|
enterSearch: true, |
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择QAD项目信息', |
|
|
searchListPlaceholder: '请选择QAD项目信息', |
|
|
searchField: 'projectCode', |
|
|
searchField: ' ', |
|
|
searchTitle: '领用原因代码', |
|
|
searchTitle: '领用原因代码', |
|
|
searchAllSchemas: QadProject.allSchemas, |
|
|
searchAllSchemas: QadProject.allSchemas, |
|
|
searchPage: QadProjectApi.getQadProjectPage |
|
|
searchPage: QadProjectApi.getQadProjectPage, |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'projectCode', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
enterSearch: true, |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择QAD项目信息', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择QAD项目信息', // 输入框占位文本
|
|
|
searchField: 'projectCode', // 查询弹窗赋值字段
|
|
|
searchField: 'projectCode', // 查询弹窗赋值字段
|
|
@ -245,7 +291,15 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'projectCode', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -265,16 +319,26 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
|
|
|
enterSearch: true, |
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择仓库代码', |
|
|
searchListPlaceholder: '请选择仓库代码', |
|
|
searchField: 'code', |
|
|
searchField: 'code', |
|
|
searchTitle: '仓库信息', |
|
|
searchTitle: '仓库信息', |
|
|
searchAllSchemas: Warehouse.allSchemas, |
|
|
searchAllSchemas: Warehouse.allSchemas, |
|
|
searchPage: WarehouseApi.getWarehousePage |
|
|
searchPage: WarehouseApi.getWarehousePage, |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
enterSearch:true, |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择仓库代码', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择仓库代码', // 输入框占位文本
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
@ -285,7 +349,15 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]> |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -618,7 +690,6 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
tableForm:{ |
|
|
tableForm:{ |
|
|
multiple:true,//多选
|
|
|
multiple:true,//多选
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
isShowTableFormSearch: true, |
|
|
|
|
|
searchListPlaceholder: '请选择物料代码',// 输入框占位文本
|
|
|
searchListPlaceholder: '请选择物料代码',// 输入框占位文本
|
|
|
searchField: 'code',// 查询弹窗赋值字段
|
|
|
searchField: 'code',// 查询弹窗赋值字段
|
|
|
searchTitle: '物料基础信息', |
|
|
searchTitle: '物料基础信息', |
|
@ -636,7 +707,17 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
action: '==', |
|
|
action: '==', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationPage: ItembasicApi.getItemListByCodes, // tableForm下方输入框校验失去焦点之后是否正确的方法
|
|
|
|
|
|
isShowTableFormSearch: true, //tableForm下方是否出现输入框
|
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -658,7 +739,15 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
action: '==', |
|
|
action: '==', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -829,6 +918,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
|
|
|
enterSearch: true, |
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择库位代码', |
|
|
searchListPlaceholder: '请选择库位代码', |
|
|
searchField: 'code', |
|
|
searchField: 'code', |
|
@ -853,11 +943,20 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
key: 'isIn', |
|
|
key: 'isIn', |
|
|
value: 'in', |
|
|
value: 'in', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!!',
|
|
|
// labelMessage: '信息提示说明!!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
enterSearch:true, |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择库位代码', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择库位代码', // 输入框占位文本
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
@ -882,7 +981,15 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
key: 'isIn', |
|
|
key: 'isIn', |
|
|
value: 'in', |
|
|
value: 'in', |
|
|
isMainValue: false |
|
|
isMainValue: false |
|
|
}] |
|
|
}], |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|