Bctret.vue 9.9 KB
Newer Older
wjj committed
1
<template>
nanrui committed
2 3
    <div class="eibs-tab">

4 5 6
        <!-- ====================左边======================= -->
        <c-col :span="11">
            <c-col :span="24">
nanrui committed
7 8 9 10 11 12
                <el-form-item label="代收编号" prop="bcdgrp.rec.ownref">
                    <c-input v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入代收编号" style="width: 93%"
                        disabled>
                    </c-input>
                </el-form-item>
            </c-col>
wjj committed
13
            <c-col :span="12">
nanrui committed
14
                <el-form-item label="代收币种及金额" prop="bcdgrp.cbs.max.cur">
nanrui committed
15
                    <c-input v-model="model.bcdgrp.cbs.max.cur" style="width:90%" placeholder="请选择代收币种及金额" disabled>
wjj committed
16 17 18 19 20 21 22 23 24
                    </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">
nanrui committed
25
                <el-form-item label="代收币种及余额" prop="bcdgrp.cbs.opn1.cur">
nanrui committed
26
                    <c-input v-model="model.bcdgrp.cbs.opn1.cur" style="width:90%" placeholder="请选择代收币种及余额" disabled>
wjj committed
27 28 29 30 31 32 33 34 35 36
                    </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">
nanrui committed
37
                <el-form-item label="收单日期" prop="bcdgrp.rec.rcvdat">
wjj committed
38
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:80%"
nanrui committed
39
                        value-format="yyyy-MM-dd" placeholder="请选择收单日期" disabled></c-date-picker>
wjj committed
40 41 42
                </el-form-item>
            </c-col>
            <c-col :span="12">
nanrui committed
43
                <el-form-item label="通知日期" prop="bcdgrp.rec.advdat">
wjj committed
44
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:80%"
nanrui committed
45
                        value-format="yyyy-MM-dd" placeholder="请选择通知日期" disabled></c-date-picker>
wjj committed
46 47 48
                </el-form-item>
            </c-col>
            <c-col :span="12">
nanrui committed
49
                <el-form-item label="单据到期日" prop="bcdgrp.rec.matdat">
wjj committed
50
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.matdat" style="width:80%"
nanrui committed
51
                        value-format="yyyy-MM-dd" placeholder="请选择单据到期日" disabled></c-date-picker>
wjj committed
52 53 54
                </el-form-item>
            </c-col>
            <c-col :span="12">
nanrui committed
55
                <el-form-item label="托收日期" prop="bcdgrp.rec.predat">
wjj committed
56
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:80%"
nanrui committed
57
                        value-format="yyyy-MM-dd" placeholder="请选择托收日期" disabled></c-date-picker>
wjj committed
58 59 60
                </el-form-item>
            </c-col>
            <c-col :span="24">
nanrui committed
61
                <el-form-item label="支付条件" prop="bcdgrp.rec.doctypcod">
nanrui committed
62 63
                    <c-select :code="codes.doctypcod" v-model="model.bcdgrp.rec.doctypcod" style="width:93%"
                        placeholder="请选择支付条件" disabled>
wangren committed
64
                    </c-select>
wjj committed
65 66 67
                </el-form-item>
            </c-col>
            <c-col :span="24">
nanrui committed
68
                <el-form-item label="单据状态" prop="bcdgrp.rec.docsta">
nanrui committed
69 70
                    <c-select :code="codes.docstabot" v-model="model.bcdgrp.rec.docsta" style="width:93%"
                        placeholder="请输入单据状态" disabled>
wangren committed
71
                    </c-select>
wjj committed
72 73 74
                </el-form-item>
            </c-col>
            <c-col :span="20">
nanrui committed
75
                <el-form-item label="二次收单指示" style="width: 100%" prop="bcdgrp.blk.colinssnm">
wjj committed
76
                    <c-input type="textarea" v-model="model.bcdgrp.blk.colinssnm" maxlength="60" show-word-limit
nanrui committed
77
                        style="width: 100%" placeholder="请输入二次收单指示"></c-input>
wjj committed
78 79
                </el-form-item>
            </c-col>
80 81
            <c-col :span="4">
                <c-button style="margin-left:34px;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"
