|
@ -446,10 +446,10 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<!-- 溢出库位 --> |
|
|
<!-- 溢出库位 --> |
|
|
<!-- <el-col key="溢出库位col" :span="24"> |
|
|
<el-col key="溢出库位col" :span="24"> |
|
|
<el-form-item key="溢出库位formItem" label="溢出库位" prop="warehouse" > |
|
|
<el-form-item key="溢出库位formItem" label="溢出库位" prop="warehouse" > |
|
|
<el-select key="溢出库位Value" |
|
|
<el-select key="溢出库位Value" |
|
|
v-model="formData.configuration.OverFlowLocation" |
|
|
v-model="formData.configuration.overflowLocationCode" |
|
|
placeholder="请选择溢出库位" |
|
|
placeholder="请选择溢出库位" |
|
|
style="flex: 1;margin-left: 10px;" |
|
|
style="flex: 1;margin-left: 10px;" |
|
|
clearable |
|
|
clearable |
|
@ -457,14 +457,14 @@ |
|
|
collapse-tags |
|
|
collapse-tags |
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="cur in getStrDictOptions(DICT_TYPE.INVENTORY_STATUS)" |
|
|
v-for="cur in options.overflowLocationCodes" |
|
|
:key="'溢出库位Value'+cur.value" |
|
|
:key="'溢出库位Value'+cur.code" |
|
|
:label="cur.label" |
|
|
:label="cur.code" |
|
|
:value="cur.value" |
|
|
:value="cur.code" |
|
|
/> |
|
|
/> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> --> |
|
|
</el-col> |
|
|
<!-- 优先空位库 --> |
|
|
<!-- 优先空位库 --> |
|
|
<el-col key="优先空位库col" :span="24"> |
|
|
<el-col key="优先空位库col" :span="24"> |
|
|
<el-form-item key="优先空位库formItem" label="优先空位库"> |
|
|
<el-form-item key="优先空位库formItem" label="优先空位库"> |
|
@ -597,7 +597,7 @@ import { getCustomerList } from '@/api/wms/customer' |
|
|
import { getWarehouseList } from '@/api/wms/warehouse' |
|
|
import { getWarehouseList } from '@/api/wms/warehouse' |
|
|
import { getAreaList } from '@/api/wms/areabasic' |
|
|
import { getAreaList } from '@/api/wms/areabasic' |
|
|
import { getLocationgroupList } from '@/api/wms/locationgroup' |
|
|
import { getLocationgroupList } from '@/api/wms/locationgroup' |
|
|
import { getLocationList } from '@/api/wms/location' |
|
|
import { getLocationList,getLocationByOverflowAreaTypeByConfig } from '@/api/wms/location' |
|
|
import * as RuleApi from '@/api/wms/rule' |
|
|
import * as RuleApi from '@/api/wms/rule' |
|
|
import * as WarehouseApi from '@/api/wms/warehouse' |
|
|
import * as WarehouseApi from '@/api/wms/warehouse' |
|
|
import { Warehouse } from '@/views/wms/basicDataManage/factoryModeling/warehouse/warehouse.data' |
|
|
import { Warehouse } from '@/views/wms/basicDataManage/factoryModeling/warehouse/warehouse.data' |
|
@ -679,7 +679,7 @@ const formData = ref({ |
|
|
// 列排序方向 |
|
|
// 列排序方向 |
|
|
ColumOrder: 'ASC', |
|
|
ColumOrder: 'ASC', |
|
|
//溢出库位 |
|
|
//溢出库位 |
|
|
OverFlowLocation:'' |
|
|
overflowLocationCode:'' |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
// 验证规则 |
|
|
// 验证规则 |
|
@ -748,7 +748,8 @@ const options = reactive({ |
|
|
], |
|
|
], |
|
|
//仓库列表 |
|
|
//仓库列表 |
|
|
warehouseList: [], |
|
|
warehouseList: [], |
|
|
originWarehouseList: [] |
|
|
originWarehouseList: [], |
|
|
|
|
|
overflowLocationCodes:[] |
|
|
}) |
|
|
}) |
|
|
// 弹窗按钮 |
|
|
// 弹窗按钮 |
|
|
const Butttondata = ref([ |
|
|
const Butttondata = ref([ |
|
@ -1276,11 +1277,21 @@ const resetForm = () => { |
|
|
// 列排序方向 |
|
|
// 列排序方向 |
|
|
ColumOrder: 'ASC', |
|
|
ColumOrder: 'ASC', |
|
|
//溢出库位 |
|
|
//溢出库位 |
|
|
OverFlowLocation:'' |
|
|
overflowLocationCode:'' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 获取溢出库位 |
|
|
|
|
|
const getOverflowLocationCodes = async ()=>{ |
|
|
|
|
|
let overflowLocationCodes = await getLocationByOverflowAreaTypeByConfig({}) |
|
|
|
|
|
options.overflowLocationCodes = overflowLocationCodes || [] |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
getOverflowLocationCodes() |
|
|
|
|
|
|
|
|
</script> |
|
|
</script> |
|
|
<style scoped lang="scss"> |
|
|
<style scoped lang="scss"> |
|
|
.item { |
|
|
.item { |
|
|