Browse Source

采购订单搜索订单编号无法输入

002390 1 year ago
parent
commit
ead53afb83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/purchase/purchase-order/index.vue

+ 1 - 1
src/views/purchase/purchase-order/index.vue

@@ -63,7 +63,7 @@ export default {
     },
   },
   created() {
-    this.params.orderCode = this.$route.query.billCode
+    if(this.$route.query.billCode) this.params.orderCode = this.$route.query.billCode 
     this.fetchList(this.params, this.page);
     // this.handleRefreshList();
   },