Bctret.vue 10.7 KB
Newer Older
wjj committed
1
<template>
2 3 4 5 6 7
     <div class="eibs-tab">
    
        <!-- ====================左边======================= -->
        <c-col :span="11">
            <c-col :span="24">
                    <el-form-item label="Collection Number" prop="bcdgrp.rec.ownref" >
wjj committed
8
                        <c-input v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入Collection Number"
9
                            style="width: 93%" disabled>
wjj committed
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
                        </c-input>
                    </el-form-item>
                </c-col>
            <c-col :span="12">
                <el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
                    <c-input v-model="model.bcdgrp.cbs.max.cur" style="width:90%" placeholder="请选择Document Amount"
                        disabled>
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.max.amt">
                    <c-input v-model="model.bcdgrp.cbs.max.amt" style="text-align: left; width: 90%" disabled></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
                    <c-input v-model="model.bcdgrp.cbs.opn1.cur" style="width:90%" placeholder="请选择Open Amount"
                        disabled>
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.opn1.amt">
                    <c-input v-model="model.bcdgrp.cbs.opn1.amt" style="text-align: left; width: 90%" disabled>
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:80%"
                        value-format="yyyy-MM-dd" placeholder="请选择Docs Received on" disabled></c-date-picker>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:80%"
                        value-format="yyyy-MM-dd" placeholder="请选择Advised on" disabled></c-date-picker>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.matdat" style="width:80%"
                        value-format="yyyy-MM-dd" placeholder="请选择Maturity Date" disabled></c-date-picker>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Remitted on" prop="bcdgrp.rec.predat">
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:80%"
                        value-format="yyyy-MM-dd" placeholder="请选择Remitted on" disabled></c-date-picker>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
wangren committed
64 65 66
                    <c-select 
                    :code="codes.doctypcod"
                    v-model="model.bcdgrp.rec.doctypcod" style="width:93%" placeholder="请选择Payment Condition"
wjj committed
67
                        disabled>
wangren committed
68
                    </c-select>
wjj committed
69 70 71 72
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
wangren committed
73
                    <c-select 
74
                    :code="codes.docstabot"
wangren committed
75
                    v-model="model.bcdgrp.rec.docsta" style="width:93%" placeholder="请输入Document Set Status"
wjj committed
76
                        disabled>
wangren committed
77
                    </c-select>
wjj committed
78 79 80
                </el-form-item>
            </c-col>
            <c-col :span="20">
wjj committed
81
                <el-form-item label="Instructions for Second Mail" style="width: 100%" prop="bcdgrp.blk.colinssnm">
wjj committed
82
                    <c-input type="textarea" v-model="model.bcdgrp.blk.colinssnm" maxlength="60" show-word-limit
83
                        style="width: 100%" placeholder="请输入Instructions for Second Mail"></c-input>
wjj committed
84 85
                </el-form-item>
            </c-col>
86 87
            <c-col :span="4">
                <c-button style="margin-left:34px;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"
wjj committed
88
                    @click="onColinssnmButtxmsel">
wjj committed
89 90 91
                </c-button>
            </c-col>
            <c-col :span="24">
92 93 94 95 96
                <!-- <c-edit-table :model="model" v-bind="docgrd">
                </c-edit-table> -->
                <c-docpre
                :model="model"
                :argadr="{
97
                path: 'SEMFLG',
98
                grp: 'bctp',
99
                code: 'docpre'
100
          }"></c-docpre>
wjj committed
101 102 103
            </c-col>
        </c-col>
        <!-- ====================右边======================= -->
104 105 106 107 108 109 110
        <c-col :span="11" :offset="1">

            <c-col :span="24">
                <el-form-item label="Name" prop="bcdgrp.rec.nam" style="width: 100%">
                    <c-input v-model="model.bcdgrp.rec.nam" maxlength="40" style="width: 100%" disabled></c-input>
                </el-form-item>
            </c-col>
wjj committed
111 112
            <c-col :span="24">
                <el-form-item style="text-align: right" label="Drawee  Ref." prop="bcdgrp.dre.pts.ref">
