Docpre.vue 4.95 KB
Newer Older
lianyang committed
1 2
<template>
  <div class="eibs-tab">
3
    <!--=== =================================左边======================================== -->
lianyang committed
4 5 6

    <c-col :span="11">
      <!-- Discrepancies -->
7
      <c-col :span="24">
lianyang committed
8
        <el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
9 10 11 12 13 14 15 16 17 18 19
          <c-fullbox>
            <c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit
              placeholder="请输入Discrepancies" rows="5" :disabled="!docdisflg"></c-input>

            <template slot="footer">
              <c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"
                :disabled="!docdisflg">
                <!-- ... -->
              </c-button>
            </template>
          </c-fullbox>
lianyang committed
20
        </el-form-item>
lianyang committed
21 22 23
      </c-col>
      <!-- Comments and Conclusion -->
      <c-col :span="24">
lianyang committed
24
        <el-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon">
lianyang committed
25
          <c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit
26
            placeholder="请输入Comments and Conclusions" rows="5"></c-input>
lianyang committed
27
        </el-form-item>
lianyang committed
28 29
      </c-col>
      <!-- Settlement Instructions BR -->
30 31
      <!-- <c-col :span="21"> -->
      <c-col :span="24">
lianyang committed
32
        <el-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr">
33 34 35 36 37 38 39 40
          <c-fullbox>
            <c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit
              placeholder="请输入Settlement Instructions BR" rows="5"></c-input>
            <template slot="footer">
              <c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
              </c-button>
            </template>
          </c-fullbox>
lianyang committed
41
        </el-form-item>
lianyang committed
42
      </c-col>
43 44

      <!-- 表格 -->
45
      <c-col :span="24">
46 47 48 49 50
        <c-docpre :model="model" :argadr="{
          path: 'brdgrp.blk.prsdoc',
          grp: 'brtp',
          code: 'docpre',
        }"></c-docpre>
lianyang committed
51 52
      </c-col>

53

lianyang committed
54 55
    </c-col>

56
    <!--=== ========================================右边======================================== -->
lianyang committed
57 58 59 60 61 62
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox>
      </c-col>

      <c-col :span="24">
63 64
        <c-checkbox v-model="docdisflg">discrepancies modified</c-checkbox>
        <!-- <c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox> -->
lianyang committed
65 66 67 68 69
      </c-col>

      <c-col :span="24">
        <el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp">
          <c-select v-model="model.brdgrp.rec.advtyp" style="width: 100%" placeholder="请选择Type of Advice Received"
70
            :code="codes.advtyp0">
lianyang committed
71 72 73 74 75 76
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Date to be Paid" prop="brdgrp.rec.totdat">
77 78
          <c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width: 100%" placeholder="请选择付款日期"
            disabled>
lianyang committed
79 80 81 82 83 84 85
          </c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Discrepancy Advice Dated" prop="brdgrp.rec.disdat" label-width="155px">
          <c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width: 100%"
86
            placeholder="请选择Discrepancy Advice Dated" disabled></c-date-picker>
lianyang committed
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 113 114 115 116
        </el-form-item>
      </c-col>


    </c-col>


    <!-- <c-col :span="12">
      <c-checkbox v-model="model.brdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
    </c-col>

    <c-col :span="12">
      <c-checkbox v-model="model.brtp.cre752flg">Create 752</c-checkbox>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Further Identification" prop="brtp.furide">
        <c-select v-model="model.brtp.furide" style="width: 100%" placeholder="请选择Further Identification">
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <c-checkbox v-model="model.brtp.cre732flg">Create MT 732</c-checkbox>
    </c-col>

    <c-col :span="12">
      <span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab">
      </span>
    </c-col> -->
lianyang committed
117 118 119
  </div>
</template>
<script>
lianyang committed
120
import Api from "~/service/Api";
lianyang committed
121
import commonProcess from "~/mixin/commonProcess";
lianyang committed
122 123
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtudp/Event";
124
import Utils from "~/utils";
125
import Docpre from "~/views/Public/Docpre";
lianyang committed
126 127

export default {
128 129 130 131
  components: {
    // "c-ptap": Ptap,
    "c-docpre": Docpre,
  },
lianyang committed
132 133 134 135
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
136 137
    return {
    };
lianyang committed
138
  },
139 140
  methods: { ...Event 
  },
lianyang committed
141
  created: function () { },
142 143 144 145 146 147 148 149 150 151
  computed: {
    docdisflg: {
      get() {
        return this.model.brdgrp.blk.docdisflg != ""
      },
      set(val) {
        this.model.brdgrp.blk.docdisflg = val ? "X" : ""
      }
    },
  },
lianyang committed
152
};
lianyang committed
153 154 155
</script>
<style>
</style>