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

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

                      size="small"
                      style="margin-left: 10px; padding: 0 12px"
                      type="primary"
                      @click="onColinssnmButtxmsel">
                    <i class="el-icon-more"></i>
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>

          </c-col>

wjj committed
113 114
        </c-col>
        <!-- ====================右边======================= -->
115
        <c-col :span="12" style="padding-left: 20px">
116 117

            <c-col :span="24">
nanrui committed
118
                <el-form-item label="简略信息" prop="bcdgrp.rec.nam" style="width: 100%">
119 120 121
                    <c-input v-model="model.bcdgrp.rec.nam" maxlength="40" style="width: 100%" disabled></c-input>
                </el-form-item>
            </c-col>
wjj committed
122
            <c-col :span="24">
nanrui committed
123
                <el-form-item style="text-align: right" label="付款人参考号" prop="bcdgrp.dre.pts.ref">
124
                    <c-input v-model="model.bcdgrp.dre.pts.ref" maxlength="16" style="width: 100%" disabled></c-input>
wjj committed
125 126 127 128 129 130 131 132
                </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
133
                <el-form-item style="text-align: right" label="托收行参考号" prop="bcdgrp.rmi.pts.ref">
134
                    <c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" style="width: 100%" disabled>
wjj committed
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.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
144
                <el-form-item style="text-align: right" label="收款人参考号" prop="bcdgrp.drr.pts.ref">
145
                    <c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="16" style="width: 100%" disabled>
wjj committed
146 147 148 149
                    </c-input>
                </el-form-item>
            </c-col>
            <c-col :span="24">
wangren committed
150 151 152 153 154
                <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
155
                <el-form-item style="text-align: right" label="第二代收行参考号" prop="bcdgrp.co2.pts.ref">
wangren committed
156 157
                    <c-input v-model="model.bcdgrp.co2.pts.ref" maxlength="16" style="width: 100%" disabled>
                    </c-input>
wjj committed
158 159 160
                </el-form-item>
            </c-col>
            <c-col :span="24">
nanrui committed
161 162
                <el-form-item label="" prop="bcdgrp.co2.pts.nam" style="width: 100%">
                    <c-fullbox>
wangna committed
163
                        <c-input v-model="model.bcdgrp.co2.pts.nam" maxlength="16" disabled placeholder="请输入">
nanrui committed
164 165 166
                        </c-input>
                        <template slot="footer">
                            <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
nanrui committed
167
                                <i class="el-icon-info"></i>
nanrui committed
168 169
                            </c-button>
                            <c-button style="margin: 0 0" size="small" type="primary" disabled>
170
                                详情
nanrui committed
171 172 173 174
                            </c-button>
                        </template>
                    </c-fullbox>
                </el-form-item>
175 176
            </c-col>
            <c-col :span="24">
nanrui committed
177 178 179 180
                <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
181 182
            </c-col>
        </c-col>
183 184 185 186 187 188 189 190 191 192

      <c-col :span="24">
        <!-- <c-edit-table :model="model" v-bind="docgrd">
        </c-edit-table> -->
        <c-docpre :model="model" :argadr="{
                      path: 'SEMFLG',
                      grp: 'bctp',
                      code: 'docpre'
                }"></c-docpre>
      </c-col>
nanrui committed
193
    </div>
wjj committed
194 195
</template>
<script>
nanrui committed
196 197 198 199 200 201
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
202

nanrui committed
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
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
219
                },
nanrui committed
220 221 222 223 224 225 226
                {
                    title: "2nd",
                    width: "80px",
                    dataIndex: "cmail2",
                    show: "input",
                },
                {
wangna committed
227
                    title: "单据",
nanrui committed
228 229 230 231 232 233 234
                    width: "320px",
                    dataIndex: "docnam",
                    show: "input",
                },
                ],
                urls: "bctp.docgrdm.docgrd",
            },
wjj committed
235 236

        }
nanrui committed
237 238 239 240 241 242
    },
    methods: {
        ...Event
    },
    created: function () {

wjj committed
243
    }
nanrui committed
244
}
wjj committed
245 246 247 248
</script>
<style>

</style>