From 067302e7ddd0bc605ee5664d11eb90f7ec06895f Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 12 Apr 2021 14:44:00 +0800 Subject: [PATCH] 20210412 签到活动后台 --- zq-erp/src/main/resources/templates/views/admin/activity/activity-sign-writeoff.html | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/zq-erp/src/main/resources/templates/views/admin/activity/activity-sign-writeoff.html b/zq-erp/src/main/resources/templates/views/admin/activity/activity-sign-writeoff.html index 6331095..3c585e0 100644 --- a/zq-erp/src/main/resources/templates/views/admin/activity/activity-sign-writeoff.html +++ b/zq-erp/src/main/resources/templates/views/admin/activity/activity-sign-writeoff.html @@ -44,6 +44,9 @@ <el-form-item label="中奖人名称" prop="yhmc" > <el-input v-model="form.yhmc" placeholder="中奖人名称"></el-input> </el-form-item> + <el-form-item label="输入活动名称/编码" prop="hdmcbm" > + <el-input v-model="form.hdmcbm" placeholder="输入活动名称/编码"></el-input> + </el-form-item> <el-button type="primary" @click="searchFormSignReceive" >搜索</el-button> <el-button @click="resetFormSignReceive('form')">重置</el-button> </el-form> @@ -116,9 +119,11 @@ </el-table-column> <el-table-column label="操作" width="200"> <template slot-scope="scope"> - <el-button type="primary" v-if="scope.row.awardWay == 2 && scope.row.state == 1" @click="jumpTologistics(scope.row)" size="mini">发货</el-button> + <el-button type="primary" v-if="scope.row.awardWay == 2 && scope.row.state == 2" @click="jumpTologistics(scope.row)" size="mini">发货</el-button> <el-button type="primary" v-if="scope.row.awardWay != 2 && scope.row.state == 1" @click="jumpToWriteOff(scope.row)" size="mini">核销</el-button> - <el-button type="primary" @click="jumpToWriteOff(scope.row)" size="mini">查看</el-button> + + <el-button type="primary" v-if="scope.row.awardWay == 2" @click="jumpTologistics(scope.row)" size="mini">查看</el-button> + <el-button type="primary" v-if="scope.row.awardWay != 2" @click="jumpToWriteOff(scope.row)" size="mini">查看</el-button> </template> </el-table-column> @@ -187,6 +192,7 @@ // 条件查询 form:{ yhmc:'', + hdmcbm:'', order:'', sort:'' }, @@ -223,7 +229,7 @@ jumpTologistics(row){ layer.full(layer.open({ type: 2, - title: "核销", + title: "发货", maxmin: true, area: [MUI.SIZE_L, '500px'], content : [ basePath + '/admin/redirect/activity/activity-sign-logistics-info?writeoffId=' + row.id] @@ -250,6 +256,7 @@ let _this = this; return { zjzxm:_this.form.yhmc, + hdmcbm:_this.form.hdmcbm, order:_this.form.order, sort:_this.form.sort, } -- Gitblit v1.9.1