|
@ -28,6 +28,7 @@ const requestsettingData = data?.list[0] || {} |
|
|
userDept.id = userDept.id.toString() |
|
|
userDept.id = userDept.id.toString() |
|
|
const userDeptArray:any = [userDept] |
|
|
const userDeptArray:any = [userDept] |
|
|
|
|
|
|
|
|
|
|
|
const procurementCreators = await SupplierinvoiceRequestMainApi.queryUserInfoByRoleCode({ roleCode: 'purchase',pageSize: 1000,pageNo: 1,sort: '',by: 'ASC' }) |
|
|
/** |
|
|
/** |
|
|
* @returns {Array} 采购员列表 |
|
|
* @returns {Array} 采购员列表 |
|
|
*/ |
|
|
*/ |
|
@ -514,25 +515,44 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isForm: true, |
|
|
isForm: true, |
|
|
|
|
|
isTable: false, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
component: 'Select', |
|
|
|
|
|
api: () => procurementCreators.list, |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
optionsAlias: { |
|
|
hiddenFilterButton:true,//是否隐藏筛选按钮
|
|
|
labelField: 'nickname', |
|
|
dialogWidth:'665px',//搜索出来弹窗的宽度
|
|
|
valueField: 'id' |
|
|
searchListPlaceholder: '请选择采购员', // 输入框占位文本
|
|
|
|
|
|
searchField: 'id', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '采购员信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: PurchaseMemberInfo.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: SupplierinvoiceRequestMainApi.queryUserInfoByRoleCode, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'roleCode', // 查询列表中字段
|
|
|
|
|
|
value: 'purchase', // 指查询具体值
|
|
|
|
|
|
isMainValue: false // 表示查询条件不是主表的字段的值
|
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
// componentProps: {
|
|
|
|
|
|
// isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
// hiddenFilterButton:true,//是否隐藏筛选按钮
|
|
|
|
|
|
// dialogWidth:'665px',//搜索出来弹窗的宽度
|
|
|
|
|
|
// searchListPlaceholder: '请选择采购员', // 输入框占位文本
|
|
|
|
|
|
// searchField: 'id', // 查询弹窗赋值字段
|
|
|
|
|
|
// searchTitle: '采购员信息', // 查询弹窗标题
|
|
|
|
|
|
// searchAllSchemas: PurchaseMemberInfo.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
// searchPage: SupplierinvoiceRequestMainApi.queryUserInfoByRoleCode, // 查询弹窗所需分页方法
|
|
|
|
|
|
// searchCondition: [{
|
|
|
|
|
|
// key: 'roleCode', // 查询列表中字段
|
|
|
|
|
|
// value: 'purchase', // 指查询具体值
|
|
|
|
|
|
// isMainValue: false // 表示查询条件不是主表的字段的值
|
|
|
|
|
|
// }]
|
|
|
|
|
|
// }
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '采购价格审批人', |
|
|
|
|
|
field: 'procurementCreatorName', |
|
|
|
|
|
sortTableDefault:1003, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable:true, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '采购审批时间', |
|
|
label: '采购审批时间', |
|
|
field: 'procurementCreateTime', |
|
|
field: 'procurementCreateTime', |
|
|