cz 1 yıl önce
ebeveyn
işleme
14b069882e
1 değiştirilmiş dosya ile 23 ekleme ve 3 silme
  1. 23 3
      src/components/process/SendFunds.vue

+ 23 - 3
src/components/process/SendFunds.vue

@@ -1029,6 +1029,15 @@
       v-model="openSelect"
       width="800"
     >
+      <div style="margin-bottom: 10px; float: right">
+        <el-input
+          v-model="bankKeyword"
+          placeholder="请输入关键字"
+          style="width: 200px; margin-right: 10px"
+          @keyup.enter="handleQueryBank"
+        />
+        <el-button type="primary" @click="handleQueryBank">搜索 </el-button>
+      </div>
       <el-table :data="bankList" style="width: 100%">
         <el-table-column prop="name" label="户名" />
         <el-table-column prop="accountOpening" label="银行账号" />
@@ -1356,10 +1365,21 @@ const getDictData = () => {
         });
       }
     });
-  proxy.get("/accountRequestFunds/getPayHistoricalInfo", {}).then((res) => {
-    bankList.value = res.data;
-  });
 };
+const bankKeyword = ref("");
+const getBankList = () => {
+  proxy
+    .post("/accountRequestFunds/getPayHistoricalInfo", {
+      keyword: bankKeyword.value,
+    })
+    .then((res) => {
+      bankList.value = res;
+    });
+};
+const handleQueryBank = () => {
+  getBankList();
+};
+getBankList();
 getDictData();
 const recursive = (data) => {
   data.map((item) => {