单据审核时间查询

ywj_dev
anthonywj 2 years ago
parent de96553e12
commit b9d31ad5c1

@ -69,22 +69,22 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <!-- <el-col :span="8">-->
<el-form-item class="query-form-item" label="审核时间:"> <!-- <el-form-item class="query-form-item" label="审核时间:">-->
<el-date-picker <!-- <el-date-picker-->
:picker-options="pickerOptions" <!-- :picker-options="pickerOptions"-->
v-model="auditDateRange" <!-- v-model="auditDateRange"-->
type="daterange" <!-- type="daterange"-->
format="yyyy 年 MM 月 dd 日" <!-- format="yyyy 年 MM 月 dd 日"-->
value-format="yyyy-MM-dd" <!-- value-format="yyyy-MM-dd"-->
range-separator="至" <!-- range-separator="至"-->
start-placeholder="开始日期" <!-- start-placeholder="开始日期"-->
end-placeholder="结束日期" <!-- end-placeholder="结束日期"-->
style="width: 90%" <!-- style="width: 90%"-->
> <!-- >-->
</el-date-picker> <!-- </el-date-picker>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
</el-row> </el-row>
</el-form> </el-form>
<div class="top-right-btn"> <div class="top-right-btn">

@ -588,6 +588,7 @@ export default {
billNo: "" billNo: ""
}, },
actDateRange: [], actDateRange: [],
auditDateRange: [],
pickerOptions: { pickerOptions: {
shortcuts: [ shortcuts: [
{ {
@ -678,6 +679,15 @@ export default {
this.filterQuery.startTime = null; this.filterQuery.startTime = null;
this.filterQuery.endTime = null; this.filterQuery.endTime = null;
} }
if (this.auditDateRange !== null) {
this.filterQuery.startAduditTime = this.auditDateRange[0];
this.filterQuery.endAduditTime = this.auditDateRange[1];
} else {
this.filterQuery.startAduditTime = null;
this.filterQuery.endAduditTime = null;
}
this.filterQuery.page = 1; this.filterQuery.page = 1;
this.getList(); this.getList();
}, },

@ -569,6 +569,15 @@ export default {
this.filterQuery.startTime = null; this.filterQuery.startTime = null;
this.filterQuery.endTime = null; this.filterQuery.endTime = null;
} }
if (this.auditDateRange !== null) {
this.filterQuery.startAduditTime = this.auditDateRange[0];
this.filterQuery.endAduditTime = this.auditDateRange[1];
} else {
this.filterQuery.startAduditTime = null;
this.filterQuery.endAduditTime = null;
}
this.filterQuery.page = 1; this.filterQuery.page = 1;
this.getList(); this.getList();
}, },

Loading…
Cancel
Save