Commit de93ab8e by cwq0219

bug修复

1 parent ad269dc2
......@@ -375,14 +375,12 @@ export default {
mounted() {
this.formData = _.cloneDeep(this.originData)
this.getGoodsListNoBase()
this.getGoodsList()
},
methods: {
getGoodsListNoBase() {
getGoodsList({
exceptBase: true
}).then(res => {
getGoodsList() {
getGoodsList({}).then(res => {
this.proList = res
})
},
......
......@@ -152,7 +152,7 @@ export default {
})
} else {
this.editForm[0].formBlock[0].isDisabled = false
this.getGoodsList()
this.getGoodsListNoBase()
this.$nextTick(() => {
this.show = true
})
......@@ -162,8 +162,10 @@ export default {
methods: {
...mapActions({ close: 'd2admin/page/close' }),
// ...mapActions('d2admin/page', ['close']),
getGoodsList() {
getGoodsList({}).then(res => {
getGoodsListNoBase() {
getGoodsList({
exceptBase: true
}).then(res => {
// console.log(res)
this.editForm[0].formBlock[0].optionList = res
})
......
......@@ -60,7 +60,7 @@ export default {
label: '分类',
isRequired: true,
type: 'select',
tips: '选择产品分类',
// tips: '选择产品分类',
isClear: false,
optionList: [],
optionId: 'goodsType',
......@@ -74,7 +74,7 @@ export default {
label: '品牌商',
isRequired: true,
type: 'select',
tips: '选择品牌商',
// tips: '选择品牌商',
isClear: true,
optionList: [],
optionId: 'confId',
......
......@@ -112,7 +112,7 @@ export default {
prop: 'brandMerchantName'
}, {
label: '创建时间',
prop: 'createdDate'
prop: 'createDateStr'
}, {
label: '产品状态',
prop: 'state',
......@@ -131,7 +131,7 @@ export default {
baseData: {
productTypeList: [],
brandList: []
},
}
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!