From 4cb4e41df7c2cc7954e09ef3751ecb24de7c06d2 Mon Sep 17 00:00:00 2001
From: hdy <1105738590@qq.com>
Date: 星期五, 14 三月 2025 13:28:25 +0800
Subject: [PATCH] 修改

---
 billion-ui/src/views/main/bs/routeInfo/index.vue |   23 +++--------------------
 1 files changed, 3 insertions(+), 20 deletions(-)

diff --git a/billion-ui/src/views/main/bs/routeInfo/index.vue b/billion-ui/src/views/main/bs/routeInfo/index.vue
index 99a64f4..d8610f1 100644
--- a/billion-ui/src/views/main/bs/routeInfo/index.vue
+++ b/billion-ui/src/views/main/bs/routeInfo/index.vue
@@ -193,7 +193,6 @@
     <!-- 浜у搧閫夋嫨鍣ㄧ粍浠� -->
     <ProductSelector
       :visible="dialogTableVisible"
-      :gridData="gridData"
       @select-product="handleSelectProduct"
       @update:visible="dialogTableVisible = $event"
     />
@@ -212,23 +211,6 @@
   data() {
     return {
       multipleSelection: [],
-      gridData: [{
-        date: '2016-05-02',
-        name: '鐜嬩竴铏�',
-        address: '涓婃捣甯傛櫘闄�鍖洪噾娌欐睙璺� 1518 寮�'
-      }, {
-        date: '2016-05-04',
-        name: '鐜嬩簩铏�',
-        address: '涓婃捣甯傛櫘闄�鍖洪噾娌欐睙璺� 1518 寮�'
-      }, {
-        date: '2016-05-01',
-        name: '鐜嬩笁铏�',
-        address: '涓婃捣甯傛櫘闄�鍖洪噾娌欐睙璺� 1518 寮�'
-      }, {
-        date: '2016-05-03',
-        name: '鐜嬪洓铏�',
-        address: '涓婃捣甯傛櫘闄�鍖洪噾娌欐睙璺� 1518 寮�'
-      }],
       dialogTableVisible: false,
       advancedSearchVisible: false,
       // 閬僵灞�
@@ -281,8 +263,9 @@
   },
   methods: {
     handleSelectProduct(selectedProduct) {
-      this.form.productCode = selectedProduct.date;  // 鍋囪浣犻渶瑕佺殑鏄棩鏈熷瓧娈�
-      this.form.productName = selectedProduct.name;  // 鍋囪浣犻渶瑕佺殑鏄鍚嶅瓧娈�
+      console.log(selectedProduct)
+      this.form.productCode = selectedProduct.materialCode;  // 鍋囪浣犻渶瑕佺殑鏄棩鏈熷瓧娈�
+      this.form.productName = selectedProduct.materialName;  // 鍋囪浣犻渶瑕佺殑鏄鍚嶅瓧娈�
     },
     toggleAdvancedSearch() {
       this.advancedSearchVisible = !this.advancedSearchVisible;

--
Gitblit v1.9.3