Canp.vue 5.86 KB
Newer Older
fukai committed
1 2
<template>
  <div class="eibs-tab">
jianglong committed
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
    <c-col :span="24">
         <!-- ==================左边================ -->
        <c-col :span="12" style="padding-right: 20px">
        <c-col :span="24">
                <c-form-item label="业务编号" prop="fxdgrp.rec.ownref">
                    <c-fullbox>
                        <c-input v-model="model.fxdgrp.rec.ownref" maxlength="16" placeholder="请输入业务编号" disabled>
                        </c-input>
                        
                        </c-fullbox>
                </c-form-item>
            </c-col>
      
            <c-col :span="24">
                <c-form-item label="经办人" prop="fxdgrp.rec.usr">
                    <c-fullbox>
                    <c-input disabled v-model="model.fxdgrp.rec.usr" placeholder="请输入业务负责人" ></c-input>
                    <template slot="footer">
                            <c-button style="margin: 0 5px" size="small" type="primary">
                            i
                            </c-button>
                        </template>
                    </c-fullbox>
                </c-form-item>
                
            </c-col>
            

            <c-col :span="24">
                <el-form-item label="平盘类型" prop="fxdgrp.rec.fxtyp">
                    <c-select  disabled v-model="model.fxdgrp.rec.fxtyp" style="width:100%" :code="codes.fxt_fxtyp" :filterKey="['FS', 'FB']">
                    </c-select>
                </el-form-item>
            </c-col>
            
            <c-col :span="24">
                <c-col :span="12">
                    <el-form-item label="待销账金额" prop="fxdgrp.cbs.opn2.cur">
                    <c-select-cur disabled v-model="model.fxdgrp.cbs.opn2.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur>
                    </el-form-item>
                </c-col>
                <c-col :span="12">
                    <el-form-item label-width="5px" prop="fxdgrp.cbs.opn2.amt">
                    <c-input-currency
                        disabled
                        :currency="model.fxdgrp.cbs.opn2.cur"
                        v-model="model.fxdgrp.cbs.opn2.amt"></c-input-currency>
                    </el-form-item>
                </c-col>
            </c-col>

            <c-col :span="24">
                <c-col :span="12">
                    <el-form-item label="销账金额" prop="cancur">
                    <c-select-cur disabled v-model="model.cancur" style="width: 100%" dbCode="curtxt"> </c-select-cur>
                    </el-form-item>
                </c-col>
                <c-col :span="12">
                    <el-form-item label-width="5px" prop="canamt">
                    <c-input-currency
                        
                        :currency="model.cancur"
                        v-model="model.canamt"></c-input-currency>
                    </el-form-item>
                </c-col>
            </c-col>
            
            <c-col :span="24">
                <el-form-item label="成交日" prop="fxdgrp.rec.opndat">
                    <c-date-picker disabled type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%" placeholder="请输入成交日">
                    </c-date-picker>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item label="起息日" prop="fxdgrp.rec.valdat">
                    <c-date-picker disabled type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%" placeholder="请输入起息日">
                    </c-date-picker>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <c-form-item label="备注" prop="fxdgrp.blk.remark">
                  <c-input disabled type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="140" :rows="4" style="width:100%" placeholder="请输入备注">
                  </c-input>
                </c-form-item>
            </c-col>
            
fukai committed
89
        </c-col>
jianglong committed
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
        <!-- ==================右边================ -->
        <c-col :span="12" style="padding-right: 20px">
            <c-col :span="24">
			    <c-form-item label="业务名称" prop="fxdgrp.rec.nam">
			    	<c-input  v-model="model.fxdgrp.rec.nam" maxlength="40" disabled></c-input>
			    </c-form-item>
		    </c-col>
            
            <c-col :span="24">   
                <el-card class="box-card">
                    <c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="true" :disabled="true" :isAdrblk="true" :haveAdrLabel="true"
                    :isShowCard="false" 
                    :argadr="{title: '平盘对手', grp: 'fxdgrp', rol: 'apl',}"
                    :label="{labelExtkey:'平盘对手',labelNam:'名称',labelAdrblk:'地址',}" 
                    ptytyp="B">  
                </c-ptap>
                </el-card>
            </c-col>
            
109

jianglong committed
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
            


            <c-col :span="24">   
                <el-card class="box-card">
                    <c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="true" :disabled="true" :isAdrblk="true" :haveAdrLabel="true"
                    :isShowCard="false" 
                    :argadr="{title: '我行账户行', grp: 'fxdgrp', rol: 'act',}"
                    :label="{labelExtkey:'我行账户行',labelNam:'名称',labelAdrblk:'地址',}" 
                    ptytyp="B">  
                </c-ptap>
                </el-card>
            </c-col>

           
            
        </c-col>
127
    </c-col>
fukai committed
128 129
  </div>
</template>
jianglong committed
130 131 132 133 134
<script>  
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event"
fukai committed
135 136

export default {
jianglong committed
137 138 139 140 141 142 143 144 145 146 147 148 149
    inject: ['root'],
    props:["model","codes"],
    mixins: [Event,commonProcess],
    data(){
        return {

        }
    },
    methods:{},
    created:function(){

    }
}
fukai committed
150 151
</script>
<style>
jianglong committed
152

fukai committed
153
</style>