From a9e47ce1a739e870128f18e86d15d265da690565 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Mon, 20 Feb 2023 15:14:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A4=E6=98=93=E4=BF=A1=E6=81=AF=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B9=B0=E6=96=B9=E5=90=8D=E7=A7=B0=E6=90=9C?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/add_transaction.vue | 11 +++- pages/massif/search.vue | 91 ++++++++++++++++++++++++++++++++ router/massif.js | 11 ++++ 3 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 pages/massif/search.vue diff --git a/pages/massif/add_transaction.vue b/pages/massif/add_transaction.vue index 4d81803..26a891a 100644 --- a/pages/massif/add_transaction.vue +++ b/pages/massif/add_transaction.vue @@ -60,7 +60,7 @@ - + @@ -171,6 +171,15 @@ export default { } }) }, + searchBuy(){ + uni.navigateTo({ + url:`/pages/massif/search?data=${this.formData.buyerName||''}`, + events:{update:e=>{ + this.formData.buyerName=e.buyerName + this.formData.buyerAddress=e.address + }} + }) + }, } } \ No newline at end of file diff --git a/pages/massif/search.vue b/pages/massif/search.vue new file mode 100644 index 0000000..82eb4c8 --- /dev/null +++ b/pages/massif/search.vue @@ -0,0 +1,91 @@ + + + \ No newline at end of file diff --git a/router/massif.js b/router/massif.js index 7598ed8..95f9657 100644 --- a/router/massif.js +++ b/router/massif.js @@ -112,4 +112,15 @@ module.exports=[ } } }, + { + path:"pages/massif/search", + style:{ + navigationBarTitleText:"查询列表", + navigationBarBackgroundColor:"#10C176", + navigationBarTextStyle:"white", + "app-plus":{ + titleNView:true, + } + } + }, ] \ No newline at end of file