|
@ -3,6 +3,8 @@ import { dateFormatter } from '@/utils/formatTime' |
|
|
|
|
|
|
|
|
import * as AreaApi from '@/api/wms/areabasic' |
|
|
import * as AreaApi from '@/api/wms/areabasic' |
|
|
import { Area } from '@/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data' |
|
|
import { Area } from '@/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data' |
|
|
|
|
|
import * as WorkstationApi from '@/api/wms/workstation' |
|
|
|
|
|
import { Location } from '@/views/wms/basicDataManage/factoryModeling/location/location.data' |
|
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
@ -241,12 +243,57 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '在途库区', |
|
|
label: '在途库位', |
|
|
field: 'onTheWayArea', |
|
|
field: 'onTheWayArea', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择在途库位', |
|
|
|
|
|
searchField: 'code', |
|
|
|
|
|
searchTitle: '库位基础信息', |
|
|
|
|
|
searchAllSchemas: Location.allSchemas, |
|
|
|
|
|
searchPage: WorkstationApi.selectAreaTypeToLocation, |
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'areaType', |
|
|
|
|
|
value: "ON_THE_WAY", |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
enterSearch: true, |
|
|
|
|
|
isSearchList: true, |
|
|
|
|
|
searchListPlaceholder: '请选择在途库位', |
|
|
|
|
|
searchField: 'code', |
|
|
|
|
|
searchTitle: '库位基础信息', |
|
|
|
|
|
searchAllSchemas: Location.allSchemas, |
|
|
|
|
|
searchPage: WorkstationApi.selectAreaTypeToLocation, |
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'areaType', |
|
|
|
|
|
value: "ON_THE_WAY", |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}], |
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '生效时间', |
|
|
label: '生效时间', |
|
|