提交
This commit is contained in:
1 parent
c8cec132bf
commit
19c5aaa8f5
95 files changed
+309129
-9838
No files matched your search
@@ -262,6 +262,42 @@
|
||||
<span v-else class="money-display">¥{{ parseFloat(scope.row.taxAmount || 0).toFixed(2) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="已归档数量"
|
||||
prop="archivedQty"
|
||||
min-width="110"
|
||||
align="right"
|
||||
class-name="col-plan-qty"
|
||||
label-class-name="col-plan-qty"
|
||||
>
|
||||
<template #default="{ row }">
|
||||
<span class="plan-qty-num">{{ formatPlanQty(row.archivedQty) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="未归档已安排"
|
||||
prop="arrangedUnarchivedQty"
|
||||
min-width="120"
|
||||
align="right"
|
||||
class-name="col-plan-qty"
|
||||
label-class-name="col-plan-qty"
|
||||
>
|
||||
<template #default="{ row }">
|
||||
<span class="plan-qty-num">{{ formatPlanQty(row.arrangedUnarchivedQty) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="已安排合计"
|
||||
prop="arrangedTotalQty"
|
||||
min-width="110"
|
||||
align="right"
|
||||
class-name="col-plan-qty"
|
||||
label-class-name="col-plan-qty"
|
||||
>
|
||||
<template #default="{ row }">
|
||||
<span class="plan-qty-num">{{ formatPlanQty(row.arrangedTotalQty) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="包装规格" prop="packageSpec" min-width="150" :show-overflow-tooltip="true">
|
||||
<template #default="scope">
|
||||
<span>{{ scope.row.packageSpec || '-' }}</span>
|
||||
@@ -397,6 +433,14 @@
|
||||
<el-empty v-else description="加载中..." />
|
||||
</el-tab-pane>
|
||||
|
||||
<!-- 运输计划 -->
|
||||
<el-tab-pane label="运输计划" name="plans">
|
||||
<PlContractLinkedPlansPanel
|
||||
:contract-id="detailContract?.id"
|
||||
:active="detailActiveTab === 'plans'"
|
||||
/>
|
||||
</el-tab-pane>
|
||||
|
||||
<!-- 回款记录 -->
|
||||
<el-tab-pane label="回款记录" name="payment">
|
||||
<div class="panel dialog-list-panel">
|
||||
@@ -917,6 +961,7 @@ import UploadDialog from './UploadDialog.vue';
|
||||
import ContractFormDialog from './ContractFormDialog.vue';
|
||||
import ViewKvTable from '@/components/business/system-view-dialog/ViewKvTable.vue';
|
||||
import type { ViewField } from '@/components/business/system-view-dialog/types';
|
||||
import PlContractLinkedPlansPanel from '@/components/business/pl-contract-linked-plans-panel/index.vue';
|
||||
import {
|
||||
parseSettlementClauseDrafts,
|
||||
resolveSettlementClauseContent
|
||||
@@ -3092,6 +3137,12 @@ const handleGeneratePdfFromDialog = async () => {
|
||||
onMounted(async () => {
|
||||
await dictStore.loadAllDict();
|
||||
});
|
||||
|
||||
function formatPlanQty(value: unknown) {
|
||||
const n = parseFloat(String(value ?? 0))
|
||||
if (Number.isNaN(n)) return '0.000'
|
||||
return n.toFixed(3)
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
.framework-tier-detail-block {
|
||||
@@ -3102,6 +3153,20 @@ onMounted(async () => {
|
||||
color: var(--el-text-color-primary);
|
||||
}
|
||||
}
|
||||
|
||||
:deep(th.col-plan-qty),
|
||||
:deep(td.col-plan-qty) {
|
||||
color: #059669 !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
:deep(th.col-plan-qty) {
|
||||
background: #ecfdf5 !important;
|
||||
}
|
||||
.plan-qty-num {
|
||||
color: #059669;
|
||||
font-weight: 600;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.tier-letter-thumbs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
Reference in new issue
Block a user