feat: 优化

20240912_adapter
chenhc 3 months ago
parent d9b9383502
commit 383eb1bb7b

@ -51,10 +51,6 @@ export default {
freightCode: { freightCode: {
type: Object, type: Object,
required: true required: true
},
colorCount: {
type: Number,
default: 4 // 4
} }
}, },
methods: { methods: {

@ -59,10 +59,10 @@ export default {
id: 1, id: 1,
height: 50, height: 50,
sysWorkplaceQueues: [ sysWorkplaceQueues: [
{ id: 1, code: 'Item A1' ,colors: ['red', 'blue', 'green']}, { id: 1, code: 'Item A1' ,colors: [ 'green']},
{ id: 2, code: 'Item A2' ,colors: ['red', 'blue', 'green']}, { id: 2, code: 'Item A2' ,colors: [ 'blue', 'green']},
{ id: 3, code: 'Item 3' ,colors: ['red', 'blue', 'green']}, { id: 3, code: 'Item 3' ,colors: ['red', 'yellow', ]},
{ id: 4, code: 'Item 4' ,colors: ['red', 'blue', 'green']}, { id: 4, code: 'Item 4' ,colors: ['yellow', ]},
] ]
}, },
{ {
@ -70,9 +70,10 @@ export default {
height: 80, height: 80,
sysWorkplaceQueues: [ sysWorkplaceQueues: [
{ id: 1, code: 'Item B1' ,colors: ['red', 'blue', 'green']}, { id: 1, code: 'Item B1' ,colors: ['red', 'blue', 'green']},
{ id: 2, code: 'Item B2' ,colors: [ 'blue' ]}, { id: 2, code: 'Item B2' ,colors: [ 'yellow' ]},
{ id: 3, code: 'Item 3' ,colors: [ 'blue' ]}, { id: 3, code: 'Item 3' ,colors: [ 'blue' ]},
{ id: 4, code: 'Item 4' ,colors: ['red', 'blue', 'green']}, { id: 4, code: 'Item 4' ,colors: ['red', 'green']},
{ id: 5, code: 'Item 3' ,colors: [ 'yellow' ]},
{ id: 5, code: 'Item 3' ,colors: [ 'blue' ]}, { id: 5, code: 'Item 3' ,colors: [ 'blue' ]},
] ]
}, },
@ -80,8 +81,8 @@ export default {
row: 3, row: 3,
height: 80, height: 80,
sysWorkplaceQueues: [ sysWorkplaceQueues: [
{ id: 1, code: 'Item B1' ,colors: ['red', 'blue', 'green']}, { id: 1, code: 'Item B1' ,colors: ['red', 'green']},
{ id: 2, code: 'Item B2' ,colors: ['red', 'blue', 'green']}, { id: 2, code: 'Item B2' ,colors: ['red', 'blue', ]},
{ id: 3, code: 'Item 3' ,colors: [ 'green']}, { id: 3, code: 'Item 3' ,colors: [ 'green']},
{ id: 4, code: 'Item 4' ,colors: [ 'green'] }, { id: 4, code: 'Item 4' ,colors: [ 'green'] },
{ id: 5, code: 'Item 3' ,colors: [ 'green']}, { id: 5, code: 'Item 3' ,colors: [ 'green']},
@ -97,7 +98,6 @@ export default {
{ id: 4, code: 'Item 4' ,colors: ['red'] }, { id: 4, code: 'Item 4' ,colors: ['red'] },
{ id: 5, code: 'Item 3' ,colors: ['red', 'blue', 'green']}, { id: 5, code: 'Item 3' ,colors: ['red', 'blue', 'green']},
{ id: 5, code: 'Item 3' ,colors: ['red'] }, { id: 5, code: 'Item 3' ,colors: ['red'] },
{ 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: [ 'yellow']}, { id: 5, code: 'Item 3' ,colors: [ 'yellow']},
{ id: 5, code: 'Item 3' ,colors: ['red', 'blue', 'green']}, { id: 5, code: 'Item 3' ,colors: ['red', 'blue', 'green']},
@ -109,6 +109,10 @@ export default {
sysWorkplaceQueues: [ sysWorkplaceQueues: [
{ id: 1, code: 'Item B1',colors: [ 'yellow'] }, { id: 1, code: 'Item B1',colors: [ 'yellow'] },
{ id: 2, code: 'Item B2' ,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']},
] ]
}, },
{ {
@ -116,9 +120,9 @@ export default {
height: 80, height: 80,
sysWorkplaceQueues: [ sysWorkplaceQueues: [
{ id: 1, code: 'Item B1' ,colors: [ 'green']}, { id: 1, code: 'Item B1' ,colors: [ 'green']},
{ id: 2, code: 'Item B2' ,colors: ['red'] }, { id: 2, code: 'Item B2' ,colors: ['yellow'] },
{ id: 3, code: 'Item 3' ,colors: ['red'] }, { id: 3, code: 'Item 3' ,colors: ['red'] },
{ id: 4, code: 'Item 4',colors: [ 'green'] }, { id: 4, code: 'Item 4',colors: [ 'yellow'] },
{ id: 5, code: 'Item 3' ,colors: [ 'green']}, { id: 5, code: 'Item 3' ,colors: [ 'green']},
] ]
}, },

Loading…
Cancel
Save