Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -409,14 +409,11 @@
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-for="i2 in (
|
||||
16 -
|
||||
(
|
||||
v-for="i2 in Math.max(0, 16 - (
|
||||
(orderStore.schemaMap?.[row.grpKey]?.values?.length) ||
|
||||
(storeSchemaByKey[row.grpKey]?.values?.length) ||
|
||||
(storeSchemaByKey.tak.values.length)
|
||||
)
|
||||
)"
|
||||
))"
|
||||
|
||||
:key="'empty-' + i2"
|
||||
class="cell beden ghost"
|
||||
@@ -1359,6 +1356,11 @@ const groupedRows = computed(() => {
|
||||
})
|
||||
})
|
||||
|
||||
function toggleGroup(name) {
|
||||
if (!name) return
|
||||
groupOpen[name] = !(groupOpen[name] ?? true)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2641,7 +2643,10 @@ async function onModelChange(modelCode) {
|
||||
let bedenGrpKey = null
|
||||
|
||||
// ✅ Hard-match (senin ana gruplarına göre genişletebilirsin)
|
||||
if (ana.includes('pantolon') || kat.includes('pantolon')) {
|
||||
if ((ana.includes('garson') || kat.includes('garson') || kat.includes('yetiskin/garson') || ana.includes('yetiskin/garson')) &&
|
||||
(ana.includes('ayakkabı') || ana.includes('ayakkabi') || kat.includes('ayakkabı') || kat.includes('ayakkabi'))) {
|
||||
bedenGrpKey = 'ayk_garson'
|
||||
} else if (ana.includes('pantolon') || kat.includes('pantolon')) {
|
||||
bedenGrpKey = 'pan'
|
||||
} else if (ana.includes('gömlek') || ana.includes('gomlek') || kat.includes('gömlek') || kat.includes('gomlek')) {
|
||||
bedenGrpKey = 'gom'
|
||||
|
||||
Reference in New Issue
Block a user