更新vxetable框架并升级前端组件框架

This commit is contained in:
2026-06-03 11:19:52 +08:00
parent 5b6b23331d
commit 5a2050a736
385 changed files with 19691 additions and 21188 deletions

View File

@@ -1,4 +1,4 @@
<template>
<template>
<el-dialog
v-model="dialogVisible"
:title="'价格调整详情'"
@@ -11,35 +11,35 @@
v-if="itemList.length > 0"
class="detail-content"
>
<el-table
<vxe-table
:data="itemList"
style="width: 100%"
size="small"
border
>
<!-- 挂号调价单特殊显示 -->
<el-table-column
<vxe-column
v-if="categoryType.includes('挂号调价')"
label="科室"
title="科室"
align="center"
prop="orgName"
field="orgName"
/>
<el-table-column
<vxe-column
v-if="categoryType.includes('挂号调价')"
label="号源"
title="号源"
align="center"
prop="name"
field="name"
/>
<el-table-column
<vxe-column
v-else
label="项目名称"
title="项目名称"
align="center"
prop="itemName"
field="itemName"
/>
<el-table-column
label="当前进货价"
<vxe-column
title="当前进货价"
align="center"
prop="originBuyingPrice"
field="originBuyingPrice"
>
<template #default="scope">
<el-tag
@@ -49,11 +49,11 @@
{{ scope.row.originBuyingPrice ? scope.row.originBuyingPrice + ' 元' : '-' }}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="调后进货价"
</vxe-column>
<vxe-column
title="调后进货价"
align="center"
prop="newBuyingPrice"
field="newBuyingPrice"
>
<template #default="scope">
<el-tag
@@ -63,11 +63,11 @@
{{ scope.row.newBuyingPrice ? scope.row.newBuyingPrice + ' 元' : '-' }}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="当前零售价"
</vxe-column>
<vxe-column
title="当前零售价"
align="center"
prop="originRetailPrice"
field="originRetailPrice"
>
<template #default="scope">
<el-tag
@@ -77,11 +77,11 @@
{{ scope.row.originRetailPrice ? scope.row.originRetailPrice + ' 元' : '-' }}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="调后零售价"
</vxe-column>
<vxe-column
title="调后零售价"
align="center"
prop="newRetailPrice"
field="newRetailPrice"
>
<template #default="scope">
<el-tag
@@ -91,40 +91,40 @@
{{ scope.row.newRetailPrice ? scope.row.newRetailPrice + ' 元' : '-' }}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="进货价盈负差"
</vxe-column>
<vxe-column
title="进货价盈负差"
align="center"
prop="differenceBuyingPrice"
field="differenceBuyingPrice"
>
<template #default="scope">
{{ scope.row.differenceBuyingPrice ? scope.row.differenceBuyingPrice + ' 元' : '-' }}
</template>
</el-table-column>
<el-table-column
label="影响库存数量"
</vxe-column>
<vxe-column
title="影响库存数量"
align="center"
prop="itemQuantity"
field="itemQuantity"
>
<template #default="scope">
{{ scope.row.itemQuantity ? scope.row.itemQuantity + (scope.row.label || '') : '-' }}
</template>
</el-table-column>
<el-table-column
label="调后零售价盈负差"
</vxe-column>
<vxe-column
title="调后零售价盈负差"
align="center"
prop="differenceRetailPrice"
field="differenceRetailPrice"
>
<template #default="scope">
{{ scope.row.differenceRetailPrice ? scope.row.differenceRetailPrice + ' 元' : '-' }}
</template>
</el-table-column>
<el-table-column
label="调价原因"
</vxe-column>
<vxe-column
title="调价原因"
align="center"
prop="reason"
field="reason"
/>
</el-table>
</vxe-table>
<div class="creator-info">
<span class="creator-label">制单人{{ props.createName || '-' }}</span>
</div>