基础信息-货位管理

yangwl
A0010407 1 year ago
parent ad5af953e9
commit d77b87accd

@ -88,9 +88,7 @@
label="序号">
</el-table-column>
<el-table-column label="仓库编码" align="center" prop="warehouseCode" />
<el-table-column label="仓库名称" align="center" prop="warehouseName" />
<el-table-column label="库区编码" align="center" prop="areaCode" />
<el-table-column label="库区名称" align="center" prop="areaDesc" />
<el-table-column label="货位编码" align="center" prop="locationCode" />
<el-table-column label="创建人" align="center" prop="createBy" />
<el-table-column label="创建时间" align="center" prop="createTime"/>
@ -128,38 +126,24 @@
/>
<!-- 添加或修改货位管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="1000px" 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-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="仓库编码" prop="warehouseCode">
<el-input v-model="form.warehouseCode" placeholder="请输入仓库编码" />
</el-form-item>
<el-form-item label="仓库名称" prop="locationCode">
<el-input v-model="form.locationCode" placeholder="请输入仓库编码" />
<el-input v-model="form.warehouseCode" placeholder="请输入仓库编码" style="width:300px"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="库区编码" prop="areaCode">
<el-input v-model="form.areaCode" placeholder="请输入库区编码" />
</el-form-item>
<el-form-item label="库区名称" prop="warehouseCode">
<el-input v-model="form.warehouseCode" placeholder="请输入库区名称" />
<el-input v-model="form.areaCode" placeholder="请输入库区编码" style="width:300px"/>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="货位编码" prop="locationCode">
<el-input v-model="form.locationCode" placeholder="请输入货位编码" />
<el-input v-model="form.locationCode" placeholder="请输入货位编码" style="width:300px"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="是否启用" prop="activeFlag" >
<el-input v-model="form.activeFlag" placeholder="请输入是否启用" />
<el-select v-model="form.activeFlag" placeholder="请选择是否启用" @change="$forceUpdate()" clearable style="width:300px">
<el-option v-for="item in options" :key="item.activeFlag" :label="item.label" :value="item.activeFlag"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<!-- <el-form-item label="上架顺序" prop="shelfOrder">
<el-input v-model="form.shelfOrder" placeholder="请输入上架顺序" />
</el-form-item> -->
@ -385,6 +369,13 @@ export default {
factoryCode: null,
syntozk: null
},
options: [{
activeFlag: "1",
label: '是'
}, {
activeFlag: "0",
label: '否'
}],
//
form: {},
//

Loading…
Cancel
Save