Confp.vue 3.71 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
<template>
	<div class="eibs-tab">
		<!-- ============左边================= -->
		<c-col :span="12" style="padding-right: 20px;">
			<c-col :span="24">
				<el-form-item label=""> 收到的确认说明: </el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="确认指示" prop="nidgrp.rec.reccnfdet">
					<c-select disabled v-model="model.nidgrp.rec.reccnfdet" style="width: 100%" placeholder="请选择确认指示" dbCode="CNFFLG">
					</c-select>
				</el-form-item>
			</c-col>

			<c-col :span="24">
				<c-ptap :model="model" :disabled="true" :disabledRef='true' :disabledExtkey='true' :argadr="{  
                title: '确认行', grp: 'nidgrp', rol: 'cnr'}" ptytyp="B" bchinr='00000047'>
				</c-ptap>
			</c-col>
		</c-col>
		<!-- ============右边================= -->
		<c-col :span="12" style="padding-left: 20px;">
			<c-col :span="24">
				<el-form-item label=""> 传出确认说明: </el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="确认指示" prop="nidgrp.rec.cnfdet">
					<c-select :disabled="model.nidgrp.rec.legfrm != 'STBY'" v-model="model.nidgrp.rec.cnfdet" style="width: 100%" placeholder="请选择确认指示" dbCode="CNFFLG">
					</c-select>
				</el-form-item>
			</c-col>

			<c-col :span="24">
				<c-ptap :model="model" :disabled="model.nidgrp.rec.cnfdet == ''" :disabledRef="model.nidgrp.rec.cnfdet == ''" :disabledExtkey="model.nidgrp.rec.cnfdet == ''" :argadr="{  
                title: '确认行', grp: 'nidgrp', rol: 'con'}" ptytyp="B" bchinr='00000047'>
				</c-ptap>
			</c-col>
		</c-col>
		<c-row>
			<c-col :span="24">
				<c-col :span="12">
					<c-col :span="24">
						<el-form-item  label="">
							我行确认详细信息:
						</el-form-item>
					</c-col>

					<c-col :span="24">
						<el-form-item label="确认状态 " prop="nidgrp.rec.cnfsta">
							<c-select v-model="model.nidgrp.rec.cnfsta" style="width: 100%" placeholder="请选择确认状态" dbCode="CNFFLG">
							</c-select>
						</el-form-item>
					</c-col>

					<c-col :span="24">
						<c-col :span="10">
							<el-form-item label="确认金额" prop="nidgrp.cbs.cnf.cur">
								<c-input disabled v-model="model.nidgrp.cbs.cnf.cur" maxlength="3" placeholder="请输入确认金额"></c-input>
							</el-form-item>
						</c-col>

						<c-col  :span="4">
							<!-- <el-form-item  prop="nidgrp.cbs.cnf.amt"> -->
							<c-input disabled v-model="model.nidgrp.cbs.cnf.amt" placeholder="请输入"></c-input>
							<!-- </el-form-item> -->
						</c-col>
						<c-col :span="2" style="margin-left: 20px">
							<span>or</span>
						</c-col>
						<c-col :span="4">
							<!-- <el-form-item  prop="nidgrp.rec.partcon"> -->
							<c-input disabled v-model="model.nidgrp.rec.partcon" placeholder="请输入Partial Confirmation"></c-input>
							<!-- </el-form-item> -->
						</c-col>
						<c-col :span="2" style="margin-left: 20px">
							<span>%</span>
						</c-col>
					</c-col>

					<c-col :span="24">
						<el-form-item label="确认日期" prop="nidgrp.rec.cnfdat">
							<c-date-picker disabled type="date" v-model="model.nidgrp.rec.cnfdat" style="width: 100%" placeholder="请选择确认日期"></c-date-picker>
						</el-form-item>
					</c-col>
				</c-col>
				<c-col :span="11" :offset="1"> </c-col>
			</c-col>
		</c-row>
	</div>
</template>
<script>
import event from "../event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [event],
  data() {
    return {
      cnfdet: [
        { label: "收报行不要求加具保兑", value: "W" },
        { label: "收报行要求加具保兑", value: "C" },
        { label: "收报行可加具保兑", value: "A" }
      ]
    };
  },
  methods: {},
  created: function() {}
};
</script>
<style>
</style>