Ovwp.vue 9.89 KB
Newer Older
chenwen committed
1 2
<template>
  <div class="eibs-tab">
3 4 5
    <!-- ====================左边======================= -->
    <c-col :span="11">
      <c-col :span="24">
6
        <el-form-item label="Collection Number" prop="bcdgrp.rec.ownref">
7 8 9 10 11 12
          <c-fullbox>
            <c-input
              disabled
              v-model="model.bcdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入Collection Number"
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">
chenwen committed
27
        <el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
          <c-select
            disabled
            v-model="model.bcdgrp.cbs.max.cur"
            style="width: 100%"
            placeholder="请选择Document Amount"
          >
          </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"
            placeholder="请输入Document Amount"
          ></c-input>
        </el-form-item>
      </c-col>
chenwen committed
51 52 53

      <c-col :span="12">
        <el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
54 55 56 57 58 59 60
          <c-select
            disabled
            v-model="model.bcdgrp.cbs.opn1.cur"
            style="width: 100%"
            placeholder="请选择Open Amount"
          >
          </c-select>
chenwen committed
61
        </el-form-item>
62 63 64 65 66 67 68 69 70
      </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"
            placeholder="请输入Open Amount"
          ></c-input>
chenwen committed
71
        </el-form-item>
72
      </c-col>
chenwen committed
73

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

      <c-col :span="12">
chenwen committed
87
        <el-form-item label="Advice on" 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">
chenwen committed
98
        <el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
99 100 101 102 103 104 105
          <c-date-picker
            type="date"
            disabled
            v-model="model.bcdgrp.rec.matdat"
            style="width: 100%"
            placeholder="请选择Maturity Date"
          ></c-date-picker>
chenwen committed
106
        </el-form-item>
107 108
      </c-col>
      <c-col :span="12">
chenwen committed
109
        <el-form-item label="Remitted on " prop="bcdgrp.rec.predat">
110 111 112 113 114 115 116
          <c-date-picker
            type="date"
            disabled
            v-model="model.bcdgrp.rec.predat"
            style="width: 100%"
            placeholder="请选择Maturity Date"
          ></c-date-picker>
chenwen committed
117
        </el-form-item>
118 119
      </c-col>
      <c-col :span="24">
chenwen committed
120
        <el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
121
          <c-select
122
            :code="codes.doctypcod"
123 124 125 126 127 128
            disabled
            v-model="model.bcdgrp.rec.doctypcod"
            style="width: 100%"
            placeholder="请选择Payment Condition"
          >
          </c-select>
chenwen committed
129
        </el-form-item>
130 131 132 133 134 135 136 137
      </c-col>
      <c-col :span="24">
        <el-form-item
          label="Document Set Status"
          prop="bcdgrp.rec.docsta"
          style="width: 100%"
        >
          <c-select
138
            :code="codes.docstabot"
139 140 141 142 143
            style="width: 100%"
            disabled
            v-model="model.bcdgrp.rec.docsta"
            placeholder="请输入Document Set Status"
          ></c-select>
chenwen committed
144
        </el-form-item>
145 146 147 148 149 150 151 152 153 154 155 156 157 158
      </c-col>
      <c-col :span="24">
        <el-form-item
          label="Select Rejection Type"
          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 162
            style="width:100%"
            :code="codes.rejtypsel"
            v-model="model.rejtypsel"   
            placeholder="请输入Select Rejection Type"></c-select>
chenwen committed
163
        </el-form-item>
164 165
      </c-col>
      <c-col :span="24">
chenwen committed
166
        <el-form-item label="Reason " prop="bcdgrp.blk.resrej">
167 168 169 170 171 172 173 174 175 176
          <c-fullbox>
            <c-input
              :rows="4"
              style="width: 100%"
              type="textarea"
              v-model="model.bcdgrp.blk.resrej"
              maxlength="50"
              show-word-limit
              placeholder="请输入Reason "
            ></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">
194
        <el-form-item label="Name" 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">
chenwen committed
204
        <el-form-item label="Drawee's Ref " 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">
chenwen committed
214
        <el-form-item label="Drawee's Name" 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">
chenwen committed
224
        <el-form-item label="Remitting Bank's Ref " prop="bcdgrp.rmi.pts.ref">
225 226 227 228 229 230
          <c-input
            disabled
            v-model="model.bcdgrp.rmi.pts.ref"
            maxlength="16"
            placeholder="请输入Remitting Bank"
          ></c-input>
chenwen committed
231
        </el-form-item>
232
      </c-col>
chenwen committed
233 234 235

      <c-col :span="24">
        <el-form-item label="Remitting Bank's Name" 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">
chenwen committed
245
        <el-form-item label="Drawer's Ref " prop="bcdgrp.drr.pts.ref">
246 247 248 249 250 251
          <c-input
            disabled
            v-model="model.bcdgrp.drr.pts.ref"
            maxlength="16"
            placeholder="请输入Drawer"
          ></c-input>
chenwen committed
252
        </el-form-item>
253 254 255 256 257 258 259 260 261
      </c-col>
      <c-col :span="24">
        <el-form-item label="Drawer's Name" prop="bcdgrp.drr.pts.nam">
          <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">
chenwen committed
265
        <el-form-item label="SWIFT Advice Type" prop="advtyp">
266
          <c-select
267
            :code="codes.advtyp1"
268 269 270 271 272
            v-model="model.advtyp"
            style="width: 100%"
            placeholder="请选择SWIFT Advice Type"
          >
          </c-select>
chenwen committed
273
        </el-form-item>
274 275
      </c-col>
      <c-col :span="24">
276
        <el-form-item label="SWIFT message dated " 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 291 292 293
          v-model="model.mtabut.clsflg"
          >Close Contract</c-checkbox
        >
      </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>