Commit cb18dbb1 by zhouzy

1

1 parent 9018e948
......@@ -18,7 +18,7 @@
<el-option v-for="(item, index) in options" :key="index" :label="item.merchantName" :value="item.merchantName"></el-option>
</el-select>
</el-form-item>
<el-form-item size="small" style="float: right;margin-right: 0px !important;">
<el-form-item size="small" style="float: right; margin-right: 0px !important">
<el-button plain size="small" @click="selectCollectionTable('reset')" class="selectBtn">重置</el-button>
<el-button type="primary" size="small" @click="selectCollectionTable('select')" class="selectBtn">搜索</el-button>
</el-form-item>
......@@ -59,8 +59,8 @@
<el-form-item style="margin-left: 120px" label="已激活:">{{ cardsInformationForm.recipientCount || '0' }}({{ ChangeDecimalToPercentage(this.cardsInformationForm.recipientCount / this.cardsInformationForm.num) }})</el-form-item>
</el-row>
</el-form>
<div class="dialogtitleText" style="margin-top: 20px;margin-right:20px">权益明细:</div>
<div class="contain equity-wrap" style="margin:20px 0px 20px 0px !important">
<div class="dialogtitleText" style="margin-top: 20px; margin-right: 20px">权益明细:</div>
<div class="contain equity-wrap" style="margin: 20px 0px 20px 0px !important">
<el-form :inline="true" label-width="70px">
<el-row style="align-items: center">
<el-form-item label=" 卡号:">
......@@ -69,9 +69,10 @@
<el-form-item label="账号:">
<el-input v-model="batchPopupListSearch.mobile" placeholder="请输入账号" size="small" class="formItem"></el-input>
</el-form-item>
<el-form-item size="small" style="float: right;margin-right: 0px !important;">
<el-button size="small" type="primary" icon="el-icon-search" @click="batchdetailSelect">搜索</el-button>
<el-button type="primary" size="small" @click="exportbatchdetail">导出明细</el-button>
<el-form-item size="small" style="float: right; margin-right: 0px !important">
<el-button plain size="small" @click="batchdetailSelect('reset')" class="selectBtn">重置</el-button>
<el-button size="small" type="primary" @click="batchdetailSelect('select')" class="selectBtn">搜索</el-button>
<el-button type="primary" size="small" @click="exportbatchdetail" class="selectBtn">导出</el-button>
</el-form-item>
</el-row>
</el-form>
......@@ -135,7 +136,7 @@
<el-form-item size="small" label="账号">
<el-input v-model="collectionListSearch.mobile" placeholder="请输入账号" size="small" class="formItem"></el-input>
</el-form-item>
<el-form-item size="small" style="float: right;margin-right: 0px !important;">
<el-form-item size="small" style="float: right; margin-right: 0px !important">
<el-button class="selectBtn" size="small" @click="collectionSelect('reset')">重置</el-button>
<el-button class="selectBtn" size="small" type="primary" @click="collectionSelect('select')" style="">搜索</el-button>
<el-button class="selectBtn" type="primary" size="small" @click="exportCollection">导出</el-button>
......@@ -487,10 +488,19 @@ export default {
}
},
// 批次详情界面搜索
batchdetailSelect() {
this.$apis.equityApi.getEquityCardCollectionList(this.batchPopupListSearch).then(res => {
this.$refs.batchdetailPopupTable.refreshTable()
})
batchdetailSelect(e) {
if (e == 'reset') {
this.batchPopupListSearch.batchId = ''
this.batchPopupListSearch.cardNo = ''
this.batchPopupListSearch.mobile = ''
this.$apis.equityApi.getEquityCardCollectionList(this.batchPopupListSearch).then(res => {
this.$refs.batchdetailPopupTable.refreshTable()
})
} else if (e == 'select') {
this.$apis.equityApi.getEquityCardCollectionList(this.batchPopupListSearch).then(res => {
this.$refs.batchdetailPopupTable.refreshTable()
})
}
},
//批次下拉框异步请求
remoteMethod(query) {
......@@ -859,7 +869,8 @@ align-items: center;
flex-wrap: nowrap;
} */
.collectonForm .el-form-item__label ,.el-form-item__content {
.collectonForm .el-form-item__label,
.el-form-item__content {
/* line-height: 32px; */
margin-bottom: 0px;
}
......@@ -914,8 +925,8 @@ flex-wrap: nowrap;
-webkit-box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1);
box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.1);
}
.dialogtitleText{
font-size: 16px;
.dialogtitleText {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
......@@ -948,16 +959,17 @@ flex-wrap: nowrap;
color: #333333;
line-height: 20px;
}
.detailFont , .el-form-item__content {
line-height: 36px !important;
margin-bottom: 0px;
.detailFont,
.el-form-item__content {
line-height: 36px !important;
margin-bottom: 0px;
}
.batchDetailBox .el-dialog__header {
padding: 20px 20px 20px;
border-bottom: 1px solid #d8d8d8;
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
padding: 20px 20px 20px;
border-bottom: 1px solid #d8d8d8;
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
.batchDetailBox .el-dialog__footer {
padding: 16px 20px;
......@@ -969,11 +981,11 @@ flex-wrap: nowrap;
padding: 32px 20px 32px 48px;
}
.batchDialog .el-dialog__header {
padding: 20px 20px 20px;
border-bottom: 1px solid #d8d8d8;
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
padding: 20px 20px 20px;
border-bottom: 1px solid #d8d8d8;
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
.batchDialog .el-dialog__body {
padding: 0px 0px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!