Opnp1.vue 5.07 KB
Newer Older
潘际乾 committed
1 2 3
<template>
  <div class="eibs-tab">
    <c-col :span="24">
4
      <c-col :span="12" style="padding-right: 20px;">
潘际乾 committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18
        <c-col :span="24">
          <c-fullbox>
            <el-form-item label="申请人" prop="fcdgrp.apl.pts.extkey">
              <c-input
                v-model="model.fcdgrp.apl.pts.extkey"
                maxlength="16"
                placeholder="请输入申请人Extkey"
                @keyup.enter.native="
                  showGridPromptDialog('fcdgrp.apl.pts.extkey')
                "
              ></c-input>
            </el-form-item>
            <template slot="footer">
              <c-button size="small" type="primary" @click="onAplpDet">
19
                详情
潘际乾 committed
20 21 22 23 24
              </c-button>
            </template>
          </c-fullbox>
        </c-col>
        <c-col :span="24">
25 26 27 28 29
            <el-form-item label="" prop="fcdgrp.apl.pts.nam">
              <c-input
                v-model="model.fcdgrp.apl.pts.nam"
                maxlength="40"
                placeholder="请输入"
LiRui committed
30
                disabled
31 32 33
              ></c-input>
            </el-form-item>
          </c-col>
潘际乾 committed
34

35 36 37 38 39 40
          <c-col :span="24">
            <el-form-item label="" prop="fcdgrp.apl.pta.nam1">
              <c-input
                v-model="model.fcdgrp.apl.pta.nam1"
                maxlength="40"
                placeholder="请输入Externally Visible Name of Address"
LiRui committed
41
                disabled
42 43 44
              ></c-input>
            </el-form-item>
          </c-col>
潘际乾 committed
45
      </c-col>
46 47 48 49 50 51 52 53 54 55
      <c-col :span="12" style="padding-left: 20px;">
        <c-col :span="24">
          <c-col :span="13">
            <el-form-item label="保证金账号" prop="cashacc">
              <!-- <c-select
                v-model="model.cashacc"
                style="width: 100%"
                placeholder="请选择account"
              >
              </c-select> -->
潘际乾 committed
56
              <c-select
57 58 59 60 61 62 63 64 65
                v-model="model.cashacc"
                placeholder="请选择account"
              ></c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11">
            <el-form-item label="科目" label-width="60px" prop="trmtyp">
              <c-select
                v-model="model.trmtyp"
潘际乾 committed
66
                style="width: 100%"
67
                placeholder="请选择科目"
潘际乾 committed
68
              >
69
                <el-option v-for="k in codes.trmtyp" :label="k" :value="k.split('\t')[0]" :key="k"></el-option>
潘际乾 committed
70 71 72
              </c-select>
            </el-form-item>
          </c-col>
73 74 75 76 77 78 79 80 81 82 83 84 85 86
        </c-col>
        <c-col :span="24">
          <c-fullbox>
            <c-col :span="12">
              <el-form-item label="金额" prop="cashcur">
                <c-select
                  v-model="model.cashcur"
                  style="width: 100%"
                  placeholder="请选择currency"
                  :code="codes.infled_Cur"
                >
                </c-select>
              </el-form-item>
            </c-col>
潘际乾 committed
87

88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
            <c-col :span="12">
              <el-form-item label="" label-width="5px" prop="cashamt">
                <c-input-currency
                  v-model="model.cashamt"
                  placeholder="请输入金额"
                ></c-input-currency>
              </el-form-item>
            </c-col>
            <template slot="footer">
              <c-button size="small" type="primary" @click="onGet" disabled>
                Get
              </c-button>
            </template>
          </c-fullbox>
        </c-col>
        <c-col :span="24">
          <c-col :span="20">
            <el-form-item label="说明" prop="reason">
潘际乾 committed
106
              <c-input
107 108 109
                v-model="model.reason"
                maxlength="40"
                placeholder="请输入collect reason"
潘际乾 committed
110 111 112
              ></c-input>
            </el-form-item>
          </c-col>
113 114 115 116 117 118
          <c-col :span="4">
            <el-form-item label="" prop="gleflg" label-width="0px">
              <c-checkbox v-model="model.gleflg">是否过帐</c-checkbox>
            </el-form-item>
          </c-col>
        </c-col>
潘际乾 committed
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
      </c-col>
    </c-col>
    <c-col :span="24">
      <c-istream-table
        :list="model.cshstm.rows || []"
        :columns="columns"
      ></c-istream-table>
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Fctopn/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      columns: [
				"0 1 \"INR\" 100",
				"1 2 \"Own Reference\" 150",
LiRui committed
144
				"2 3 \"收取日期\" 150 4 7",
潘际乾 committed
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
				"3 4 \"Cur\" 100",
				"4 5 \"Relevant Amount\" 150 2 8:1 2 5",
				"5 6 \"机构号\" 120",
				"6 7 \"保证金帐号\" 120",
				"7 8 \"是否过帐\" 120 1 0 1 FCD:GLEFLG",
				"8 9 \"是否到帐\" 120 1 0 1 FCD:RELFLG",
				"9 10 \"是否被用\" 120 1 0 1 FCD:USEFLG",
				"10 11 \"说明 \" 200",
				"P COLORED TRUE",
				"P VERTLINES TRUE",
				"P HORZLINES TRUE",
				"P MULTISELECT FALSE"
			],
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>