|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+<template>
|
|
|
2
|
+ <div>
|
|
|
3
|
+ <SearchBox ref="SearchBoxRef" formName="selectTop" :formData="query" @showPop="showPop" @reset="reset"></SearchBox>
|
|
|
4
|
+ <ButtonBox @search="handleSearch" @add="insertDialog" @start="start('0')" @remove="shutdwon('1')"></ButtonBox>
|
|
|
5
|
+ </div>
|
|
|
6
|
+
|
|
|
7
|
+</template>
|
|
|
8
|
+
|
|
|
9
|
+<script setup>
|
|
|
10
|
+import ButtonBar from '@/components/ButtonBar.vue'
|
|
|
11
|
+
|
|
|
12
|
+import {getCurrentInstance, onMounted, reactive, ref} from 'vue'
|
|
|
13
|
+import tools from '@/tools'
|
|
|
14
|
+import Attachment from '@/components/Attachment.vue'
|
|
|
15
|
+import ButtonBox from "@/components/ButtonBox.vue";
|
|
|
16
|
+import SearchBox from "@/components/SearchBox.vue";
|
|
|
17
|
+import SelectorComponent from "@/views/sal/components/Selector_component.vue";
|
|
|
18
|
+
|
|
|
19
|
+const {
|
|
|
20
|
+ proxy
|
|
|
21
|
+} = getCurrentInstance()
|
|
|
22
|
+
|
|
|
23
|
+const cardBodyStyle = ref(tools.style.card)
|
|
|
24
|
+const inputStyle = ref(tools.style.input)
|
|
|
25
|
+
|
|
|
26
|
+
|
|
|
27
|
+
|
|
|
28
|
+const PopupMenuTreeRef = ref(null)
|
|
|
29
|
+const showPop = () => {
|
|
|
30
|
+ console.log('showPop')
|
|
|
31
|
+ PopupMenuTreeRef.value.show()
|
|
|
32
|
+}
|
|
|
33
|
+const url = ref('sto/Config/query')
|
|
|
34
|
+const pageType = ref(true)
|
|
|
35
|
+
|
|
|
36
|
+var now = new Date();
|
|
|
37
|
+const query = ref({
|
|
|
38
|
+ wareName: '',
|
|
|
39
|
+ stackName: '',
|
|
|
40
|
+ materialName: '',
|
|
|
41
|
+ materialStandard: '',
|
|
|
42
|
+ startDtm: new Date(now.getFullYear(), now.getMonth(), now.getDate()),
|
|
|
43
|
+ endDtm: new Date(now.getFullYear(), now.getMonth(), now.getDate()+1),
|
|
|
44
|
+ ownerCompany: '',
|
|
|
45
|
+ receivingCompany: '',
|
|
|
46
|
+ CustomerCompany: '',
|
|
|
47
|
+ prodNo: '',
|
|
|
48
|
+ carNo: '',
|
|
|
49
|
+ orderNo: '',
|
|
|
50
|
+ contractNo: ''
|
|
|
51
|
+})
|
|
|
52
|
+
|
|
|
53
|
+
|
|
|
54
|
+const tableData = ref([])
|
|
|
55
|
+const TableBoxRef = ref(null)
|
|
|
56
|
+const handleSearch = () => {
|
|
|
57
|
+ // TableBoxRef.value.search()
|
|
|
58
|
+ getTableData()
|
|
|
59
|
+}
|
|
|
60
|
+</script>
|