update - 报表加编号

master
yinq 5 months ago
parent b764222788
commit 42a3c18397

@ -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;

@ -1,6 +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-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="materialName"> <el-form-item label="物料名称" prop="materialName">
<el-input <el-input
v-model="queryParams.materialName" v-model="queryParams.materialName"
@ -224,6 +234,7 @@
<script> <script>
import { listOutStore, getOutStore, delOutStore, addOutStore, updateOutStore } from "@/api/base/outStore"; import { listOutStore, getOutStore, delOutStore, addOutStore, updateOutStore } from "@/api/base/outStore";
import { findStoreList } from '@//api/base/storeInfo'
export default { export default {
name: "OutStore", name: "OutStore",
@ -292,7 +303,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() {
@ -307,6 +320,9 @@ export default {
this.queryParams.params["beginOutStoreTime"] = this.daterangeOutStoreTime[0]; this.queryParams.params["beginOutStoreTime"] = this.daterangeOutStoreTime[0];
this.queryParams.params["endOutStoreTime"] = this.daterangeOutStoreTime[1]; this.queryParams.params["endOutStoreTime"] = this.daterangeOutStoreTime[1];
} }
findStoreList().then(response => {
this.storeList = response.data;
});
listOutStore(this.queryParams).then(response => { listOutStore(this.queryParams).then(response => {
this.outStoreList = response.rows; this.outStoreList = response.rows;
this.total = response.total; this.total = response.total;

Loading…
Cancel
Save