chenrui 10 mesiacov pred
rodič
commit
ca38ad9907

+ 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 })
+            }
           }
         }
       })