|
|
@ -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 |
|
|
|