En route 1 năm trước cách đây
mục cha
commit
cb2d33b009

+ 4 - 1
src/views/Marketing/goods/commodityManageMent/edit/index.vue

@@ -861,7 +861,10 @@ export default {
             );
           }
         }
-
+        //补考/前培商品是否关联商品为空处理
+        if((res.data.goodsType == 3 || res.data.goodsType == 4) && !Array.isArray(res.data.makeGoodsVoList)){
+          res.data.makeGoodsVoList = []
+        }
         //商品关联题库转数值
         if (res.data.questionRelIds) {
           res.data.questionRelIds = res.data.questionRelIds