Gitdetp.vue 5.11 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">
59
        <el-form-item label="中间行" prop="gcdgrp.tmpint.pts.extkey">
panziyi committed
60
          <c-fullbox>
panziyi committed
61
            <c-input
62
              v-model="model.gcdgrp.tmpint.pts.extkey"
panziyi committed
63
              maxlength="16"
wangna committed
64
              placeholder="请输入"
panziyi committed
65 66
              @keyup.enter.native="
                showGridPromptDialog(
67
                  'gcdgrp.tmpint.pts.extkey'
panziyi committed
68 69 70 71 72 73 74 75 76 77
                )
              "
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
nanrui committed
78
                <i class="el-icon-info"></i>
panziyi committed
79 80
              </c-button>
              <c-button size="small" type="primary" @click="onIntpDet">
wangna committed
81
                详情
panziyi committed
82 83 84
              </c-button>
            </template>
          </c-fullbox>
panziyi committed
85
        </el-form-item>
panziyi committed
86
      </c-col>
panziyi committed
87

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

panziyi committed
102
      <c-col :span="24">
wangna committed
103
        <el-form-item label="帐户行" prop="gcdgrp.awi.pts.extkey">
panziyi committed
104
          <c-fullbox>
panziyi committed
105 106 107
            <c-input
              v-model="model.gcdgrp.awi.pts.extkey"
              maxlength="16"
wangna committed
108
              placeholder="请输入"
panziyi committed
109 110 111 112 113 114 115 116 117 118 119
              @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
120
                <i class="el-icon-info"></i>
panziyi committed
121 122
              </c-button>
              <c-button size="small" type="primary" @click="onAwipDet">
wangna committed
123
                详情
panziyi committed
124 125 126
              </c-button>
            </template>
          </c-fullbox>
panziyi committed
127
        </el-form-item>
panziyi committed
128
      </c-col>
panziyi committed
129

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

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