Browse Source

出运明细参照数据筛选条件增加

jbb 2 years ago
parent
commit
4c09073d91
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/views/shipment-details/referOrderDataModal.vue

+ 2 - 3
src/views/shipment-details/referOrderDataModal.vue

@@ -601,10 +601,9 @@ export default {
     },
 
     searchQuery() {
-
-      if(this.queryParam.flourOrGarment === ''){
+      if(this.queryParam.flourOrGarment === '' || !this.queryParam.hasOwnProperty('flourOrGarment')){
         this.$message.error('请选择查询类型!');
-      }else if(this.queryParam.account === ''){
+      }else if(this.queryParam.account === '' || !this.queryParam.hasOwnProperty('account')){
         this.$message.error('请选择账套号!');
       }else if(this.range.length == 1 || this.range.length == 0){
         this.$message.error('请选择预发货时间区间!');