swwsxx.vue
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!--
* @Description: 交易合同
* @Autor: renchao
* @LastEditTime: 2024-03-21 16:58:45
-->
<template>
<div class='jyht'>
<el-form :model="queryForm">
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="合同号">
<el-input v-model="queryForm.htbh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="业务号">
<el-input v-model="queryForm.ywh"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div class="text-center">
<el-button @click="$popupCacel">取消</el-button>
<!-- <el-button type="primary" @click="handleSubmit" plain>保存</el-button> -->
<el-button type="primary" @click="handleSearch">查询</el-button>
</div>
</div>
</template>
<script>
import store from '@/store/index.js'
import { loadQlrxx,querySwwsxx } from "@/api/workflow/swhtxx.js";
export default {
props: {
formData: {
type: Object,
default: {}
}
},
components: {},
data () {
return {
key: 0,
radioVal: '',
queryForm: {
htbh: '',
sfzjhm: '',
ywh: ''
}
}
},
mounted () {
this.loadData()
},
methods: {
handleSearch () {
querySwwsxx(this.queryForm).then(res => {
if (res.code === 200 && res.result){
}
})
},
loadData () {
this.queryForm.htbh=this.formData.htbh;
this.queryForm.qxdm=this.formData.qxdm;
this.queryForm.ywh=this.formData.ywh;
this.queryForm.bsmQlxx=this.formData.bsmQlxx;
}
}
}
</script>
<style scoped lang='scss'>
@import "~@/styles/public.scss";
</style>