logo修改
This commit is contained in:
+45
-18
@@ -12,9 +12,9 @@
|
||||
<!-- <div>载具:LX001</div>
|
||||
<div>物料:包装袋</div>
|
||||
<div>数量:10</div> -->
|
||||
<div v-if="it.type == 2">载具:LX001</div>
|
||||
<div v-if="it.type == 2">物料:包装袋</div>
|
||||
<div v-if="it.type == 2">数量:10</div>
|
||||
<div v-if="it.type == 2 || it.type == 1">载具:{{ it.carry_code }}</div>
|
||||
<div v-if="it.type == 2">物料:{{ it.material_code }}</div>
|
||||
<div v-if="it.type == 2">数量:{{ it.num }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -25,8 +25,8 @@
|
||||
<div class="lists">
|
||||
<div>{{ it.location_code }}</div>
|
||||
<div v-if="it.type == 2 || it.type == 1">载具:{{ it.carry_code }}</div>
|
||||
<div v-if="it.type == 2">物料:包装袋</div>
|
||||
<div v-if="it.type == 2">数量:10</div>
|
||||
<div v-if="it.type == 2">物料:{{ it.material_code }}</div>
|
||||
<div v-if="it.type == 2">数量:{{ it.num }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -72,9 +72,28 @@ export default {
|
||||
const arr = [1]
|
||||
const arrone = [3, 7, 10, 13, 14, 17]
|
||||
// const obj = { type: 1, location_code: '', layer: '1' }
|
||||
|
||||
if (arrone.some(it => { return it == index + 1 })) {
|
||||
for (let i = 1; i < 3; i++) {
|
||||
item.splice(8, 0, { type: 4, location_code: '', layers: i })
|
||||
}
|
||||
for (let i = 1; i < 3; i++) {
|
||||
item.splice(24, 0, { type: 4, location_code: '', layers: i })
|
||||
}
|
||||
if (index + 1 !== 17) {
|
||||
for (let i = 1; i < 3; i++) {
|
||||
item.splice(50, 0, { type: 4, location_code: '', layers: i })
|
||||
}
|
||||
} else {
|
||||
for (let i = 1; i < 3; i++) {
|
||||
item.splice(57, 0, { type: 4, location_code: '', layers: i })
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if (arr.some(it => { return it !== index + 1 })) {
|
||||
let fig = false
|
||||
if (index + 1 == 17 || index + 1 == 18) {
|
||||
if (index + 1 == 18) {
|
||||
for (let i = 1; i < 3; i++) {
|
||||
item.splice(37, 0, { type: 4, location_code: '', layers: i })
|
||||
}
|
||||
@@ -87,18 +106,8 @@ export default {
|
||||
// item.splice(36, 0, { type: 4, location_code: '', layers: i })
|
||||
}
|
||||
}
|
||||
if (arrone.some(it => { return it == index + 1 })) {
|
||||
for (let i = 1; i < 3; i++) {
|
||||
item.splice(8, 0, { type: 4, location_code: '', layers: i })
|
||||
}
|
||||
for (let i = 1; i < 3; i++) {
|
||||
item.splice(24, 0, { type: 4, location_code: '', layers: i })
|
||||
}
|
||||
for (let i = 1; i < 3; i++) {
|
||||
item.splice(52, 0, { type: 4, location_code: '', layers: i })
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(this.data, 99);
|
||||
}).finally(e => { loading.close(); })
|
||||
}
|
||||
}
|
||||
@@ -149,7 +158,7 @@ $sysColor: rgba(85, 110, 255, 0.9);
|
||||
// text-align: center;
|
||||
line-height: 10px;
|
||||
width: 100%;
|
||||
font-size: 8px;
|
||||
font-size: 7px;
|
||||
// height: 100%;
|
||||
// display: flex;
|
||||
// justify-content: center;
|
||||
@@ -171,7 +180,25 @@ $sysColor: rgba(85, 110, 255, 0.9);
|
||||
border-right: 2px solid $sysColor;
|
||||
// padding-bottom: 5px;
|
||||
padding-left: 5px;
|
||||
|
||||
// margin-bottom: 5px;
|
||||
// div {
|
||||
// position: relative;
|
||||
// }
|
||||
|
||||
// div:nth-child(18):before {
|
||||
// width: 45px;
|
||||
// height: 125px;
|
||||
// content: "";
|
||||
// border: solid 2px rgba(85, 110, 255, 0.9);
|
||||
// padding: 2px;
|
||||
// margin: 0 10px 0 0;
|
||||
// position: absolute;
|
||||
// top: 110%;
|
||||
// left: 160%;
|
||||
// transform: translate(-50%, -50%);
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
.item-bo {
|
||||
|
||||
Reference in New Issue
Block a user