wangfei 6 anni fa
parent
commit
877fe0f305

+ 1
- 1
src/pages/system/cardAndCouponManager/couponManager/edit.vue Vedi File

@@ -619,7 +619,7 @@ export default {
619 619
           caseid: this.couponInfo.CaseId
620 620
         }).then((res) => {
621 621
           this.courseList = []
622
-          for (var n = 0; n < res.list.length; n++) {
622
+          for (var n = 0; n < (res.list || []).length; n++) {
623 623
             this.courseList.push({ ...res.list[n], BeginDate: this.toolClass.dateFormat(res.list[n].BeginDate), EndDate: this.toolClass.dateFormat(res.list[n].EndDate) })
624 624
           }
625 625
           this.total = res.pagenum

+ 1
- 1
src/pages/system/dataStatistics/goodsOrderList/index.vue Vedi File

@@ -76,7 +76,7 @@
76 76
           </div>
77 77
         </td>
78 78
         <td v-if="index%2 !== 0" colspan="4" class="noborder">
79
-          <span v-for="(subItem,subIndex) in returnListItem(goodsOrderList, index).Details" :key="subIndex">{{subItem.GoodsName}}({{subItem.SpecName}})</span>
79
+          <span v-for="(subItem,subIndex) in returnListItem(goodsOrderList, index).Details" :key="subIndex">{{subItem.GoodsName}}<span v-if="subItem.SpecName">({{subItem.SpecName}})</span></span>
80 80
         </td>
81 81
         <td v-if="index%2 !== 0" colspan="1" class="noborder">
82 82
           <span v-for="(subItem,subIndex) in returnListItem(goodsOrderList, index).Details" :key="subIndex">x{{subItem.Number}}</span>