diff --git a/src/views/distribution/signdetail/distributionSigndetail.vue b/src/views/distribution/signdetail/distributionSigndetail.vue index 040892a4..bda35142 100644 --- a/src/views/distribution/signdetail/distributionSigndetail.vue +++ b/src/views/distribution/signdetail/distributionSigndetail.vue @@ -1,22 +1,11 @@ @@ -117,7 +77,6 @@ - export default { export default { data() { return { @@ -125,18 +84,6 @@ reverse: true, query:{}, searchType:'', - searchTypeDate:[ - { - value: '1', - label: '配送单号' - }, - { - value: '2', - label: '预约单号' - search:false, - reverse: true, - query:{}, - searchType:'', searchTypeDate:[ { value: '1', @@ -149,8 +96,6 @@ { value: '3', label: '自提单号' - value: '3', - label: '自提单号' }, { value: '4', @@ -161,23 +106,12 @@ }; }, mounted() {}, - computed: {}, - value: '4', - label: '备货单号' - }, - ], - activities: [] - }; - }, - mounted() {}, computed: {}, methods: { searchHide() { this.search = !this.search; }, searchChange() { - if (this.searchType == '' || this.searchType === undefined){ - this.$message.warning("请选择搜索类型"); if (this.searchType == '' || this.searchType === undefined){ this.$message.warning("请选择搜索类型"); return; @@ -199,26 +133,6 @@ console.log("res=>",res); }) }, - searchReset() { - this.query = {}; - this.searchType = ''; - searchNode(this.searchType,this.query.searchCode).then(res=>{ - const data = res.data.data; - let bbb = data.map(item=>{ - return { - content : item.nodeName, - content : item.nodeName, - color: '#0bbd87', - timestamp : item.time, - nodeUserName : item.nodeUserName, - nodeInfo : item.nodeInfo, - } - }) - console.log("bbb-------->",bbb); - this.activities = bbb; - console.log("res=>",res); - }) - }, searchReset() { this.query = {}; this.searchType = '';