|
|
|
@ -23,6 +23,7 @@
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column label="货位号" prop="code" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="货位名称" prop="name" width="200"></el-table-column>
|
|
|
|
|
<el-table-column label="货位分类" prop="type" width="200"></el-table-column>
|
|
|
|
|
<el-table-column label="所属仓库" prop="invStorageName" width="200"
|
|
|
|
|
show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="所属分库" prop="invSubStorageName"
|
|
|
|
@ -95,12 +96,12 @@
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20">
|
|
|
|
|
<el-col :span="2">
|
|
|
|
|
<span>备注:</span>
|
|
|
|
|
<span>货位分类:</span>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="10">
|
|
|
|
|
<el-form-item prop="remark">
|
|
|
|
|
<el-input v-model="formData.remark" auto-complete="off"
|
|
|
|
|
placeholder="请输入备注内容"></el-input>
|
|
|
|
|
<el-input v-model="formData.type" auto-complete="off"
|
|
|
|
|
placeholder="请输入货位分类"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
@ -115,6 +116,18 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20">
|
|
|
|
|
<el-col :span="2">
|
|
|
|
|
<span>备注:</span>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="10">
|
|
|
|
|
<el-form-item prop="remark">
|
|
|
|
|
<el-input v-model="formData.remark" auto-complete="off"
|
|
|
|
|
placeholder="请输入备注内容"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<div style="text-align: center">
|
|
|
|
|
<el-button type="primary" size="small" icon="search" @click="saveSpace"
|
|
|
|
|
>提交
|
|
|
|
@ -178,6 +191,7 @@ export default {
|
|
|
|
|
id: null,
|
|
|
|
|
code: null,
|
|
|
|
|
name: null,
|
|
|
|
|
type: null,
|
|
|
|
|
invStorageCode: this.invInfo.invStorageCode,
|
|
|
|
|
invWarehouseCode: this.invInfo.invWarehouseCode,
|
|
|
|
|
status: 1,
|
|
|
|
@ -300,6 +314,7 @@ export default {
|
|
|
|
|
id: null,
|
|
|
|
|
code: null,
|
|
|
|
|
name: null,
|
|
|
|
|
type: null,
|
|
|
|
|
invStorageCode: this.invInfo.invStorageCode,
|
|
|
|
|
invWarehouseCode: this.invInfo.invWarehouseCode,
|
|
|
|
|
status: 1,
|
|
|
|
@ -311,7 +326,11 @@ export default {
|
|
|
|
|
if (valid) {
|
|
|
|
|
saveSpace(this.formData, this.formName).then((res) => {
|
|
|
|
|
if (res.code === 20000) {
|
|
|
|
|
this.$message.success("新增成功");
|
|
|
|
|
if ("add" === this.formName) {
|
|
|
|
|
this.$message.success("新增成功");
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.success("保存成功");
|
|
|
|
|
}
|
|
|
|
|
this.getList();
|
|
|
|
|
this.modifySpaceVisible = false;
|
|
|
|
|
} else {
|
|
|
|
|