瀏覽代碼

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) {