Ovwp.vue 9.94 KB
Newer Older
chenwen committed
1 2
<template>
  <div class="eibs-tab">
3 4 5
    <!-- ====================左边======================= -->
    <c-col :span="11">
      <c-col :span="24">
nanrui committed
6
        <el-form-item label="代收拒付编号" prop="bcdgrp.rec.ownref">
7 8 9 10 11
          <c-fullbox>
            <c-input
              disabled
              v-model="model.bcdgrp.rec.ownref"
              maxlength="16"
nanrui committed
12
              placeholder="请输入代收拒付编号"
13
            ></c-input>
14
            <template slot="footer">
15
              <c-button
16
                style="margin-left: 18px; padding: 0 12px"
17 18 19 20 21
                size="small"
                type="primary"
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
22 23
            </template>
          </c-fullbox>
24
        </el-form-item>
25 26
      </c-col>
      <c-col :span="12">
nanrui committed
27
        <el-form-item label="代收币种及金额" prop="bcdgrp.cbs.max.cur">
28 29 30 31
          <c-select
            disabled
            v-model="model.bcdgrp.cbs.max.cur"
            style="width: 100%"
nanrui committed
32
            placeholder="请选择代收币种及金额"
33 34 35 36 37 38 39 40 41 42 43 44 45 46
          >
          </c-select>
        </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
            disabled
            style="text-align: left; width: 100%"
            v-model="model.bcdgrp.cbs.max.amt"
nanrui committed
47
            placeholder="请输入代收币种及金额"
48 49 50
          ></c-input>
        </el-form-item>
      </c-col>
chenwen committed
51 52

      <c-col :span="12">
nanrui committed
53
        <el-form-item label="代收币种及余额" prop="bcdgrp.cbs.opn1.cur">
54 55 56 57
          <c-select
            disabled
            v-model="model.bcdgrp.cbs.opn1.cur"
            style="width: 100%"
nanrui committed
58
            placeholder="请选择代收币种及余额"
59 60
          >
          </c-select>
chenwen committed
61
        </el-form-item>
62 63 64 65 66 67 68
      </c-col>
      <c-col :span="12">
        <el-form-item label-width="0" prop="bcdgrp.cbs.opn1.amt">
          <c-input
            disabled
            style="text-align: left; width: 100%"
            v-model="model.bcdgrp.cbs.opn1.amt"
nanrui committed
69
            placeholder="请输入代收币种及余额"
70
          ></c-input>
chenwen committed
71
        </el-form-item>
72
      </c-col>
chenwen committed
73

74
      <c-col :span="12">
nanrui committed
75
        <el-form-item label="收单日期" prop="bcdgrp.rec.rcvdat">
76 77 78 79 80
          <c-date-picker
            disabled
            type="date"
            v-model="model.bcdgrp.rec.rcvdat"
            style="width: 100%"
nanrui committed
81
            placeholder="请选择收单日期"
82
          ></c-date-picker>
chenwen committed
83
        </el-form-item>
84 85 86
      </c-col>

      <c-col :span="12">
nanrui committed
87
        <el-form-item label="通知日期" prop="bcdgrp.rec.advdat">
88 89 90 91 92 93 94
          <c-date-picker
            disabled
            type="date"
            v-model="model.bcdgrp.rec.advdat"
            style="width: 100%"
            placeholder="请选择Date of Advice of Documents Received"
          ></c-date-picker>
chenwen committed
95
        </el-form-item>
96 97
      </c-col>
      <c-col :span="12">
nanrui committed
98
        <el-form-item label="单据到期日" prop="bcdgrp.rec.matdat">
99 100 101 102 103
          <c-date-picker
            type="date"
            disabled
            v-model="model.bcdgrp.rec.matdat"
            style="width: 100%"
nanrui committed
104
            placeholder="请选择单据到期日"
105
          ></c-date-picker>
chenwen committed
106
        </el-form-item>
107 108
      </c-col>
      <c-col :span="12">