wjj committed
82
                    @click="onColinssnmButtxmsel">
wjj committed
83 84 85
                </c-button>
            </c-col>
            <c-col :span="24">
86 87
                <!-- <c-edit-table :model="model" v-bind="docgrd">
                </c-edit-table> -->
nanrui committed
88 89 90 91 92
                <c-docpre :model="model" :argadr="{
                      path: 'SEMFLG',
                      grp: 'bctp',
                      code: 'docpre'
                }"></c-docpre>
wjj committed
93 94 95
            </c-col>
        </c-col>
        <!-- ====================右边======================= -->
96 97 98
        <c-col :span="11" :offset="1">

            <c-col :span="24">
nanrui committed
99
                <el-form-item label="简略信息" prop="bcdgrp.rec.nam" style="width: 100%">
100 101 102
                    <c-input v-model="model.bcdgrp.rec.nam" maxlength="40" style="width: 100%" disabled></c-input>
                </el-form-item>
            </c-col>
wjj committed
103
            <c-col :span="24">
nanrui committed
104
                <el-form-item style="text-align: right" label="付款人参考号" prop="bcdgrp.dre.pts.ref">
105
                    <c-input v-model="model.bcdgrp.dre.pts.ref" maxlength="16" style="width: 100%" disabled></c-input>
wjj committed
106 107 108 109 110 111 112 113
                </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">
nanrui committed
114
                <el-form-item style="text-align: right" label="托收行参考号" prop="bcdgrp.rmi.pts.ref">
115
                    <c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" style="width: 100%" disabled>
wjj committed
116 117 118 119 120 121 122 123 124
                    </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">
nanrui committed
125
                <el-form-item style="text-align: right" label="收款人参考号" prop="bcdgrp.drr.pts.ref">
126
                    <c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="16" style="width: 100%" disabled>
wjj committed
127 128 129 130
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="24">
wangren committed
131 132 133 134 135
                <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">
nanrui committed
136
                <el-form-item style="text-align: right" label="第二代收行参考号" prop="bcdgrp.co2.pts.ref">
wangren committed
137 138
                    <c-input v-model="model.bcdgrp.co2.pts.ref" maxlength="16" style="width: 100%" disabled>
                    </c-input>
wjj committed
139 140 141
                </el-form-item>
            </c-col>
            <c-col :span="24">
nanrui committed
142 143 144 145 146 147 148 149 150
                <el-form-item label="" prop="bcdgrp.co2.pts.nam" style="width: 100%">
                    <c-fullbox>
                        <c-input v-model="model.bcdgrp.co2.pts.nam" maxlength="16" disabled placeholder="请输入进口代收业务编号">
                        </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>
151
                                详情
nanrui committed
152 153 154 155
                            </c-button>
                        </template>
                    </c-fullbox>
                </el-form-item>
156 157
            </c-col>
            <c-col :span="24">
nanrui committed
158 159 160 161
                <el-form-item label="地址信息" 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="请输入地址信息"></c-input>
                </el-form-item>
wjj committed
162 163
            </c-col>
        </c-col>
nanrui committed
164
    </div>
wjj committed
165 166
</template>
<script>
nanrui committed
167 168 169 170 171 172
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctrad/Event"
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
wjj committed
173

nanrui committed
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
export default {
    components: {
        "c-ptap": Ptap,
        "c-docpre": Docpre
    },
    inject: ['root'],
    props: ["model", "codes"],
    mixins: [commonProcess],
    data() {
        return {
            docgrd: {
                columns: [{
                    title: "lst1",
                    width: "80px",
                    dataIndex: "cmail1",
                    show: "input",
wjj committed
190
                },
nanrui committed
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
                {
                    title: "2nd",
                    width: "80px",
                    dataIndex: "cmail2",
                    show: "input",
                },
                {
                    title: "Document",
                    width: "320px",
                    dataIndex: "docnam",
                    show: "input",
                },
                ],
                urls: "bctp.docgrdm.docgrd",
            },
wjj committed
206 207

        }
nanrui committed
208 209 210 211 212 213
    },
    methods: {
        ...Event
    },
    created: function () {

wjj committed
214
    }
nanrui committed
215
}
wjj committed
216 217 218 219
</script>
<style>

</style>