Betdcrd.vue 2.32 KB
Newer Older
liumin committed
1 2
<template>
  <div class="eibs-tab">
Wuyuqiu committed
3
    <c-col :span="18">
4 5 6 7 8 9 10
      <el-form-item label="单据内部不符点" prop="bfdgrp.blk.intdis">
        <c-input
          type="textarea"
          v-model="model.bfdgrp.blk.intdis"
          maxlength="65"
          show-word-limit
          placeholder="请输入单据不符点"
Eivi committed
11
          
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="2">
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="onIntdisButtxmsel"
      >
        ...
      </c-button>
    </c-col>

Wuyuqiu committed
27
    <c-col :span="18">
28 29 30 31 32 33 34 35
      <el-form-item label="不符点" prop="bfdgrp.blk.docdis">
        <c-input
          type="textarea"
          style="float: left"
          v-model="model.bfdgrp.blk.docdis"
          maxlength="65"
          show-word-limit
          placeholder="请输入不符点"
Eivi committed
36
          :disabled="!docdisflg"
37 38 39 40 41 42 43 44 45 46
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="2">
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="onDocdisButtxmsel"
Eivi committed
47
        :disabled="!docdisflg"
48 49 50 51 52
      >
        ...
      </c-button>
    </c-col>

Wuyuqiu committed
53
    <c-col :span="4">
54 55 56
      <c-checkbox v-model="model.rejpenins">保留单据,等候指示</c-checkbox>
    </c-col>

Wuyuqiu committed
57
    <c-col :span="4">
Eivi committed
58
      <c-checkbox v-model="docdisflg">不符点修改</c-checkbox>
59 60
    </c-col>

61 62 63 64 65 66 67 68 69
    <c-docpre
      :model="model"
      :argadr="{
        path: 'bfdgrp.blk.prsdoc',
        grp: 'bftp',
        code: 'prsdoc',
      }"
    >
    </c-docpre>
liumin committed
70 71 72
  </div>
</template>
<script>
73
import Api from "~/service/Api";
wangren committed
74
import commonProcess from "~/mixin/commonProcess";
75 76
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bftdcr/Event";
Eivi committed
77
import Utils from "~/utils";
78
import Docpre from "~/views/Public/Docpre";
liumin committed
79 80

export default {
81 82
  name:'Docpre',
  components:{"c-docpre": Docpre,},
83 84 85 86
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
87 88
    return {
    };
89
  },
Eivi committed
90 91 92 93 94 95 96
  computed:{
    docdisflg: {
      get() {
        return this.model.bfdgrp.blk.docdisflg != "";
      },
      set(val) {
        this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
Eivi committed
97
        this.model.bfdgrp.blk.docdis = "";
Eivi committed
98 99 100 101
      },
    },

  },
102 103
  methods: { ...Event,
  },
104 105
  created: function () {},
};
liumin committed
106 107 108
</script>
<style>
</style>