|
|
@ -17,6 +17,8 @@ import { Location } from '@/views/wms/basicDataManage/factoryModeling/location/l |
|
|
|
import * as ItempackageApi from '@/api/wms/itempackage' |
|
|
|
import { Itempackaging } from '@/views/wms/basicDataManage/itemManage/itempackage/itempackage.data' |
|
|
|
|
|
|
|
import * as ProductionitemcodeSpareitemcodeApi from '@/api/wms/productionitemcodeSpareitemcode' |
|
|
|
import { ProductionitemcodeSpareitemcode } from '@/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data' |
|
|
|
import * as confgiApi from '@/api/infra/config' |
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
|
const queryParams = { |
|
|
@ -322,7 +324,7 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
searchField: 'itemCode', |
|
|
|
searchTitle: '库存余额信息', |
|
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
|
searchPage: BalanceApi.getBalanceByBusinessTypeByItemType, |
|
|
|
searchPage: BalanceApi.getBalanceByBusinessCategoryByItemType, |
|
|
|
searchCondition: [] |
|
|
|
} |
|
|
|
}, |
|
|
@ -334,7 +336,7 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '库存余额信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Balance.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: BalanceApi.getBalanceByBusinessTypeByItemType, // 查询弹窗所需分页方法
|
|
|
|
searchPage: BalanceApi.getBalanceByBusinessCategoryByItemType, // 查询弹窗所需分页方法
|
|
|
|
searchCondition:[ |
|
|
|
// {
|
|
|
|
// key: 'available',
|
|
|
@ -361,19 +363,20 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
enterSearch: true, |
|
|
|
isSearchList: true, |
|
|
|
searchListPlaceholder: '请选择降级物料代码', |
|
|
|
searchField: 'code', |
|
|
|
searchField: 'productionItemCode', |
|
|
|
searchTitle: '物料基础信息', |
|
|
|
searchAllSchemas: Itembasic.allSchemas, |
|
|
|
searchPage: ItembasicApi.getItembasicPage, |
|
|
|
searchAllSchemas: ProductionitemcodeSpareitemcode.allSchemas, |
|
|
|
searchPage: ProductionitemcodeSpareitemcodeApi.getProductionitemcodeSpareitemcodeRelation, |
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'type', |
|
|
|
value: confgiData.itemType, |
|
|
|
isMainValue: false |
|
|
|
}], |
|
|
|
key: 'itemCode', |
|
|
|
value: 'itemCode', |
|
|
|
isTableRowValue: true, |
|
|
|
isMainValue:false |
|
|
|
}], |
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
@ -387,19 +390,20 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
tableForm:{ |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择降级物料代码', // 输入框占位文本
|
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
|
searchField: 'productionItemCode', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '物料基础信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
|
|
|
|
searchAllSchemas: ProductionitemcodeSpareitemcode.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: ProductionitemcodeSpareitemcodeApi.getProductionitemcodeSpareitemcodeRelation, // 查询弹窗所需分页方法
|
|
|
|
searchCondition:[ |
|
|
|
{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'type', |
|
|
|
value: confgiData.itemType, |
|
|
|
isMainValue: false |
|
|
|
key: 'itemCode', |
|
|
|
value: 'itemCode', |
|
|
|
isTableRowValue: true, |
|
|
|
isMainValue:false |
|
|
|
}] |
|
|
|
}, |
|
|
|
table: { |
|
|
|