diff --git a/pages/ftdlDTY/man-yiku.vue b/pages/ftdlDTY/man-yiku.vue
index 64ff00b..21705f4 100644
--- a/pages/ftdlDTY/man-yiku.vue
+++ b/pages/ftdlDTY/man-yiku.vue
@@ -12,6 +12,7 @@
@@ -32,7 +33,8 @@
-
+
+
@@ -41,7 +43,7 @@
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import { confirmAction } from '@/utils/utils.js'
- import {materialTransfer} from '@/utils/getData4.js'
+ import {getMaterialInfoByPoint, materialTransfer} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -52,6 +54,7 @@
title: '',
val1: '',
val2: '',
+ dataList: [],
disabled: false
};
},
@@ -61,6 +64,31 @@
created () {
},
methods: {
+ handleChange (e) {
+ if (e) {
+ this.searchList()
+ }
+ },
+ searchList () {
+ this.dataList = []
+ this._getMaterialInfoByPoint()
+ },
+ async _getMaterialInfoByPoint () {
+ let res = await getMaterialInfoByPoint(this.val1)
+ this.dataList = res.data
+ // this.totalCount = res.totalElements
+ // if (res.totalElements > 0) {
+ // const dataMap = res.data
+ // this.dataList = this.reload ? dataMap : this.dataList.concat(dataMap)
+ // this.reload = false
+ // } else {
+ // this.dataList = []
+ // }
+ // if (this.totalCount == this.dataList.length) {
+ // this.reload = false
+ // this.status = 'noMore'
+ // }
+ },
clearUp () {
this.val1 = ''
this.val2 = ''