Dscins.vue 9.17 KB
Newer Older
1
<template>
2 3
  <div class="eibs-tab">
    <!-- left -->
4
    <c-col :span="11">
5 6 7 8 9
      <c-col :span="24">
        <el-form-item
          label="内部不符点"
          prop="bfdgrp.blk.intdis"
          style="width: 100%"
zhoubaojian committed
10
        >
11 12 13 14 15 16 17 18 19 20 21 22 23
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.bfdgrp.blk.intdis"
              maxlength="65"
              show-word-limit
              placeholder="请输入内部不符点"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
Wuyuqiu committed
24 25 26 27 28 29 30 31 32 33
                @click="
                  showGridPromptDialog(
                    'bftp.intdis.buttxmsel',
                    null,
                    null,
                    { TXT: 'bfdgrp.blk.intdis' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
34 35 36 37 38
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
zhoubaojian committed
39 40
        </el-form-item>
      </c-col>
41 42

      <c-col :span="24">
zhoubaojian committed
43
        <el-form-item
44 45 46
          label="注释和结论"
          prop="bfdgrp.blk.comcon"
          style="width: 100%"
zhoubaojian committed
47
        >
48 49 50 51 52 53 54 55 56 57 58 59 60 61
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.bfdgrp.blk.comcon"
              maxlength="65"
              show-word-limit
              placeholder="请输入注释和结论"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
62
                disabled
Wuyuqiu committed
63 64 65 66 67 68 69 70 71 72
                @click="
                  showGridPromptDialog(
                    'bftp.comcon.buttxmsel',
                    null,
                    null,
                    { TXT: 'bfdgrp.blk.comcon' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
73 74 75 76 77
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
zhoubaojian committed
78 79 80
        </el-form-item>
      </c-col>

81 82 83 84 85
      <c-col :span="24">
        <el-form-item
          label="结算指示"
          prop="bfdgrp.blk.setinsbe"
          style="width: 100%"
zhoubaojian committed
86
        >
87 88 89 90 91 92 93 94 95 96 97 98 99
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.bfdgrp.blk.setinsbe"
              maxlength="150"
              show-word-limit
              placeholder="请输入结算指示"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
Wuyuqiu committed
100 101 102 103 104 105 106 107 108 109
                @click="
                  showGridPromptDialog(
                    'setinstxm.buttxmsel',
                    null,
                    null,
                    { TXT: 'bfdgrp.blk.setinsbe' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
110 111 112 113 114
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
115
        </el-form-item>
zhoubaojian committed
116
      </c-col>
117

zhoubaojian committed
118
      <c-col :span="24">
119 120 121 122
        <el-form-item
          label="不符点"
          prop="bfdgrp.blk.docdis"
          style="width: 100%"
zhoubaojian committed
123
        >
124 125 126 127 128 129 130
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.bfdgrp.blk.docdis"
              maxlength="50"
              show-word-limit
              placeholder="请输入不符点"
131
              :disabled="!docdisflg"
132 133 134 135 136 137
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
138
                :disabled="!docdisflg"
Wuyuqiu committed
139 140 141 142 143 144 145 146 147 148
                @click="
                  showGridPromptDialog(
                    'bftp.docdis.buttxmsel',
                    null,
                    null,
                    { TXT: 'bfdgrp.blk.docdis' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
149 150 151 152 153 154
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
zhoubaojian committed
155
      </c-col>
156

zhoubaojian committed
157
      <c-col :span="24">
Wuyuqiu committed
158 159 160 161
        <el-form-item label="" prop="bfdgrp.blk.docdisflg">
          <c-checkbox v-model="docdisflg"
            >录入不符点</c-checkbox
          >
zhoubaojian committed
162 163
        </el-form-item>
      </c-col>
164 165 166
    </c-col>

    <!-- right -->
167
    <c-col :span="11" :offset="1">
Wuyuqiu committed
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
      <c-col :span="24">
        <el-form-item label="寄单状态" prop="bftp.folwupopt">
          <c-select
            v-model="model.bftp.folwupopt"
            style="width: 100%"
            placeholder="请选择寄单状态"
          >
            <el-option
              v-for="item in codes.folwupopt"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
zhoubaojian committed
185 186

      <c-col :span="24">
187 188 189
        <el-form-item label="" prop="approvcod">
          <c-checkbox v-model="approvcod">直接不符点寄单</c-checkbox>
        </el-form-item>
zhoubaojian committed
190 191
      </c-col>

Wuyuqiu committed
192 193
      <c-col :span="24">
        <el-form-item label="" prop="bfdsnd.snd732">
194
        <c-checkbox v-model="model.bfdsnd.snd732" disabled
wangna committed
195
          >创建清偿通知(MT732)</c-checkbox
196
        >
Wuyuqiu committed
197
        </el-form-item>
zhoubaojian committed
198 199
      </c-col>

Wuyuqiu committed
200 201
      <c-col :span="24">
        <el-form-item label="" prop="bftp.cre752flg">
202
        <c-checkbox v-model="model.bftp.cre752flg" disabled
wangna committed
203
          >是否接收报文752</c-checkbox
204
        >
Wuyuqiu committed
205
        </el-form-item>
zhoubaojian committed
206 207 208
      </c-col>

      <c-col :span="24">
wangna committed
209
        <el-form-item label="进一步确认" prop="bftp.furide">
zhoubaojian committed
210 211 212
          <c-select
            v-model="model.bftp.furide"
            style="width: 100%"
wangna committed
213
            placeholder="请选择"
214
            disabled
zhoubaojian committed
215 216 217 218 219 220
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
221
        <el-form-item label="通知日期" prop="bfdgrp.rec.disdat">
zhoubaojian committed
222 223 224 225
          <c-date-picker
            type="date"
            v-model="model.bfdgrp.rec.disdat"
            style="width: 100%"
wangna committed
226
            placeholder="请选择通知日期"
227
            disabled
zhoubaojian committed
228
          ></c-date-picker>
229
        </el-form-item>
zhoubaojian committed
230 231 232
      </c-col>

      <c-col :span="24">
233
        <el-form-item label="扣减金额" prop="bfdgrp.rec.lescom">
zhoubaojian committed
234 235
          <c-input
            v-model="model.bfdgrp.rec.lescom"
236
            placeholder="请输入扣减金额"
zhoubaojian committed
237 238 239
          ></c-input>
        </el-form-item>
      </c-col>
240

zhoubaojian committed
241
      <c-col :span="24">
Wuyuqiu committed
242
        <el-form-item label="议付" prop="bfdsnd.yf">
243
          <template>
Wuyuqiu committed
244 245 246
            <c-radio v-model="model.bfdsnd.yf" label="W">未议付</c-radio>
            <c-radio v-model="model.bfdsnd.yf" label="Y">已议付</c-radio>
          </template>
247
        </el-form-item>
zhoubaojian committed
248 249 250
      </c-col>

      <c-col :span="24">
251
        <el-form-item label="" prop="ingdsc">
252
          <c-checkbox v-model="ingdsc">忽略不符点</c-checkbox>
253 254 255
        </el-form-item>
      </c-col>

Wuyuqiu committed
256 257
      <c-col :span="23">
        <el-form-item label="" prop="bfdgrp.rec.docrolflg">
258 259 260
        <c-checkbox v-model="model.bfdgrp.rec.docrolflg" disabled
          >选择寄单行</c-checkbox
        >
Wuyuqiu committed
261
        </el-form-item>
262 263
      </c-col>

Eivi committed
264
      <c-col :span="24">
wangna committed
265
        <el-form-item label="收单行" prop="bfdgrp.rec.docrol">
zhoubaojian committed
266 267 268
          <c-select
            v-model="model.bfdgrp.rec.docrol"
            style="width: 100%"
wangna committed
269
            placeholder="请选择收单行"
270
            disabled
Wuyuqiu committed
271
            @change="eventFunction( 'bfdgrp.rec.docrol')"
zhoubaojian committed
272 273
          >
          </c-select>
274
        </el-form-item>
zhoubaojian committed
275 276
      </c-col>

277
      <c-col :span="24">
Wuyuqiu committed
278 279 280 281 282 283 284 285 286 287 288 289 290 291
        <c-ptap
          :model="model"
          :argadr="{
            title: '寄单行',
            grp: 'bfdgrp',
            rol: 'ben',
          }"
          :disabledExtkey="!(model.bfdgrp.rec.docrol == 'OTH')"
          :disabled="true"
          :isAdrblk="false"
          :noRef="true"
        >
        </c-ptap>
      </c-col>
292 293
    </c-col>
  </div>
294 295
</template>
<script>
zhoubaojian committed
296
import Api from "~/service/Api";
wangren committed
297
import commonProcess from "~/mixin/commonProcess";
zhoubaojian committed
298 299
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bftsnd/Event";
Eivi committed
300
import Ptap from "~/views/Public/Ptap";
301 302

export default {
zhoubaojian committed
303 304
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
305
  mixins: [commonProcess],
306
  components: {
Eivi committed
307
    "c-ptap": Ptap,
308
  },
zhoubaojian committed
309 310 311
  data() {
    return {};
  },
312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
  computed: {
    approvcod: {
      get() {
        return this.model.bfdgrp.rec.approvcod === "x";
      },
      set(val) {
        this.model.bfdgrp.rec.approvcod = val ? "" : "x";
      },
    },
    ingdsc: {
      get() {
        return this.model.bfdsnd.ingdsc === "Y";
      },
      set(val) {
        this.model.bfdsnd.ingdsc = val ? "Y" : "";
      },
    },
Wuyuqiu committed
329
    docdisflg: {
330 331 332 333 334 335
      get() {
        return this.model.bfdgrp.blk.docdisflg != "";
      },
      set(val) {
        this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
      },
Wuyuqiu committed
336
    },
337
  },
zhoubaojian committed
338 339 340
  methods: { ...Event },
  created: function () {},
};
341 342 343
</script>
<style>
</style>