소스 검색

bug修复

chenrui 3 년 전
부모
커밋
886741ef3f
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/views/common/chooseProductsModal.vue

+ 3 - 0
src/views/common/chooseProductsModal.vue

@@ -312,6 +312,9 @@ export default {
       if (this.type == 'supplier') { //  供应商增加产品
         url = productPricingList //  获取定价产品
       }
+      if (this.type != 'supplier' && this.type != 'dealership') { //  促销
+        params.state = 'ONLINE'
+      }
       url(Object.assign(params, this.queryParam)).then(res => {
         this.loading = false
         if (res.status == 200) {