|
|
@ -36,6 +36,8 @@ const queryParams = { |
|
|
|
|
|
|
|
// 获取当前操作人的部门
|
|
|
|
import { useUserStore } from '@/store/modules/user' |
|
|
|
import {Bom} from "@/views/wms/basicDataManage/itemManage/bom/bom.data"; |
|
|
|
import * as BomApi from "@/api/wms/bom"; |
|
|
|
const userStore = useUserStore() |
|
|
|
const userDept = userStore.userSelfInfo.dept |
|
|
|
|
|
|
@ -830,6 +832,51 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: 'Bom版本', |
|
|
|
field: 'bomVersion', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择Bom版本', // 输入框占位文本
|
|
|
|
searchField: 'version', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '物料清单信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Bom.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: BomApi.getBomPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|
key:'productItemCode', |
|
|
|
value:'itemCode', |
|
|
|
isMainValue: true |
|
|
|
},{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择Bom版本', // 输入框占位文本
|
|
|
|
searchField: 'version', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '物料清单信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Bom.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: BomApi.getBomPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|
key:'productItemCode', |
|
|
|
value:'itemCode', |
|
|
|
isMainValue: true |
|
|
|
},{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '操作', |
|
|
|
field: 'action', |
|
|
|