|
|
@@ -14,29 +14,43 @@
|
|
|
<template #titleRight>
|
|
|
<importExcel style="margin-left:10px" @onSuccess="onSuccess"></importExcel>
|
|
|
</template>
|
|
|
- <div slot="custom" style="display:flex">
|
|
|
- <label class="search__label " style="margin: auto;width: 70px;">账户类型:</label>
|
|
|
- <el-select style="margin-right: 24px !important;" class="inline-16" @change="selectChange" v-model="selectParam.accountname" placeholder="请选择账户类型" size="small" clearable>
|
|
|
- <el-option v-for="(item,index) in accountNameList" :key="index" :value="item.accountname" :label="item.accountname"></el-option>
|
|
|
- </el-select>
|
|
|
- <label class="search__label " style="margin: auto;width: 35px;">状态:</label>
|
|
|
- <el-select style="margin-right: 24px !important;" class="inline-16" @change="selectChange" v-model="selectParam.status" placeholder="请选择状态" size="small" clearable>
|
|
|
- <el-option v-for="(item,index) in statusData" :key="index" :value="item.value" :label="item.value"></el-option>
|
|
|
- </el-select>
|
|
|
- <label class="search__label" style="margin: auto;width: 65px;">单据日期:</label>
|
|
|
- <el-date-picker
|
|
|
- style="margin-right: 24px !important;"
|
|
|
- size="small"
|
|
|
- @change="selectChange"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- v-model="dateSelect"
|
|
|
- type="daterange"
|
|
|
- range-separator="至"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
- clearable>
|
|
|
- </el-date-picker>
|
|
|
- </div>
|
|
|
+ <template #custom>
|
|
|
+ <div class="mt-10">
|
|
|
+ <label class="search__label " style="margin: auto;width: 70px;">账户类型:</label>
|
|
|
+ <el-select style="margin-right: 24px !important;" class="inline-16" @change="selectChange" v-model="selectParam.accountname" placeholder="请选择账户类型" size="small" clearable>
|
|
|
+ <el-option v-for="(item,index) in accountNameList" :key="index" :value="item.accountname" :label="item.accountname"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <div class="mt-10">
|
|
|
+ <label class="search__label " style="margin: auto;width: 35px;">状态:</label>
|
|
|
+ <el-select style="margin-right: 24px !important;" class="inline-16" @change="selectChange" v-model="selectParam.status" placeholder="请选择状态" size="small" clearable>
|
|
|
+ <el-option v-for="(item,index) in statusData" :key="index" :value="item.value" :label="item.value"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <div class="mt-10">
|
|
|
+ <label class="search__label" style="margin: auto;width: 65px;">单据日期:</label>
|
|
|
+ <el-date-picker
|
|
|
+ style="margin-right: 24px !important;"
|
|
|
+ size="small"
|
|
|
+ @change="selectChange"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ v-model="dateSelect"
|
|
|
+ type="daterange"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期"
|
|
|
+ clearable>
|
|
|
+ </el-date-picker>
|
|
|
+ </div>
|
|
|
+ <div class="mt-10">
|
|
|
+ <el-input style="width:200px;" placeholder="根据经销商搜索" :suffix-icon=" selectParam.agentinfo?selectParam.agentinfo.length > 0?'':'':'el-icon-search'" v-model="selectParam.agentinfo" @keyup.native.enter="selectChange" @clear="selectChange" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
+ </el-input>
|
|
|
+ </div>
|
|
|
+ <div class="mt-10">
|
|
|
+ <el-input style="width:200px;" placeholder="根据订单备注搜索" :suffix-icon="selectParam.remarks?selectParam.remarks.length > 0?'':'':'el-icon-search'" v-model="selectParam.remarks" @keyup.native.enter="selectChange" @clear="selectChange" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
+ </el-input>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
<template v-slot:tbList="scope">
|
|
|
<div v-if="scope.data.column.columnname == 'amount'">
|
|
|
<span :style="+scope.data.column.data.amount >= 0 ? 'color:green' : 'color:red'">{{ tool.formatAmount(scope.data.column.data.amount,2) }}</span>
|
|
|
@@ -89,7 +103,9 @@ export default {
|
|
|
status:'',
|
|
|
accountname:'',
|
|
|
begindate:'',
|
|
|
- enddate:''
|
|
|
+ enddate:'',
|
|
|
+ agentinfo:'',
|
|
|
+ remarks:''
|
|
|
},
|
|
|
accountNameList:[],
|
|
|
dateSelect:''
|
|
|
@@ -148,4 +164,4 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
-</style>
|
|
|
+</style>
|