Commit 9d49c9ac by 杨明

fixed

1 parent 459cccd2
......@@ -391,7 +391,7 @@ export default {
selectGiftDialog
},
data() {
var validatorPhone = function (rule, value, callback) {
var validatorPhone = function(rule, value, callback) {
if (value && !/^(0|86|17951)?(13[0-9]|15[0123456789]|17[678]|18[0-9]|14[57])[0-9]{8}$/.test(value)) {
callback(new Error('手机号格式错误'))
} else {
......@@ -467,6 +467,8 @@ export default {
limitPurchaseFlag: 1,
limitPurchaseNumber: '',
subscribe: 1,
festivalType: 0,
// 活动配置
customerServiceFlag: 3,
customerServiceName: '',
......@@ -678,6 +680,23 @@ export default {
optionLabel: 'optionLabel'
},
{
label: '节日关怀',
name: 'festivalType',
type: 'radio',
optionList: [
{
optionId: 1,
optionLabel: '是'
},
{
optionId: 0,
optionLabel: '否'
}
],
optionId: 'optionId',
optionLabel: 'optionLabel'
},
{
label: '链接名称',
name: 'activityName',
type: 'input',
......@@ -1188,7 +1207,7 @@ export default {
// this.$refs.configEditFormRef.$refs.activityDetailTextBox[0].forbidEdit()
this.isDisabled = this.routeInfo.addOrEdit == 'edit'
detailDisableList.forEach(attr => {
this.changeFormAttr(attr, 'isDisabled', ['业务类型', '所属订阅'], true)
this.changeFormAttr(attr, 'isDisabled', ['业务类型', '所属订阅', '节日关怀'], true)
})
// this.changeFormAttr('configEditFormData', 'isDisabled', ['定金收款账户'], true)
}
......@@ -1866,7 +1885,7 @@ export default {
// delete param.activityPrice
// delete param.goodsStock
param.specificationDetailList = []
this.nameToValSpecsList.forEach(function (item) {
this.nameToValSpecsList.forEach(function(item) {
var obj = {
// retailPrice: (item.activityPrice * 100).toFixed(0), //存的分,需乘100
crowdFundingPrice: (item.crowdFundingPrice * 100).toFixed(0), //存的分,需乘100
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!