feat: recycle system

This commit is contained in:
Timi
2026-11-12 16:51:57 +08:00
parent b1ba681042
commit 7e221e745a
90 changed files with 5981 additions and 3542 deletions
@@ -94,10 +94,6 @@
</div>
</t-form>
<div class="unit">
<div class="header">
<strong>销售单位</strong>
<span>采购、销售和库存操作共用</span>
</div>
<product-sku-unit-list :unit-list="sku.unitList" />
<t-button
class="cell-button"
@@ -1,10 +1,14 @@
<template>
<t-cell-group
v-if="unitList.length"
class="items empty-cell-title-margin"
title="销售单位"
theme="card"
>
<template v-if="!unitList.length">
<center-tips content="暂无销售单位" />
</template>
<t-cell
v-else
v-for="unit in unitList"
:key="unit.id || unit.clientKey || unit.name"
class="item"
@@ -91,11 +95,6 @@ function getSalePrice(unit: ProductSkuUnitItem): number | undefined {
<style scoped lang="less">
.items {
margin: 0;
:deep(.t-cell-group) {
margin: 0;
}
.item {