nanrui committed
109
        <el-form-item label="托收日期 " prop="bcdgrp.rec.predat">
110 111 112 113 114
          <c-date-picker
            type="date"
            disabled
            v-model="model.bcdgrp.rec.predat"
            style="width: 100%"
nanrui committed
115
            placeholder="请选择单据到期日"
116
          ></c-date-picker>
chenwen committed
117
        </el-form-item>
118 119
      </c-col>
      <c-col :span="24">
nanrui committed
120
        <el-form-item label="支付条件" prop="bcdgrp.rec.doctypcod">
121
          <c-select
122
            :code="codes.doctypcod"
123 124 125
            disabled
            v-model="model.bcdgrp.rec.doctypcod"
            style="width: 100%"
nanrui committed
126
            placeholder="请选择支付条件"
127 128
          >
          </c-select>
chenwen committed
129
        </el-form-item>
130 131 132
      </c-col>
      <c-col :span="24">
        <el-form-item
nanrui committed
133
          label="单据状态"
134 135 136 137
          prop="bcdgrp.rec.docsta"
          style="width: 100%"
        >
          <c-select
138
            :code="codes.docstabot"
139 140 141
            style="width: 100%"
            disabled
            v-model="model.bcdgrp.rec.docsta"
nanrui committed
142
            placeholder="请输入单据状态"
143
          ></c-select>
chenwen committed
144
        </el-form-item>
145 146 147
      </c-col>
      <c-col :span="24">
        <el-form-item
nanrui committed
148
          label="拒单类型"
149 150 151 152 153 154 155 156 157 158
          prop="rejtypsel"
          style="width: 100%"
        >
          <!-- <el-checkbox-group v-model="this.model.rejtypsel">
            <el-checkbox label="Pending non-payment"></el-checkbox>
            <el-checkbox label="Outright,hold documents"></el-checkbox>
            <el-checkbox label="Outright, return documents"></el-checkbox>
            
          </el-checkbox-group> -->
          <c-select  
159 160 161
            style="width:100%"
            :code="codes.rejtypsel"
            v-model="model.rejtypsel"   
nanrui committed
162
            placeholder="请输入拒单类型"></c-select>
chenwen committed
163
        </el-form-item>
164 165
      </c-col>
      <c-col :span="24">
nanrui committed
166
        <el-form-item label="拒单理由描述 " prop="bcdgrp.blk.resrej">
167 168 169 170 171 172 173 174
          <c-fullbox>
            <c-input
              :rows="4"
              style="width: 100%"
              type="textarea"
              v-model="model.bcdgrp.blk.resrej"
              maxlength="50"
              show-word-limit
nanrui committed
175
              placeholder="请输入拒单理由描述 "
176
            ></c-input>
177
            <template slot="footer">
178 179 180 181 182 183 184
              <c-button
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="onResrejButtxmsel"
              >
              </c-button>
185
            </template>
186
          </c-fullbox>
chenwen committed
187
        </el-form-item>
188 189
      </c-col>
    </c-col>
chenwen committed
190

191 192 193
    <!-- ========================右边======================= -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
nanrui committed
194
        <el-form-item label="简略信息" prop="bcdgrp.rec.nam">
195 196 197 198 199 200
          <c-input
            disabled
            v-model="model.bcdgrp.rec.nam"
            maxlength="40"
            placeholder="请输入Name"
          ></c-input>
201
        </el-form-item>
202 203
      </c-col>
      <c-col :span="24">
nanrui committed
204
        <el-form-item label="付款人参考号 " prop="bcdgrp.dre.pts.ref">
205 206 207 208 209 210
          <c-input
            disabled
            v-model="model.bcdgrp.dre.pts.ref"
            maxlength="16"
            placeholder="请输入Drawee"
          ></c-input>
chenwen committed
211
        </el-form-item>
212 213
      </c-col>
      <c-col :span="24">
nanrui committed
214
        <el-form-item label="付款人名称" prop="bcdgrp.dre.pts.nam">
