This commit is contained in:
faiz 2024-05-19 19:56:35 +08:00
parent c3c90e4b1a
commit 993ddc82ba
2 changed files with 36 additions and 2 deletions

View File

@ -28,6 +28,18 @@
style="width: 280px" style="width: 280px"
/> />
</el-form-item> </el-form-item>
<el-form-item label="审核时间:">
<el-date-picker
v-model="timeVals"
type="daterange"
placeholder="选择日期"
format="yyyy/MM/dd"
value-format="yyyy/MM/dd"
:picker-options="pickerOptions"
@change="onchangeTimes"
style="width: 280px"
/>
</el-form-item>
<el-form-item label="店铺类型:" prop="type_id"> <el-form-item label="店铺类型:" prop="type_id">
<el-select <el-select
v-model="tableFrom.type_id" v-model="tableFrom.type_id"
@ -62,6 +74,15 @@
clearable clearable
/> />
</el-form-item> </el-form-item>
<el-form-item label="审核人:" prop="audit_name">
<el-input
v-model="tableFrom.audit_name"
@keyup.enter.native="getList(1)"
placeholder="请输入审核人"
class="selWidth"
clearable
/>
</el-form-item>
<el-form-item label="备注:" prop="mark"> <el-form-item label="备注:" prop="mark">
<el-input <el-input
v-model="tableFrom.mark" v-model="tableFrom.mark"
@ -123,6 +144,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="audit_name" label="审核人" min-width="80" /> <el-table-column prop="audit_name" label="审核人" min-width="80" />
<el-table-column prop="audit_time" label="审核时间" min-width="150" />
<el-table-column prop="mark" label="备注" min-width="150" /> <el-table-column prop="mark" label="备注" min-width="150" />
<el-table-column label="操作" min-width="150" fixed="right"> <el-table-column label="操作" min-width="150" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
@ -218,6 +240,8 @@ export default {
tableFrom: { tableFrom: {
page: 1, page: 1,
limit: 20, limit: 20,
audit_name:'',
audit_time:'',
date: "", date: "",
status: this.$route.query.status ? this.$route.query.status : "", status: this.$route.query.status ? this.$route.query.status : "",
keyword: "", keyword: "",
@ -228,6 +252,7 @@ export default {
mer_id: this.$route.query.id ? this.$route.query.id : "", mer_id: this.$route.query.id ? this.$route.query.id : "",
autoUpdate: true, autoUpdate: true,
timeVal: [], timeVal: [],
timeVals: [],
drawer: false drawer: false
}; };
}, },
@ -273,7 +298,9 @@ export default {
/**重置 */ /**重置 */
searchReset(){ searchReset(){
this.timeVal = [] this.timeVal = []
this.timeVals = []
this.tableFrom.date = "" this.tableFrom.date = ""
this.tableFrom.audit_time = ""
this.$refs.searchForm.resetFields() this.$refs.searchForm.resetFields()
this.getList(1) this.getList(1)
}, },
@ -289,6 +316,13 @@ export default {
this.tableFrom.page = 1; this.tableFrom.page = 1;
this.getList(""); this.getList("");
}, },
//
onchangeTimes(e) {
this.timeVals = e;
this.tableFrom.audit_time = this.timeVals ? this.timeVals.join("-") : "";
this.tableFrom.page = 1;
this.getList("");
},
// //
getMerCategory() { getMerCategory() {
getMerCateApi().then(res => { getMerCateApi().then(res => {

View File

@ -221,7 +221,7 @@
<el-tab-pane label="规格与价格" name="goods"> <el-tab-pane label="规格与价格" name="goods">
<div class="section"> <div class="section">
<ul class="list"> <ul class="list">
<li class="item"> <!-- <li class="item">
<div class="item-title">佣金设置</div> <div class="item-title">佣金设置</div>
<div class="value"> <div class="value">
{{ {{
@ -240,7 +240,7 @@
: "自定义设置会员价" : "自定义设置会员价"
}} }}
</div> </div>
</li> </li> -->
<li class="item"> <li class="item">
<div class="item-title">规格</div> <div class="item-title">规格</div>
<div class="value"> <div class="value">