Fhye.vue 4.54 KB
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
<template>
  <div class="eibs-tab">                 
    <el-form class="m-table-search-form" :rules="rules" ref="FhyeForm" label-position="right" label-width="110px" size="small" :model="model">
                                    
        <c-col :span="12">
						<el-form-item label="日期"  style="width: 100%">
							<c-col :span="11">
								<c-date-picker type="date" v-model="model.bcrinc.fhbgdat" style="width: 100%" placeholder="请选择起始日期" value-format="yyyy-MM-dd"></c-date-picker>
							</c-col>
							<c-col :span="2" style="text-align: center">
								<label style="display: inline-block; width: 100%">-</label>
							</c-col>
							<c-col :span="11">
								<c-date-picker type="date" v-model="model.bcrinc.fhendat" style="width: 100%" placeholder="请选择截止日期" value-format="yyyy-MM-dd"></c-date-picker>
							</c-col>
						</el-form-item>
			</c-col>

        <c-col :span="12">
        <el-form-item label="报表类型" prop="bcrinc.fhsort">
          <c-select v-model="model.bcrinc.fhsort" style="width:100%" dbCode="FHSORT" placeholder="" >
          </c-select>
        </el-form-item>
       </c-col>

      <c-col :span="24">
        <c-col :span="12" style="text-align: right">
          <!-- <el-button size="small" @click="handleReset">重置</el-button> -->
          <el-button type="primary" icon="el-icon-export" size="small" @click="BchexportExcel()">导出报表
          </el-button>
        </c-col>
      </c-col>

      <c-col :span="24">
        <el-form-item label="">
        </el-form-item>
       </c-col>

    <!-- ==================左边================ -->
    <c-col :span="12" style="padding-right: 20px;">  
      <c-col :span="24" class="custom-box-wrap">
				<div style="width: calc(100% - 135px);">
					<el-form-item label="分行列表:" >
					</el-form-item>
				</div>
				<div style="width: 115px;margin-left: 20px;display: flex;align-items: flex-start;">
          <c-checkbox @change="SearchBchall()" false-label="" true-label="X" v-model="model.bcrinc.checkofbch">ALL
					</c-checkbox>
				</div>
			</c-col>

      <c-col :span="24">
        <el-table id='infgidSpTableRef' :data="model.bcrinc.bchtableData" height="600px" :highlight-current-row="true" :border="true" style="width:100%" size="medium">
          <el-table-column label="分行名称" prop="bchname"  align="left">
          </el-table-column>
          <el-table-column label="EXTKEY" prop="branch" width="150" align="left">
          </el-table-column>
          <el-table-column label="选择标识" prop="idxbch" width="120" align="left">
            <template slot-scope="scope">
						<el-checkbox v-model="scope.row.idxbch" true-label="X" false-label="" ></el-checkbox>
					</template>
          </el-table-column>
        </el-table>
      </c-col>
    </c-col>

    <!-- ============右边================= -->
    <c-col :span="12" style="padding-left: 20px;">
        <c-col :span="24" class="custom-box-wrap">
				<div style="width: calc(100% - 135px);">
					<el-form-item label="业务交易列表:" >
					</el-form-item>
				</div>
				<div style="width: 115px;margin-left: 20px;display: flex;align-items: flex-start;">
          <c-checkbox  @change="SearchCodall()" false-label="" true-label="X" v-model="model.bcrinc.checkoffrm">ALL
					</c-checkbox>
				</div>
			</c-col>

       <c-col :span="24">
        <el-table id='infgidSpTableRef' :data="model.bcrinc.frmtableData" height="600px" :highlight-current-row="true" :border="true" style="width:100%" size="medium">
          <el-table-column label="Description" prop="txt" align="left">
          </el-table-column>
          <el-table-column label="交易代码" prop="cod" width="150" align="left">
          </el-table-column>
          <el-table-column label="选择标识" prop="idxcod" width="120" align="left">
            <template slot-scope="scope">
						<el-checkbox v-model="scope.row.idxcod" true-label="X" false-label="" ></el-checkbox>
					</template>
          </el-table-column>
        </el-table>
      </c-col>
    </c-col>

    </el-form>
     </div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from "../event";
import Check from "../model/check";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [event,Check],
  data() {
    return {
    };
  },
  computed: {

  },
  methods: {
  },
  mounted() {
    this.frmSearch();
    this.bchSearch();
  },
  created: function() {}
};
</script>
<style scoped lang="less">

  ::v-deep  .cell {
   display: flex;
   justify-content: center;
 }
</style>