|
@@ -5,12 +5,12 @@
|
|
|
<div ref="tableSearch" class="table-page-search-wrapper">
|
|
|
<a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
|
|
|
<a-row :gutter="15">
|
|
|
- <a-col :md="4" :sm="24">
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
<a-form-item label="联系人手机">
|
|
|
<a-input allowClear placeholder="请输入联系人手机" v-model.tirm="queryParam.contactPhone"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="4" :sm="24">
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
<a-form-item label="联系人姓名">
|
|
|
<a-input allowClear placeholder="请输入联系人姓名" v-model.tirm="queryParam.contactName"/>
|
|
|
</a-form-item>
|
|
@@ -20,7 +20,7 @@
|
|
|
<a-input allowClear placeholder="请输入门店名称" v-model.tirm="queryParam.storeName"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="4" :sm="24">
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
<a-form-item label="状态">
|
|
|
<v-select
|
|
|
v-model="queryParam.auditStatus"
|
|
@@ -31,6 +31,11 @@
|
|
|
allowClear></v-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
+ <a-form-item label="关联汽配商">
|
|
|
+ <storeList ref="storeList" @change="custChange"></storeList>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<div>
|
|
|
<a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="approveStore-refresh">查询</a-button>
|
|
@@ -82,9 +87,10 @@
|
|
|
|
|
|
<script>
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
+import storeList from '@/views/common/storeList.vue'
|
|
|
import { xprhStoreApplyQueryPage, xprhStoreApplyAudit } from '@/api/approveStore'
|
|
|
export default {
|
|
|
- components: { STable, VSelect },
|
|
|
+ components: { STable, VSelect, storeList },
|
|
|
data () {
|
|
|
return {
|
|
|
spinning: false,
|
|
@@ -94,7 +100,8 @@ export default {
|
|
|
contactName: '',
|
|
|
contactPhone: '',
|
|
|
storeName: '',
|
|
|
- auditStatus: undefined
|
|
|
+ auditStatus: undefined,
|
|
|
+ delearSn: undefined
|
|
|
},
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: '5%', align: 'center' },
|
|
@@ -133,6 +140,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ custChange (val) {
|
|
|
+ console.log(val)
|
|
|
+ this.queryParam.delearSn = val.key
|
|
|
+ },
|
|
|
inited (viewer) {
|
|
|
if (viewer && viewer.length) {
|
|
|
this.$info({
|
|
@@ -179,6 +190,8 @@ export default {
|
|
|
this.queryParam.contactPhone = ''
|
|
|
this.queryParam.storeName = ''
|
|
|
this.queryParam.auditStatus = undefined
|
|
|
+ this.queryParam.delearSn = undefined
|
|
|
+ this.$refs.storeList.resetForm()
|
|
|
this.$refs.table.refresh(true)
|
|
|
},
|
|
|
setTableH () {
|