Commit d991114c authored by 王飞龙's avatar 王飞龙

药品bug

parent 9e319434
...@@ -1205,6 +1205,10 @@ export default { ...@@ -1205,6 +1205,10 @@ export default {
// margin-bottom: 0px !important; // margin-bottom: 0px !important;
} }
} }
::v-deep.el-input--medium .el-input__inner{
height: 32px;
line-height: 32px;
}
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
......
...@@ -712,14 +712,14 @@ ...@@ -712,14 +712,14 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="当前库存"> <el-form-item label="当前库存">
<span :class="{ 'test': currentQtyClass }"> <span :class="{ 'test': currentQtyClass }">
<el-input v-model.trim="form.currentQty" placeholder="-" class="picker-style-unit" disabled /> <el-input v-model.trim="form.currentQty" placeholder="0" class="picker-style-unit" disabled />
<span style="margin-left: 0.625rem">{{ form.stockUnit }}</span> <span style="margin-left: 0.625rem">{{ form.stockUnit }}</span>
</span> </span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="安全库存"> <el-form-item label="安全库存">
<el-input v-model.trim="form.safeQty" placeholder="-" class="picker-style-unit" disabled /> <el-input v-model.trim="form.safeQty" placeholder="0" class="picker-style-unit" disabled />
<span style="margin-left: 0.625rem">{{ form.stockUnit }}</span> <span style="margin-left: 0.625rem">{{ form.stockUnit }}</span>
</el-form-item> </el-form-item>
......
...@@ -600,6 +600,9 @@ export default { ...@@ -600,6 +600,9 @@ export default {
this.form = row this.form = row
this.query.drugId = row.id this.query.drugId = row.id
this.form.type = '' this.form.type = ''
if (parseStrEmpty(this.form.currentQty) === '') {
this.form.currentQty = '0'
}
console.log('数据123', this.form) console.log('数据123', this.form)
console.log('类型', this.form.type) console.log('类型', this.form.type)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment