lilei 1 년 전
부모
커밋
d46b344c45
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      src/views/salesManagement/waitDispatchNew/queryPart.vue

+ 2 - 3
src/views/salesManagement/waitDispatchNew/queryPart.vue

@@ -37,7 +37,7 @@
           </a-col>
           <a-col :md="4" :sm="24">
             <a-form-item label="下推类型">
-              <a-select allowClear v-model.trim="queryParam.pushProductType" :dropdownMatchSelectWidth="false" >
+              <a-select allowClear v-model.trim="queryParam.pushProductType" :dropdownMatchSelectWidth="false" placeholder="请选择下推类型">
                 <a-select-option value="">
                   全部产品
                 </a-select-option>
@@ -204,8 +204,7 @@ export default {
       return this.detailData&&this.detailData.promoFlag==1
     },
     hasNoPushedActive(){
-      const a = this.dataSource.filter(item => item.pushedQty>0)
-      return this.dataSource.length==0 ? false : !(a.length > 0)
+      return this.detailData&&this.detailData.totalPushedQty==0||!this.detailData.totalPushedQty
     },
     checkboxOption () {
       return {