|
|
@ -2,12 +2,14 @@
|
|
|
|
<div class="app-container">
|
|
|
|
<div class="app-container">
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
<el-form-item label="所属仓库" prop="storeCode">
|
|
|
|
<el-form-item label="所属仓库" prop="storeCode">
|
|
|
|
<el-input
|
|
|
|
<el-select v-model="queryParams.storeCode" placeholder="请选择所属仓库">
|
|
|
|
v-model="queryParams.storeCode"
|
|
|
|
<el-option
|
|
|
|
placeholder="请输入所属仓库"
|
|
|
|
v-for="item in storeList"
|
|
|
|
clearable
|
|
|
|
:key="item.storeCode"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
:label="item.storeName"
|
|
|
|
/>
|
|
|
|
:value="item.storeCode"
|
|
|
|
|
|
|
|
></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<!-- <el-form-item label="货道编号" prop="spaceCode">-->
|
|
|
|
<!-- <el-form-item label="货道编号" prop="spaceCode">-->
|
|
|
|
<!-- <el-input-->
|
|
|
|
<!-- <el-input-->
|
|
|
@ -88,6 +90,15 @@
|
|
|
|
>导出
|
|
|
|
>导出
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
type="danger"
|
|
|
|
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-close"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
@click="handleClose"
|
|
|
|
|
|
|
|
>关闭</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
@ -295,6 +306,7 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
|
|
|
|
this.queryParams.storeCode = this.$route.params && this.$route.params.storeCode;
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
findStoreList().then(response => {
|
|
|
|
findStoreList().then(response => {
|
|
|
|
this.storeList = response.data;
|
|
|
|
this.storeList = response.data;
|
|
|
@ -345,6 +357,11 @@ export default {
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
this.handleQuery();
|
|
|
|
this.handleQuery();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 返回按钮操作 */
|
|
|
|
|
|
|
|
handleClose() {
|
|
|
|
|
|
|
|
const obj = { path: "/wcs/storeInfo" };
|
|
|
|
|
|
|
|
this.$tab.closeOpenPage(obj);
|
|
|
|
|
|
|
|
},
|
|
|
|
// 多选框选中数据
|
|
|
|
// 多选框选中数据
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
this.ids = selection.map(item => item.objId)
|
|
|
|
this.ids = selection.map(item => item.objId)
|
|
|
|