215 216 217 218 219 220
          <c-input
            disabled
            v-model="model.bcdgrp.dre.pts.nam"
            maxlength="40"
            placeholder="请输入Name of Party"
          ></c-input>
chenwen committed
221
        </el-form-item>
222 223
      </c-col>
      <c-col :span="24">
nanrui committed
224
        <el-form-item label="托收行参考号 " prop="bcdgrp.rmi.pts.ref">
225 226 227 228
          <c-input
            disabled
            v-model="model.bcdgrp.rmi.pts.ref"
            maxlength="16"
nanrui committed
229
            placeholder="请输入托收行"
230
          ></c-input>
chenwen committed
231
        </el-form-item>
232
      </c-col>
chenwen committed
233 234

      <c-col :span="24">
nanrui committed
235
        <el-form-item label="托收行名称" prop="bcdgrp.rmi.pts.nam">
236 237 238 239 240 241
          <c-input
            disabled
            v-model="model.bcdgrp.rmi.pts.nam"
            maxlength="40"
            placeholder="请输入Name of Party"
          ></c-input>
chenwen committed
242
        </el-form-item>
243 244
      </c-col>
      <c-col :span="24">
nanrui committed
245
        <el-form-item label="收款人参考号 " prop="bcdgrp.drr.pts.ref">
246 247 248 249
          <c-input
            disabled
            v-model="model.bcdgrp.drr.pts.ref"
            maxlength="16"
nanrui committed
250
            placeholder="请输入收款人"
251
          ></c-input>
chenwen committed
252
        </el-form-item>
253 254
      </c-col>
      <c-col :span="24">
nanrui committed
255
        <el-form-item label="收款人名称" prop="bcdgrp.drr.pts.nam">
256 257 258 259 260 261
          <c-input
            disabled
            v-model="model.bcdgrp.drr.pts.nam"
            maxlength="40"
            placeholder="请输入Name of Party"
          ></c-input>
chenwen committed
262
        </el-form-item>
263 264
      </c-col>
      <c-col :span="24">
nanrui committed
265
        <el-form-item label="SWIFT报文通知类型" prop="advtyp">
266
          <c-select
267
            :code="codes.advtyp1"
268 269
            v-model="model.advtyp"
            style="width: 100%"
nanrui committed
270
            placeholder="请选择SWIFT报文通知类型"
271 272
          >
          </c-select>
chenwen committed
273
        </el-form-item>
274 275
      </c-col>
      <c-col :span="24">
nanrui committed
276
        <el-form-item label="SWIFT报文时间 " prop="swtdat">
277 278 279 280 281 282 283 284 285 286 287 288
          <c-date-picker
            type="date"
            v-model="model.swtdat"
            style="width: 100%"
            placeholder="请选择修改日期"
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-checkbox
          style="margin: 0px 0 10px 150px"
          disabled
289
          true-label="C"
290
          v-model="model.mtabut.clsflg"
nanrui committed
291
          >闭卷</c-checkbox
292 293
        >
      </c-col>
chenwen committed
294

295 296 297 298 299 300 301 302 303 304 305 306 307
      <c-col :span="24" v-if="(this.model.rejtypsel == 'R')">
     <el-form-item label="退单方式" prop="rejtype">
          <c-select
            :code="codes.rejtype"
            v-model="model.rejtype"
            style="width: 100%"
            
          >
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>
  </div>
chenwen committed
308 309
</template>
<script>
310
import Api from "~/service/Api";
wangren committed
311
import commonProcess from "~/mixin/commonProcess";
312 313
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctdor/Event";
chenwen committed
314 315

export default {
316 317 318 319 320 321 322 323
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
324 325 326 327 328 329 330 331 332 333
  watch:{
    "model.rejtypsel":{
      immediate:true,
      handler(){
        if(this.model.rejtypsel == 'R'){
          this.model.rejtype='1'
        }
      }
    }
  },
334
};
chenwen committed
335
</script>
336
<style></style>