Docpre.vue 4.96 KB
Newer Older
zhengxiaokui committed
1 2
<template>
  <div class="eibs-tab">
zhengxiaokui committed
3
    <c-row>
zhengxiaokui committed
4 5 6 7 8 9
      <c-col :span="12">
        <c-row>
          <c-col :span="24">
            <el-form-item label="不符点">
              <c-input
                type="textarea"
zhengxiaokui committed
10
                :disabled="model.bddgrp.blk.docdisflg ? false : true"
zhengxiaokui committed
11 12 13 14 15 16 17 18
                :rows="6"
                v-model="model.bddgrp.blk.docdis"
                maxlength="65"
                show-word-limit
                placeholder="请输入不符点"
              ></c-input>
            </el-form-item>
          </c-col>
zhengxiaokui committed
19

zhengxiaokui committed
20 21 22 23 24 25 26 27 28 29 30 31
          <c-col :span="24">
            <el-form-item label="解释和结论">
              <c-input
                type="textarea"
                :rows="4"
                v-model="model.bddgrp.blk.comcon"
                maxlength="65"
                show-word-limit
                placeholder="请输入解释和结论"
              ></c-input>
            </el-form-item>
          </c-col>
zhengxiaokui committed
32

zhengxiaokui committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46
          <c-col :span="24">
            <el-form-item label="到期付款确认备注">
              <c-input
                type="textarea"
                :rows="2"
                resize="none"
                v-model="model.bddgrp.blk.accrmk"
                maxlength="65"
                show-word-limit
                placeholder="请输入到期付款确认备注"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
zhengxiaokui committed
47
            <c-istream-table
zhengxiaokui committed
48 49 50 51 52 53
              :list="model.bdtp.docgrdm.docgrd"
              :columns="columns"
            >
            </c-istream-table>
          </c-col>
        </c-row>
zhengxiaokui committed
54 55
      </c-col>

zhengxiaokui committed
56 57 58 59 60 61 62 63 64 65 66
      <c-col :span="12">
        <c-row>
          <c-col :span="24">
            <div class="c-checkbox">
              <c-checkbox v-model="model.bddgrp.rec.igndisflg"
                >忽略不符点</c-checkbox
              >
            </div>
          </c-col>
          <c-col :span="24">
            <div class="c-checkbox">
zhengxiaokui committed
67
              <c-checkbox v-model="model.bddgrp.blk.docdisflg" @change="changed"
zhengxiaokui committed
68 69 70 71
                >录入不符点</c-checkbox
              >
            </div>
          </c-col>
zhengxiaokui committed
72

zhengxiaokui committed
73 74 75 76 77 78
          <c-col :span="24">
            <el-form-item label="收到的通知类型" prop="bddgrp.rec.advtyp">
              <c-select
                v-model="model.bddgrp.rec.advtyp"
                style="width: 100%"
                placeholder="请选择收到的通知类型"
zhengxiaokui committed
79
                :code="codes.advtyp"
zhengxiaokui committed
80 81 82 83
              >
              </c-select>
            </el-form-item>
          </c-col>
zhengxiaokui committed
84

zhengxiaokui committed
85 86 87 88 89 90 91 92 93 94
          <c-col :span="24">
            <el-form-item label="付款日期" prop="bddgrp.rec.totdat">
              <c-date-picker
                type="date"
                v-model="model.bddgrp.rec.totdat"
                style="width: 100%"
                placeholder="请选择付款日期"
              ></c-date-picker>
            </el-form-item>
          </c-col>
zhengxiaokui committed
95

zhengxiaokui committed
96 97 98 99 100 101 102 103 104 105
          <c-col :span="24">
            <el-form-item label="不符点通知日期" prop="bddgrp.rec.disdat">
              <c-date-picker
                type="date"
                v-model="model.bddgrp.rec.disdat"
                style="width: 100%"
                placeholder="请选择不符点通知日期"
              ></c-date-picker>
            </el-form-item>
          </c-col>
zhengxiaokui committed
106

zhengxiaokui committed
107 108 109 110 111 112 113
          <c-col :span="24">
            <div class="c-checkbox">
              <c-checkbox v-model="model.bddgrp.rec.approvcod"
                >议付行担保议付</c-checkbox
              >
            </div>
          </c-col>
zhengxiaokui committed
114

zhengxiaokui committed
115 116 117 118 119 120 121
          <c-col :span="24">
            <div class="c-checkbox">
              <c-checkbox v-model="model.bdtp.cre752flg"
                >Create MT 752</c-checkbox
              >
            </div>
          </c-col>
zhengxiaokui committed
122

zhengxiaokui committed
123 124 125 126 127 128 129 130 131 132
          <c-col :span="24">
            <el-form-item label="Further Identification" prop="bdtp.furide">
              <c-select
                v-model="model.bdtp.furide"
                style="width: 100%"
                placeholder="请选择Further Identification"
              >
              </c-select>
            </el-form-item>
          </c-col>
zhengxiaokui committed
133

zhengxiaokui committed
134 135 136 137 138 139 140 141
          <c-col :span="24">
            <div class="c-checkbox">
              <c-checkbox v-model="model.bdtp.cre732flg"
                >Create MT 732</c-checkbox
              >
            </div>
          </c-col>
        </c-row>
zhengxiaokui committed
142 143
      </c-col>
    </c-row>
zhengxiaokui committed
144 145 146
  </div>
</template>
<script>
zhengxiaokui committed
147
import Api from "~/service/Api";
zhengxiaokui committed
148
import CommonProcess from "~/mixin/CommonProcess";
zhengxiaokui committed
149 150
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtudp/Event";
zhengxiaokui committed
151 152

export default {
zhengxiaokui committed
153 154 155 156
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
zhengxiaokui committed
157
    return {
zhengxiaokui committed
158
      columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'],
zhengxiaokui committed
159
    };
zhengxiaokui committed
160
  },
zhengxiaokui committed
161 162 163 164 165 166 167 168
  methods: {
    ...Event,
    changed(e) {
      if (!e) {
        this.model.bddgrp.blk.docdis = "";
      }
    },
  },
zhengxiaokui committed
169 170
  created: function () {},
};
zhengxiaokui committed
171 172
</script>
<style>
zhengxiaokui committed
173 174 175 176 177
.c-checkbox {
  text-align: center;
  margin: 10px;
  font-size: 16px;
}
zhengxiaokui committed
178
</style>