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

      <c-col :span="24">
        <el-form-item label="需求声明文本 " prop="clmtxts20">
14 15
          <c-input type="textarea" v-model="model.clmtxts20" rows="10" show-word-limit placeholder="请输入需求声明文本 ">
          </c-input>
wangna committed
16 17 18 19 20
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="附加金额附言" prop="gcdgrp.blk.addamtinf">
21 22
          <c-input type="textarea" v-model="model.gcdgrp.blk.addamtinf" rows="10" show-word-limit
            placeholder="请输入附加金额附言"></c-input>
wangna committed
23 24
        </el-form-item>
      </c-col>
25

wangna committed
26
    </c-col>
27 28 29

    <!-- ======================= 右边 ====================== -->
    <c-col :span="12" style="padding-left: 20px">
wangna committed
30
      <c-col :span="24">
panziyi committed
31
        <el-form-item label="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
32 33
          <c-input type="textarea" v-model="model.gcdgrp.blk.presentdet" rows="9" show-word-limit
            placeholder="请输入Present. Compl. Det." :disabled="model.gcdgrp.rec.demstat != 'INCP'"></c-input>
wangna committed
34 35
        </el-form-item>
      </c-col>
panziyi committed
36

wangna committed
37 38
      <c-col :span="24">
        <el-form-item label="中间行" prop="gcdgrp.int.pts.extkey">
panziyi committed
39
          <c-fullbox>
40 41 42
            <c-input v-model="model.gcdgrp.int.pts.extkey" maxlength="16" placeholder="请输入" @keyup.enter.native="
              showGridPromptDialog(`gcdgrp.int.pts.extkey`)
            "></c-input>
wangna committed
43
            <template slot="footer">
44
              <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
nanrui committed
45
                <i class="el-icon-info"></i>
wangna committed
46 47 48 49 50 51 52 53
              </c-button>
              <c-button size="small" type="primary" @click="onIntpDet">
                详情
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
panziyi committed
54

wangna committed
55
      <c-col :span="24">
panziyi committed
56
        <el-form-item label="" prop="gcdgrp.int.pts.nam">
57 58
          <c-input type="textarea" v-model="model.gcdgrp.int.pts.nam" rows="4" maxlength="100" show-word-limit
            placeholder="请输入" disabled></c-input>
wangna committed
59 60
        </el-form-item>
      </c-col>
panziyi committed
61

wangna committed
62 63
      <c-col :span="24">
        <el-form-item label="帐户行" prop="gcdgrp.awi.pts.extkey">
panziyi committed
64
          <c-fullbox>
65 66 67
            <c-input v-model="model.gcdgrp.awi.pts.extkey" maxlength="16" placeholder="请输入" @keyup.enter.native="
              showGridPromptDialog('gcdgrp.awi.pts.extkey')
            "></c-input>
wangna committed
68
            <template slot="footer">
69
              <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
nanrui committed
70
                <i class="el-icon-info"></i>
wangna committed
71 72 73 74 75 76 77 78
              </c-button>
              <c-button size="small" type="primary" @click="onAwipDet">
                详情
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
panziyi committed
79

wangna committed
80
      <c-col :span="24">
panziyi committed
81
        <el-form-item label="" prop="gcdgrp.awi.pts.nam">
82 83
          <c-input type="textarea" v-model="model.gcdgrp.awi.pts.nam" rows="4" maxlength="100" show-word-limit
            placeholder="请输入" disabled></c-input>
wangna committed
84 85
        </el-form-item>
      </c-col>
86

wangna committed
87
    </c-col>
panziyi committed
88 89 90
  </div>
</template>
<script>
wangna committed
91
import Api from "~/service/Api";
panziyi committed
92
import commonProcess from "~/mixin/commonProcess";
wangna committed
93 94
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitcrq/Event";
panziyi committed
95
import Utils from "~/utils";
panziyi committed
96 97

export default {
wangna committed
98 99 100 101 102 103 104 105
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      demstat: [
        {
          label:
wangna committed
106
            "COMP	完整需求,没有其他单据伴随或跟踪此消息",
wangna committed
107 108 109 110
          value: "COMP",
        },
        {
          label:
wangna committed
111
            "INCP	不完整需求,支持单据单独提交",
wangna committed
112 113 114 115 116 117
          value: "INCP",
        },
      ],
    };
  },
  methods: { ...Event },
118
  created: function () { },
wangna committed
119
  computed: {
panziyi committed
120 121 122 123
    flag() {
      return this.model.didgrp.apl.pts.extkey == "";
    },
  },
wangna committed
124
};
panziyi committed
125 126
</script>
<style>
127

panziyi committed
128
</style>