Ptyp.vue 7.35 KB
Newer Older
1
<template>
huangxin committed
2 3 4
    <div class="eibs">
        <!-- ==================左边================ -->
        <c-col :span="12" style="padding-right: 20px;">
5
                <c-col :span="24">
nanrui committed
6
                    <el-form-item label="收款人参考号" prop="bodgrp.drr.pts.ref">
7 8
                        <c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" style="width: 100%" placeholder=""
                            disabled>
9 10 11 12
                        </c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
nanrui committed
13
                    <el-form-item label="收款人名称" prop="bodgrp.drr.pts.extkey">
14 15
                        <c-fullbox>
                            <c-input v-model="model.bodgrp.drr.pts.extkey" maxlength="16"
nanrui committed
16
                                placeholder="请输入收款人名称" disabled>
17 18 19
                            </c-input>
                            <template slot="footer">
                                <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
nanrui committed
20
                                    <i class="el-icon-info"></i>
21 22 23 24 25 26 27 28 29
                                </c-button>
                                <c-button style="margin:0 0" size="small" type="primary" disabled>
                                    详情
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
nanrui committed
30
                    <el-form-item label="地址信息" prop="bodgrp.drr.pts.adrblk">
31
                        <c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="50" disabled
huangxin committed
32
                            show-word-limit placeholder="请输入地址信息" ></c-input>
33 34 35
                    </el-form-item>
                </c-col>
                <c-col :span="24">
huangxin committed
36 37 38
                    <el-form-item label="付款人参考号" prop="bodgrp.dre.pts.ref">
                        <c-input disabled v-model="model.bodgrp.dre.pts.ref" maxlength="16" style="width: 100%"
                            placeholder="请输入Application Ref" ></c-input>
39 40 41
                    </el-form-item>
                </c-col>
                <c-col :span="24">
huangxin committed
42
                    <el-form-item label="付款人名称" prop="bodgrp.dre.pts.extkey">
43
                        <c-fullbox>
huangxin committed
44 45
                            <c-input disabled v-model="model.bodgrp.dre.pts.extkey" maxlength="50"
                                placeholder="请输入付款人名称" ></c-input>
46 47
                            <template slot="footer">
                                <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
nanrui committed
48
                                    <i class="el-icon-info"></i>
49 50 51 52 53 54 55 56 57
                                </c-button>
                                <c-button style="margin:0 0" size="small" type="primary" disabled>
                                    详情
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
huangxin committed
58 59 60
                    <el-form-item label="地址信息" prop="bodgrp.dre.pts.adrblk">
                        <c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="50" show-word-limit
                            placeholder="请输入地址信息" disabled></c-input>
61 62 63
                    </el-form-item>
                </c-col>
            </c-col>
huangxin committed
64 65 66

            <!-- ============右边================= -->
        <c-col :span="12" style="padding-left: 20px;">
67
                <c-col :span="24">
huangxin committed
68 69 70 71
                    <el-form-item label="代收行参考号" prop="bodgrp.col.pts.ref">
                        <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" style="width: 100%" placeholder=""
                            disabled>
                        </c-input>
72 73 74
                    </el-form-item>
                </c-col>
                <c-col :span="24">
huangxin committed
75
                    <el-form-item label="代收行名称" prop="bodgrp.col.pts.extkey">
76
                        <c-fullbox>
huangxin committed
77 78 79
                            <c-input v-model="model.bodgrp.col.pts.extkey" maxlength="16"
                                placeholder="请输入代收行名称" disabled>
                            </c-input>
80 81
                            <template slot="footer">
                                <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
nanrui committed
82
                                    <i class="el-icon-info"></i>
83 84 85 86 87 88 89
                                </c-button>
                                <c-button style="margin:0 0" size="small" type="primary" disabled>
                                    详情
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
huangxin committed
90

91
                </c-col>
huangxin committed
92

93
                <c-col :span="24">
huangxin committed
94 95 96
                    <el-form-item label="地址信息" prop="bodgrp.col.pts.adrblk">
                        <c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="50" disabled
                            show-word-limit placeholder="请输入地址信息" ></c-input>
97 98 99 100
                    </el-form-item>
                </c-col>
        </c-col>

101
        <c-col :span="24" style="margin-top: 30px;margin-left:55px">
nanrui committed
102
            <span style="font-size:14px">其它参与方:</span>
103 104
        </c-col>
        <c-col :span="24" style="margin-top: -10px">
105 106 107 108 109 110 111 112 113 114
            <c-edit-table :model="model" v-bind="ptsaddg">
                <el-table-column label="操作" text-align="center">
                    <template slot-scope="scope">
                        <el-button size="mini" @click="handleEdit(scope.$index, scope.row)" type="primary">详情
                        </el-button>
                    </template>
                </el-table-column>
            </c-edit-table>
        </c-col>
    </div>
115 116 117 118 119 120
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botacc/Event"
121
import Ptap from "~/views/Public/Ptap";
122 123

export default {
124
    components: { "c-ptap": Ptap },
125
    inject: ['root'],
126
    props: ["model", "codes"],
127
    mixins: [commonProcess],
128
    data() {
129
        return {
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
            ptsaddg: {
                columns: [
                    {
                        title: "角色",
                        width: "120px",
                        dataIndex: "rol",
                        show: "select",
                    },
                    {
                        title: "机构实体",
                        width: "180px",
                        dataIndex: "ptyextkey",
                        show: "input",
                    },
                    {
                        title: "名称",
                        width: "300px",
                        dataIndex: "nam",
                    },
                    {
                        title: "参考地址",
                        width: "300px",
                        dataIndex: "ref",
                    },
                ],
                urls: "botp.ptsaddp.ptsaddg",
            },
157 158
        }
    },
159 160
    methods: { ...Event },
    created: function () {
161 162 163 164 165

    }
}
</script>
<style>
166

167
</style>