Commit 5b2b7b71 by 前端

Merge branch 'SAAS+V4.53.0-0528' into 'master'

上线合并

See merge request !81
2 parents c8e2dfc1 8d68d7b0
......@@ -3,7 +3,11 @@
<div class="activity">
<!-- 表格区域 开始 -->
<div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset">
<template slot="merchantId">
<el-input v-model.trim="searchForm.merchantId" maxlength="11" placeholder="请输入商户号" @input="merchantIdInput"></el-input>
</template>
</GLCombiForm>
<div class="flex-between title">
<div class="title-text">喜报列表</div>
<el-button :size="size" type="primary" class="battle-set-btn" @click="handlebattleOn()">新增</el-button>
......@@ -42,9 +46,10 @@ export default {
},
{
label: '商户号',
name: 'merchantId',
type: 'input',
maxlength: 9
addHtml: 'merchantId'
// name: 'merchantId',
// type: 'input',
// maxlength: 9
},
{
label: '企微名称',
......@@ -100,6 +105,10 @@ export default {
this.getMerchantList()
},
methods: {
// 商户号输入限制仅输入数字
merchantIdInput(event) {
this.searchForm.merchantId = event?.replace(/[^0-9]/g, '')
},
beforeSearchFn() {
return new Promise(resolve => {
this.tableSearchForm = JSON.parse(JSON.stringify(this.searchForm))
......
......@@ -3,7 +3,11 @@
<div class="activity">
<!-- 表格区域 开始 -->
<div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset">
<template slot="unionMerchantId">
<el-input v-model.trim="searchForm.unionMerchantId" maxlength="11" placeholder="请输入商户号" @input="merchantIdInput"></el-input>
</template>
</GLCombiForm>
<div class="flex-between title">
<div class="title-text">喜报列表</div>
</div>
......@@ -42,9 +46,10 @@ export default {
},
{
label: '商户号',
name: 'unionMerchantId',
type: 'input',
maxlength: 11
addHtml: 'unionMerchantId'
// name: 'unionMerchantId',
// type: 'input',
// maxlength: 11
},
{
label: '4S店',
......@@ -95,6 +100,10 @@ export default {
},
methods: {
// 商户号输入限制仅输入数字
merchantIdInput(event) {
this.searchForm.unionMerchantId = event?.replace(/[^0-9]/g, '')
},
formatterContent(cellValue) {
let typeToTxt = new Map([
[5, '#1.SA个人喜报>>'],
......
......@@ -3,7 +3,11 @@
<div class="activity">
<!-- 表格区域 开始 -->
<div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset">
<template slot="unionMerchantId">
<el-input v-model.trim="searchForm.unionMerchantId" maxlength="11" placeholder="请输入商户号" @input="merchantIdInput"></el-input>
</template>
</GLCombiForm>
<div class="flex-between title">
<div class="title-text">专员列表</div>
<!-- <el-button :size="size"
......@@ -922,9 +926,10 @@ export default {
},
{
label: '商户号',
name: 'unionMerchantId',
type: 'input',
maxlength: 11
addHtml: 'unionMerchantId'
// name: 'unionMerchantId',
// type: 'input',
// maxlength: 11
},
{
label: '4S店',
......@@ -1084,6 +1089,10 @@ export default {
// }
},
methods: {
// 商户号输入限制仅输入数字
merchantIdInput(event) {
this.searchForm.unionMerchantId = event?.replace(/[^0-9]/g, '')
},
formatterContent(cellValue) {
let typeToTxt = new Map([
[20, '#1.收款喜报>>'],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!