物料组新增

master
shaoyong 8 months ago
parent 86794b24a6
commit 94dc5948d9

@ -55,19 +55,27 @@
<!-- 新增物料组窗口 --> <!-- 新增物料组窗口 -->
<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-select v-model="form.groupCode" filterable clearable placeholder="请选择物料组"> <el-col :span="16">
<el-option <el-form-item label="物料组名称" prop="groupCode">
v-for="(item,index) in OriginalGroupList" <el-input v-model="form.groupName" placeholder="请输入物料组名称"/>
:key="index" </el-form-item>
:label="item.groupName" </el-col>
:value="item.groupCode"> </el-row>
</el-option> <el-row >
</el-select> <el-col :span="16">
</el-form-item> <el-form-item label="物料组" prop="groupName">
<el-form-item v-show="true" label="物料组编码" prop="groupCode"> <el-select v-model="form.groupCode" filterable clearable placeholder="请选择物料组">
<el-input v-model="form.groupName" placeholder="请输入物料组编码"/> <el-option
</el-form-item> v-for="(item,index) in OriginalGroupList"
:key="index"
:label="item.groupName"
:value="item.groupCode">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</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