Commit 32fa2cca by chenwq

sop-bug修复

1 parent fc019436
......@@ -100,7 +100,7 @@ export default {
pageSize: 1000,
shopId: this.$globalState.session.merchantId,
labelGroupName: this.labelGroupName,
labelTypesStr: '自店标签,企业标签',
labelTypesStr: '自店标签,企业标签,系统标签',
edition: this.$globalState.session.merchantModel
}
})
......
......@@ -27,9 +27,7 @@ export default {
return {
url: url,
searchForm: {
req: {
crowdType: 2
}
keyword: ''
},
total: 0,
crowdList: [],
......@@ -104,6 +102,7 @@ export default {
},
mounted() {
this.userInfo = this.$globalState.session
let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 0.15 * clientHeight - 425
this.getList()
......@@ -114,6 +113,8 @@ export default {
var params = {
req: {
...this.searchForm,
crowdType: 3,
merchantId: this.userInfo.merchantId,
pageNum: this.$refs.crowdRef ? this.$refs.crowdRef.page.pageNum : 1,
pageSize: this.$refs.crowdRef ? this.$refs.crowdRef.page.pageSize : 10
}
......
......@@ -434,6 +434,12 @@ export default {
},
'editForm.reachesTypeSet'(newValue, oldValue) {
this.editForm.reachesTypeSet = limitPrice(newValue, oldValue, 5, 0, 1, 9999, 'zNumReg')
},
'editForm.object.additionalType'(val) {
var idx = this.editFormDataChannel.findIndex(item => item.name == 'pushChannelType')
this.editFormDataChannel[idx].optionList[0].isDisabled = val == '4'
this.editFormDataChannel[idx].optionList[1].isDisabled = val == '4'
this.editFormDataChannel[idx].optionList[2].isDisabled = [1, 2, 3].includes(val)
}
},
......@@ -566,6 +572,7 @@ export default {
// additionalType 附加对象类型(1素材,2活动,3优惠券,4朋友券模板)
// objectType 对象类型(1朋友圈模板-单图文,2朋友圈模板-多图文,3朋友圈模板-文字+视频,4朋友圈模板-文字,5优惠券-商城券,6活动-权益卡使用,7活动-权益套餐,8活动-秒杀活动,10-素材)
this.editForm.object = JSON.parse(JSON.stringify(val))
this.editForm.pushChannelType = ''
if (val.showTxtContent) {
this.editForm.eventContent = val.showTxtContent
}
......@@ -651,8 +658,8 @@ export default {
pageNum: 1,
tagLists: []
}
this.parentCustomerObj.list.list &&
this.parentCustomerObj.list.list.forEach(item => {
this.parentCustomerObj.list &&
this.parentCustomerObj.list.forEach(item => {
item.labelList.length &&
item.labelList.forEach(subItem => {
params.tagLists.push({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!