|
@ -3,6 +3,8 @@ import { dateFormatter } from '@/utils/formatTime' |
|
|
|
|
|
|
|
|
import * as ItembasicApi from '@/api/wms/itembasic' |
|
|
import * as ItembasicApi from '@/api/wms/itembasic' |
|
|
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' |
|
|
import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' |
|
|
|
|
|
import * as ItempackagingApi from '@/api/wms/itempackage' |
|
|
|
|
|
import { Itempackaging } from '@/views/wms/basicDataManage/itemManage/itempackage/itempackage.data' |
|
|
import * as LocationApi from '@/api/wms/location' |
|
|
import * as LocationApi from '@/api/wms/location' |
|
|
import { Location } from '@/views/wms/basicDataManage/factoryModeling/location/location.data' |
|
|
import { Location } from '@/views/wms/basicDataManage/factoryModeling/location/location.data' |
|
|
import * as PackageunitApi from '@/api/wms/packageunit' |
|
|
import * as PackageunitApi from '@/api/wms/packageunit' |
|
@ -68,12 +70,23 @@ export const Callmaterials = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
isSearch:true, |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择包装规格代码', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择物料代码', // 输入框占位文本
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
searchTitle: '包装规格信息', // 查询弹窗标题
|
|
|
searchTitle: '物料包装信息', // 查询弹窗标题
|
|
|
searchAllSchemas: Packageunit.allSchemas, // 查询弹窗所需类
|
|
|
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
|
|
|
searchPage: PackageunitApi.getPackageunitPage, // 查询弹窗所需分页方法
|
|
|
searchPage: ItempackagingApi.getItempackagingPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'itemCode', |
|
|
|
|
|
value: 'itemCode', |
|
|
|
|
|
message: '请填写物料代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|