修复【产品管理的商品价格】上下限的问题

master
sjl 5 years ago
parent 508eb1ebf5
commit 13b2d5a911

@ -32,14 +32,30 @@
prop="price" prop="price"
label="销售价"> label="销售价">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.price" type="number" :disabled="!scope.row.status"></el-input> <el-input-number
size="small"
v-model="scope.row.price"
controls-position="right"
:precision="2"
:max="1000000000"
:min="0.01"
:disabled="!scope.row.status">
</el-input-number>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="oriPrice" prop="oriPrice"
label="市场价"> label="市场价">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.oriPrice" type="number" :disabled="!scope.row.status"></el-input> <el-input-number
size="small"
v-model="scope.row.oriPrice"
controls-position="right"
:precision="2"
:max="1000000000"
:min="0.01"
:disabled="!scope.row.status">
</el-input-number>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column

Loading…
Cancel
Save