Ptyp.vue 7.15 KB
Newer Older
nanrui committed
1 2 3 4 5
<template>
    <div class="eibs-tab">
        <c-col :span="24">
            <c-col :span="11">
                <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>
nanrui committed
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">
nanrui committed
14 15
                        <c-fullbox>
                            <c-input v-model="model.bodgrp.drr.pts.extkey" maxlength="16"
nanrui committed
16
                                placeholder="请输入收款人名称" disabled>
nanrui committed
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>
nanrui committed
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">
nanrui committed
31
                        <c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="50" disabled
nanrui committed
32
                            show-word-limit placeholder="请输入地址信息" disabled></c-input>
nanrui committed
33 34 35 36 37
                    </el-form-item>
                </c-col>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-col :span="24">
nanrui committed
38
                    <el-form-item label="代收行参考号" prop="bodgrp.col.pts.ref">
39 40
                        <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" style="width: 100%" placeholder=""
                            disabled>
nanrui committed
41 42 43 44
                        </c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
nanrui committed
45
                    <el-form-item label="代收行名称" prop="bodgrp.col.pts.extkey">
nanrui committed
46 47
                        <c-fullbox>
                            <c-input v-model="model.bodgrp.col.pts.extkey" maxlength="16"
nanrui committed
48
                                placeholder="请输入代收行名称" disabled>
nanrui committed
49 50 51
                            </c-input>
                            <template slot="footer">
                                <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
nanrui committed
52
                                    <i class="el-icon-info"></i>
nanrui committed
53 54 55 56 57 58 59 60 61 62 63
                                </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
64
                    <el-form-item label="地址信息" prop="bodgrp.col.pts.adrblk">
nanrui committed
65
                        <c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="50" disabled
nanrui committed
66
                            show-word-limit placeholder="请输入地址信息" disabled></c-input>
nanrui committed
67 68 69 70 71 72 73
                    </el-form-item>
                </c-col>
            </c-col>
        </c-col>
        <c-col :span="24" style="margin-top:15px">
            <c-col :span="11">
                <c-col :span="24">
nanrui committed
74
                    <el-form-item label="付款人参考号" prop="bodgrp.dre.pts.ref">
nanrui committed
75
                        <c-input disabled v-model="model.bodgrp.dre.pts.ref" maxlength="16" style="width: 100%"
76
                            placeholder="请输入Application Ref" disabled></c-input>
nanrui committed
77 78 79
                    </el-form-item>
                </c-col>
                <c-col :span="24">
nanrui committed
80
                    <el-form-item label="付款人名称" prop="bodgrp.dre.pts.extkey">
nanrui committed
81 82
                        <c-fullbox>
                            <c-input disabled v-model="model.bodgrp.dre.pts.extkey" maxlength="50"
nanrui committed
83
                                placeholder="请输入付款人名称" disabled></c-input>
nanrui committed
84 85
                            <template slot="footer">
                                <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
nanrui committed
86
                                    <i class="el-icon-info"></i>
nanrui committed
87 88 89 90 91 92 93 94 95
                                </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
96
                    <el-form-item label="地址信息" prop="bodgrp.dre.pts.adrblk">
nanrui committed
97
                        <c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="50" show-word-limit
nanrui committed
98
                            placeholder="请输入地址信息" disabled></c-input>
nanrui committed
99 100 101 102
                    </el-form-item>
                </c-col>
            </c-col>
        </c-col>
103
        
nanrui committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 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 157 158 159 160 161 162 163
        <c-col :span="24">
            <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>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botpay/Event"

export default {
    inject: ['root'],
    props: ["model", "codes"],
    mixins: [commonProcess],
    data() {
        return {
            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",
            },
        }
    },
    methods: { ...Event },
    created: function () {

    }
}
</script>
<style>
164

nanrui committed
165
</style>