| | |
| | | <!-- <el-table-column label="视图" align="center" prop="materialView" width="180"> |
| | | </el-table-column>--> |
| | | |
| | | <el-table-column label="车型" align="center" prop="carType" width="120"> |
| | | </el-table-column> |
| | | <!-- <el-table-column label="车型" align="center" prop="carType" width="120">--> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column label="物料类型" align="center" prop="typeL"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.material_type" :value="scope.row.typeL"/> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="创建时间" align="center" prop="createTime" width="170"> |
| | | </el-table-column> |
| | | <el-table-column label="更新人" align="center" prop="updateUser" width="150"> |
| | | </el-table-column> |
| | | <el-table-column label="更新时间" align="center" prop="updateTime" width="170"> |
| | | </el-table-column> |
| | | <el-table-column label="数据来源" align="center" prop="dataSource"> |
| | | </el-table-column> |
| | | <!-- <el-table-column label="更新人" align="center" prop="updateUser" width="150">--> |
| | | <!-- </el-table-column>--> |
| | | <!-- <el-table-column label="更新时间" align="center" prop="updateTime" width="170">--> |
| | | <!-- </el-table-column>--> |
| | | <!-- <el-table-column label="数据来源" align="center" prop="dataSource">--> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column fixed="right" label="操作" width="200" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | |
| | | <el-form-item label="物料名称" prop="materialName"> |
| | | <el-input v-model="form.materialName" placeholder="请输入物料名称" /> |
| | | </el-form-item> |
| | | <el-form-item label="物料类型" prop="typeL"> |
| | | <!-- <el-input v-model="form.typeL" placeholder="请输入类型" />--> |
| | | <el-select v-model="form.typeL" placeholder="请选择单位" > |
| | | <el-option |
| | | v-for="dict in dict.type.material_type" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="物料类型" prop="typeL">--> |
| | | <!-- <!– <el-input v-model="form.typeL" placeholder="请输入类型" />–>--> |
| | | <!-- <el-select v-model="form.typeL" placeholder="请选择单位" >--> |
| | | <!-- <el-option--> |
| | | <!-- v-for="dict in dict.type.material_type"--> |
| | | <!-- :key="dict.value"--> |
| | | <!-- :label="dict.label"--> |
| | | <!-- :value="dict.value"--> |
| | | <!-- />--> |
| | | <!-- </el-select>--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item label="物料型号" prop="typeZ"> |
| | | <el-input v-model="form.typeZ" placeholder="请输入种类" /> |
| | | </el-form-item> |
| | |
| | | materialCode: [ |
| | | { required: true, message: "物料编码不能为空", trigger: "blur" } |
| | | ], |
| | | mark: [ |
| | | { required: true, message: "特殊代码不能为空", trigger: "blur" } |
| | | ], |
| | | materialName: [ |
| | | { required: true, message: "物料名称不能为空", trigger: "blur" } |
| | | ], |
| | | typeL: [ |
| | | { required: true, message: "类型不能为空", trigger: "blur" } |
| | | ], |
| | | // typeL: [ |
| | | // { required: true, message: "类型不能为空", trigger: "blur" } |
| | | // ], |
| | | } |
| | | }; |
| | | }, |