Ptyp.vue 13.1 KB
Newer Older
1
<template>
潘际乾 committed
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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 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 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
    <div class="eibs-tab">

        <!-- <c-col :span="24">
            <c-col :span="11">
                <el-form-item label="Drag  Drop Sender" prop="botp.drrp.ptsget.sdamod.dadsnd">
                    <c-input v-model="model.botp.drrp.ptsget.sdamod.dadsnd" placeholder="请输入Drag  Drop Sender">
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="11" :offset="1">
                <el-form-item label="Drag  Drop Sender" prop="botp.colp.ptsget.sdamod.dadsnd">
                    <c-input v-model="model.botp.colp.ptsget.sdamod.dadsnd" placeholder="请输入Drag  Drop Sender">
                    </c-input>
                </el-form-item>
            </c-col>
        </c-col> -->
        <c-col :span="24">
            <c-col :span="11">
                <c-col :span="24">
                    <el-form-item label="Drawer Ref." prop="bodgrp.drr.pts.ref">
                        <c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" style="width: 100%" placeholder="">
                        </c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="External Key of Address" prop="bodgrp.drr.pts.extkey">
                        <c-fullbox>
                            <c-input v-model="model.bodgrp.drr.pts.extkey" maxlength="16"
                                placeholder="请输入External Key of Address">
                            </c-input>
                            <template slot="footer">
                                <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
                                    <span style="font-family:'宋体';font-weight:bold">i</span>
                                </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">
                    <el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk">
                        <c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="50" disabled
                            show-word-limit placeholder="请输入Address Block"></c-input>
                    </el-form-item>
                </c-col>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-col :span="24">
                    <el-form-item label="Collecting Bank Ref." prop="bodgrp.col.pts.ref">
                        <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" style="width: 100%" placeholder="">
                        </c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Extkey Key of Address" prop="bodgrp.col.pts.extkey">
                        <c-fullbox>
                            <c-input v-model="model.bodgrp.col.pts.extkey" maxlength="16"
                                placeholder="请输入External Key of Address">
                            </c-input>
                            <template slot="footer">
                                <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
                                    <span style="font-family:'宋体';font-weight:bold">i</span>
                                </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">
                    <el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk">
                        <c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="50" disabled
                            show-word-limit placeholder="请输入Address Block"></c-input>
                    </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">
                    <el-form-item label="Drawee Ref." 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>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Extkey" prop="bodgrp.dre.pts.extkey">
                        <c-fullbox>
                            <c-input disabled v-model="model.bodgrp.dre.pts.extkey" maxlength="50"
                                placeholder="请输入External Key of Address"></c-input>
                            <template slot="footer">
                                <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary">
                                    <span style="font-family:'宋体';font-weight:bold">i</span>
                                </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">
                    <el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk">
                        <c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="50" show-word-limit
                            placeholder="请输入Address Block"></c-input>
                    </el-form-item>
                </c-col>
            </c-col>
        </c-col>
        </c-col>



        <!-- <c-col :span="12">
            <el-form-item label="" prop="botp.drrp.ptsget.sdamod.seainf">
                <c-input v-model="model.botp.drrp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <c-button size="small" type="primary" @click="onDrrpDet">
                Details
            </c-button>
        </c-col>
        <c-col :span="12">
            <el-form-item label="" prop="botp.colp.ptsget.sdamod.seainf">
                <c-input v-model="model.botp.colp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <c-button size="small" type="primary" @click="onColpDet">
                Details
            </c-button>
        </c-col>
        <c-col :span="12">
            <el-form-item label="名称" prop="bodgrp.drr.namelc">
                <c-input type="textarea" v-model="model.bodgrp.drr.namelc" maxlength="35" show-word-limit
                    placeholder="请输入名称"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <el-form-item label="名称" prop="bodgrp.col.namelc">
                <c-input type="textarea" v-model="model.bodgrp.col.namelc" maxlength="35" show-word-limit
                    placeholder="请输入名称"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <el-form-item label="Chinese address" prop="bodgrp.drr.dbfadrblkcn">
                <c-input type="textarea" v-model="model.bodgrp.drr.dbfadrblkcn" maxlength="35" show-word-limit
                    placeholder="请输入Chinese address"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <el-form-item label="Chinese address" prop="bodgrp.col.dbfadrblkcn">
                <c-input type="textarea" v-model="model.bodgrp.col.dbfadrblkcn" maxlength="35" show-word-limit
                    placeholder="请输入Chinese address"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <el-form-item label="地址" prop="bodgrp.drr.adrelc">
                <c-input type="textarea" v-model="model.bodgrp.drr.adrelc" maxlength="35" show-word-limit
                    placeholder="请输入地址"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <el-form-item label="地址" prop="bodgrp.col.adrelc">
                <c-input type="textarea" v-model="model.bodgrp.col.adrelc" maxlength="35" show-word-limit
                    placeholder="请输入地址"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <el-form-item label="Drag  Drop Sender" prop="botp.drep.ptsget.sdamod.dadsnd">
                <c-input v-model="model.botp.drep.ptsget.sdamod.dadsnd" placeholder="请输入Drag  Drop Sender"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <el-form-item label="" prop="botp.drep.ptsget.sdamod.seainf">
                <c-input v-model="model.botp.drep.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <c-button size="small" type="primary" @click="onDrepDet">
                Details
            </c-button>
        </c-col>
        <c-col :span="12">
            <el-form-item label="名称" prop="bodgrp.dre.namelc">
                <c-input type="textarea" v-model="model.bodgrp.dre.namelc" maxlength="35" show-word-limit
                    placeholder="请输入名称"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <el-form-item label="Chinese address" prop="bodgrp.dre.dbfadrblkcn">
                <c-input type="textarea" v-model="model.bodgrp.dre.dbfadrblkcn" maxlength="35" show-word-limit
                    placeholder="请输入Chinese address"></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="12">
            <el-form-item label="地址" prop="bodgrp.dre.adrelc">
                <c-input type="textarea" v-model="model.bodgrp.dre.adrelc" maxlength="35" show-word-limit
                    placeholder="请输入地址"></c-input>
            </el-form-item>
        </c-col> -->
        <!-- <c-col :span="24"> -->
        <!-- <div class="e-table-wrapper"> -->
        <!-- <el-table :data="model.botp.ptsaddp.ptsaddg" style="width: 100%">
                    <el-table-column prop="rol" label="角色" sortable width="100">
                    </el-table-column>
                    <el-table-column prop="ptyextkey" label="机构" sortable width="100">
                    </el-table-column>
                    <el-table-column prop="nam" label="" sortable width="100">
                    </el-table-column>
                    <el-table-column prop="ref" label="名称" sortable width="100">
                    </el-table-column>
                </el-table> -->
        <!-- <el-pagination
222 223 224
                 layout="prev, pager, next"
                 :total="pager.botp_ptsaddp_ptsaddg.total">
              </el-pagination> -->
潘际乾 committed
225 226 227 228 229 230 231 232 233 234 235 236 237
        <!-- </div> -->
        <!-- </c-col> -->
        <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>
238 239 240 241 242 243
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botacc/Event"
潘际乾 committed
244
import Ptap from "~/views/Public/Ptap";
245 246

export default {
潘际乾 committed
247
    components: { "c-ptap": Ptap },
248
    inject: ['root'],
潘际乾 committed
249
    props: ["model", "codes"],
250
    mixins: [commonProcess],
潘际乾 committed
251
    data() {
252
        return {
潘际乾 committed
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
            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",
            },
280 281
        }
    },
潘际乾 committed
282 283
    methods: { ...Event },
    created: function () {
284 285 286 287 288 289

    }
}
</script>
<style>
</style>