|
|
@@ -149,18 +149,18 @@ const updateOrderFeed = (data) => {
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
import { watch, ref, reactive, defineProps, defineEmits, onBeforeUnmount } from 'vue'
|
|
|
|
|
|
-const props = defineProps(['modelValue', 'date'])
|
|
|
+const props = defineProps(['modelValue', 'gdbh','yjno'])
|
|
|
const emits = defineEmits(['update:modelValue'])
|
|
|
const tableData = ref([])
|
|
|
const table = ref(null)
|
|
|
const multipleSelection = ref([])
|
|
|
const getTable = async() => {
|
|
|
let params
|
|
|
- if (props?.['date']) {
|
|
|
- const { date } = props
|
|
|
+ if (props?.['gdbh']) {
|
|
|
+ const { gdbh,yjno } = props
|
|
|
params = {
|
|
|
- year: date.slice(0, 4),
|
|
|
- month: date.slice(4, 6),
|
|
|
+ workorder: gdbh,
|
|
|
+ yjno: yjno,
|
|
|
}
|
|
|
} else {
|
|
|
return
|