Gitdetp.vue 5.14 KB
Newer Older
panziyi committed
1
<template>
huangxin committed
2
  <div class="eibs">
3 4
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
panziyi committed
5
      <c-col :span="24">
wangna committed
6
        <el-form-item label="需求声明" prop="gcdgrp.rec.demstat">
panziyi committed
7 8 9
          <c-select
            v-model="model.gcdgrp.rec.demstat"
            style="width: 100%"
wangna committed
10
            placeholder="请选择需求声明"
panziyi committed
11 12 13
            :code="demstat"
          >
          </c-select>
panziyi committed
14
        </el-form-item>
panziyi committed
15 16 17
      </c-col>

      <c-col :span="24">
wangna committed
18
        <el-form-item label="需求声明文本 " prop="clmtxts20">
panziyi committed
19 20 21 22 23 24
          <c-input
            type="textarea"
            v-model="model.clmtxts20"
            maxlength="65"
            rows="10"
            show-word-limit
wangna committed
25
            placeholder="请输入需求声明文本 "
panziyi committed
26
          ></c-input>
panziyi committed
27
        </el-form-item>
panziyi committed
28 29 30
      </c-col>

      <c-col :span="24">
wangna committed
31
        <el-form-item label="附加金额附言" prop="gcdgrp.blk.addamtinf">
panziyi committed
32 33 34 35 36 37
          <c-input
            type="textarea"
            v-model="model.gcdgrp.blk.addamtinf"
            maxlength="65"
            rows="10"
            show-word-limit
wangna committed
38
            placeholder="请输入附加金额附言"
panziyi committed
39
          ></c-input>
panziyi committed
40
        </el-form-item>
panziyi committed
41 42
      </c-col>
    </c-col>
43 44
        <!-- ============右边================= -->
        <c-col :span="12" style="padding-left: 20px;">
panziyi committed
45
      <c-col :span="24">
panziyi committed
46
        <el-form-item label="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
panziyi committed
47 48 49 50 51 52 53 54 55
          <c-input
            type="textarea"
            v-model="model.gcdgrp.blk.presentdet"
            maxlength="35"
            rows="9"
            show-word-limit
            placeholder="请输入Present. Compl. Det."
            :disabled="model.gcdgrp.rec.demstat != 'INCP'"
          ></c-input>
panziyi committed
56
        </el-form-item>
panziyi committed
57 58
      </c-col>
      <c-col :span="24">
wangna committed
59
        <el-form-item label="中间行" prop="gcdgrp.int.pts.extkey">
panziyi committed
60
          <c-fullbox>
panziyi committed
61 62 63
            <c-input
              v-model="model.gcdgrp.int.pts.extkey"
              maxlength="16"
wangna committed
64
              placeholder="请输入"
panziyi committed
65 66 67 68 69 70 71 72 73 74 75 76 77 78
              @keyup.enter.native="
                showGridPromptDialog(
                  'gcdgrp.int.pts.extkey',
                  model.gcdgrp.int.pts.extkey
                )
              "
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
79
                <i class="el-icon-info"></i>
panziyi committed
80 81
              </c-button>
              <c-button size="small" type="primary" @click="onIntpDet">
wangna committed
82
                详情
panziyi committed
83 84 85
              </c-button>
            </template>
          </c-fullbox>
panziyi committed
86
        </el-form-item>
panziyi committed
87
      </c-col>
panziyi committed
88

panziyi committed
89
      <c-col :span="24">
panziyi committed
90
        <el-form-item label="" prop="gcdgrp.int.pts.nam">
panziyi committed
91 92 93
          <c-input
            type="textarea"
            v-model="model.gcdgrp.int.pts.nam"
panziyi committed
94
            rows="4"
panziyi committed
95 96
            maxlength="100"
            show-word-limit
wangna committed
97
            placeholder="请输入"
panziyi committed
98 99
            disabled
          ></c-input>
panziyi committed
100
        </el-form-item>
panziyi committed
101
      </c-col>
panziyi committed
102

panziyi committed
103
      <c-col :span="24">
wangna committed
104
        <el-form-item label="帐户行" prop="gcdgrp.awi.pts.extkey">
panziyi committed
105
          <c-fullbox>
panziyi committed
106 107 108
            <c-input
              v-model="model.gcdgrp.awi.pts.extkey"
              maxlength="16"
wangna committed
109
              placeholder="请输入"
panziyi committed
110 111 112 113 114 115 116 117 118 119 120
              @keyup.enter.native="
                showGridPromptDialog('gcdgrp.awi.pts.extkey')
              "
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
121
                <i class="el-icon-info"></i>
panziyi committed
122 123
              </c-button>
              <c-button size="small" type="primary" @click="onAwipDet">
wangna committed
124
                详情
panziyi committed
125 126 127
              </c-button>
            </template>
          </c-fullbox>
panziyi committed
128
        </el-form-item>
panziyi committed
129
      </c-col>
panziyi committed
130

panziyi committed
131
      <c-col :span="24">
panziyi committed
132
        <el-form-item label="" prop="gcdgrp.awi.pts.nam">
panziyi committed
133 134 135
          <c-input
            type="textarea"
            v-model="model.gcdgrp.awi.pts.nam"
panziyi committed
136
            rows="4"
panziyi committed
137 138
            maxlength="100"
            show-word-limit
wangna committed
139
            placeholder="请输入"
panziyi committed
140 141
            disabled
          ></c-input>
panziyi committed
142
        </el-form-item>
panziyi committed
143 144
      </c-col>
    </c-col>
wangna committed
145
   
panziyi committed
146 147 148
  </div>
</template>
<script>
panziyi committed
149
import Api from "~/service/Api";
panziyi committed
150
import commonProcess from "~/mixin/commonProcess";
panziyi committed
151 152
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getcrq/Event";
panziyi committed
153 154

export default {
panziyi committed
155 156 157 158 159 160 161 162
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      demstat: [
        {
          label:
wangna committed
163
            "COMP	完整需求,没有其他单据伴随或跟踪此消息",
panziyi committed
164 165 166 167
          value: "COMP",
        },
        {
          label:
wangna committed
168
            "INCP	不完整需求,支持单据单独提交",
panziyi committed
169 170 171 172 173 174 175 176
          value: "INCP",
        },
      ],
    };
  },
  methods: { ...Event },
  created: function () {},
  computed: {
panziyi committed
177 178 179 180
    flag() {
      return this.model.didgrp.apl.pts.extkey == "";
    },
  },
panziyi committed
181
};
panziyi committed
182 183 184
</script>
<style>
</style>