This commit is contained in:
cun-nan 2024-07-15 15:05:28 +08:00
parent 831c73d498
commit 86eb74e8de
19 changed files with 174 additions and 19 deletions

View File

@ -25,6 +25,7 @@
</el-form-item>
<el-form-item style="float: right">
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
@ -1136,6 +1137,30 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
chainStorId: null,
storeId: null,
name: null,
participationConditionMoney: null,
activeStartTime: null,
activeEndTime: null,
adaptOil: [],
adaptUserType: null,
memberType: null,
dieselUserLevel: null,
gasolineUserLevel: null,
naturalUserLevel: null,
paymentType: null,
participationCondition: null,
participationAcount: null,
limitAcount: null,
activeGift: [],
points: null,
status: null,
isonline: null,
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -24,6 +24,7 @@
</el-form-item>
<el-form-item style="float: right">
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>

View File

@ -24,6 +24,7 @@
</el-form-item>
<el-form-item style="float: right">
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>

View File

@ -26,6 +26,7 @@
</el-form-item>
<el-form-item style="float: right">
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>

View File

@ -24,6 +24,7 @@
</el-form-item>
<el-form-item style="float: right">
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>

View File

@ -32,6 +32,7 @@
</el-form-item>
<el-form-item style="float: right">
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
</el-card>

View File