113
                    <c-input v-model="model.bcdgrp.dre.pts.ref" maxlength="16" style="width: 100%" disabled></c-input>
wjj committed
114 115 116 117 118 119 120 121 122
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item prop="bcdgrp.dre.pts.nam">
                    <c-input v-model="model.bcdgrp.dre.pts.nam" maxlength="40" style="width: 100%" disabled></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item style="text-align: right" label="Remitting Bank  Ref." prop="bcdgrp.rmi.pts.ref">
123
                    <c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" style="width: 100%" disabled>
wjj committed
124 125 126 127 128 129 130 131 132 133
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item prop="bcdgrp.rmi.pts.nam">
                    <c-input v-model="model.bcdgrp.rmi.pts.nam" maxlength="40" style="width: 100%" disabled></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item style="text-align: right" label="Drawer  Ref." prop="bcdgrp.drr.pts.ref">
134
                    <c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="16" style="width: 100%" disabled>
wjj committed
135 136 137 138
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="24">
wangren committed
139 140 141 142 143 144 145 146
                <el-form-item prop="bcdgrp.drr.pts.nam">
                    <c-input v-model="model.bcdgrp.drr.pts.nam" maxlength="40" style="width: 100%" disabled></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item style="text-align: right" label="2nd Collecting Bank" prop="bcdgrp.co2.pts.ref">
                    <c-input v-model="model.bcdgrp.co2.pts.ref" maxlength="16" style="width: 100%" disabled>
                    </c-input>
wjj committed
147 148 149
                </el-form-item>
            </c-col>
            <c-col :span="24">
150
                <el-form-item
wangren committed
151 152
          label=""
          prop="bcdgrp.co2.pts.nam"
153 154 155 156
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
wangren committed
157
              v-model="model.bcdgrp.co2.pts.nam"
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
              maxlength="16"
              disabled
              placeholder="请输入Reference"
            ></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
              >
                Details
              </c-button>
            </template>
          </c-fullbox>
</el-form-item>
            </c-col>
            <c-col :span="24">
        <el-form-item label="Address Block" prop="bcdgrp.co2.pts.adrblk">
          <c-input
            type="textarea"
            :rows="4"
            v-model="model.bcdgrp.co2.pts.adrblk"
            maxlength="50"
            disabled
            show-word-limit
            placeholder="请输入Address Block"
          ></c-input>
        </el-form-item>
      </c-col>
            <!-- <c-col :span="24">
wjj committed
197 198 199 200
                <c-ptap :model="model" :argadr="{
            title: '2nd Collecting Bank',
            grp: 'bcdgrp',
            rol: 'co2',
201 202
          }" :disabled="true" :isAdrblk="false" @onSeainf="" @onAplpDet="">
                </c-ptap> -->
wjj committed
203 204
            </c-col>
        </c-col>
205
     </div>
wjj committed
206 207 208
</template>
<script>
    import Api from "~/service/Api"
wangren committed
209
    import commonProcess from "~/mixin/commonProcess";
wjj committed
210 211 212
    import CodeTable from "~/config/CodeTable"
    import Event from "~/model/Bctrad/Event"
    import Ptap from "~/views/Public/Ptap";
213
    import Docpre from "~/views/Public/Docpre";
wjj committed
214 215 216

    export default {
        components: {
217 218
            "c-ptap": Ptap,
            "c-docpre" : Docpre
wjj committed
219 220 221
        },
        inject: ['root'],
        props: ["model", "codes"],
wangren committed
222
        mixins: [commonProcess],
wjj committed
223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
        data() {
            return {
                docgrd: {
                    columns: [{
                            title: "lst1",
                            width: "80px",
                            dataIndex: "cmail1",
                            show: "input",
                        },
                        {
                            title: "2nd",
                            width: "80px",
                            dataIndex: "cmail2",
                            show: "input",
                        },
                        {
                            title: "Document",
                            width: "320px",
                            dataIndex: "docnam",
                            show: "input",
                        },
                    ],
                    urls: "bctp.docgrdm.docgrd",
                },

            }
        },
        methods: {
            ...Event
        },
        created: function () {

        }
    }
</script>
<style>

</style>