浏览代码

修改bug

chenrui 10 月之前
父节点
当前提交
ca38ad9907
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/promotionRulesManagement/promotionManagement/detailModal.vue

+ 3 - 0
src/views/promotionRulesManagement/promotionManagement/detailModal.vue

@@ -208,6 +208,9 @@ export default {
             this.$nextTick(() => {
               this.getTreeData()
             })
+            if (res.data.promoRule.productRangeList && res.data.promoRule.productRangeList.productRangeList.length > 0) {
+              this.form.promoRule.productRangeList = res.data.promoRule.productRangeList.map(item => { return item.productTypeSn })
+            }
           }
         }
       })