lilei 6 hónapja
szülő
commit
090bb8b418
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      src/views/salesManagement/salesQueryNew/edit.vue

+ 3 - 3
src/views/salesManagement/salesQueryNew/edit.vue

@@ -67,7 +67,7 @@
           :warehouseSn="warehouseSn"
           :salesBillSn="salesBillSn"
         ></activeStatisticsList>
-        <div style="padding:0 10px 10px;">
+        <div style="padding:10px;">
           <productActiveList
             ref="productActiveList"
             :activeList="activeList"
@@ -333,8 +333,8 @@ export default {
       salesPromoDiscountSort({ salesBillSn: this.$route.params.sn }).then(res => {
         if (res.status == 200) {
           this.discountActiveList = res.data
-          this.showDiscountSortModal = res.data && res.data.length > 0
-          if (res.data && res.data.length == 0) {
+          this.showDiscountSortModal = res.data && res.data.length > 1
+          if (res.data && res.data.length <= 1) {
             this.getOrderDetail(true)
           }
         }