Ovwp.vue 10.6 KB
Newer Older
fukai committed
1
<template>
lixingliang 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 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
    <c-content class="eibs-tab" :height="200">

        <div class="infTopBtn">
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary">Use</c-button>
            <c-button size="small" type="primary">Loginfo</c-button>
        </div>

        <c-row class="infrow" style="margin-top:50px;">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="信用证参考号" prop="didgrp.rec.ownref">
                            <c-input v-model="model.didgrp.rec.ownref" maxlength="16" placeholder="请输入信用证参考号"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="单据参考号" prop="bddgrp.rec.ownref">
                            <c-input v-model="model.bddgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="信用证到期日" prop="didgrp.rec.expdat">
                            <c-date-picker type="date" v-model="model.didgrp.rec.expdat" style="width:50%"
                                placeholder="请选择信用证到期日"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="10">
                        <el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
                            <c-select v-model="model.didgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择币种"
                                :code="codes.cur">
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="10">
                        <el-form-item label="" label-width="10px" prop="didgrp.cbs.opn1.amt">
                            <c-input-currency v-model="model.didgrp.cbs.opn1.amt" placeholder="请输入信用证余额">
                            </c-input-currency>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="单据摘要" prop="bddgrp.rec.nam">
                            <c-input v-model="model.bddgrp.rec.nam" maxlength="40" placeholder="请输入单据摘要"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">

                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="10">
                        <el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
                            <c-select v-model="model.bddgrp.cbs.max.cur" style="width:100%" placeholder="请选择币种"
                                :code="codes.cur">
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="10">
                        <el-form-item label="" label-width="10px" prop="bddgrp.cbs.max.amt">
                            <c-input-currency v-model="model.bddgrp.cbs.max.amt" placeholder="请输入单据金额">
                            </c-input-currency>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="10">
                        <el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
                            <c-select v-model="model.bddgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择币种"
                                :code="codes.cur">
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="10">
                        <el-form-item label="" label-width="10px" prop="bddgrp.cbs.opn1.amt">
                            <c-input-currency v-model="model.bddgrp.cbs.opn1.amt" placeholder="请输入单据余额">
                            </c-input-currency>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
                            <c-date-picker type="date" v-model="model.bddgrp.rec.rcvdat" style="width:50%"
                                placeholder="请选择到单日期"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="单据到期日" prop="bddgrp.rec.matdat">
                            <c-date-picker type="date" v-model="model.bddgrp.rec.matdat" style="width:50%"
                                placeholder="请选择单据到期日"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="运期起算日" prop="bddgrp.rec.stadat">
                            <c-date-picker type="date" v-model="model.bddgrp.rec.stadat" style="width:50%"
                                placeholder="请选择Start Date"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="运期期限" prop="bddgrp.rec.tenmaxday">
                            <c-input v-model="model.bddgrp.rec.tenmaxday" placeholder="请输入运期期限"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="单据类型" prop="bddgrp.rec.docflg">
                            <c-select v-model="model.bddgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="单据状态" prop="bddgrp.rec.docsta">
                            <c-select v-model="model.bddgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <c-ptap :model="model" :argadr="{
                            title: '申请人',
                            grp: 'bddgrp',
                            rol: 'apl',
                          }" :noRef="true" :onlySearch="false" @onAplpDet="onSndpDet">
                        </c-ptap>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <c-ptap :model="model" :argadr="{
                            title: '受益人',
                            grp: 'bddgrp',
                            rol: 'ben',
                          }" :noRef="true" :onlySearch="false" @onAplpDet="onSndpDet">
                        </c-ptap>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <c-ptap :model="model" :argadr="{
                            title: '交单行',
                            grp: 'bddgrp',
                            rol: 'prb',
                          }" :noRef="true" :onlySearch="false" @onAplpDet="onSndpDet">
                        </c-ptap>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">

                    </c-col>
                </c-row>
            </c-col>
        </c-row>

    </c-content>
fukai committed
239 240
</template>
<script>
lixingliang committed
241
    import Api from "~/service/Api"
wangren committed
242
    import commonProcess from "~/mixin/commonProcess";
lixingliang committed
243 244 245
    import CodeTable from "~/config/CodeTable"
    import Event from "~/model/Infbdd/Event"
    import Ptap from "~/views/Public/Ptap";
fukai committed
246

lixingliang committed
247 248 249
    export default {
        inject: ['root'],
        props: ["model", "codes"],
wangren committed
250
        mixins: [commonProcess],
lixingliang committed
251 252 253 254 255
        components: {
            "c-ptap": Ptap,
        },
        data() {
            return {
fukai committed
256

lixingliang committed
257 258 259 260 261 262
            }
        },
        methods: { ...Event },
        created: function () {

        }
fukai committed
263 264 265 266
    }
</script>
<style>

lixingliang committed
267
</style>