成本价不编辑

This commit is contained in:
weiwei committed 2025-03-05 16:28:52 +08:00
1 parent a4cbdc75b7
commit d47a4d65c6
1 file changed
+1 -5
@@ -92,11 +92,7 @@
<el-input-number v-model="row.promotionPrice" controls-position="right" :min="0" :precision="2" />
</template>
</vxe-column>
<vxe-column field="costPrice" title="成本价(元)" :edit-render="{ autoFocus: 'input', placeholder: '请输入' }">
<template #edit="{ row }">
<el-input-number v-model="row.costPrice" controls-position="right" :min="0" :precision="2" />
</template>
</vxe-column>
<vxe-column field="costPrice" title="成本价(元)" />
</vxe-table>
</div>
</template>