Infsea.vue 4.75 KB
Newer Older
zhangzhenmin committed
1
<template>
xiameng committed
2
    <div class="eibs-tab" >
3
        <c-content>
xiameng committed
4
          <c-col :span="11">
xiameng committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
            <c-col :span="24" >
              <el-form-item label="FeeCode" prop="rec.cod">
                 <c-input 
                  v-model="model.cod"  
                  placeholder="请输入FeeCode"></c-input>
              </el-form-item>
            </c-col>
          </c-col>

        <c-col :span="12" :offset="1">
          <c-col :span="24" >
            <el-form-item label="Description" prop="rec.nam">
              <c-input v-model="model.nam"  placeholder="请输入Description"></c-input>
            </el-form-item>
          </c-col>
        </c-col>
xiameng committed
21
              
22
                    <!--重置-->
xiameng committed
23 24 25 26 27
        <c-col :span="24" style="text-align: right; height: 36.8px"   >
          <el-button size="small" @click="onInfbutClr">重置</el-button>
          <el-button  type="primary"  icon="el-icon-search"  size="small"  @click="onInfbutSearow()">查询</el-button  >
        </c-col> 
            
xiameng committed
28
     <div style="margin-top:20px;">
xiameng committed
29 30

      <!-- EXCEL导出
zhangzhenmin committed
31 32 33 34
            <c-button size="small" type="primary"  @click="onInfbutButprt">
                EXCEL导出
            </c-button>
            <c-button size="small" type="primary"  @click="onInfbutExi">
xiameng committed
35
                Exit
zhangzhenmin committed
36 37
            </c-button>
            <c-button size="small" type="primary"  @click="onInfbutClr">
xiameng committed
38
                Clear
zhangzhenmin committed
39
            </c-button>
xiameng committed
40 41
            <c-button size="small" type="primary"  @click="onInfbutDsp(scope.$index, scope.row)">
                Display
zhangzhenmin committed
42 43
            </c-button>
            <c-button size="small" type="primary"  @click="onInfbutSearow">
xiameng committed
44 45
                Search
            </c-button> -->
zhangzhenmin committed
46 47

        </div>
xiameng committed
48

xiameng committed
49
        <c-col :span="24" >
xiameng committed
50 51 52
            <c-istream-table 
                :list="stmData.data" 
                :columns="stmData.columns"
xiameng committed
53 54 55
                v-on:chooseRowEvent="chooseRowEvent"
                :showButtonFlg="false">
            <c-table-column fixed="right" prop="op" label="操作" width="160px">
xiameng committed
56 57
            
            <template slot-scope="{ scope }">
58
                <c-button size="small" type="primary" @click="onInfbutDsp(scope.$index, scope.row)">详情 </c-button>
xiameng committed
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
                <!-- <c-button style="margin-left: 0" size="small"  type="primary" @click="continueEdit(scope.row)"> 处理</c-button>
              <el-popover placement="top-start" width="50" trigger="click">
                <ul class="table-button-item-list">
                  <li>
                    <c-button size="small" style="margin-left: 0" >指派</c-button  >
                  </li>
                  <li> 
                    <c-button size="small" style="margin-left: 0" >删除</c-button >
                  </li>
                </ul>
                <a
                  slot="reference"
                  href="javascript:void(0)"
                  style="margin-left: 5px"
                  ><i class="el-icon-more"></i
                ></a>
              </el-popover> -->
            </template>
          </c-table-column>
        </c-istream-table>
xiameng committed
79
      </c-col>
80

xiameng committed
81

xiameng committed
82
            <!-- <c-function-btn
xiameng committed
83 84 85 86
            :handleSubmit="handleSubmit"
            :handleCheck="handleCheck"
            :handleStash="handleStash"
            >
xiameng committed
87
            </c-function-btn> -->
xiameng committed
88 89

        </c-content>
zhangzhenmin committed
90 91 92
    </div>
</template>
<script>
xiameng committed
93 94

import Api from "~/service/Api";
wangren committed
95
import commonProcess from "~/mixin/commonProcess";
xiameng committed
96 97
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Inffee/Event";
98
import commonFuncs from "~/mixin/commonFuncs"
zhangzhenmin committed
99 100 101 102

export default {
    inject: ['root'],
    props:["model","codes"],
103
    mixins: [commonProcess,commonFuncs],
zhangzhenmin committed
104 105 106
    data(){

        return {
107
          //  initdialog: false,
108
         
xiameng committed
109
            searchToggle: false,
zhangzhenmin committed
110 111 112
       
            stmData: {
                columns: [
113
                    "1 1 \"Fee Cod\" 160 ",
xiameng committed
114
                    { index: 1, position: 2, width: 200, pattern: 'code', label: 'description',"code":"fepfeecod"},
115
                  //  "1 2\"Description\" 160 ",
xiameng committed
116
                    "2 3 \"Relevant Amount\" 180",
xiameng committed
117
                    "3 4 \"SWIFT / DTA Code\" 180",
118 119 120
                    "4 5 \" Booking Type\" 160 ",
                    "5 6 \" Fee Payer (Default) \" 180",
                    "6 7 \"Account\" 180",
xiameng committed
121
      
zhangzhenmin committed
122 123 124 125 126 127 128 129 130 131
            
                ],
                data: [     ] 
                


            }
        } 
    },
    computed: {
xiameng committed
132 133 134 135
        tableData() {
      return this.model.infbut.dspstm.rows;
    },
      /*  stmData() {
zhangzhenmin committed
136
      
xiameng committed
137 138 139 140 141 142 143 144
      console.log(this.model.infbut.dspstm.rows);
      return this.model.infbut.dspstm.rows;
    } */

    },
    methods:{
        chooseRowEvent(row) {
      this.model.infbut.selrow = row.IDX + 1;
zhangzhenmin committed
145
    },
146 147
  

xiameng committed
148 149 150 151 152
    ...Event},

        
     

zhangzhenmin committed
153 154
    created:function(){

xiameng committed
155 156
    },
    
zhangzhenmin committed
157 158 159 160
}
</script>
<style>
</style>
xiameng committed
161