diff --git a/src/components/ShelfDisplay/index.vue b/src/components/ShelfDisplay/index.vue index 27790a80..8b76ed8e 100644 --- a/src/components/ShelfDisplay/index.vue +++ b/src/components/ShelfDisplay/index.vue @@ -51,10 +51,6 @@ export default { freightCode: { type: Object, required: true - }, - colorCount: { - type: Number, - default: 4 // 默认颜色数量为 4 } }, methods: { diff --git a/src/views/basic/workplace/rackManage.vue b/src/views/basic/workplace/rackManage.vue index a8e4508d..08e85374 100644 --- a/src/views/basic/workplace/rackManage.vue +++ b/src/views/basic/workplace/rackManage.vue @@ -59,10 +59,10 @@ export default { id: 1, height: 50, sysWorkplaceQueues: [ - { id: 1, code: 'Item A1' ,colors: ['red', 'blue', 'green']}, - { id: 2, code: 'Item A2' ,colors: ['red', 'blue', 'green']}, - { id: 3, code: 'Item 3' ,colors: ['red', 'blue', 'green']}, - { id: 4, code: 'Item 4' ,colors: ['red', 'blue', 'green']}, + { 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', ]}, ] }, { @@ -70,9 +70,10 @@ export default { height: 80, sysWorkplaceQueues: [ { 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: 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' ]}, ] }, @@ -80,8 +81,8 @@ export default { row: 3, height: 80, sysWorkplaceQueues: [ - { id: 1, code: 'Item B1' ,colors: ['red', 'blue', 'green']}, - { id: 2, code: 'Item B2' ,colors: ['red', 'blue', 'green']}, + { 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']}, @@ -97,7 +98,6 @@ export default { { 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: ['red'] }, { id: 5, code: 'Item 3' ,colors: [ 'yellow']}, { id: 5, code: 'Item 3' ,colors: [ 'yellow']}, { id: 5, code: 'Item 3' ,colors: ['red', 'blue', 'green']}, @@ -109,6 +109,10 @@ export default { 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']}, ] }, { @@ -116,9 +120,9 @@ export default { height: 80, sysWorkplaceQueues: [ { 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: 4, code: 'Item 4',colors: [ 'green'] }, + { id: 4, code: 'Item 4',colors: [ 'yellow'] }, { id: 5, code: 'Item 3' ,colors: [ 'green']}, ] },