|
@ -22,6 +22,8 @@ import { Itempackaging } from '@/views/wms/basicDataManage/itemManage/itempackag |
|
|
|
|
|
|
|
|
import * as SupplieritemApi from '@/api/wms/supplieritem' |
|
|
import * as SupplieritemApi from '@/api/wms/supplieritem' |
|
|
import { Supplieritem } from '@/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data' |
|
|
import { Supplieritem } from '@/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data' |
|
|
|
|
|
import * as LocationApi from '@/api/wms/location' |
|
|
|
|
|
import { Location } from '@/views/wms/basicDataManage/factoryModeling/location/location.data' |
|
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
@ -639,6 +641,53 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[ |
|
|
}], // 失去焦点校验参数
|
|
|
}], // 失去焦点校验参数
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '目标库位', |
|
|
|
|
|
field: 'toLocationCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
multiple: true,//多选
|
|
|
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择库位代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '库位基础信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: LocationApi.selectBusinessTypeOutLocation, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'businessType', |
|
|
|
|
|
value: 'ReturnToHold', // 隔离退料
|
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'isIn', |
|
|
|
|
|
value: 'in', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
multiple: true,//多选
|
|
|
|
|
|
searchListPlaceholder: '请选择库位代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '库位基础信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: LocationApi.selectBusinessTypeOutLocation, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'businessType', |
|
|
|
|
|
value: 'ReturnToHold', // 隔离退料
|
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'isIn', |
|
|
|
|
|
value: 'in', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '原料库位', |
|
|
label: '原料库位', |
|
|
field: 'fromLocationCode', |
|
|
field: 'fromLocationCode', |
|
@ -1115,6 +1164,9 @@ export const ProductionreturnRequestDetailRules = reactive({ |
|
|
workStationCode: [ |
|
|
workStationCode: [ |
|
|
{ required: true, message: '请选择工位代码', trigger: 'change' } |
|
|
{ required: true, message: '请选择工位代码', trigger: 'change' } |
|
|
], |
|
|
], |
|
|
|
|
|
toLocationCode: [ |
|
|
|
|
|
{ required: true, message: '请选择目标库位', trigger: 'change' } |
|
|
|
|
|
], |
|
|
productionLineCode: [ |
|
|
productionLineCode: [ |
|
|
{ required: true, message: '请选择生产线代码', trigger: 'change' } |
|
|
{ required: true, message: '请选择生产线代码', trigger: 'change' } |
|
|
], |
|
|
], |
|
|