Bctset.vue 8.96 KB
Newer Older
wjj committed
1
<template>
wjj 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
    <c-row>
        <!-- =================顶部====================== -->
        <c-col :span="24">
            <c-col :span="12">
                <c-col :span="20">
                    <el-form-item label="Collection Number" prop="bcdgrp.rec.ownref" style="width: 100%">
                        <c-input v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入Collection Number"
                            style="width: 95%" disabled>
                        </c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="1">
                    <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary"
                        icon="el-icon-search" @click="onSeainf">
                    </c-button>
                </c-col>
            </c-col>
            <c-col :span="12">
                <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>
        </c-col>
        <!-- ====================左边======================= -->
        <c-col :span="12">
            <c-col :span="12">
                <el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
wjj committed
29
                    <c-input v-model="model.bcdgrp.cbs.max.cur" style="width:90%" placeholder="请选择Document Amount"
wjj committed
30
                        disabled>
wjj committed
31
                    </c-input>
wjj committed
32 33 34 35
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.max.amt">
wjj committed
36 37
                    <c-input v-model="model.bcdgrp.cbs.max.amt" style="text-align: left; width: 90%"
                        disabled></c-input>
wjj committed
38 39 40 41
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
wjj committed
42
                    <c-input v-model="model.bcdgrp.cbs.opn1.cur" style="width:90%" placeholder="请选择Open Amount"
wjj committed
43
                        disabled>
wjj committed
44
                    </c-input>
wjj committed
45 46 47 48
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.opn1.amt">
wjj committed
49 50
                    <c-input v-model="model.bcdgrp.cbs.opn1.amt" style="text-align: left; width: 90%"
                        disabled></c-input>
wjj committed
51 52 53 54
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
wjj committed
55
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:80%"
wjj committed
56 57 58 59 60
                        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">
wjj committed
61
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:80%"
wjj committed
62 63 64 65 66
                        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">
wjj committed
67
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.matdat" style="width:80%"
wjj committed
68 69 70 71 72
                        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">
wjj committed
73
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:80%"
wjj committed
74 75 76 77 78
                        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">
wjj committed
79
                    <c-input v-model="model.bcdgrp.rec.doctypcod" style="width:93%" placeholder="请选择Payment Condition"
wjj committed
80
                        disabled>
wjj committed
81
                    </c-input>
wjj committed
82 83 84 85
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
wjj committed
86
                    <c-input v-model="model.bcdgrp.rec.docsta" style="width:93%" placeholder="请输入Document Set Status"
wjj committed
87
                        disabled>
wjj committed
88
                    </c-input>
wjj committed
89 90 91 92
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Amount Accepted" prop="setmod.doccur">
wjj committed
93 94
                    <c-input v-model="model.setmod.doccur" style="width:90%" placeholder="Amount Accepted" disabled>
                    </c-input>
wjj committed
95 96 97 98
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item style="text-align: left" label-width="0" prop="setmod.docamt">
wjj committed
99
                    <c-input v-model="model.setmod.docamt" style="text-align: left; width: 90%"
wjj committed
100 101 102 103
                        placeholder="请输入document amount"></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="24">
wjj committed
104 105
                <c-edit-table :model="model" v-bind="docgrd">
                </c-edit-table>
wjj committed
106 107 108 109
            </c-col>
        </c-col>
        <!-- ====================右边======================= -->
        <c-col :span="12">
wjj committed
110 111 112
            <c-col :span="24">
                <el-form-item style="text-align: right" label="Drawee  Ref." prop="bcdgrp.dre.pts.ref">
                    <c-input v-model="model.bcdgrp.dre.pts.ref" maxlength="16" style="width: 50%"  disabled></c-input>
wjj committed
113 114 115 116 117 118 119
                </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>
wjj committed
120 121 122
            <c-col :span="24">
                <el-form-item style="text-align: right" label="Remitting Bank  Ref." prop="bcdgrp.rmi.pts.ref">
                    <c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" style="width: 50%" disabled>
wjj committed
123 124 125 126 127 128 129 130
                    </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>
wjj committed
131 132 133
            <c-col :span="24">
                <el-form-item style="text-align: right" label="Drawer  Ref." prop="bcdgrp.drr.pts.ref">
                    <c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="16" style="width: 50%" disabled>
wjj committed
134 135 136 137 138 139 140 141 142 143
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item prop="bcdgrp.drr.pts.ref">
                    <c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="40" style="width: 100%" disabled></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item label="Accepted on" prop="bcdgrp.rec.accdat">
wjj committed
144 145
                    <c-date-picker type="date" v-model="model.bcdgrp.rec.accdat" style="width:100%"
                        value-format="yyyy-MM-dd" placeholder="请选择Accepted on"></c-date-picker>
wjj committed
146 147
                </el-form-item>
            </c-col>
wjj committed
148
        </c-col>
wjj committed
149
    </c-row>
wjj committed
150 151
</template>
<script>
wjj committed
152 153 154 155
    import Api from "~/service/Api"
    import CommonProcess from "~/mixin/CommonProcess";
    import CodeTable from "~/config/CodeTable"
    import Event from "~/model/Bctacc/Event"
wjj committed
156

wjj committed
157 158 159 160 161 162
    export default {
        inject: ['root'],
        props: ["model", "codes"],
        mixins: [CommonProcess],
        data() {
            return {
wjj committed
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
                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",
                },
wjj committed
185

wjj committed
186 187 188 189 190 191
            }
        },
        methods: {
            ...Event
        },
        created: function () {
wjj committed
192

wjj committed
193
        }
wjj committed
194 195 196 197
    }
</script>
<style>

wjj committed
198
</style>