diff --git a/src/api/wms/productionlineitem/index.ts b/src/api/wms/productionlineitem/index.ts index 430a0e9e5..31efb8954 100644 --- a/src/api/wms/productionlineitem/index.ts +++ b/src/api/wms/productionlineitem/index.ts @@ -72,3 +72,7 @@ export const importTemplate = () => { export const getProductionLineCodelistByCodes = async (params) => { return await request.get({ url: `/wms/productionlineitem/listByCodes`, params }) } + +export const selectItemCodeToProductionLineCode = async (itemCode: String) => { + return await request.get({ url: `/wms/productionlineitem/selectItemCodeToProductionLineCode?itemCode=` + itemCode }) +} \ No newline at end of file diff --git a/src/api/wms/relegateRequestMain/index.ts b/src/api/wms/relegateRequestMain/index.ts index 03e02454a..84a8a9f0d 100644 --- a/src/api/wms/relegateRequestMain/index.ts +++ b/src/api/wms/relegateRequestMain/index.ts @@ -95,4 +95,9 @@ export const agree = (id) => { // 处理 export const handle = (id) => { return request.put({ url: '/wms/relegate-request-main/handle?id=' + id }) +} + +// 创建标签 +export const relegateCreateLabel = async (data: RelegateRequestMainVO) => { + return await request.post({ url: `/wms/relegate-request-main/relegateCreateLabel`, data }) } \ No newline at end of file diff --git a/src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data.ts b/src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data.ts index cf6f44bf7..3d6f1be35 100644 --- a/src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data.ts +++ b/src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data.ts @@ -6,6 +6,7 @@ import { Itembasic } from '../itembasic/itembasic.data' // 表单校验 export const ProductionitemcodeSpareitemcodeRules = reactive({ productionItemCode: [required], + spareItemCode: [required], available: [required], }) @@ -33,6 +34,10 @@ export const ProductionitemcodeSpareitemcode = useCrudSchemas(reactive + +