Commit 7253dfcc by wangql

BUG修复

2 parents f3e803db 702bb019
......@@ -144,7 +144,7 @@ const groupDetailList = params => {
})
}
// 详情页客户群提醒
// 根据id提醒用户 ,列表
const listRemindOperate = params => {
params.method = `${path}listRemindOperate`
return http({
......@@ -154,7 +154,7 @@ const listRemindOperate = params => {
sign: true
})
}
// 根据id提醒用户
// 详情页客户群提醒
const remindUserGroup = params => {
params.method = `${path}remindUserGroup`
return http({
......
......@@ -2,7 +2,6 @@
<template>
<div>
<el-dialog :title="title" :visible.sync="isVisible" :show-close="showClose" :before-close="handleClose" :close-on-click-modal="false" :modal-append-to-body="false" :width="width">
<!-- <div class="el-dialog-div"> -->
<div :style="{height:height,overflow:'auto'}">
<el-scrollbar v-if="hasScroll">
<span slot="title">
......@@ -23,7 +22,6 @@
<slot></slot>
</template>
</div>
<div slot="footer">
<slot name="btn-start"></slot>
......@@ -87,6 +85,10 @@ export default {
type:String,
default:''
},
// modalAppendToBody:{
// type: Boolean,
// default: false
// },
width: {
type: String,
default: '580px'
......@@ -121,8 +123,9 @@ export default {
// border-bottom: 1px solid #e6e6e6;
// padding: 20px 25px;
// }
.el-dialog-div {
height: 60vh;
overflow: auto;
}
// .el-dialog-div {
// height: 60vh;
// overflow: auto;
// }
</style>
......@@ -187,7 +187,7 @@
width: footerWidth + 'px'
}"
>
<el-button type="primary" @click="handleSubmit">确定</el-button>
<el-button type="primary" v-loading="addLoading" @click="handleSubmit">确定</el-button>
<el-button type="primary" @click="handleCancel">取消</el-button>
</div>
<SelectLabel ref="selectLabel" @tagSelected="handleSelect" :dialogVisible="dialogVisible"></SelectLabel>
......@@ -254,6 +254,7 @@ export default {
}
}
return {
addLoading: false,
eventBus: new Vue(),
basicForm: {
condition: {}
......@@ -376,6 +377,7 @@ export default {
params.sendTimeStr = this.basicForm.sendTime + ' ' + this.basicForm.sendDate
}
console.log(params)
this.addLoading = true
this.$apis.customerTransform
.insert(params)
.then(res => {
......@@ -387,12 +389,14 @@ export default {
})
this.handleCancel()
}
this.addLoading = false
})
.catch(err => {
this.$message({
type: 'error',
message: err.message
})
this.addLoading = false
})
}
})
......
......@@ -80,7 +80,7 @@
width: footerWidth + 'px'
}"
>
<el-button type="primary" @click="handleSubmit">确定</el-button>
<el-button type="primary" v-loading="addLoading" @click="handleSubmit">确定</el-button>
<el-button type="primary" @click="handleCancel">取消</el-button>
</div>
<glsx-dialog
......@@ -152,6 +152,7 @@ export default {
}
}
return {
addLoading: false,
eventBus: new Vue(),
basicForm: {},
basicRules: {
......@@ -248,6 +249,7 @@ export default {
if (params.sendType == 2) {
params.sendTimeStr = this.basicForm.sendTime + ' ' + this.basicForm.sendDate
}
this.addLoading = true
console.log(params)
this.$apis.customerTransform
.insert(params)
......@@ -260,12 +262,14 @@ export default {
})
this.handleCancel()
}
this.addLoading = false
})
.catch(err => {
this.$message({
type: 'error',
message: err.message
})
this.addLoading = false
})
})
}
......
......@@ -28,25 +28,26 @@
style="-webkit-user-modify: read-write-plaintext-only !important;"
placeholder="请输入内容"
></el-input>-->
<div v-for="itm in previewList" :key="itm.id">
<div v-for="(itm, index) in previewList" :key="itm.id">
<div class="welcome-file" v-if="itm.attType != 1">
<template v-if="itm.attType == 2">
<img src="@/assets/guestCustom/icon-img.png" alt />
<span>{{ itm.attContent }}</span>
<i v-show="index == (previewList.length -1) && loading" class="el-icon-loading"></i>
<img v-show="!loading" src="@/assets/guestCustom/icon-img.png" alt />
<span :title="itm.attContent">{{ itm.attContent }}</span>
</template>
<template v-else-if="itm.attType == 3">
<img src="@/assets/guestCustom/icon-img.png" alt />
<span>{{ itm.attContent }}</span>
<span :title="itm.attContent">{{ itm.attContent }}</span>
</template>
<template v-else-if="itm.attType == 7">
<img src="@/assets/guestCustom/icon-applet.png" alt />
<span>{{ itm.attContent.marketingName }}</span>
<span :title="itm.attContent.marketingName">{{ itm.attContent.marketingName }}</span>
</template>
<template v-else-if="itm.attType == 5">
<img src="@/assets/guestCustom/icon-applet.png" alt />
<span>{{ itm.attContent.title }}</span>
<span :title="itm.attContent.title">{{ itm.attContent.title }}</span>
</template>
<i class="el-icon-circle-close" @click="close(index)"></i>
<i class="el-icon-circle-close" style="cursor: pointer;" @click="close(index)"></i>
</div>
</div>
<div class="btn-group">
......@@ -60,7 +61,7 @@
style="opacity: 0"
:id="item.name + 'file'"
ref="file"
class="welcome-input"
class="welcome-input upload-img"
:accept="item.accept || 'image/png, image/jpeg, image/jpg'"
@change="e => handleImgChange(e, item)"
/>
......@@ -109,6 +110,7 @@ export default {
props: { eventBus: Object },
data() {
return {
loading: false,
btnList: [
// {
// id: 1,
......@@ -175,7 +177,13 @@ export default {
this.$message.error('上传图片大小不能超过' + limitSize + 'MB!')
return true
}
this.loading = true
reader.readAsDataURL(file)
this.previewList.push({
attType: ATT_TYPE.IMAGE,
attContent: ''
})
reader.onload = e => {
var image = new Image()
image.src = e.target.result
......@@ -185,12 +193,14 @@ export default {
const base64 = file.name.split('.')[1] + '@' + imgFile.split(',')[1]
this.$apis.common.pictureUpload({ file: base64 }).then(res => {
if (res) {
console.log(res)
this.previewList.push({
attType: ATT_TYPE.IMAGE,
attContent: res
})
let len = this.previewList.length - 1
this.previewList[len].attContent = res
document.querySelector('.upload-img').value = ''
} else {
let len = this.previewList.length - 1
this.previewList.splice(len, 1)
}
this.loading = false
})
}
}
......@@ -217,6 +227,7 @@ export default {
attType: ATT_TYPE.VEDIO,
attContent: res
})
document.querySelector('.upload-img').value = ''
}
})
}
......@@ -315,82 +326,90 @@ export default {
<style lang="scss" scoped>
.welcome-box {
}
.content-bg {
background-color: #f7f7f7;
}
.content {
display: inline-block;
vertical-align: text-top;
width: calc(100% - 103px);
margin-left: 12px;
.welcome-file {
display: flex;
align-items: center;
color: #999;
line-height: 20px;
padding: 10px;
margin-bottom: 10px;
border-left: 1px solid #dcdfe6;
border-right: 1px solid #dcdfe6;
img {
width: 20px;
height: 20px;
margin-right: 5px;
}
span {
display: inline-block;
margin-right: 20px;
max-width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 14px;
}
i {
font-size: 16px;
}
&:last-child {
margin-bottom: 0;
}
}
.btn-group {
padding: 6px 0 6px 20px;
border: 1px solid #dcdfe6;
border-top: 0;
.add-btn {
display: inline-flex;
position: relative;
.content {
display: inline-block;
vertical-align: text-top;
width: calc(100% - 103px);
margin-left: 12px;
.welcome-file {
display: flex;
align-items: center;
padding-right: 25px;
font-size: 16px;
color: #666;
cursor: pointer;
color: #999;
line-height: 20px;
padding: 10px;
margin-bottom: 10px;
border-left: 1px solid #dcdfe6;
border-right: 1px solid #dcdfe6;
img {
width: 20px;
height: 20px;
margin-right: 5px;
}
span {
display: inline-block;
margin-right: 20px;
max-width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 14px;
margin-left: 5px;
}
input {
position: absolute;
width: 100%;
cursor: pointer;
i {
font-size: 16px;
}
img {
width: 16px;
height: 16px;
.el-icon-loading {
font-size: 24px;
}
.el-link {
position: absolute;
width: 100%;
&:last-child {
margin-bottom: 0;
}
}
}
.date-picker {
margin-top: 10px;
font-size: 14px;
color: #999;
.btn-group {
padding: 6px 0 6px 20px;
border: 1px solid #dcdfe6;
border-top: 0;
.add-btn {
display: inline-flex;
position: relative;
align-items: center;
padding-right: 25px;
font-size: 16px;
color: #666;
cursor: pointer;
span {
font-size: 14px;
margin-left: 5px;
}
input {
position: absolute;
width: 100%;
cursor: pointer;
font-size: 0;
height: 40px;
}
img {
width: 16px;
height: 16px;
cursor: pointer;
}
.el-link {
position: absolute;
width: 100%;
}
}
}
.date-picker {
margin-top: 10px;
font-size: 14px;
color: #999;
}
}
}
.content-bg {
background-color: #f7f7f7;
}
.required {
display: inline-block;
line-height: 40px;
......
......@@ -111,11 +111,11 @@ export default {
},
{
label: '群主所在部门',
prop: 'zoneName'
prop: 'departmentName'
},
{
label: '群客户人数',
prop: 'departmentName'
prop: 'customerCount'
},
{
label: '消息送达状态',
......@@ -163,7 +163,7 @@ export default {
},
remind(data) {
this.$apis.customerTransform
.listRemindOperate({
.remindUserGroup({
id: data.id,
type: 2
})
......
......@@ -30,13 +30,14 @@
{{ item.staffName }}
<span
:class="[item.status == 0 ? 'unsend' : 'send']"
>{{ item.status == 0 ? '未' : '已' }}发送</span>
>{{ item.status == 0 ? '未发送' : item.status == 1 ? '已发送' : '发送失败' }}</span>
</div>
<div class="info-num">共{{ item.customerCount ? item.customerCount : 0 }}个客户</div>
</div>
<div class="info-right">
<div v-if="item.remindStatus == 1">已提醒</div>
<div v-if="item.status != 0 || item.remindStatus == 1">已提醒</div>
<el-button
v-if="item.status == 0"
:disabled="item.remindStatus == 1"
size="mini"
type="primary"
......@@ -59,9 +60,9 @@
@select="handleCustomSelect"
>
<el-menu-item index>全部</el-menu-item>
<el-menu-item index="1">已发送客户</el-menu-item>
<el-menu-item index="0">未发送客户</el-menu-item>
<el-menu-item index="2">客户接受失败</el-menu-item>
<el-menu-item index="1">已送达客户</el-menu-item>
<el-menu-item index="0">未送达客户</el-menu-item>
<el-menu-item index="2">客户送达失败</el-menu-item>
</el-menu>
<div class="detail-total">共 {{ customerlist.length || 0 }} 人</div>
<div v-if="customerlist.length != 0" class="info-list">
......@@ -78,7 +79,7 @@
<div
class="customer-table"
:class="[item.status == 0 ? 'unsend' : 'send']"
>{{ item.status == 0 ? '未' : '已' }}送达</div>
>{{ item.status == 0 ? '未送达' : item.status == 1 ? '已送达' : '送达失败' }}</div>
</div>
</div>
<div class="info-right">
......@@ -144,7 +145,7 @@ export default {
remind(data, index) {
if (!data.remindStatus) {
this.$apis.customerTransform
.listRemindOperate({
.remindUserGroup({
id: data.id,
type: 1
})
......@@ -164,14 +165,14 @@ export default {
this.basicInfo = res
})
},
getStaffList(status = 0) {
getStaffList(status = null) {
const id = this.$route.params.id
this.$apis.customerTransform.staffList({ id, status }).then(res => {
console.log(res)
this.employeelist = res ? res : []
})
},
getCustomerList(status = 0) {
getCustomerList(status = null) {
const id = this.$route.params.id
this.$apis.customerTransform.customerDetailList({ id, status }).then(res => {
console.log(res)
......@@ -318,4 +319,15 @@ export default {
box-sizing: border-box;
padding: 40px 0;
}
::-webkit-scrollbar {
/*滚动条整体样式*/
width: 6px;
height: 4px;
}
::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 4px;
background-color: rgba(144, 147, 153, 0.3);
}
</style>
......@@ -35,7 +35,7 @@
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<el-button
type="text"
:disabled="scope.scope.isRemind == 1"
:disabled="scope.scope.unsendUserNum == 0 || (scope.scope.unsendUserNum != 0 && scope.scope.isRemind == 1)"
@click="btnClick('remind', 1, scope.scope)"
>提醒发送</el-button>
<el-button type="text" @click="btnClick('detail', 1, scope.scope)">详情</el-button>
......@@ -66,7 +66,7 @@
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<el-button
type="text"
:disabled="scope.scope.isRemind == 1"
:disabled="scope.scope.unsendUserNum == 0 || (scope.scope.unsendUserNum != 0 && scope.scope.isRemind == 1)"
@click="btnClick('remind', 2, scope.scope)"
>提醒发送</el-button>
<el-button type="text" @click="btnClick('detail', 2, scope.scope)">详情</el-button>
......@@ -249,7 +249,7 @@ export default {
type
}
// if (type == 1) {
this.$apis.customerTransform.remindUserGroup(params).then(res => {
this.$apis.customerTransform.listRemindOperate(params).then(res => {
console.log(res)
this.$message({
type: 'success',
......
......@@ -67,12 +67,14 @@ export default {
},
watch: {
list(val) {
const yData = val.map(i => i.packageName)
const data = val.map(i => i.totalSales)
this.option.yAxis.data = yData
this.option.series[0].data = data
console.log(this.option)
this.option && this.myChart.setOption(this.option)
if (val) {
const yData = val.map(i => i.packageName)
const data = val.map(i => i.totalSales)
this.option.yAxis.data = yData
this.option.series[0].data = data
console.log(this.option)
this.option && this.myChart.setOption(this.option)
}
}
},
methods: {
......
......@@ -19,6 +19,7 @@
<div class="marketing-content">{{item.content}}</div>
<div class="marketing-btn">
<el-button
style="width: 118px;"
:disabled="!$globalState.routers.find(i => i.compath == item.path)"
type="primary"
size="small"
......@@ -74,7 +75,7 @@
</div>
<div class="data-item">
<span class="data-title w-90">
核销率
核销总数
<el-popover
placement="top-start"
title="核销总数"
......@@ -91,7 +92,7 @@
</span>
</div>
<div class="data-last">
<span class="data-name">核销总数</span>
<span class="data-name">核销率</span>
<span class="data-percentage">{{coupon.verificationRate}}</span>
</div>
</div>
......@@ -321,7 +322,7 @@ export default {
title: '商品销售',
content: '管理上下架门店自有的商品,可配置带货商品活动商品销售分润。',
linkName: '上架商品',
path: '/homeSet/index'
path: '/productGroup/index'
}
],
date: [],
......
......@@ -65,12 +65,12 @@
</el-form-item>
</el-row>
<el-row>
<el-form-item size="small" label="会员类型" >
<el-form-item size="small" label="会员类型">
<el-select size="small" v-model="searchForm.memberType" placeholder="请选择">
<el-option v-for="item in memberTypeLists" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue"></el-option>
</el-select>
</el-form-item>
<el-form-item size="small" label="开通日期" style="margin-left:-10px">
<el-form-item size="small" label="开通日期" style="margin-left: -10px">
<el-date-picker :size="size" v-model="searchForm.daterange" type="daterange" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions || {}"></el-date-picker>
</el-form-item>
......@@ -80,7 +80,7 @@
</el-form-item>
</el-row>
</el-form>
<GLTable ref="memberCenterRef" v-if="isReload" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<GLTable ref="memberCenterRef" v-if="isReload" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<span slot="accountName" slot-scope="scope">
<div>{{ scope.scope.accountName }}</div>
<div>{{ scope.scope.mobile }}</div>
......@@ -89,26 +89,26 @@
</div>
<glsx-dialog title="权益详情" width="712px" :noBtnOk="true" :noCancel="true" :noClose="false" btnCancelLabel="关闭" btnSize="small" :isVisible="isDialogVisible" :showClose="false" @closeDialog="handleClose" @confirmDialog="handleClose">
<!-- <el-scrollbar> -->
<div class="modal-body">
<div class="equity-name">汽车权益</div>
<div class="equity-panel">
<div class="equity-item" v-for="(item, index) in merchantData.carServiceList" :key="index">
<div class="equity-item-icon"><img :src="item.equityIcon" /></div>
<div class="equity-item-name">{{ item.equityName }}</div>
<div class="equity-item-desc">{{ item.equityDesc }}</div>
</div>
<div class="modal-body">
<div class="equity-name">汽车权益</div>
<div class="equity-panel">
<div class="equity-item" v-for="(item, index) in merchantData.carServiceList" :key="index">
<div class="equity-item-icon"><img :src="item.equityIcon" /></div>
<div class="equity-item-name">{{ item.equityName }}</div>
<div class="equity-item-desc">{{ item.equityDesc }}</div>
</div>
<div v-for="(item, index) in merchantData.goodsServiceList" :key="index">
<div class="equity-name">{{ item.goodsCategory }}</div>
<div class="equity-panel">
<div class="equity-item" v-for="(v, xindex) in item.equityGoodsGroupDescDtos" :key="xindex">
<div class="equity-item-icon"><img :src="v.equityIcon" /></div>
<div class="equity-item-name">{{ v.equityName }}</div>
<div class="equity-item-desc">{{ v.equityDesc }}</div>
</div>
</div>
<div v-for="(item, index) in merchantData.goodsServiceList" :key="index">
<div class="equity-name">{{ item.goodsCategory }}</div>
<div class="equity-panel">
<div class="equity-item" v-for="(v, xindex) in item.equityGoodsGroupDescDtos" :key="xindex">
<div class="equity-item-icon"><img :src="v.equityIcon" /></div>
<div class="equity-item-name">{{ v.equityName }}</div>
<div class="equity-item-desc">{{ v.equityDesc }}</div>
</div>
</div>
</div>
</div>
<!-- </el-scrollbar> -->
</glsx-dialog>
</div>
......@@ -140,7 +140,7 @@ export default {
// }, 1000)
}
return {
isReload:true,
isReload: true,
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
......@@ -152,10 +152,10 @@ export default {
userInfo: '',
status: '',
merchantName: '',
memberType:''
memberType: ''
},
searchFormTable: {},
memberTypeLists:[
memberTypeLists: [
{
dictValue: '',
dictLabel: '全部'
......@@ -240,7 +240,7 @@ export default {
price: '',
marketPrice: '',
linkUrl: '',
tryAble:''
tryAble: ''
},
copyRuleForm: {},
rules: {
......@@ -263,7 +263,7 @@ export default {
created() {
if (window.__POWERED_BY_QIANKUN__) {
//运行在qiankun容器中
this.merchantId = this.$globalState.session.merchantId
this.merchantId = this.$globalState.session.merchantId
}
this.getCardContentFun()
},
......@@ -301,13 +301,15 @@ export default {
},
getCardContentFun() {
getCardContent({ merchantId: this.merchantId }).then(res => {
this.ruleForm.equityId = res[0].id
if(!(res && res.length)){
return
}
this.ruleForm.equityId = res[0].id
this.ruleForm.cardName = res[0].cardClassName
this.ruleForm.price = res[0].price
this.ruleForm.marketPrice = res[0].marketPrice
this.ruleForm.linkUrl = res[0].url
this.ruleForm.tryAble=res[0].tryAble
this.ruleForm.tryAble = res[0].tryAble
})
},
openEditWrap() {
......@@ -330,7 +332,7 @@ export default {
params.cardClassName = this.ruleForm.cardName
params.price = this.ruleForm.price
params.marketPrice = this.ruleForm.marketPrice
params.tryAble=this.ruleForm.tryAble
params.tryAble = this.ruleForm.tryAble
updateCardContent(params).then(res => {
if (!res) {
return
......@@ -420,7 +422,7 @@ export default {
.seeEquity {
position: absolute;
right: 0;
bottom: 10px;
bottom: 14px;
}
.cancelBtn {
position: absolute;
......@@ -458,7 +460,8 @@ export default {
}
.address {
display: inline-block;
max-width: 600px;
vertical-align: bottom;
max-width: calc(100% - 220px);
color: #989898;
}
}
......
......@@ -241,6 +241,7 @@ export default {
display: flex;
height: 34px;
.choseItem {
cursor: pointer;
width: 120px;
height: 34px;
line-height: 34px;
......
......@@ -171,7 +171,7 @@ export default {
this.$nextTick(()=>{
this.isReload=true
})
},
handleSearch() {
this.$refs.memberServiceRef.refreshTable()
......@@ -186,7 +186,10 @@ export default {
//创建服务
handleCreate() {
this.$router.push({
path: '/memberCenter/serviceAddUpdateLook'
path: '/memberCenter/serviceAddUpdateLook',
query:{
$title:encodeURI('创建服务')
}
})
},
//失效
......@@ -227,7 +230,8 @@ export default {
path: '/memberCenter/serviceAddUpdateLook',
query: {
couponId: row.id,
title: '编辑'
title: '编辑',
$title:encodeURI('编辑服务')
}
})
},
......@@ -236,7 +240,8 @@ export default {
path: '/memberCenter/serviceAddUpdateLook',
query: {
couponId: row.id,
title: '查看'
title: '查看',
$title:encodeURI('查看服务')
}
})
},
......
......@@ -120,7 +120,7 @@ export default {
this.getLoginCountFun()
},
methods: {
getLoginCountFun() {
getLoginCountFun() {
//loginType:5是查会员套餐浏览次数
getLoginCount({ loginType: 5 }).then(res => {
//获取是否第一次点击该页面
......@@ -130,11 +130,11 @@ export default {
closePanel() {
this.isFirstShow = false
},
handleReset() {
handleReset() {
this.searchForm = {
merchantId: 44184606
}
this.handleSearch()
this.handleSearch()
},
handleSearch() {
this.$refs.memberSetMealRef.refreshTable()
......@@ -148,7 +148,9 @@ export default {
//创建套餐
handleCreate() {
this.$router.push('/memberCenter/setmealAddUpdate')
this.$router.push({path:'/memberCenter/setmealAddUpdate',query:{
$title:encodeURI('创建套餐')
}})
},
handleClose() {
this.isDialogVisible = !this.isDialogVisible
......@@ -192,7 +194,7 @@ export default {
})
},
handleEdit(row) {
this.$router.push({ path: '/memberCenter/setmealAddUpdate', query: { id: row.id } })
this.$router.push({ path: '/memberCenter/setmealAddUpdate', query: { id: row.id,$title:encodeURI('编辑套餐') } })
},
// 查看示例效果
handleLook(row) {},
......
......@@ -5,7 +5,7 @@
<p class="edit-title">{{ title }}</p>
<div class="comment-container">
<div class="flex">
<img class="img-100" :src="commentInfo.customerImg" />
<img class="img-100" :src="commentInfo.goodsImage" />
<span class="good-name">{{commentInfo.goodsName}}</span>
</div>
<div class="flex m-t-24">
......
......@@ -245,15 +245,15 @@ export default {
// 订单核销
isWriteOffVisible: false,
writeOffForm: {
writeOffCode: ''
verificationCode: ''
},
writeOffRules: {
writeOffCode: [{ required: true, message: '核销码是必填项', trigger: 'change' }]
verificationCode: [{ required: true, message: '核销码是必填项', trigger: 'change' }]
},
writeOffFormData: [
{
label: '核销码',
name: 'writeOffCode',
name: 'verificationCode',
type: 'input',
maxlength: 32
}
......@@ -505,7 +505,7 @@ export default {
this.isWriteOffVisible = !this.isWriteOffVisible
this.orderCode = ''
this.writeOffForm = {
writeOffCode: ''
verificationCode: ''
}
},
......
......@@ -187,6 +187,7 @@ export default {
merchantAccountLevel: item.merchantAccountLevel
})
})
console.log(params)
this.$apis.zoneList.insertZoneApi(params).then(res => {
this.$message({
message: res.code == '0' ? '操作成功' : '操作失败',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!