|
|
@ -1,14 +1,16 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<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-form-item>-->
|
|
|
|
></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<!-- <el-form-item label="货道编号" prop="spaceCode">-->
|
|
|
|
<!-- <el-form-item label="货道编号" prop="spaceCode">-->
|
|
|
|
<!-- <el-input-->
|
|
|
|
<!-- <el-input-->
|
|
|
|
<!-- v-model="queryParams.spaceCode"-->
|
|
|
|
<!-- v-model="queryParams.spaceCode"-->
|
|
|
@ -237,6 +239,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { listInStore, getInStore, delInStore, addInStore, updateInStore } from "@/api/base/inStore";
|
|
|
|
import { listInStore, getInStore, delInStore, addInStore, updateInStore } from "@/api/base/inStore";
|
|
|
|
|
|
|
|
import { findStoreList } from '@//api/base/storeInfo'
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "InStore",
|
|
|
|
name: "InStore",
|
|
|
@ -305,7 +308,9 @@ export default {
|
|
|
|
{ key: 13, label: `物料条码编号`, visible: true },
|
|
|
|
{ key: 13, label: `物料条码编号`, visible: true },
|
|
|
|
{ key: 14, label: `物料名称`, visible: true },
|
|
|
|
{ key: 14, label: `物料名称`, visible: true },
|
|
|
|
{ key: 15, label: `入库方式`, visible: true },
|
|
|
|
{ key: 15, label: `入库方式`, visible: true },
|
|
|
|
]
|
|
|
|
],
|
|
|
|
|
|
|
|
// 仓库选项
|
|
|
|
|
|
|
|
storeList: [],
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
@ -320,6 +325,9 @@ export default {
|
|
|
|
this.queryParams.params["beginInStoreTime"] = this.daterangeInStoreTime[0];
|
|
|
|
this.queryParams.params["beginInStoreTime"] = this.daterangeInStoreTime[0];
|
|
|
|
this.queryParams.params["endInStoreTime"] = this.daterangeInStoreTime[1];
|
|
|
|
this.queryParams.params["endInStoreTime"] = this.daterangeInStoreTime[1];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
findStoreList().then(response => {
|
|
|
|
|
|
|
|
this.storeList = response.data;
|
|
|
|
|
|
|
|
});
|
|
|
|
listInStore(this.queryParams).then(response => {
|
|
|
|
listInStore(this.queryParams).then(response => {
|
|
|
|
this.inStoreList = response.rows;
|
|
|
|
this.inStoreList = response.rows;
|
|
|
|
this.total = response.total;
|
|
|
|
this.total = response.total;
|
|
|
|