|
|
|
@ -35,7 +35,7 @@
|
|
|
|
|
:close-on-press-escape="false"
|
|
|
|
|
>
|
|
|
|
|
<ShelfDisplay
|
|
|
|
|
:shelfData="shelfData"
|
|
|
|
|
:shelfData="this.layerList"
|
|
|
|
|
@slot-click="handleSlotClick"
|
|
|
|
|
:freightCode="freightCode"
|
|
|
|
|
>
|
|
|
|
@ -47,7 +47,7 @@
|
|
|
|
|
<script>
|
|
|
|
|
import ShelfDisplay from "@/components/ShelfDisplay";
|
|
|
|
|
import { getWorkplaceFreightList } from '@/api/basic/workPlace/SysWorkplaceFreight'
|
|
|
|
|
import { getListByFreightCode } from '@/api/basic/workPlace/SysWorkplaceLayer'
|
|
|
|
|
import { getListByFreightCodeView } from '@/api/basic/workPlace/SysWorkplaceLayer'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components:{ShelfDisplay},
|
|
|
|
@ -59,71 +59,71 @@ export default {
|
|
|
|
|
id: 1,
|
|
|
|
|
height: 50,
|
|
|
|
|
sysWorkplaceQueues: [
|
|
|
|
|
{ id: 1, code: 'Item A1' ,colors: [ 'green']},
|
|
|
|
|
{ id: 2, code: 'Item A2' ,colors: [ 'blue', 'green']},
|
|
|
|
|
{ id: 3, code: 'Item 3' ,colors: ['red', 'yellow', ]},
|
|
|
|
|
{ id: 4, code: 'Item 4' ,colors: ['yellow', ]},
|
|
|
|
|
{ id: 1, code: 'Item A1' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 2, code: 'Item A2' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 3, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 4, code: 'Item 4' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
row: 2,
|
|
|
|
|
height: 80,
|
|
|
|
|
sysWorkplaceQueues: [
|
|
|
|
|
{ id: 1, code: 'Item B1' ,colors: ['red', 'blue', 'green']},
|
|
|
|
|
{ id: 2, code: 'Item B2' ,colors: [ 'yellow' ]},
|
|
|
|
|
{ id: 3, code: 'Item 3' ,colors: [ 'blue' ]},
|
|
|
|
|
{ id: 4, code: 'Item 4' ,colors: ['red', 'green']},
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: [ 'yellow' ]},
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: [ 'blue' ]},
|
|
|
|
|
{ id: 1, code: 'Item B1' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 2, code: 'Item B2' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 3, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 4, code: 'Item 4' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
row: 3,
|
|
|
|
|
height: 80,
|
|
|
|
|
sysWorkplaceQueues: [
|
|
|
|
|
{ id: 1, code: 'Item B1' ,colors: ['red', 'green']},
|
|
|
|
|
{ id: 2, code: 'Item B2' ,colors: ['red', 'blue', ]},
|
|
|
|
|
{ id: 3, code: 'Item 3' ,colors: [ 'green']},
|
|
|
|
|
{ id: 4, code: 'Item 4' ,colors: [ 'green'] },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: [ 'green']},
|
|
|
|
|
{ id: 1, code: 'Item B1' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 2, code: 'Item B2' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 3, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 4, code: 'Item 4' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3',red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
row: 6,
|
|
|
|
|
height: 80,
|
|
|
|
|
sysWorkplaceQueues: [
|
|
|
|
|
{ id: 1, code: 'Item B1' ,colors: ['red', 'blue', 'green']},
|
|
|
|
|
{ id: 2, code: 'Item B2' ,colors: ['red']},
|
|
|
|
|
{ id: 3, code: 'Item 3' ,colors: [ 'yellow']},
|
|
|
|
|
{ id: 4, code: 'Item 4' ,colors: ['red'] },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: ['red', 'blue', 'green']},
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: ['red'] },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: [ 'yellow']},
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: [ 'yellow']},
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: ['red', 'blue', 'green']},
|
|
|
|
|
{ id: 1, code: 'Item B1' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 2, code: 'Item B2',red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 3, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 4, code: 'Item 4' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
row: 5,
|
|
|
|
|
height: 200,
|
|
|
|
|
sysWorkplaceQueues: [
|
|
|
|
|
{ id: 1, code: 'Item B1',colors: [ 'yellow'] },
|
|
|
|
|
{ id: 2, code: 'Item B2' ,colors: [ 'yellow']},
|
|
|
|
|
{ id: 5, code: 'Item 3',colors: ['red'] },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: [ 'yellow']},
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: [ 'yellow']},
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: ['red', 'blue', 'green']},
|
|
|
|
|
{ id: 1, code: 'Item B1',red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 2, code: 'Item B2' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3',red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
row: 4,
|
|
|
|
|
height: 80,
|
|
|
|
|
sysWorkplaceQueues: [
|
|
|
|
|
{ id: 1, code: 'Item B1' ,colors: [ 'green']},
|
|
|
|
|
{ id: 2, code: 'Item B2' ,colors: ['yellow'] },
|
|
|
|
|
{ id: 3, code: 'Item 3' ,colors: ['red'] },
|
|
|
|
|
{ id: 4, code: 'Item 4',colors: [ 'yellow'] },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,colors: [ 'green']},
|
|
|
|
|
{ id: 1, code: 'Item B1' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 2, code: 'Item B2' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 3, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 4, code: 'Item 4',red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
{ id: 5, code: 'Item 3' ,red:0,green:0,blue:0,orange:1 },
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
@ -152,7 +152,7 @@ export default {
|
|
|
|
|
let query = {
|
|
|
|
|
freightCode: this.freightCode
|
|
|
|
|
}
|
|
|
|
|
getListByFreightCode(query).then(res => {
|
|
|
|
|
getListByFreightCodeView(query).then(res => {
|
|
|
|
|
this.layerList = res.data
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|