Infsea.vue 4.62 KB
Newer Older
xiameng committed
1 2
<template>
  <div class="eibs-tab">
xiameng committed
3 4 5 6 7 8 9 10 11 12
    <c-content>

      <c-col :span="11">
        <c-col :span="24">
        <el-form-item label="Account No." prop="extkey">
            <c-input 
             v-model="model.extkey"
             placeholder="请输入Account No">
            </c-input>
        </el-form-item>
xiameng committed
13
       </c-col>
xiameng committed
14 15 16 17 18 19 20 21 22
      
       <!-- SF000045 : Holding Party -->           
      <c-col :span="24">
        <el-form-item label="Holding Party" prop="hdlpty.extkey">
            <c-input  
             v-model="model.hdlpty.extkey" 
             placeholder="请输入 Holding Party">
            </c-input>
        </el-form-item>
xiameng committed
23
       </c-col>
xiameng committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

         <!-- SF000042 : Type -->     
       <c-col :span="24">
        <el-form-item label="Type" prop="typ">
            <c-select
             v-model="model.typ" 
             style="width:100%"
              placeholder="请输入type">
                <el-option 
                 v-for="item in codes.recgrptyp" 
                 :key="item.value" 
                 :label="item.label"
                 :value="item.value">
               </el-option>
            </c-select>
        </el-form-item>
xiameng committed
40
       </c-col>
xiameng committed
41
      </c-col>
xiameng committed
42

xiameng committed
43 44 45 46 47 48 49 50 51 52 53

       <c-col :span="12" :offset="1">
         <!-- SF000048 : Name of Account Owner -->    
       <c-col :span="24">
        <el-form-item 
        label="Name of Act. Owner" 
        prop="nam">
            <c-input  
             v-model="model.nam"
             placeholder="请输入Name of Act. Owner">
             </c-input>
xiameng committed
54 55
        </el-form-item>
       </c-col>
xiameng committed
56 57 58 59 60 61 62 63 64
 
      <!-- SF000050 : IBAN -->        
       <c-col :span="24">
        <c-form-item label="IBAN" prop="iban">
            <c-input  
            v-model="model.iban" 
            placeholder="请输入IBAN"></c-input>
        </c-form-item>
       </c-col>     
xiameng committed
65

xiameng committed
66 67
       <!-- SF000043 : Currency -->            
       <c-col :span="24">
xiameng committed
68
        <el-form-item :label="'Currency'" prop="cur">
xiameng committed
69 70 71 72 73 74 75 76 77 78
            <c-select 
            v-model="model.cur" 
            style="width:100%" 
            :placeholder="'请输入Currency'">
                <el-option 
                v-for="item in codes.curtxt1" 
                :key="item.value" 
                :label="item.label"
                  :value="item.value">
                </el-option>
xiameng committed
79 80
              </c-select>
        </el-form-item>
xiameng committed
81 82 83 84
       </c-col>  
       </c-col> 
       
  
xiameng committed
85 86 87 88 89 90
         <c-col :span="24" style="text-align: right; height: 36.8px">
         <el-button size="small" @click="handleReset">重置</el-button> 
         <el-button
          type="primary"
          icon="el-icon-search"
          size="small"
xiameng committed
91
          @click="onInfbutSearow()"
xiameng committed
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
          >查询
        </el-button>
      </c-col>  

      <c-col :span="24">
        <div style="border-bottom: 10px solid rgb(232, 232, 232)"></div>
      </c-col>

      <c-col :span="24" style="margin-top: 10px">
        <c-button
          size="small"
          type="primary"
          @click="onInfbutButprt"
          style="float: right"
        >
          导出Excel
        </c-button>
      </c-col>

      <c-col :span="24" >
        <c-istream-table 
        :list="stmData.data" 
        :columns="stmData.columns"
xiameng committed
115
        :showButtonFlg="false">
xiameng committed
116

xiameng committed
117
        <c-table-column fixed="right" prop="op" label="操作" width="160px">
xiameng committed
118 119 120 121 122
        <template slot-scope="{ scope }">
                <c-button style="margin-left: 0" size="small"  @click="onInfbutDsp(scope.$index, scope.row)">详情 </c-button>
              
            </template>
        </c-table-column>
xiameng committed
123
        
xiameng committed
124 125
        </c-istream-table>
      </c-col>
xiameng committed
126
    </c-content>
xiameng committed
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
     
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infact/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){

        return {
    
            stmData: {
              columns: [
xiameng committed
146 147 148 149 150 151 152 153 154
            "8 1 \"Account Owner\" 180 ",
            "3 2\"Typ\" 160",
            "4 3 \"Cur\" 160",
            "5 4 \"Account No.\" 180",
            "6 5 \" Owner Number\" 180 ",

             "9 6 \"Servicing Party \" 160",
             "10 7 \"Servicing Number\" 160",
        
xiameng committed
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
        ],
        data: [     ] 
        


    }
} 
},
computed: {
tableData() {
return this.model.infbut.dspstm.rows;
},
/*  stmData() {

console.log(this.model.infbut.dspstm.rows);
return this.model.infbut.dspstm.rows;
} */

},
xiameng committed
174 175 176 177 178 179
    methods:{
      chooseRowEvent(row) {
      this.model.infbut.selrow = row.IDX + 1;
    },
  
      ...Event},
xiameng committed
180 181 182 183 184 185 186 187
    created:function(){

    }
}
</script>
<style>

</style>