Ptyp.vue 13.3 KB
Newer Older
1
<template>
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
    <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">
22
                        <c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" style="width: 100%" placeholder="" disabled>
23 24 25 26 27 28 29
                        </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"
30
                                placeholder="请输入External Key of Address" disabled>
31 32 33 34 35 36 37 38 39 40 41 42 43 44
                            </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">
45
                        <c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="50" disabled
46
                            show-word-limit placeholder="请输入Address Block" disabled></c-input>
47 48 49 50 51 52
                    </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">
53
                        <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" style="width: 100%" placeholder="" disabled>
54 55 56 57 58 59 60
                        </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"
61
                                placeholder="请输入External Key of Address" disabled>
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
                            </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">
78
                        <c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="50" disabled
79
                            show-word-limit placeholder="请输入Address Block" disabled></c-input>
80 81 82 83 84 85 86 87 88
                    </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%"
89
                            placeholder="请输入Application Ref" disabled></c-input>
90 91 92 93 94 95
                    </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"
96
                                placeholder="请输入External Key of Address" disabled></c-input>
97 98 99 100 101 102 103 104 105 106 107 108 109
                            <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">
110
                        <c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="50" show-word-limit
111
                            placeholder="请输入Address Block" disabled></c-input>
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
                    </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> -->
225 226
        <!-- </div> -->
        <!-- </c-col> -->
227 228 229 230
        <c-col :span="24" style="margin-top: 30px;margin-left:55px">
            <span style="font-size:14px">Additional Parties:</span>
        </c-col>
        <c-col :span="24" style="margin-top: -10px">
231 232 233 234 235 236 237 238 239 240
            <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>
241 242 243 244 245 246
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botacc/Event"
247
import Ptap from "~/views/Public/Ptap";
248 249

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

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