|
|
@ -7,14 +7,12 @@ import { Itembasic } from '../itembasic/itembasic.data' |
|
|
|
import * as AreaApi from '@/api/wms/areabasic' |
|
|
|
import { Area } from '../../factoryModeling/areabasic/areabasic.data' |
|
|
|
|
|
|
|
import * as LocationgroupApi from '@/api/wms/locationgroup' |
|
|
|
import { Locationgroup } from '../../factoryModeling/locationgroup/locationgroup.data' |
|
|
|
|
|
|
|
import * as LocationApi from '@/api/wms/location' |
|
|
|
import { Location } from '../../factoryModeling/location/location.data' |
|
|
|
|
|
|
|
import * as PackageunitApi from '@/api/wms/packageunit' |
|
|
|
import { Packageunit } from '../packageunit/packageunit.data' |
|
|
|
import * as ItempackageApi from '@/api/wms/itempackage' |
|
|
|
import { Itempackaging } from '../itempackage/itempackage.data' |
|
|
|
import { t } from '@/hooks/web/useI18n' |
|
|
|
|
|
|
|
export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
@ -97,15 +95,19 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择包装规格代码', // 输入框占位文本
|
|
|
|
searchListPlaceholder: '请选择物料包装代码', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '包装规格基础信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Packageunit.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: PackageunitApi.getPackageunitPage, // 查询弹窗所需分页方法
|
|
|
|
searchTitle: '物料包装信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: ItempackageApi.getItempackagingPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'itemCode', |
|
|
|
value: 'itemCode', |
|
|
|
message: "请选择物料代码", |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
} |
|
|
|
} |
|
|
@ -122,15 +124,19 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择包装规格代码', // 输入框占位文本
|
|
|
|
searchListPlaceholder: '请选择物料包装代码', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '包装规格基础信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Packageunit.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: PackageunitApi.getPackageunitPage, // 查询弹窗所需分页方法
|
|
|
|
searchTitle: '物料包装信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Itempackaging.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: ItempackageApi.getItempackagingPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'itemCode', |
|
|
|
value: 'itemCode', |
|
|
|
message: "请选择物料代码", |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
} |
|
|
|
} |
|
|
@ -361,7 +367,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
dictClass: 'string', |
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
|
value: 'FALSE', |
|
|
|
value: 'TRUE', |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
@ -380,7 +386,8 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
value: 'FALSE', |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
activeValue: 'TRUE', |
|
|
|
disabled: 'TRUE', |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
@ -407,7 +414,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
dictClass: 'string', |
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
|
value: 'TRUE', |
|
|
|
value: 'FALSE', |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|