11/19 器械:采购查询增加订单类型。采购计划增加高级查询

20240912_adapter
wangwei 7 months ago
parent 9c319e44e0
commit 04b69d06d7

@ -524,7 +524,8 @@ export default {
type: 1,
editStatus: 1,
deptCode: this.invCodebe,
pageType: this.pageType
pageType: this.pageType,
productType: 1,
};
this.actDateRange = [];
this.getInvList(this);

@ -431,7 +431,8 @@ export default {
type: 1,
editStatus: 1,
deptCode: this.invCodebe,
pageType: this.pageType
pageType: this.pageType,
productType: 1,
};
this.actDateRange = [];
this.getInvList(this);

@ -624,7 +624,8 @@ export default {
type: 1,
editStatus: 1,
deptCode: this.invCodebe,
pageType: this.$route.query.pageType
pageType: this.$route.query.pageType,
productType: 1,
};
this.actAuditDateRange = [];
this.actDateRange = [];

@ -368,7 +368,8 @@ export default {
endDate: null,
page: 1,
limit: 10,
pageType: this.pageType
pageType: this.pageType,
productType: 1,
};
this.actDateRange = [];
this.getList();

@ -1,7 +1,7 @@
<template>
<div>
<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"
label-width="100px">
<!-- <el-row>-->
<!-- <el-col :span="8">-->
@ -69,6 +69,7 @@
<!-- </el-row>-->
<el-row style=" display:flex; flex-wrap: wrap; ">
<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)"
:label="item.columnDesc+`:`" :key="item.id">
<el-input
@ -135,13 +136,14 @@
:placeholder="item.columnDesc"
></el-date-picker>
</el-form-item>
</div>
</template>
</el-row>
</el-form>
<div class="top-right-btn">
<el-button-group style="display:flex;">
<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 type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="onSubmitFind"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="newDistributionForm()" :loading="loading">新增采购计划
@ -430,7 +432,7 @@ export default {
return {
pageType:null,
defaultSort: {prop: 'createTime', order: 'desc'},
showSearch: true,
showSearch: false,
pId: null,
isChang: false,
filterQuery: {
@ -539,7 +541,8 @@ export default {
editStatus: 1,
deptCode: this.invCodebe,
invCode: null,
pageType: this.pageType
pageType: this.pageType,
productType: 1,
};
this.actDateRange = [];
this.getInvList(this)

@ -1,7 +1,7 @@
<template>
<div>
<el-card class="el-card">
<el-form v-if="queryList && queryList.length > 0 && showSearch" :model="filterQuery" class="query-form" label-width="100px">
<el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form" label-width="100px">
<!-- <el-row>-->
<!-- <el-col :span="8">-->
<!-- <el-form-item label="采购单号">-->
@ -68,6 +68,7 @@
<!-- </el-row>-->
<el-row style=" display:flex; flex-wrap: wrap; ">
<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)" :label="item.columnDesc+`:`" :key="item.id">
<el-input
v-model="filterQuery[item.columnName]"
@ -129,13 +130,14 @@
:placeholder="item.columnDesc"
></el-date-picker>
</el-form-item>
</div>
</template>
</el-row>
</el-form>
<div class="top-right-btn">
<el-button-group style="display:flex;">
<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 type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="onSubmitFind"></el-button>
</el-button-group>
@ -406,7 +408,7 @@ export default {
return {
pageType:null,
defaultSort: {prop: 'createTime', order: 'desc'},
showSearch: true,
showSearch: false,
filterQuery: {
billAction: null,
billNo: "",
@ -517,7 +519,8 @@ export default {
editStatus: 1,
deptCode: this.invCodebe,
invCode:null,
pageType: this.pageType
pageType: this.pageType,
productType: 1,
};
this.getInvList(this)
this.actDateRange = [];

@ -1,7 +1,7 @@
<template>
<div>
<el-card>
<el-form v-if="queryList && queryList.length > 0 && showSearch" :model="filterQuery" class="query-form" label-width="100px" size="mini">
<el-form v-if="queryList && queryList.length > 0 " :model="filterQuery" class="query-form" label-width="100px" size="mini">
<!-- <el-row>-->
<!-- <el-col :span="8">-->
<!-- <el-form-item label="采购单号">-->
@ -82,6 +82,7 @@
<!-- </el-row>-->
<el-row style=" display:flex; flex-wrap: wrap; ">
<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)" :label="item.columnDesc+`:`" :key="item.id">
<el-input
v-model="filterQuery[item.columnName]"
@ -155,13 +156,14 @@
:placeholder="item.columnDesc"
></el-date-picker>
</el-form-item>
</div>
</template>
</el-row>
</el-form>
<div class="top-right-btn">
<el-button-group style="display:flex;">
<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 type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="onSubmitFind"></el-button>
</el-button-group>
@ -489,7 +491,7 @@ export default {
},
invList:{},
deptList:{},
showSearch:true,
showSearch:false,
invCodebe:null,
idQuery: {},
editType: 1,
@ -602,7 +604,8 @@ export default {
type: 1,
editStatus: 1,
deptCode: this.invCodebe,
pageType: this.pageType
pageType: this.pageType,
productType: 1,
};
this.getInvList(this);
this.actDateRange = [];

@ -1,7 +1,7 @@
<template>
<div>
<el-card class="el-card">
<el-form v-if="queryList && queryList.length > 0 && showSearch":model="filterQuery" class="query-form" label-width="100px">
<el-form v-if="queryList && queryList.length > 0" :model="filterQuery" class="query-form" label-width="100px">
<!-- <el-row>-->
<!-- <el-col :span="6">-->
<!-- <el-form-item label="采购单号:">-->
@ -64,6 +64,7 @@
<!-- </el-row>-->
<el-row style=" display:flex; flex-wrap: wrap; ">
<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)" :label="item.columnDesc+`:`" :key="item.id">
<el-input
v-model="filterQuery[item.columnName]"
@ -125,13 +126,14 @@
:placeholder="item.columnDesc"
></el-date-picker>
</el-form-item>
</div>
</template>
</el-row>
</el-form>
<div class="top-right-btn">
<el-button-group style="display:flex;">
<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 type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="onSubmitFind"></el-button>
</el-button-group>
@ -260,7 +262,7 @@ export default {
data() {
return {
pageType: null,
showSearch: true,
showSearch: false,
filterQuery: {
billNo: null,
productId: null,
@ -361,7 +363,8 @@ export default {
endDate: null,
page: 1,
limit: 10,
pageType: this.pageType
pageType: this.pageType,
productType: 1,
};
this.actDateRange = [];
this.getList();

Loading…
Cancel
Save