|
@@ -8,13 +8,13 @@
|
|
|
<el-radio-button :label="2">已交账单</el-radio-button>
|
|
|
<el-radio-button :label="3">实收管理</el-radio-button>
|
|
|
</el-radio-group>
|
|
|
- <template v-if="chargeStatus !== 3">
|
|
|
+ <div class="searchText">
|
|
|
<el-input
|
|
|
clearable
|
|
|
placeholder="输入订单号/业主/房间号"
|
|
|
- class="search-input"
|
|
|
v-trim
|
|
|
v-model.trim="mixins_query.name"
|
|
|
+ class="search-input"
|
|
|
></el-input>
|
|
|
<el-select v-model="mixins_querys.chargeType" placeholder="费用类型" clearable class="width120">
|
|
|
<template v-for="(item, index) in $publicArray.chargeType()">
|
|
@@ -26,9 +26,43 @@
|
|
|
></el-option>
|
|
|
</template>
|
|
|
</el-select>
|
|
|
- <!-- 已交 -->
|
|
|
- <template v-if="chargeStatus == 2">
|
|
|
- <el-select v-model="mixins_query.payType" class="width120" placeholder="缴费方式" clearable>
|
|
|
+ <template v-if="chargeStatus !== 3">
|
|
|
+ <!-- 已交 -->
|
|
|
+ <template v-if="chargeStatus == 2">
|
|
|
+ <el-select v-model="mixins_query.payType" class="width120" placeholder="缴费方式" clearable>
|
|
|
+ <el-option
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ v-for="(item, index) in $publicArray.paymentType()"
|
|
|
+ :key="index"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="times"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ type="daterange"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="选择开始日期"
|
|
|
+ end-placeholder="选择结束日期"
|
|
|
+ @change="effectiveDateToggle"
|
|
|
+ ></el-date-picker>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <el-date-picker
|
|
|
+ v-else
|
|
|
+ v-model="times"
|
|
|
+ value-format="yyyy-MM"
|
|
|
+ type="monthrange"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="选择开始月"
|
|
|
+ end-placeholder="选择结束月"
|
|
|
+ @change="effectiveDateToggle"
|
|
|
+ ></el-date-picker>
|
|
|
+
|
|
|
+ <el-button class="search-btn" type="primary" @click="mixins_search()" icon="el-icon-search">搜索</el-button>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <el-select v-model="nullifyObj.payType" class="width120" placeholder="缴费方式" clearable>
|
|
|
<el-option
|
|
|
:label="item.label"
|
|
|
:value="item.value"
|
|
@@ -36,6 +70,10 @@
|
|
|
:key="index"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
+ <el-select v-model="nullifyObj.printStatus" class="width120" placeholder="打印状态" clearable>
|
|
|
+ <el-option label="未打印" :value="0"></el-option>
|
|
|
+ <el-option label="已打印" :value="1"></el-option>
|
|
|
+ </el-select>
|
|
|
<el-date-picker
|
|
|
v-model="times"
|
|
|
value-format="yyyy-MM-dd"
|
|
@@ -45,52 +83,40 @@
|
|
|
end-placeholder="选择结束日期"
|
|
|
@change="effectiveDateToggle"
|
|
|
></el-date-picker>
|
|
|
+ <el-button class="search-btn" type="primary" @click="nullify_search()" icon="el-icon-search">搜索</el-button>
|
|
|
</template>
|
|
|
+ </div>
|
|
|
|
|
|
- <el-date-picker
|
|
|
- v-else
|
|
|
- v-model="times"
|
|
|
- value-format="yyyy-MM"
|
|
|
- type="monthrange"
|
|
|
- range-separator="至"
|
|
|
- start-placeholder="选择开始月"
|
|
|
- end-placeholder="选择结束月"
|
|
|
- @change="effectiveDateToggle"
|
|
|
- ></el-date-picker>
|
|
|
-
|
|
|
- <el-button class="search-btn" type="primary" @click="mixins_search()" icon="el-icon-search">搜索</el-button>
|
|
|
- <div class="search-icon">
|
|
|
- <el-tooltip
|
|
|
- v-show="chargeStatus == 1 && chiData.type === 'room'"
|
|
|
- class="item"
|
|
|
- effect="light"
|
|
|
- placement="bottom"
|
|
|
- content="临时收款"
|
|
|
- >
|
|
|
- <i class="zoniot_font zoniot-icon-linshishoukuan" @click="collections('temporary')"></i>
|
|
|
- </el-tooltip>
|
|
|
- <el-dropdown type="primary" @command="addCommand">
|
|
|
- <span class="zoniot_font zoniot-icon-tianjia2"></span>
|
|
|
- <el-dropdown-menu slot="dropdown" hide-on-click="false" class="device-search-dropdown">
|
|
|
- <el-dropdown-item command="batchAdd">
|
|
|
- <div class="upload_div">
|
|
|
- <xk-upload class="upload_class" @callback="mixins_search" :params="{ importType: 'BILL' }">
|
|
|
- <span slot="content">批量导入</span>
|
|
|
- </xk-upload>
|
|
|
- </div>
|
|
|
- </el-dropdown-item>
|
|
|
- <el-dropdown-item command="template">下载模板</el-dropdown-item>
|
|
|
- </el-dropdown-menu>
|
|
|
- </el-dropdown>
|
|
|
- <el-tooltip v-show="chargeStatus == 1" class="item" effect="light" placement="bottom" content="批量收款">
|
|
|
- <i class="zoniot_font zoniot-icon-piliangshoukuan" @click="collections('bulk')"></i>
|
|
|
- </el-tooltip>
|
|
|
- <el-tooltip class="item" effect="light" placement="bottom" content="导出">
|
|
|
- <i class="zoniot_font zoniot-icon-daochu2" @click="exportExcel"></i>
|
|
|
- </el-tooltip>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else> 41515151 </template>
|
|
|
+ <div class="search-icon">
|
|
|
+ <el-tooltip
|
|
|
+ v-show="chargeStatus == 1 && chiData.type === 'room' && chargeStatus !== 3"
|
|
|
+ class="item"
|
|
|
+ effect="light"
|
|
|
+ placement="bottom"
|
|
|
+ content="临时收款"
|
|
|
+ >
|
|
|
+ <i class="zoniot_font zoniot-icon-linshishoukuan" @click="collections('temporary')"></i>
|
|
|
+ </el-tooltip>
|
|
|
+ <el-dropdown type="primary" @command="addCommand">
|
|
|
+ <span class="zoniot_font zoniot-icon-tianjia2"></span>
|
|
|
+ <el-dropdown-menu slot="dropdown" hide-on-click="false" class="device-search-dropdown">
|
|
|
+ <el-dropdown-item command="batchAdd">
|
|
|
+ <div class="upload_div">
|
|
|
+ <xk-upload class="upload_class" @callback="mixins_search" :params="{ importType: 'BILL' }">
|
|
|
+ <span slot="content">批量导入</span>
|
|
|
+ </xk-upload>
|
|
|
+ </div>
|
|
|
+ </el-dropdown-item>
|
|
|
+ <el-dropdown-item command="template">下载模板</el-dropdown-item>
|
|
|
+ </el-dropdown-menu>
|
|
|
+ </el-dropdown>
|
|
|
+ <el-tooltip v-show="chargeStatus == 1" class="item" effect="light" placement="bottom" content="批量收款">
|
|
|
+ <i class="zoniot_font zoniot-icon-piliangshoukuan" @click="collections('bulk')"></i>
|
|
|
+ </el-tooltip>
|
|
|
+ <el-tooltip class="item" effect="light" placement="bottom" content="导出">
|
|
|
+ <i class="zoniot_font zoniot-icon-daochu2" @click="exportExcel"></i>
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<template v-if="chargeStatus !== 3">
|
|
|
<zz-table
|
|
@@ -142,6 +168,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ nullifyObj: { printStatus: '' },
|
|
|
mixins_querys: {
|
|
|
chargeType: ''
|
|
|
},
|
|
@@ -403,6 +430,7 @@ export default {
|
|
|
this.statusTable = true;
|
|
|
});
|
|
|
this.times = [];
|
|
|
+ this.nullifyObj.printStatus = '';
|
|
|
this.Object_Set(['startTime', 'endTime', 'chargeStatus'], ['', '', this.chargeStatus]);
|
|
|
this.mixins_search();
|
|
|
}
|
|
@@ -451,6 +479,9 @@ export default {
|
|
|
this['mixins_query'][thisObj] = val;
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ nullify_search() {
|
|
|
+ this.$refs.actual.nullify_search();
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
@@ -516,11 +547,19 @@ export default {
|
|
|
<style lang='scss' scoped >
|
|
|
@import '@assets/css/public-style.scss';
|
|
|
.search {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ height: inherit;
|
|
|
+ .searchText {
|
|
|
+ width: calc(100% - 420px);
|
|
|
+ }
|
|
|
.zz-tab-button {
|
|
|
margin-right: 20px;
|
|
|
+ min-width: 238px;
|
|
|
}
|
|
|
.width120 {
|
|
|
width: rem(120);
|
|
|
+ margin-bottom: 10px;
|
|
|
}
|
|
|
}
|
|
|
</style>
|