Trap.vue 9.73 KB
Newer Older
1 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
<template>
    <div class="eibs-tab">
        <!-- 左边 -->
        <c-col :span="12" class="col-left">
            <!-- S0000098 : 业务主键 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000098')" prop="cnyselp.cnytra.spk">
                    <c-input v-model="model.cnyselp.cnytra.spk" maxlength="20"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000098')" disabled></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000099 : 资金划转关系 -->
            <c-col :span="24">
                <el-form-item :label="$t('cnyselp.S0000099')" prop="cnyselp.cnytra.camttransrelation">
                    <c-select v-model="model.cnyselp.cnytra.camttransrelation" style="width:100%"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000099')" :code="codes.camttransrelation" disabled>
                    </c-select>
                </el-form-item>
            </c-col>

            <!-- S0000101 : 付款行银行机构代码 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000101')" prop="cnyselp.cnytra.spayerbkorgcode">
                    <c-input v-model="model.cnyselp.cnytra.spayerbkorgcode" maxlength="12"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000101')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000103 : 付款方代码 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000103')" prop="cnyselp.cnytra.spayerswiftbic">
                    <c-input v-model="model.cnyselp.cnytra.spayerswiftbic" maxlength="18"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000103')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000105 : 付款方帐号 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000105')" prop="cnyselp.cnytra.spayerbicbkacct">
                    <c-input v-model="model.cnyselp.cnytra.spayerbicbkacct" maxlength="32"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000105')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000106 : 收款行银行机构代码 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000106')" prop="cnyselp.cnytra.spayeebkorgcode">
                    <c-input v-model="model.cnyselp.cnytra.spayeebkorgcode" maxlength="12"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000106')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000108 : 收款方代码 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000108')" prop="cnyselp.cnytra.spayeeswiftbic">
                    <c-input v-model="model.cnyselp.cnytra.spayeeswiftbic" maxlength="18"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000108')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000110 : 收款方帐号 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000110')" prop="cnyselp.cnytra.spayeebicbkacct">
                    <c-input v-model="model.cnyselp.cnytra.spayeebicbkacct" maxlength="32"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000110')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000113 : 付款日期 -->
            <c-col :span="24">
                <el-form-item :label="$t('cnyselp.S0000113')" prop="cnyselp.cnytra.dpayerdate">
                    <c-date-picker type="date" v-model="model.cnyselp.cnytra.dpayerdate" style="width:100%"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000113')"></c-date-picker>
                </el-form-item>
            </c-col>

            <!-- S0000115 : 付款金额 -->
            <c-col :span="24">
                <c-form-item label="付款金额" prop="cnyselp.cnytra.fpayeramt">
                    <c-input v-model="model.cnyselp.cnytra.fpayeramt"
                        :placeholder="$t('other.please_enter') + '付款金额'"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000118 : 交易附言 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000118')" prop="cnyselp.saddwordtra">
                    <c-input v-model="model.cnyselp.saddwordtra" maxlength="80"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000118')"></c-input>
                </c-form-item>
            </c-col>
        </c-col>


        <!-- 右边 -->
        <c-col :span="12" class="col-right">
            <!-- S0000117 : 银行业务编号 -->
            <c-col :span="24">
                <c-form-item label="银行业务编号" prop="cnyselp.cnytra.sbanktrano">
                    <c-input v-model="model.cnyselp.cnytra.sbanktrano" maxlength="22"
                        :placeholder="$t('other.please_enter') + '银行业务编号'" disabled></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000100 : 资金划转类型 -->
            <c-col :span="24">
                <el-form-item :label="$t('cnyselp.S0000100')" prop="cnyselp.cnytra.camttranstype">
                    <c-select v-model="model.cnyselp.cnytra.camttranstype" style="width:100%"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000100')" :code="codes.camttranstype" disabled>
                    </c-select>
                </el-form-item>
            </c-col>

            <!-- S0000102 : 付款行银行机构名称 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000102')" prop="cnyselp.spayerbkorgname">
                    <c-input v-model="model.cnyselp.spayerbkorgname" maxlength="80"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000102')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000104 : 付款方名称 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000104')" prop="cnyselp.spayerswiftbicname">
                    <c-input v-model="model.cnyselp.spayerswiftbicname" maxlength="80"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000104')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000112 : 清算帐户帐号 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000112')" prop="cnyselp.cnytra.sbicbkacct">
                    <c-input v-model="model.cnyselp.cnytra.sbicbkacct" maxlength="32"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000112')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000107 : 收款行银行机构名称 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000107')" prop="cnyselp.spayeebkorgname">
                    <c-input v-model="model.cnyselp.spayeebkorgname" maxlength="80"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000107')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000109 : 收款方名称 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000109')" prop="cnyselp.spayeeswiftbicname">
                    <c-input v-model="model.cnyselp.spayeeswiftbicname" maxlength="80"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000109')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000111 : 中间转汇行 -->
            <c-col :span="24">
                <c-form-item :label="$t('cnyselp.S0000111')" prop="cnyselp.cnytra.smidtransbank">
                    <c-input v-model="model.cnyselp.cnytra.smidtransbank" maxlength="11"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000111')"></c-input>
                </c-form-item>
            </c-col>

            <!-- S0000114 : 付款币种 -->
            <c-col :span="24">
                <el-form-item :label="$t('cnyselp.S0000114')" prop="cnyselp.cnytra.spayercny">
                    <c-select v-model="model.cnyselp.cnytra.spayercny" style="width:100%"
                        :placeholder="$t('other.please_enter') + $t('cnyselp.S0000114')" disabled>
                    </c-select>
                </el-form-item>
            </c-col>
            <!-- S0000116 : 划转用途 -->
            <c-col :span="24">
                <c-form-item label="划转用途" prop="cnyselp.cnytra.samttranspurpose">
                    <c-fullbox>
                        <c-input v-model="model.cnyselp.cnytra.samttranspurpose" maxlength="3"
                            :placeholder="$t('other.please_enter') + '划转用途'"></c-input>
                        <template slot="footer">
                            <c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
                                icon="el-icon-search" @click="onCodcnySelbut">
                            </c-button>
                        </template>
                    </c-fullbox>
                </c-form-item>
            </c-col>
        </c-col>
    </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cnysel/Event"

export default {
    inject: ['root'],
    props: ["model", "codes"],
    mixins: [commonProcess],
    data() {
        return {

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

    }
}
</script>
<style>

</style>