Commit d066b412 by zhangxw

Merge branch 'dev_v4.25.1' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into zhangxw_dev_v4.25.1
2 parents a2f84f5b ef1a0f24
...@@ -458,14 +458,16 @@ export const sceneCodeList = [ ...@@ -458,14 +458,16 @@ export const sceneCodeList = [
{ confId: 1, confValue: "精品升级" }, { confId: 1, confValue: "精品升级" },
{ confId: 2, confValue: "次新车转化" }, { confId: 2, confValue: "次新车转化" },
{ confId: 3, confValue: "售后众筹" }, { confId: 3, confValue: "售后众筹" },
{ confId: 0, confValue: "会员权益/升级" } { confId: 0, confValue: "会员权益/升级" },
{ confId: 4, confValue: "积分商城" }
] ]
// 所属场景 // 所属场景
export const sceneList = { export const sceneList = {
1: "精品升级", 1: "精品升级",
2: "次新车转化", 2: "次新车转化",
3: "售后众筹", 3: "售后众筹",
0: "会员权益/升级" 0: "会员权益/升级",
4: "积分商城"
} }
// 导流方下拉选项对应 // 导流方下拉选项对应
......
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
return new Promise(async (resolve) => { return new Promise(async (resolve) => {
try { try {
// debugger // debugger
console.log(state, dispatch) // console.log(state, dispatch)
// 设置数据 // 设置数据
dispatch( dispatch(
"d2admin/db/set", "d2admin/db/set",
......
...@@ -650,10 +650,10 @@ export default { ...@@ -650,10 +650,10 @@ export default {
// } // }
}, },
goodsTypeGroupDivisionId() { goodsTypeGroupDivisionId() {
console.log( // console.log(
this.tabItem.groupDivisionRuleId, // this.tabItem.groupDivisionRuleId,
"this.tabItem.groupDivisionRuleId" // "this.tabItem.groupDivisionRuleId"
) // )
const id = const id =
this.tabItem.testFlag != "Y" ? this.tabItem.groupDivisionRuleId : false this.tabItem.testFlag != "Y" ? this.tabItem.groupDivisionRuleId : false
return id || false return id || false
...@@ -826,10 +826,10 @@ export default { ...@@ -826,10 +826,10 @@ export default {
// ...mapMutations('FinancialRules', ['toggle', 'set']), // ...mapMutations('FinancialRules', ['toggle', 'set']),
resetGoodsTypeGroupDivisionId() { resetGoodsTypeGroupDivisionId() {
// goodsTypeGroupDivisionId() { // goodsTypeGroupDivisionId() {
console.log( // console.log(
this.tabItem.groupDivisionRuleId, // this.tabItem.groupDivisionRuleId,
"this.tabItem.groupDivisionRuleId" // "this.tabItem.groupDivisionRuleId"
) // )
// const id = this.tabItem.testFlag != 'Y' ? this.tabItem.groupDivisionRuleId : false // const id = this.tabItem.testFlag != 'Y' ? this.tabItem.groupDivisionRuleId : false
// this.goodsTypeGroupDivisionId = id || false // this.goodsTypeGroupDivisionId = id || false
// } // }
......
...@@ -210,6 +210,8 @@ export default { ...@@ -210,6 +210,8 @@ export default {
const length1 = this.goodsTypeGroupRelations.length const length1 = this.goodsTypeGroupRelations.length
const length2 = this.editableTabs.length - 1 const length2 = this.editableTabs.length - 1
const length3 = this.goodsSelectList.length const length3 = this.goodsSelectList.length
console.log(length1, length2, length3, 'addVisible')
console.log((length1 - length3) > 0 && length1 > length2, 'addVisible')
return (length1 - length3) > 0 && length1 > length2 return (length1 - length3) > 0 && length1 > length2
}, },
// //
...@@ -291,8 +293,9 @@ export default { ...@@ -291,8 +293,9 @@ export default {
this.settleTimeObj[settleTimeType == 1 ? 'first' : 'second'] = settleTime this.settleTimeObj[settleTimeType == 1 ? 'first' : 'second'] = settleTime
}, },
getGoodsCategoryConfiguration() { getGoodsCategoryConfiguration() {
const { scene: sceneType } = this.routerInfo // const { scene: sceneType } = this.routerInfo
getGoodsCategoryConfiguration({ sceneType }).then((result) => { // sceneType
getGoodsCategoryConfiguration({}).then((result) => {
const { list } = result const { list } = result
if (list.length) { if (list.length) {
this.productType = list.map(({ categoryType, categoryName }) => { this.productType = list.map(({ categoryType, categoryName }) => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!