|
|
|
@ -1,14 +1,16 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="app-container">
|
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
|
<!-- <el-form-item label="仓库编号" prop="storeCode">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.storeCode"-->
|
|
|
|
|
<!-- placeholder="请输入仓库编号"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<el-form-item label="仓库编号" prop="storeCode">
|
|
|
|
|
<el-select v-model="queryParams.storeCode" placeholder="请选择所属仓库">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in storeList"
|
|
|
|
|
:key="item.storeCode"
|
|
|
|
|
:label="item.storeName"
|
|
|
|
|
:value="item.storeCode"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item label="货道编号" prop="spaceCode">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="queryParams.spaceCode"-->
|
|
|
|
@ -237,6 +239,7 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { listInStore, getInStore, delInStore, addInStore, updateInStore } from "@/api/base/inStore";
|
|
|
|
|
import { findStoreList } from '@//api/base/storeInfo'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "InStore",
|
|
|
|
@ -305,7 +308,9 @@ export default {
|
|
|
|
|
{ key: 13, label: `物料条码编号`, visible: true },
|
|
|
|
|
{ key: 14, label: `物料名称`, visible: true },
|
|
|
|
|
{ key: 15, label: `入库方式`, visible: true },
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
// 仓库选项
|
|
|
|
|
storeList: [],
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
@ -320,6 +325,9 @@ export default {
|
|
|
|
|
this.queryParams.params["beginInStoreTime"] = this.daterangeInStoreTime[0];
|
|
|
|
|
this.queryParams.params["endInStoreTime"] = this.daterangeInStoreTime[1];
|
|
|
|
|
}
|
|
|
|
|
findStoreList().then(response => {
|
|
|
|
|
this.storeList = response.data;
|
|
|
|
|
});
|
|
|
|
|
listInStore(this.queryParams).then(response => {
|
|
|
|
|
this.inStoreList = response.rows;
|
|
|
|
|
this.total = response.total;
|
|
|
|
|