Commit 2c6d4495 by zhangxw

遗留小问题修改

1 parent 74282da9
......@@ -186,7 +186,7 @@ export default {
name: 'goodsType',
type: 'select',
optionList: [],
optionId: 'id',
optionId: 'categoryType',
optionLabel: 'categoryName',
optionsName: 'productTypeList'
}, {
......@@ -416,7 +416,11 @@ export default {
this.baseData.reviewStatusList.unshift(allOpt)
this.baseData.scenCodeList = deepClone(scenCodeList)
this.baseData.scenCodeList.unshift(allOpt)
this.getBaseData()
// 获取全部类目
getProductTypeBySceneId({ sceneType: '' }).then(res => {
this.baseData.productTypeList = res
this.getBaseData()
})
if (this.userInfo.beSuper) {
// 获取园区店
getParkStore({}).then(res => {
......@@ -698,6 +702,7 @@ export default {
return
}
getProductTypeBySceneId({ sceneType: value }).then(res => {
this.searchForm.goodsType = ''
this.baseData.productTypeList = res
this.getBaseData()
})
......
......@@ -217,6 +217,7 @@ export default {
this.baseData.scenCodeList.unshift(allOpt)
// 获取全部类目
getProductTypeBySceneId({ sceneType: '' }).then(res => {
this.searchForm.goodsType = ''
this.baseData.productTypeList = res
this.getBaseData()
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!