Bctset.vue 8.77 KB
Newer Older
wjj committed
1
<template>
LiRui committed
2
  <div class="eibs">
3
    <!-- ====================左边======================= -->
LiRui committed
4
    <c-col :span="12" style="padding-right: 20px;">
5 6
      <c-col :span="24">
        <el-form-item
nanrui committed
7
          label="代收承兑编号"
8 9 10 11 12 13 14
          prop="bcdgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              v-model="model.bcdgrp.rec.ownref"
              maxlength="16"
nanrui committed
15
              placeholder="请输入代收承兑编号"
16 17 18 19 20 21 22 23 24 25
              style="width: 100%"
              disabled
            >
            </c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 8px; padding: 0 12px"
                size="small"
                type="primary"
              >
nanrui committed
26
                <i class="el-icon-info"></i>
27 28 29 30 31 32
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
      <c-col :span="12">
nanrui committed
33
        <el-form-item label="代收币种及金额" prop="bcdgrp.cbs.max.cur">
34 35 36
          <c-input
            v-model="model.bcdgrp.cbs.max.cur"
            style="width: 100%"
nanrui committed
37
            placeholder="请选择代收币种及金额"
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
            disabled
          >
          </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: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
nanrui committed
57
        <el-form-item label="代收币种及余额" prop="bcdgrp.cbs.opn1.cur">
58 59 60
          <c-input
            v-model="model.bcdgrp.cbs.opn1.cur"
            style="width: 100%"
nanrui committed
61
            placeholder="请选择代收币种及余额"
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
            disabled
          >
          </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: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
nanrui committed
81
        <el-form-item label="收单日期" prop="bcdgrp.rec.rcvdat">
82 83 84 85 86
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.rcvdat"
            style="width: 100%"
            value-format="yyyy-MM-dd"
nanrui committed
87
            placeholder="请选择收单日期"
88 89 90 91 92
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="12">
nanrui committed
93
        <el-form-item label="通知日期" prop="bcdgrp.rec.advdat">
94 95 96 97 98
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.advdat"
            style="width: 100%"
            value-format="yyyy-MM-dd"
nanrui committed
99
            placeholder="请选择通知日期"
100 101 102 103 104
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="12">
nanrui committed
105
        <el-form-item label="单据到期日" prop="bcdgrp.rec.matdat">
106 107 108 109 110
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.matdat"
            style="width: 100%"
            value-format="yyyy-MM-dd"
nanrui committed
111
            placeholder="请选择单据到期日"
112 113 114 115 116
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="12">
nanrui committed
117
        <el-form-item label="托收日期" prop="bcdgrp.rec.predat">
118 119 120 121 122
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.predat"
            style="width: 100%"
            value-format="yyyy-MM-dd"
nanrui committed
123
            placeholder="请选择托收日期"
124 125 126 127 128
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="24">
nanrui committed
129
        <el-form-item label="支付条件" prop="bcdgrp.rec.doctypcod">
wangren committed
130
          <c-select
131
            v-model="model.bcdgrp.rec.doctypcod"
wangren committed
132
            :code="codes.doctypcod"
133
            style="width: 100%"
nanrui committed
134
            placeholder="请选择支付条件"
135 136
            disabled
          >
wangren committed
137
          </c-select>
138 139 140
        </el-form-item>
      </c-col>
      <c-col :span="24">
nanrui committed
141
        <el-form-item label="单据状态" prop="bcdgrp.rec.docsta">
wangren committed
142
          <c-select
143
            v-model="model.bcdgrp.rec.docsta"
144
            :code="codes.docstabot"
145
            style="width: 100%"
nanrui committed
146
            placeholder="请输入单据状态"
147 148
            disabled
          >
wangren committed
149
          </c-select>
150 151 152
        </el-form-item>
      </c-col>
      <c-col :span="12">
nanrui committed
153
        <el-form-item label="承兑金额" prop="setmod.doccur">
154 155 156
          <c-input
            v-model="model.setmod.doccur"
            style="width: 100%"
nanrui committed
157
            placeholder="承兑金额"
158 159 160 161 162 163 164 165 166 167 168 169 170 171
            disabled
          >
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item
          style="text-align: left"
          label-width="0"
          prop="setmod.docamt"
        >
          <c-input
            v-model="model.setmod.docamt"
            style="text-align: left; width: 100%"
nanrui committed
172
            placeholder="请输入代收币种及金额"
173 174 175
          ></c-input>
        </el-form-item>
      </c-col>
LiRui committed
176
    </c-col>
177
    <!-- ====================右边======================= -->
LiRui committed
178
    <c-col :span="12" style="padding-left: 20px;">
179
      <c-col :span="24">
nanrui committed
180
        <el-form-item label="简略信息" prop="bcdgrp.rec.nam" style="width: 100%">
181 182 183 184 185 186 187 188 189 190 191
          <c-input
            v-model="model.bcdgrp.rec.nam"
            maxlength="40"
            style="width: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item
          style="text-align: right"
nanrui committed
192
          label="付款人参考号"
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
          prop="bcdgrp.dre.pts.ref"
        >
          <c-input
            v-model="model.bcdgrp.dre.pts.ref"
            maxlength="16"
            style="width: 100%"
            disabled
          ></c-input>
        </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">
        <el-form-item
          style="text-align: right"
nanrui committed
216
          label="托收行参考号"
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
          prop="bcdgrp.rmi.pts.ref"
        >
          <c-input
            v-model="model.bcdgrp.rmi.pts.ref"
            maxlength="16"
            style="width: 100%"
            disabled
          >
          </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">
        <el-form-item
          style="text-align: right"
nanrui committed
241
          label="收款人参考号"
242 243 244 245 246 247 248 249 250 251 252 253
          prop="bcdgrp.drr.pts.ref"
        >
          <c-input
            v-model="model.bcdgrp.drr.pts.ref"
            maxlength="16"
            style="width: 100%"
            disabled
          >
          </c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangren committed
254
        <el-form-item prop="bcdgrp.drr.pts.nam">
255
          <c-input
wangren committed
256
            v-model="model.bcdgrp.drr.pts.nam"
257 258 259 260 261 262 263
            maxlength="40"
            style="width: 100%"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
nanrui committed
264
        <el-form-item label="承兑日期" prop="bcdgrp.rec.accdat">
265 266 267 268 269
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.accdat"
            style="width: 100%"
            value-format="yyyy-MM-dd"
nanrui committed
270
            placeholder="请选择承兑日期"
271 272 273
          ></c-date-picker>
        </el-form-item>
      </c-col>
LiRui committed
274 275 276 277 278 279 280 281 282 283 284 285 286
    </c-col>
    <c-col :span="24">
      <!-- <c-edit-table :model="model" v-bind="docgrd">
              </c-edit-table> -->
      <c-docpre
        :model="model"
        :argadr="{
          path: 'bcdgrp.blk.docpre',
          grp: 'bctp',
          code: 'docpre',
        }"
      ></c-docpre>
    </c-col>
287
  </div>
wjj committed
288 289
</template>
<script>
290 291 292 293 294
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctacc/Event";
import Docpre from "~/views/Public/Docpre";
wjj committed
295

296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
export default {
  components: {
    "c-docpre": Docpre,
  },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: {
    ...Event,
  },
  created: function () {},
};
wjj committed
311
</script>
312
<style></style>