|
|
@ -15,6 +15,7 @@ import { Location } from '@/views/wms/basicDataManage/factoryModeling/location/l |
|
|
|
|
|
|
|
import * as WorkstationApi from '@/api/wms/workstation' |
|
|
|
|
|
|
|
|
|
|
|
import * as getPlansettingApi from '@/api/wms/plansetting/index' |
|
|
|
|
|
|
|
import * as getBusinessTypeApi from '@/api/wms/businesstype/index' |
|
|
@ -135,6 +136,38 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到仓库', |
|
|
|
field: 'toWarehouseCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: true, |
|
|
|
isTableForm:false, |
|
|
|
isDetail:false, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled:true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到库位', |
|
|
|
field: 'toLocationCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: true, |
|
|
|
isTableForm:false, |
|
|
|
isDetail:false, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled:true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '发货类型', |
|
|
|
field: 'deliverType', |
|
|
@ -144,6 +177,11 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled:true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '计划日期', |
|
|
@ -608,61 +646,61 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到仓库代码', |
|
|
|
field: 'toWarehouseCode', |
|
|
|
sort: 'custom', |
|
|
|
isForm: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '到库位代码', |
|
|
|
field: 'toLocationCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
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: "deliverType", |
|
|
|
message:"请选择发货类型", |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
isSearchList: true, |
|
|
|
searchListPlaceholder: '请选择到库位代码', |
|
|
|
searchField: 'code', |
|
|
|
searchTitle: '库位基础信息', |
|
|
|
searchAllSchemas: Location.allSchemas, |
|
|
|
searchPage: WorkstationApi.selectAreaTypeToLocation, |
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'areaType', |
|
|
|
value: "deliverType", |
|
|
|
message:"请选择发货类型", |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// {
|
|
|
|
// label: '到仓库代码',
|
|
|
|
// field: 'toWarehouseCode',
|
|
|
|
// sort: 'custom',
|
|
|
|
// isForm: false,
|
|
|
|
// table: {
|
|
|
|
// width: 150
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: '到库位代码',
|
|
|
|
// field: 'toLocationCode',
|
|
|
|
// sort: 'custom',
|
|
|
|
// table: {
|
|
|
|
// 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: "deliverType",
|
|
|
|
// message:"请选择发货类型",
|
|
|
|
// isMainValue: true
|
|
|
|
// }]
|
|
|
|
// },
|
|
|
|
// form: {
|
|
|
|
// componentProps: {
|
|
|
|
// isSearchList: true,
|
|
|
|
// searchListPlaceholder: '请选择到库位代码',
|
|
|
|
// searchField: 'code',
|
|
|
|
// searchTitle: '库位基础信息',
|
|
|
|
// searchAllSchemas: Location.allSchemas,
|
|
|
|
// searchPage: WorkstationApi.selectAreaTypeToLocation,
|
|
|
|
// searchCondition: [{
|
|
|
|
// key: 'available',
|
|
|
|
// value: 'TRUE',
|
|
|
|
// isMainValue: false
|
|
|
|
// },{
|
|
|
|
// key: 'areaType',
|
|
|
|
// value: "deliverType",
|
|
|
|
// message:"请选择发货类型",
|
|
|
|
// isMainValue: false
|
|
|
|
// }]
|
|
|
|
// }
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
{ |
|
|
|
label: '项目', |
|
|
|
field: 'project', |
|
|
|