Dscinsp.vue 6.9 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
3
    <!-- left -->
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
    <c-col :span="11">
      <c-col :span="24">
        <el-form-item
          label="Discrepancies"
          prop="btdgrp.blk.docdis"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.btdgrp.blk.docdis"
              maxlength="50"
              show-word-limit
              placeholder="Please input Discrepancies"
              @change="defaultFunction()"
              :disabled="!docdisflg"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
                :disabled="!docdisflg"
                @click="
                  showGridPromptDialog(
                    'bttp.docdis.buttxmsel',
                    null,
                    null,
                    { TXT: 'btdgrp.blk.docdis' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
42
        </el-form-item>
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 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
      </c-col>

      <c-col :span="24">
        <el-form-item
          label="Internal Discrepancies"
          prop="btdgrp.blk.intdis"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.btdgrp.blk.intdis"
              maxlength="65"
              show-word-limit
              placeholder="Please input Internal Discrepancies"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
                @click="
                  showGridPromptDialog(
                    'bttp.intdis.buttxmsel',
                    null,
                    null,
                    { TXT: 'btdgrp.blk.intdis' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item
          label="Comments and Conclusions"
          prop="btdgrp.blk.comcon"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.btdgrp.blk.comcon"
              maxlength="65"
              show-word-limit
              placeholder="Please input Comments and Conclusions"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
                @click="
                  showGridPromptDialog(
                    'bttp.comcon.buttxmsel',
                    null,
                    null,
                    { TXT: 'btdgrp.blk.comcon' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
116
        </el-form-item>
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
      </c-col>

      <c-col :span="24">
        <el-form-item
          label="Settlement Instructions for this Document Set"
          prop="btdgrp.blk.setinsbt"
          style="width: 100%"
        >
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.btdgrp.blk.setinsbt"
              maxlength="65"
              show-word-limit
              placeholder="Please input Settlement Instructions for this Document Set"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
                @click="
                  showGridPromptDialog(
                    'bttp.setins.buttxmsel',
                    null,
                    null,
                    { TXT: 'btdgrp.blk.setinsbe' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
153
        </el-form-item>
154 155 156 157 158 159 160
      </c-col>
    </c-col>

    <!-- right -->
    <c-col :span="11" :offset="1">
      <c-col :span="4">
        <el-form-item label="" style="text-align: left" prop="docdisflg">
161
          <c-checkbox v-model="docdisflg">Discrepancies modified</c-checkbox>
162
        </el-form-item>
163 164 165 166 167 168 169 170 171 172 173
      </c-col>
      <c-col :span="24">
        <el-form-item
          label="Further Handing"
          prop="bttp.futhndflg"
          style="width: 100%"
        >
          <c-select
            v-model="model.bttp.futhndflg"
            style="width: 100%"
            placeholder="Please select Further Handing"
174
            :code="codes.futhndflg"
175 176
          >
          </c-select>
177
        </el-form-item>
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
      </c-col>
      <c-col :span="24">
        <el-form-item
          label="Document Set Status"
          prop="btdgrp.rec.docsta"
          style="width: 100%"
        >
          <c-select
            v-model="model.btdgrp.rec.docsta"
            style="width: 100%"
            placeholder="Please select Document Set Status"
            disabled
          >
            <el-option
              v-for="item in codes.docsta2"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
199
        </el-form-item>
200 201 202 203
      </c-col>
    </c-col>

    <!-- next part -->
204
    <c-docpre
205
      :model="model"
206
      rol="docgrdmbe1"
207 208 209 210 211 212 213 214 215
      :argadr="{
        path: 'btdgrp.blk.prsdocbe1',
        grp: 'bttp',
        code: 'docpre',
      }"
    >
    </c-docpre>
    <c-docpre
      :model="model"
216
      rol="docgrdmbe2"
217 218 219 220 221 222 223
      :argadr="{
        path: 'btdgrp.blk.prsdocbe2',
        grp: 'bttp',
        code: 'docpre',
      }"
    >
    </c-docpre>
224 225 226
  </div>
</template>
<script>
227
import Api from "~/service/Api";
wangren committed
228
import commonProcess from "~/mixin/commonProcess";
229 230
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttdav/Event";
231 232

export default {
233 234 235 236 237 238 239 240 241 242 243 244 245 246
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  computed: {
    docdisflg: {
      get() {
        return this.model.btdgrp.blk.docdisflg != "";
      },
      set(val) {
        this.model.btdgrp.blk.docdisflg = val ? "X" : "";
      },
247
    },
248 249 250 251 252 253 254 255 256 257 258 259
    payrolFlag: {
      get() {
        return (
          this.model.btdgrp.rec.payrol == "AVB" ||
          this.model.btdgrp.rec.payrol == "ISS"
        );
      },
    },
  },
  methods: { ...Event },
  created: function () {},
};
260 261 262
</script>
<style>
</style>