From 2cc6303a230de2fa842f4892932ddcb6ced6625f Mon Sep 17 00:00:00 2001
From: 懒羊羊 <15939171744@163.com>
Date: 星期五, 05 一月 2024 15:03:00 +0800
Subject: [PATCH] 优化

---
 jcdm-ui/src/views/main/om/productionOrde/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/jcdm-ui/src/views/main/om/productionOrde/index.vue b/jcdm-ui/src/views/main/om/productionOrde/index.vue
index 17ac58c..5c5df66 100644
--- a/jcdm-ui/src/views/main/om/productionOrde/index.vue
+++ b/jcdm-ui/src/views/main/om/productionOrde/index.vue
@@ -469,8 +469,10 @@
     // 鍦ㄨ繖閲岀紪鍐欏鐞嗛�変腑浜嬩欢鐨勯�昏緫
     handleSelectChange(selectedOption) {
       this.form.lineCode = null;
-      this.queryParams.workshopCode = selectedOption;
-      listLineInfo(this.queryParams).then(response => {
+      let params = {
+        workshopCode: selectedOption
+      };
+      listLineInfo(params).then(response => {
         this.lineOptions = response.rows;
       });
     },
@@ -509,7 +511,6 @@
     getList() {
       this.loading = true;
       listProductionOrde(this.queryParams).then(response => {
-        console.log(response)
         this.productionOrdeList = response.rows;
         this.total = response.total;
         this.loading = false;

--
Gitblit v1.9.3