Revert "```"

This reverts commit abc0674531.
This commit is contained in:
2025-12-26 22:21:21 +08:00
parent ae6c486114
commit 3115e38cc4
920 changed files with 14452 additions and 107025 deletions

View File

@@ -203,13 +203,11 @@
class="table-container"
max-height="calc(100vh - 400px)"
min-height="100px"
border
@selection-change="handleSelectionChange"
@row-click="handleRowClick"
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column prop="itemBusNo" label="编号" fixed width="180" align="center">
<el-table-column prop="itemBusNo" label="编号" fixed width="180">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.itemBusNo`"
@@ -221,7 +219,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="itemName" label="品名" width="180" align="center">
<el-table-column prop="itemName" label="品名" width="180">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.itemName`"
@@ -247,7 +245,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="totalVolume" label="规格" width="140" align="center">
<el-table-column prop="totalVolume" label="规格" width="140">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.totalVolume`"
@@ -260,7 +258,7 @@
</template>
</el-table-column>
<!-- 产品批号 -->
<el-table-column prop="lotNumber" label="产品批号" width="180" align="center">
<el-table-column prop="lotNumber" label="产品批号" width="180">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.lotNumber`"
@@ -279,7 +277,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="unitCode" label="单位" width="100" align="center">
<el-table-column prop="unitCode" label="单位" width="100">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.unitCode`"
@@ -304,13 +302,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column
prop="itemQuantity"
label="数量"
width="120"
:rules="rules.itemQuantity"
align="center"
>
<el-table-column prop="itemQuantity" label="数量" width="120" :rules="rules.itemQuantity">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.itemQuantity`"
@@ -329,7 +321,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="price" label="进货价" width="120" align="center">
<el-table-column prop="price" label="进货价" width="120">
<template #default="scope">
<el-form-item :prop="`localTableData.${scope.$index}.price`">
<el-input
@@ -346,7 +338,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="totalPrice" label="进价金额" width="100" align="center">
<el-table-column prop="totalPrice" label="进价金额" width="100">
<template #default="scope">
<el-form-item :prop="`localTableData.${scope.$index}.totalPrice`">
<span>
@@ -355,7 +347,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="retailPrice" label="当前销售价" width="120" align="center">
<el-table-column prop="retailPrice" label="当前销售价" width="120">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.retailPrice`"
@@ -375,7 +367,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="totalRetailPrice" label="当前销售金额" width="120" align="center">
<el-table-column prop="totalRetailPrice" label="当前销售金额" width="120">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.totalRetailPrice`"
@@ -388,7 +380,7 @@
</template>
</el-table-column>
<!-- 生产日期 -->
<el-table-column prop="startTime" label="生产日期" width="180" align="center">
<el-table-column prop="startTime" label="生产日期" width="180">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.startTime`"
@@ -409,7 +401,7 @@
</template>
</el-table-column>
<!-- 失效日期 -->
<el-table-column prop="endTime" label="失效日期" width="180" align="center">
<el-table-column prop="endTime" label="失效日期" width="180">
<template #default="scope">
<el-form-item :prop="`localTableData.${scope.$index}.endTime`" :rules="rules.endTime">
<el-date-picker
@@ -426,7 +418,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="manufacturerText" label="厂家/产地" width="220" align="center">
<el-table-column prop="manufacturerText" label="厂家/产地" width="220">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.manufacturerText`"
@@ -438,12 +430,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column
prop="specificationInventory"
label="规格库存"
width="100"
align="center"
>
<el-table-column prop="specificationInventory" label="规格库存" width="100">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.specificationInventory`"
@@ -475,7 +462,7 @@
</template>
</el-table-column>
<!-- 批次库存 -->
<el-table-column prop="batchInventory" label="批次库存" width="100" align="center">
<el-table-column prop="batchInventory" label="批次库存" width="100">
<template #default="scope">
<el-form-item :prop="`localTableData.${scope.$index}.batchInventory`">
<span
@@ -503,7 +490,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="approvalNumber" label="批注文号" width="180" align="center">
<el-table-column prop="approvalNumber" label="批注文号" width="180">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.approvalNumber`"
@@ -516,12 +503,7 @@
</template>
</el-table-column>
<!-- 包装情况 -->
<el-table-column
prop="packagingConditionEnum"
label="包装情况"
width="180"
align="center"
>
<el-table-column prop="packagingConditionEnum" label="包装情况" width="180">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.packagingConditionEnum`"
@@ -547,7 +529,7 @@
</template>
</el-table-column>
<!-- 验收结果 -->
<el-table-column prop="acceptanceResultEnum" label="验收结果" width="180" align="center">
<el-table-column prop="acceptanceResultEnum" label="验收结果" width="180">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.acceptanceResultEnum`"
@@ -574,7 +556,7 @@
</el-table-column>
<!-- 药品追溯码 -->
<el-table-column prop="traceNo" label="药品追溯码" width="180" align="center">
<el-table-column prop="traceNo" label="药品追溯码" width="180">
<template #default="scope">
<el-form-item :prop="`localTableData.${scope.$index}.traceNo`" :rules="rules.traceNo">
<el-input
@@ -591,7 +573,7 @@
</template>
</el-table-column>
<!-- 药品追溯码单位 -->
<el-table-column prop="traceNoUnitCode" label="药品追溯码单位" width="180" align="center">
<el-table-column prop="traceNoUnitCode" label="药品追溯码单位" width="180">
<template #default="scope">
<el-form-item
:prop="`localTableData.${scope.$index}.traceNoUnitCode`"
@@ -617,7 +599,7 @@
</template>
</el-table-column>
<!-- 备注 -->
<el-table-column prop="remake" label="备注" width="180" align="center">
<el-table-column prop="remake" label="备注" width="180">
<template #default="scope">
<el-form-item :prop="`localTableData.${scope.$index}.remake`">
<el-input