11/20 出入库明细页面优化

20240912_adapter
wangwei 5 months ago
parent b461148c88
commit ce4853e6d5

@ -591,7 +591,8 @@ export default {
let query = { let query = {
code: _this.$store.getters.locInvCode, code: _this.$store.getters.locInvCode,
enabled: true, enabled: true,
detailType: _this.actionType detailType: _this.actionType,
productType:2
}; };
getOrderDetailBusOptimize(query) getOrderDetailBusOptimize(query)
.then((response) => { .then((response) => {

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<el-card class="el-card"> <el-card class="el-card">
<el-form v-if="queryList && queryList.length > 0 && showSearch" :model="filterQuery" class="query-form" <el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form"
size="mini" label-width="100px"> size="mini" label-width="100px">
<!-- <el-row> <!-- <el-row>
<el-col :span="18"> <el-col :span="18">
@ -144,6 +144,7 @@
</el-row> --> </el-row> -->
<el-row style=" display:flex; flex-wrap: wrap; "> <el-row style=" display:flex; flex-wrap: wrap; ">
<template v-for="(item, index) in queryList"> <template v-for="(item, index) in queryList">
<div v-if="showSearch || item.isImport">
<el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true)" <el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true)"
:label="item.columnDesc+`:`" :key="item.id"> :label="item.columnDesc+`:`" :key="item.id">
<el-input <el-input
@ -232,12 +233,13 @@
end-placeholder="结束日期" end-placeholder="结束日期"
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
</div>
</template> </template>
</el-row> </el-row>
</el-form> </el-form>
<div class="top-right-btn"> <div class="top-right-btn">
<el-button-group> <el-button-group>
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button> <el-button icon="el-icon-view" type="primary" @click="hideSearch"></el-button>
<el-button <el-button
type="primary" type="primary"
icon="el-icon-refresh" icon="el-icon-refresh"
@ -436,7 +438,7 @@ export default {
name: "supInoutSearchOrder", name: "supInoutSearchOrder",
data() { data() {
return { return {
showSearch: true, showSearch: false,
list: [], list: [],
busTypeOptions: [], busTypeOptions: [],
filterQuery: { filterQuery: {
@ -586,7 +588,8 @@ export default {
let query = { let query = {
code: _this.$store.getters.locInvCode, code: _this.$store.getters.locInvCode,
enabled: true, enabled: true,
detailType: _this.actionType detailType: _this.actionType,
productType: 1
}; };
getOrderDetailBusOptimize(query) getOrderDetailBusOptimize(query)
.then((response) => { .then((response) => {

Loading…
Cancel
Save