Browse Source

完善订单查询--增加部分查询条件

master
yunuo970428 2 years ago
parent
commit
17ad669f35
  1. 49
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/dingdanchaxun/xiaoshoudingdanchaxun.vue

49
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/dingdanchaxun/xiaoshoudingdanchaxun.vue

@ -8,8 +8,25 @@
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="100px" class="tab-header">
<el-form-item label="快捷检索">
<el-input v-model="listQuery.params.name" clearable placeholder="请输入订单编号" />
<el-form-item label="订单状态">
<el-input v-model="listQuery.params.nodeState" clearable placeholder="" />
</el-form-item>
<el-form-item label="车型">
<el-input v-model="listQuery.params.modelName" clearable placeholder="" />
</el-form-item>
<el-form-item label="合同编号">
<el-input v-model="listQuery.params.contractNo" clearable placeholder="" />
</el-form-item>
<el-form-item label="发起人">
<el-input v-model="listQuery.params.createByName" clearable placeholder="" />
</el-form-item>
<el-form-item label="发起部门">
<el-input v-model="listQuery.params.createByDept" clearable placeholder="" />
</el-form-item>
<el-form-item label="销售类型">
<el-select v-model="listQuery.params.saleTypeKey" class="filter-item" clearable placeholder="请选择">
<el-option v-for="item in purchaseType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/>
</el-select>
</el-form-item>
</el-form>
<div class="btn" style="text-align: center;">
@ -41,6 +58,11 @@
<span>{{ scope.row.contractId }}</span>
</template>
</el-table-column>
<el-table-column label="车架号" align="center" width="120">
<template slot-scope="scope">
<span>{{ scope.row.vinNo }}</span>
</template>
</el-table-column>
<el-table-column label="客户名称" align="center" width="120">
<template slot-scope="scope">
<span>{{ scope.row.customerName }}</span>
@ -119,6 +141,7 @@ import pageye from '@/components/pagination/pageye'
import ButtonBar from '@/components/ButtonBar'
import req from '@/api/jichuxinxi/dingdanchaxun'
import { getStorage } from '@/utils/auth'
import { typeValues } from '@/api/dictcommons/dictcommons'
import xiaoshoudingdanInfo from '../../xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdanInfo'
export default {
@ -149,6 +172,7 @@ export default {
tableKey: 0,
list: [],
sids: [],
purchaseType_list: [],
FormLoading: false,
listLoading: false,
listQuery: {
@ -156,7 +180,13 @@ export default {
orgPath: '',
name: '',
userSid: '',
menuUrl: ''
menuUrl: '',
nodeState: '',
modelName: '',
contractNo: '',
createByName: '',
createByDept: '',
saleTypeKey: ''
},
current: 1,
size: 10,
@ -223,6 +253,11 @@ export default {
}
},
init() {
typeValues({ type: 'purchaseType' }).then((res) => {
if (res.success) {
this.purchaseType_list = res.data
}
})
this.getList()
},
//
@ -267,7 +302,13 @@ export default {
orgPath: '',
name: '',
userSid: '',
menuUrl: ''
menuUrl: '',
nodeState: '',
modelName: '',
contractNo: '',
createByName: '',
createByDept: '',
saleTypeKey: ''
},
current: 1,
size: 10,

Loading…
Cancel
Save