lilei 1 year ago
parent
commit
f181c61334

+ 1 - 1
src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

@@ -164,7 +164,7 @@
               <div>
                 {_this.toThousands(data)}
                 {record.promotionFlag == 'GIFT' || record.promotionFlag == 'DISCOUNT' ? (
-                  <span style="color:#f5222d;" title="原价">({ _this.toThousands(record.origPrice)})</span>
+                  <span title="原价">({ _this.toThousands(record.origPrice)})</span>
                 ):''}
               </div>
             )

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

@@ -256,7 +256,7 @@ export default {
       }
     },
     pageHeight(){
-      return window.innerHeight - 320
+      return window.innerHeight - 330
     }
   },
   methods: {
@@ -278,7 +278,7 @@ export default {
     },
     // 查询数据
     searchTable(){
-      this.$refs.productList.pageInit()
+      this.$refs.productList.searchTable()
     },
     //  详情
     getDetail () {
@@ -286,7 +286,7 @@ export default {
         if (res.status == 200) {
           this.detailData = res.data || null
         }
-        this.resetSearchForm()
+        this.$refs.productList.pageInit()
       })
     },
     // 打开缺货明细