物料组新增

master
shaoyong 8 months ago
parent 86794b24a6
commit 94dc5948d9

@ -55,7 +55,16 @@
<!-- 新增物料组窗口 --> <!-- 新增物料组窗口 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px"> <el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="物料组名称" prop="groupName"> <el-row >
<el-col :span="16">
<el-form-item label="物料组名称" prop="groupCode">
<el-input v-model="form.groupName" placeholder="请输入物料组名称"/>
</el-form-item>
</el-col>
</el-row>
<el-row >
<el-col :span="16">
<el-form-item label="物料组" prop="groupName">
<el-select v-model="form.groupCode" filterable clearable placeholder="请选择物料组"> <el-select v-model="form.groupCode" filterable clearable placeholder="请选择物料组">
<el-option <el-option
v-for="(item,index) in OriginalGroupList" v-for="(item,index) in OriginalGroupList"
@ -65,9 +74,8 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item v-show="true" label="物料组编码" prop="groupCode"> </el-col>
<el-input v-model="form.groupName" placeholder="请输入物料组编码"/> </el-row>
</el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button> <el-button type="primary" @click="submitForm"> </el-button>
@ -172,6 +180,7 @@ export default {
this.form = { this.form = {
id: null, id: null,
groupName: null, groupName: null,
groupCode: null,
attr1: null, attr1: null,
createBy: null, createBy: null,
createTime: null, createTime: null,

Loading…
Cancel
Save