|  |  |  | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | 
|---|
|  |  |  | stripe:true | 
|---|
|  |  |  | @sort-change="sortChange"> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | prop="writeoffTime" | 
|---|
|  |  |  | label="核销时间" | 
|---|
|  |  |  | prop="receiveName" | 
|---|
|  |  |  | label="中奖者" | 
|---|
|  |  |  | show-overflow-tooltip> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | prop="writeoffUser" | 
|---|
|  |  |  | label="核销员" | 
|---|
|  |  |  | show-overflow-tooltip> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | label="兑奖码" | 
|---|
|  |  |  | show-overflow-tooltip> | 
|---|
|  |  |  | <template slot-scope="scope"> | 
|---|
|  |  |  | <span v-if="scope.row.state == 3">{{scope.row.writeoffCode}}</span> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | prop="actName" | 
|---|
|  |  |  | 
|---|
|  |  |  | <span v-if="scope.row.state == 1">待兑换</span> | 
|---|
|  |  |  | <span v-if="scope.row.state == 2">待发货</span> | 
|---|
|  |  |  | <span v-if="scope.row.state == 3">已兑换</span> | 
|---|
|  |  |  | <span v-if="scope.row.state == 4">已失效</span> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | prop="receiveName" | 
|---|
|  |  |  | label="中奖者" | 
|---|
|  |  |  | prop="writeoffTime" | 
|---|
|  |  |  | label="核销时间" | 
|---|
|  |  |  | show-overflow-tooltip> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | prop="writeoffUser" | 
|---|
|  |  |  | label="核销员" | 
|---|
|  |  |  | show-overflow-tooltip> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | label="兑奖码" | 
|---|
|  |  |  | show-overflow-tooltip> | 
|---|
|  |  |  | <template slot-scope="scope"> | 
|---|
|  |  |  | <span v-if="scope.row.state == 3">{{scope.row.writeoffCode}}</span> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | prop="receiveAddress" | 
|---|
|  |  |  | 
|---|
|  |  |  | </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> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | // 条件查询 | 
|---|
|  |  |  | form:{ | 
|---|
|  |  |  | yhmc:'', | 
|---|
|  |  |  | hdmcbm:'', | 
|---|
|  |  |  | order:'', | 
|---|
|  |  |  | sort:'' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | 
|---|
|  |  |  | 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] | 
|---|
|  |  |  | 
|---|
|  |  |  | let _this = this; | 
|---|
|  |  |  | return   { | 
|---|
|  |  |  | zjzxm:_this.form.yhmc, | 
|---|
|  |  |  | hdmcbm:_this.form.hdmcbm, | 
|---|
|  |  |  | order:_this.form.order, | 
|---|
|  |  |  | sort:_this.form.sort, | 
|---|
|  |  |  | } | 
|---|