新增一键确定

This commit is contained in:
ljx
2025-08-27 11:17:30 +08:00
parent f637e65635
commit ab68bbcd40
7 changed files with 164 additions and 69 deletions

View File

@ -63,14 +63,7 @@
<el-table-column prop="quantity" label="数量" />
<el-table-column prop="remark" label="单价" align="center">
<template #default="scope">
<el-input-number
:model-value="scope.row.unitPrice"
@change="(val) => (scope.row.unitPrice = val)"
:precision="2"
:step="0.1"
:controls="false"
v-if="scope.row.quantity && scope.row.quantity != 0"
/>
<span>{{ scope.row.unitPrice }}</span>
</template>
</el-table-column>
<el-table-column prop="price" label="总价" align="center">