| | |
| | | /> |
| | | |
| | | <!-- 添加或修改物料信息对话框 --> |
| | | <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="80px"> |
| | | <el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body> |
| | | <el-form :inline="true" ref="form" :model="form" :rules="rules" label-width="80px"> |
| | | <el-form-item label="物料编号" prop="materialCode"> |
| | | <el-input v-model="form.materialCode" placeholder="请输入物料编号" /> |
| | | </el-form-item> |
| | |
| | | <el-input v-model="form.materialView" placeholder="请输入视图" /> |
| | | </el-form-item> |
| | | <el-form-item label="种类" prop="typeZ"> |
| | | <el-select style="width: 100%" v-model="form.typeZ" placeholder="请选择种类"> |
| | | <el-select v-model="form.typeZ" placeholder="请选择种类"> |
| | | <el-option |
| | | v-for="dict in dict.type.type_z" |
| | | :key="dict.value" |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="类型" prop="typeL"> |
| | | <el-select style="width: 100%" v-model="form.typeL" placeholder="请选择类型"> |
| | | <el-select v-model="form.typeL" placeholder="请选择类型"> |
| | | <el-option |
| | | v-for="dict in dict.type.type_l" |
| | | :key="dict.value" |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="单位" prop="unit"> |
| | | <el-select style="width: 100%" v-model="form.unit" placeholder="请选择单位"> |
| | | <el-select v-model="form.unit" placeholder="请选择单位"> |
| | | <el-option |
| | | v-for="dict in dict.type.unit" |
| | | :key="dict.value" |