隐藏总量,净含量

duizhaopin_ui
tangxuan 2 years ago
parent 674eb8c2ab
commit 5ee3cbde3b

@ -79,17 +79,17 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="总量" prop="total"> <el-form-item label="总量" prop="total" hidden>
<el-input v-model="formData.total" placeholder="请输入总量" clearable :style="{width: '100%'}" /> <el-input v-model="formData.total" placeholder="请输入总量" clearable :style="{width: '100%'}" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="净含量单位" prop="net_weight_unit"> <el-form-item label="单位" prop="net_weight_unit">
<el-input v-model="formData.net_weight_unit" placeholder="请输入净含量单位" clearable :style="{width: '100%'}" /> <el-input v-model="formData.net_weight_unit" placeholder="请输入净含量单位" clearable :style="{width: '100%'}" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="净含量" prop="net_weight"> <el-form-item label="净含量" prop="net_weight" hidden>
<el-input v-model="formData.net_weight" placeholder="请输入净含量" clearable :style="{width: '100%'}" /> <el-input v-model="formData.net_weight" placeholder="请输入净含量" clearable :style="{width: '100%'}" />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -184,7 +184,7 @@ export default {
trigger: 'blur' trigger: 'blur'
}], }],
total: [{ total: [{
required: true, required: false,
message: '请输入总量', message: '请输入总量',
trigger: 'blur' trigger: 'blur'
}], }],

Loading…
Cancel
Save