#108混料每桶kg可以有两位小数

This commit is contained in:
shijing 2023-12-26 14:07:57 +08:00
parent 12b25518c3
commit 6e99ddf001
2 changed files with 4 additions and 3 deletions

View File

@ -139,9 +139,9 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :md="12" :sm="24"> <el-col :md="12" :sm="24">
<el-form-item label="每桶kg" prop="count_eweight"> <el-form-item label="每桶(kg)" prop="count_eweight">
<el-input-number v-model="handoverForm.count_eweight" controls-position="right" :min="0" step="1" <el-input-number v-model="handoverForm.count_eweight" controls-position="right" :min="0" step="1"
:step-strictly="true" style="width:100%" placeholder="每桶kg"> :precision="2" :step-strictly="true" style="width:100%" placeholder="每桶kg">
</el-input-number> </el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -97,12 +97,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :md="12" :sm="24"> <el-col :md="12" :sm="24">
<el-form-item label="每桶kg" width="100"> <el-form-item label="每桶(kg)" width="100">
<el-input-number <el-input-number
v-model="form.count_real_eweight" v-model="form.count_real_eweight"
controls-position="right" controls-position="right"
:min="0" :min="0"
:step="1" :step="1"
:precision="2"
:step-strictly="true" :step-strictly="true"
style="width: 100%" style="width: 100%"
placeholder="请输入重量" placeholder="请输入重量"