@ -27,6 +27,7 @@
</el-form-item>
<el-form-item style="float: right">
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
</el-card>
@ -669,6 +670,36 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
chainStorId: null,
storeId: null,
isonline: null,
name: null,
type: null,
discountType: null,
oilType: null,
fullDeduction: null,
discountAmount: null,
satisfiedAmount: null,
specialDiscount: null,
discountOffset: null,
validity: null,
effectiveDate: null,
effectiveTime: null,
availablePeriod: null,
checkDateType: null,
checkTime: [],
checkOutTime: null,
exclusiveFunctionList: [],
exclusiveFunction: null,
claimRule: null,
count: null,
qrCodeLink: null,
status: null,
effectiveDateType:'0'
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -28,6 +28,7 @@
</el-option>
</el-select>
<el-button type="primary" icon="el-icon-search" @click="getlist">查询</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
<div class="butoon">
<a style=";color: #00afff"
href="/fuint-application/business/marketingActivity/cardGift/export"> 下载模板 </a >
@ -458,6 +459,18 @@ import {
})
},
//
resetQuery() {
this.queryParams = {
number:'',
remark:'',
activateStatus:null,
status:'',
pageNo:1,
pageSize:10
}
this.getlist();
},
getlist(){
getselectGiftValue().then(res=>{
console.log(res)

View File

@ -7,8 +7,9 @@
<!-- 17615834396-->
<el-input v-model="queryParams.mobile" placeholder="请输入会员手机号码"></el-input>
</div>
<div style="width: 10%;margin-left: 20px">
<div style="width: 10%;margin-left: 20px;display: flex">
<el-button type="primary" icon="el-icon-search" @click="getList">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</div>
</div>
@ -65,6 +66,29 @@
}
},
methods:{
//
resetQuery() {
this.queryParams = {
pageNum: 1,
pageSize: 999,
cardExchangeId: null,
mtStaffId: null,
realName: null,
staffMobile: null,
mtUserId: null,
name: null,
mobile: null,
photo: null,
exchangeName: null,
ticketCode: null,
exchangeFrom: null,
status: 0,
outTime: null,
cancelTime: null,
startTime: null,
endTime: null,
}
},
getList() {
if(!this.queryParams.mobile ){
this.$message.error("输入框不能为空")

View File

@ -28,6 +28,7 @@
</el-option>
</el-select>
<el-button type="primary" style="margin-left: 20px ;float: right" icon="el-icon-search" @click="getlist">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</div>
</el-card>
<el-card style="margin-bottom: 15px">
@ -453,6 +454,17 @@
})
this.getlist()
},
//
resetQuery() {
this.queryParams = {
type:'汽油',
oilType:'',
activeStatus:'',
pageNo:1,
pageSize:10,
}
this.getlist();
},
getlist(){
this.queryParams.pageNo=this.pageNo
this.queryParams.pageSize=this.pageSize

View File

@ -12,6 +12,7 @@
</el-form-item>
<el-form-item style="float: right">
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
</el-card>
@ -957,6 +958,30 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
chainStorId: null,
storeId: null,
name: null,
participationConditionMoney: null,
activeStartTime: null,
activeEndTime: null,
adaptOil: [],
adaptUserType: null,
memberType: null,
dieselUserLevel: null,
gasolineUserLevel: null,
naturalUserLevel: null,
paymentType: null,
participationCondition: null,
participationAcount: null,
limitAcount: null,
activeGift: [],
points: null,
status: null,
isonline: null,
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -268,7 +268,7 @@ export default {
state:'await',
numberInput:false,
saveFlag:false,
auditFlag:true,
voidFlag:true,

View File

@ -119,6 +119,7 @@
<el-table-column label="进货价" prop="buyingPrice" align="center" width="70"/>
<el-table-column label="零售价" prop="retailPrice" align="center" width="70"/>
<el-table-column label="会员价" prop="memberPrice" align="center" width="70"/>
<el-table-column label="排序" prop="sort" align="center" width="70"/>
<el-table-column label="状态" align="center" prop="status">
<template slot-scope="scope">
<el-tag v-if="scope.row.status=='qy'">上架</el-tag>

View File

@ -314,7 +314,18 @@ export default {
handleClick(tab, event) {
// this.resetQuery2()
this.resetQuery()
this.queryParams = {
orderType:0,
giftName: '',
mobile:'',
shippingType: '',
orderStatus:'',
pageNo:1,
pageSize:10
},
this.dateRange = []
this.beginTime = ""
this.endTime = ""
this.queryParams.orderStatus = tab.name
console.log(tab.name);
this.getList();

View File

@ -95,7 +95,7 @@
</div>
<div class="box-gang">
<div class="box">
<div class="size-bole">{{ total }}</div>
<div class="size-bole">{{ total || 0 }}</div>
<div class="size-hui">
<div class="nei">挂账笔数</div>
<div class="icon-img">
@ -104,7 +104,7 @@
</div>
</div>
<div class="box">
<div class="size-bole">{{ allAmount }}</div>
<div class="size-bole">{{ allAmount || 0 }}</div>
<div class="size-hui">
<div class="nei">挂账总额</div>
<div class="icon-img">
@ -113,7 +113,7 @@
</div>
</div>
<div class="box">
<div class="size-bole">{{ returnTotal }}</div>
<div class="size-bole">{{ returnTotal || 0 }}</div>
<div class="size-hui">
<div class="nei">归还笔数</div>
<div class="icon-img">
@ -122,7 +122,7 @@
</div>
</div>
<div class="box">
<div class="size-bole">{{ returnAllAmount }}</div>
<div class="size-bole">{{ returnAllAmount || 0 }}</div>
<div class="size-hui">
<div class="nei">归还总额</div>
<div class="icon-img">
@ -131,7 +131,7 @@
</div>
</div>
<div class="box">
<div class="size-bole">{{ noReturnAllAmount }}</div>
<div class="size-bole">{{ noReturnAllAmount || 0 }}</div>
<div class="size-hui">
<div class="nei">未还金额</div>
<div class="icon-img">
@ -204,7 +204,7 @@
<el-table-column prop="outstandAmount" align="center" label="未归还金额"> </el-table-column>
</el-table-column>
<el-table-column prop="realName" align="center" label="操作人"> </el-table-column>
<el-table-column prop="createTime" align="center" label="创建时间" width="220">
<el-table-column prop="createTime" align="center" label="挂账单位创建时间" width="220">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
@ -483,19 +483,19 @@ export default {
this.returnTotal = res.data
})
hangBillAllAmount(this.addDateRange(this.queryParams, dateRange)).then(res => {
if (res.data) {
// if (res.data) {
this.allAmount = res.data
}
// }
})
hangBillAllReturnAmount(this.addDateRange(this.queryParams, dateRange)).then(res => {
if (res.data) {
// if (res.data) {
this.returnAllAmount = res.data
}
// }
})
hangBillAllNoReturnAmount(this.addDateRange(this.queryParams, dateRange)).then(res => {
if (res.data) {
// if (res.data) {
this.noReturnAllAmount = res.data
}
// }
})
},
//

View File

@ -37,6 +37,7 @@
v-model="queryParams.orderNo"
placeholder="订单号"
clearable
@input="$forceUpdate"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
@ -45,6 +46,7 @@
v-model="queryParams.payUser"
placeholder="手机号"
clearable
@input="$forceUpdate"
@keyup.enter.native="handleQuery"
/>
</el-form-item>

View File

@ -117,12 +117,12 @@ export default {
if (this.ruleForm.dutyId) {
updateRole(this.ruleForm).then(response => {
this.$modal.msgSuccess("修改成功");
this.$router.push("/Site/index")
this.$router.push({path:"/Site/index",query:{activeName:"duty"}})
});
} else {
addRole(this.ruleForm).then(response => {
this.$modal.msgSuccess("新增成功");
this.$router.push("/Site/index")
this.$router.push({path:"/Site/index",query:{activeName:"duty"}})
});
}
}
@ -130,6 +130,7 @@ export default {
},
resetForm(formName) {
this.$refs[formName].resetFields();
this.$router.push({path:"/Site/index",query:{activeName:"duty"}})
},
//
selectChildByDeptIdApi() {

View File

@ -1238,6 +1238,10 @@ export default {
this.getList();
this.selectChildByDeptIdApi();
if (this.$route.query.activeName){
this.activeName = this.$route.query.activeName
this.handleClick()
}
},
components: { Treeselect },
@ -1811,11 +1815,11 @@ export default {
{!isAdd ?
< img alt="" src="http://47.95.206.185:83/add.png" style=" width: 20px;height: 20px; " on-click={() => this.append(data)}/>
< img alt="" src="https://www.youkerr.com/add" style=" width: 20px;height: 20px; " on-click={() => this.append(data)}/>
: null
}
{node.level !== 1 ?
< img alt="" src="http://47.95.206.185:83/del.png" style=" width: 20px;height: 20px; " on-click={() => this.remove(node, data)}/>
< img alt="" src="https://www.youkerr.com/del" style=" width: 20px;height: 20px; " on-click={() => this.remove(node, data)}/>
: null
}

View File

@ -55,6 +55,7 @@
and update_by = #{integralGiftCategory.updateBy}
</if>
</where>
order by create_time desc
</select>
<!--统计总行数-->