Browse Source

完善销售车辆交付查询--修改查询条件销售类型、交付状态

master
yunuo970428 1 year ago
parent
commit
853dce1d71
  1. 28
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue

28
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue

@ -24,7 +24,9 @@
<el-input v-model="listQuery.params.contractNo" clearable placeholder="" />
</el-form-item>
<el-form-item label="销售类型">
<el-input v-model="listQuery.params.saleType" clearable placeholder="" />
<el-select v-model="listQuery.params.saleType" 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-item label="车架号">
<el-input v-model="listQuery.params.vinNo" clearable placeholder="" />
@ -38,7 +40,9 @@
<el-date-picker v-model="listQuery.params.saleDateEnd" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/>
</el-form-item>
<el-form-item label="交付状态">
<el-input v-model="listQuery.params.handoverState" clearable placeholder="" />
<el-select v-model="listQuery.params.handoverState" clearable placeholder="请选择">
<el-option v-for="item in handoverState_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/>
</el-select>
</el-form-item>
<el-form-item label="交付日期">
<el-date-picker v-model="listQuery.params.handoverDateStart" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/>
@ -132,6 +136,7 @@ import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import ButtonBar from '@/components/ButtonBar'
import { listPage, exportExcel } from '@/api/cheiliangjiaofu/cheliangjiaofu'
import { typeValues } from '@/api/dictcommons/dictcommons'
export default {
name: 'CheLiangJiaoFu',
@ -165,6 +170,17 @@ export default {
tableKey: 0,
list: [],
sids: [],
purchaseType_list: [],
handoverState_list: [
{
dictKey: '0',
dictValue: '未交付'
},
{
dictKey: '1',
dictValue: '已交付'
}
],
FormLoading: false,
listLoading: false,
listQuery: {
@ -194,12 +210,20 @@ export default {
},
created() {
//
this.init()
this.getList()
},
mounted() {
this.$refs['btnbar'].setButtonList(this.btnList)
},
methods: {
init() {
typeValues({ type: 'purchaseType' }).then((res) => {
if (res.success) {
this.purchaseType_list = res.data
}
})
},
//
clicksearchShow() {
this.isSearchShow = !this.isSearchShow

Loading…
Cancel
Save