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 @@
-
+
v.value);formData.buyerType=buyerType.value[1]"/>
@@ -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 @@
+
+
+
+
+
+ {{v.buyerName}}
+
+
+
+
+
+
\ 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