Commit ef1a0f24 by 张立顺

财务规则去除品类限制

1 parent a0ce1e46
......@@ -136,7 +136,7 @@ export default {
return new Promise(async (resolve) => {
try {
// debugger
console.log(state, dispatch)
// console.log(state, dispatch)
// 设置数据
dispatch(
"d2admin/db/set",
......
......@@ -650,10 +650,10 @@ export default {
// }
},
goodsTypeGroupDivisionId() {
console.log(
this.tabItem.groupDivisionRuleId,
"this.tabItem.groupDivisionRuleId"
)
// console.log(
// this.tabItem.groupDivisionRuleId,
// "this.tabItem.groupDivisionRuleId"
// )
const id =
this.tabItem.testFlag != "Y" ? this.tabItem.groupDivisionRuleId : false
return id || false
......@@ -826,10 +826,10 @@ export default {
// ...mapMutations('FinancialRules', ['toggle', 'set']),
resetGoodsTypeGroupDivisionId() {
// goodsTypeGroupDivisionId() {
console.log(
this.tabItem.groupDivisionRuleId,
"this.tabItem.groupDivisionRuleId"
)
// console.log(
// this.tabItem.groupDivisionRuleId,
// "this.tabItem.groupDivisionRuleId"
// )
// const id = this.tabItem.testFlag != 'Y' ? this.tabItem.groupDivisionRuleId : false
// this.goodsTypeGroupDivisionId = id || false
// }
......
......@@ -210,6 +210,8 @@ export default {
const length1 = this.goodsTypeGroupRelations.length
const length2 = this.editableTabs.length - 1
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
},
//
......@@ -291,8 +293,9 @@ export default {
this.settleTimeObj[settleTimeType == 1 ? 'first' : 'second'] = settleTime
},
getGoodsCategoryConfiguration() {
const { scene: sceneType } = this.routerInfo
getGoodsCategoryConfiguration({ sceneType }).then((result) => {
// const { scene: sceneType } = this.routerInfo
// sceneType
getGoodsCategoryConfiguration({}).then((result) => {
const { list } = result
if (list.length) {
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!