fix OrderFulfillmentQuickSourceOrders.vue style
This commit is contained in:
@@ -126,6 +126,9 @@
|
||||
<template #required="{ row }">
|
||||
<span :class="row.sufficient ? 'covered' : 'short'" v-text="row.requiredBaseQuantity + ' ' + row.unitName" />
|
||||
</template>
|
||||
<template #validation="{ row }">
|
||||
<span :class="row.sufficient ? 'covered' : 'short'" v-text="row.sufficient ? '充足' : '缺少'" />
|
||||
</template>
|
||||
</t-table>
|
||||
<center-tips v-else :content="loadingSourceOrders ? '正在加载来源订单' : '请先选择产品 SKU'" />
|
||||
</div>
|
||||
@@ -161,8 +164,9 @@ const selectedSourceOrderIdList = ref<string[]>([]);
|
||||
const loadingSourceOrders = ref(false);
|
||||
const coverageColumns = [
|
||||
{ colKey: "product", title: "产品名", width: "40%", ellipsis: true },
|
||||
{ colKey: "source", title: "来源", width: "30%", align: "right" },
|
||||
{ colKey: "required", title: "需要", width: "30%", align: "right" }
|
||||
{ colKey: "source", title: "来源", width: "20%", align: "right" },
|
||||
{ colKey: "required", title: "需要", width: "20%", align: "right" },
|
||||
{ colKey: "validation", title: "校验", width: "20%", align: "center" }
|
||||
];
|
||||
const coverageList = computed(() => props.fulfillmentItemList.map(item => {
|
||||
const requiredBaseQuantity = item.requiredBaseQuantity || "0";
|
||||
@@ -369,6 +373,8 @@ onUnmounted(() => {
|
||||
&.available {
|
||||
|
||||
.tags {
|
||||
gap: .25rem;
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
|
||||
Reference in New Issue
Block a user