|
@@ -4,12 +4,24 @@
|
|
<div class="table-page-search-wrapper" @keyup.enter="handleEnter">
|
|
<div class="table-page-search-wrapper" @keyup.enter="handleEnter">
|
|
<a-form layout="inline">
|
|
<a-form layout="inline">
|
|
<a-row :gutter="48">
|
|
<a-row :gutter="48">
|
|
- <a-col :md="8" :sm="24">
|
|
|
|
|
|
+ <a-col :md="6" :sm="24">
|
|
<a-form-item label="请购人员">
|
|
<a-form-item label="请购人员">
|
|
<a-input v-model.trim="queryParam.keyword" placeholder="请输入请购人员"/>
|
|
<a-input v-model.trim="queryParam.keyword" placeholder="请输入请购人员"/>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
- <a-col :md="8" :sm="24">
|
|
|
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
|
+ <a-form-item label="厂区">
|
|
|
|
+ <a-select v-model="queryParam.oldOrNew" placeholder="请选择">
|
|
|
|
+ <a-select-option
|
|
|
|
+ v-for="(label,value) in flagMap"
|
|
|
|
+ :key="value"
|
|
|
|
+ :label="label"
|
|
|
|
+ :value="parseInt(value)">{{ label }}
|
|
|
|
+ </a-select-option>
|
|
|
|
+ </a-select>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="6" :sm="24">
|
|
<a-form-item label="采购单状态">
|
|
<a-form-item label="采购单状态">
|
|
<a-select v-model="queryParam.status" placeholder="请选择">
|
|
<a-select v-model="queryParam.status" placeholder="请选择">
|
|
<a-select-option
|
|
<a-select-option
|
|
@@ -21,7 +33,7 @@
|
|
</a-select>
|
|
</a-select>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
- <a-col :md="8 || 24" :sm="24">
|
|
|
|
|
|
+ <a-col :md="6 || 24" :sm="24">
|
|
<span class="table-page-search-submitButtons">
|
|
<span class="table-page-search-submitButtons">
|
|
<a-button type="primary" @click="$refs.table.refresh(true)">查询</a-button>
|
|
<a-button type="primary" @click="$refs.table.refresh(true)">查询</a-button>
|
|
<a-button style="margin-left: 8px" @click="resetSearchForm">重置</a-button>
|
|
<a-button style="margin-left: 8px" @click="resetSearchForm">重置</a-button>
|
|
@@ -124,6 +136,7 @@ export default {
|
|
dollarExchangeRate: this.$store.getters.rmbRate,
|
|
dollarExchangeRate: this.$store.getters.rmbRate,
|
|
cptcodeMap: {},
|
|
cptcodeMap: {},
|
|
cbustypeMap: {},
|
|
cbustypeMap: {},
|
|
|
|
+ flagMap: {},
|
|
// 表头
|
|
// 表头
|
|
columns: [
|
|
columns: [
|
|
{
|
|
{
|
|
@@ -268,6 +281,7 @@ export default {
|
|
},
|
|
},
|
|
created () {
|
|
created () {
|
|
// 下拉框map
|
|
// 下拉框map
|
|
|
|
+ this.flagMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.PROJECT_NEW_AND_OLD)
|
|
this.typeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_TYPE)
|
|
this.typeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_TYPE)
|
|
this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_ORDER_STATUS)
|
|
this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_ORDER_STATUS)
|
|
this.cptcodeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_ORDER_PLAN_TYPE)
|
|
this.cptcodeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_ORDER_PLAN_TYPE)
|