Drv.vue 8.83 KB
Newer Older
m  
1198835488@qq.com committed
1 2 3 4 5 6
<template>
	<c-row>
		<!-- top -->
		<c-col :span="24">

			<c-col :span="11">
wangna committed
7 8
				<el-form-item label="转让信用证编号" prop="ltdgrp.rec.ownref">
					<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入转让信用证编号" style="width: 100%"
m  
1198835488@qq.com committed
9 10 11 12 13 14
					 disabled>
					</c-input>
				</el-form-item>
			</c-col>

			<c-col :span="11" :offset="1">
wangna committed
15 16
				<el-form-item label="信用证编号" prop="ledgrp.rec.ownref">
					<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号" disabled>
m  
1198835488@qq.com committed
17 18 19 20 21
					</c-input>
				</el-form-item>
			</c-col>

			<c-col :span="11">
wangna committed
22 23
				<el-form-item label="单据编号" prop="btdgrp.rec.ownref">
					<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入单据编号" disabled>
m  
1198835488@qq.com committed
24 25 26 27 28
					</c-input>
				</el-form-item>
			</c-col>

			<c-col :span="11" :offset="1">
29 30
				<el-form-item label="" prop="btdgrp.rec.nam">
					<c-input v-model="model.btdgrp.rec.nam" placeholder="请输入" disabled></c-input>
m  
1198835488@qq.com committed
31 32 33 34 35 36 37 38 39
				</el-form-item>
			</c-col>

		</c-col>

		<!-- left -->
		<c-col :span="11">

			<c-col :span="24">
40
				<c-col :span="10">
wangna committed
41 42
					<el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
						<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额币种" disabled>
m  
1198835488@qq.com committed
43 44 45 46
							<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"></el-option>
						</c-select>
					</el-form-item>
				</c-col>
47 48
				<c-col :span="10">
					<el-form-item label="" label-width="5px" prop="btdgrp.cbs.max.amt">
wangna committed
49
						<c-input v-model="model.btdgrp.cbs.max.amt" placeholder="请输入单据金额" disabled></c-input>
m  
1198835488@qq.com committed
50 51 52
					</el-form-item>
				</c-col>
				<c-col :span="4" class="centerLable">
53
					<el-form-item label="" label-width="5px" prop="bttp.aammod.addamtflg">
wangna committed
54
					<c-checkbox v-model="model.bttp.aammod.addamtflg" disabled>附加金额</c-checkbox>
55
				</el-form-item>
m  
1198835488@qq.com committed
56 57 58 59
				</c-col>
			</c-col>

			<c-col :span="24">
60
				<c-col :span="10">
wangna committed
61 62
					<el-form-item label="余额" prop="btdgrp.cbs.opn1.cur">
						<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择余额币种" disabled>
m  
1198835488@qq.com committed
63 64 65 66
							<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"></el-option>
						</c-select>
					</el-form-item>
				</c-col>
67 68
				<c-col :span="10">
					<el-form-item label="" label-width="5px" prop="btdgrp.cbs.opn1.cur">
wangna committed
69
						<c-input v-model="model.btdgrp.cbs.opn1.cur" placeholder="请输入余额" disabled></c-input>
m  
1198835488@qq.com committed
70 71 72 73 74
					</el-form-item>
				</c-col>
			</c-col>

			<c-col :span="24">
wangna committed
75
				<el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
76
					<c-select v-model="model.btdgrp.rec.doctypcod" style="width:100%" placeholder="请输入单据类型" disabled :code="doctypcod"></c-select>
m  
1198835488@qq.com committed
77 78 79
				</el-form-item>
			</c-col>
			<c-col :span="24">
wangna committed
80 81
				<el-form-item label="到期日" prop="btdgrp.rec.matdat">
					<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:100%" placeholder="请选择到期日"
m  
1198835488@qq.com committed
82 83 84 85
					 disabled></c-date-picker>
				</el-form-item>
			</c-col>
			<c-col :span="24">
wangna committed
86 87
				<el-form-item label="交单日期" prop="btdgrp.rec.predat">
					<c-date-picker type="date" v-model="model.btdgrp.rec.predat" style="width:100%" placeholder="请选择交单日期"
m  
1198835488@qq.com committed
88 89 90 91 92
					 disabled></c-date-picker>
				</el-form-item>
			</c-col>

			<c-col :span="24">
wangna committed
93
				<el-form-item label="单据状态" prop="btdgrp.rec.docsta">
94
					<c-select v-model="model.btdgrp.rec.docsta" style="width:100%" placeholder="请输入单据状态" disabled :code="codes.docsta2"></c-select>
m  
1198835488@qq.com committed
95 96 97
				</el-form-item>
			</c-col>

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

			<el-row>
            <c-col :span="24">
                <c-docpre
            :model="model"
            rol="docgrdmbe1"
            :argadr="{
                path: 'btdgrp.blk.prsdocbe1',
                grp: 'bttp',
                code: 'docpre',
            }"
                ></c-docpre>
            </c-col>
        </el-row>

      <el-row>
          <c-col :span="24">
            <c-docpre
            :model="model"
            rol="docgrdmbe2"
            :argadr="{
                path: 'btdgrp.blk.prsdocbe2',
                grp: 'bttp',
                code: 'docpre',
            }"
                ></c-docpre>
          </c-col>
      </el-row>
m  
1198835488@qq.com committed
126 127 128 129 130 131
		</c-col>

		<!-- right -->
		<c-col :span="11" :offset="1">

			<c-col :span="24">
wangna committed
132 133
				<el-form-item label="第一受益人参考号" prop="btdgrp.be1.pts.ref">
					<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入第一受益人参考号" disabled></c-input>
m  
1198835488@qq.com committed
134 135 136 137
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="" prop="btdgrp.be1.pts.nam" label-width="0px">
wangna committed
138
					<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入" disabled></c-input>
m  
1198835488@qq.com committed
139 140 141
				</el-form-item>
			</c-col>
			<c-col :span="24">
wangna committed
142 143
				<el-form-item label="第二受益人参考号" prop="btdgrp.be2.pts.ref">
					<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入第二受益人参考号" disabled></c-input>
m  
1198835488@qq.com committed
144 145 146 147
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="" prop="btdgrp.be2.pts.nam" label-width="0px">
wangna committed
148
					<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入" disabled></c-input>
m  
1198835488@qq.com committed
149 150 151 152
				</el-form-item>
			</c-col>

			<c-col :span="24">
wangna committed
153
				<el-form-item label="寄单行" prop="btdgrp.prb.pts.ref">
154
					<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入寄单行" ></c-input>
m  
1198835488@qq.com committed
155 156 157 158
				</el-form-item>
			</c-col>
			<c-col :span="24">
				<el-form-item label="" prop="btdgrp.prb.pts.nam" label-width="0px">
wangna committed
159
					<c-input v-model="model.btdgrp.prb.pts.nam" maxlength="40" placeholder="请输入" disabled></c-input>
m  
1198835488@qq.com committed
160 161 162 163
				</el-form-item>
			</c-col>

			<c-col :span="24">
wangna committed
164
				<el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
165
					<c-select v-model="model.btdgrp.rec.doctypcod" style="width:100%" placeholder="请选择单据类型" disabled :code="doctypcod">
m  
1198835488@qq.com committed
166 167 168 169
					</c-select>
				</el-form-item>

				<c-col :span="24">
wangna committed
170 171
					<el-form-item label="单据利用次数" prop="ltdgrp.rec.utlnbr">
						<c-input v-model="model.ltdgrp.rec.utlnbr" placeholder="请输入单据利用次数" disabled></c-input>
m  
1198835488@qq.com committed
172 173 174 175 176 177
					</el-form-item>
				</c-col>
			</c-col>

			<c-col :span="24">
				<c-col :span="12">
wangna committed
178 179
					<el-form-item label="从第一受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe1">
						<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%" placeholder="请选择从第一受益人那收到单据日期"></c-date-picker>
m  
1198835488@qq.com committed
180 181 182 183
					</el-form-item>
				</c-col>

				<c-col :span="12">
wangna committed
184 185
					<el-form-item label="订单日期" prop="btdgrp.rec.orddatbe1">
						<c-date-picker type="date" v-model="model.btdgrp.rec.orddatbe1" style="width:100%" placeholder="请选择订单日期"></c-date-picker>
m  
1198835488@qq.com committed
186 187 188 189 190 191
					</el-form-item>
				</c-col>
			</c-col>

			<c-col :span="24">
				<c-col :span="12">
wangna committed
192
					<el-form-item label="从第二受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe2">
193
						<c-date-picker disabled type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%" placeholder="请选择从第二受益人那收到单据日期"></c-date-picker>
m  
1198835488@qq.com committed
194 195 196 197
					</el-form-item>
				</c-col>

				<c-col :span="12">
wangna committed
198
					<el-form-item label="订单日期" prop="btdgrp.rec.orddatbe2">
199
						<c-date-picker disabled type="date" v-model="model.btdgrp.rec.orddatbe2" style="width:100%" placeholder="请选择订单日期"></c-date-picker>
m  
1198835488@qq.com committed
200 201 202 203 204 205
					</el-form-item>
				</c-col>
			</c-col>

			<c-col :span="24">
				<c-col :span="12">
wangna committed
206 207
					<el-form-item label="装运日期" prop="btdgrp.rec.shpdat">
						<c-date-picker type="date" v-model="model.btdgrp.rec.shpdat" style="width:100%" placeholder="请选择装运日期"></c-date-picker>
m  
1198835488@qq.com committed
208 209 210 211 212 213 214 215 216 217
					</el-form-item>
				</c-col>
			</c-col>

		</c-col>

	</c-row>
</template>
<script>
	import Api from "~/service/Api"
wangren committed
218
	import commonProcess from "~/mixin/commonProcess";
m  
1198835488@qq.com committed
219 220
	import CodeTable from "~/config/CodeTable"
	import Event from "~/model/Bttdrv/Event"
221
	import Docpre from "~/views/Public/Docpre";
m  
1198835488@qq.com committed
222 223

	export default {
224
		components: { "c-docpre": Docpre },
m  
1198835488@qq.com committed
225 226
		inject: ['root'],
		props: ["model", "codes"],
wangren committed
227
		mixins: [commonProcess],
m  
1198835488@qq.com committed
228 229
		data() {
			return {
230
				doctypcod: [
wangna committed
231 232 233 234
        { label: "混合付款单据", value: "M" },
        { label: "即期单据", value: "P" },
        { label: "远期票据(承兑)", value: "A" },
        { label: "远期票据(递延)", value: "D" },
235
	],
m  
1198835488@qq.com committed
236 237 238 239 240 241 242 243 244 245 246 247 248 249 250
			};
		},
		methods: {
			...Event,
			handleEdit() {
				console.log("1111测试");
			},
		},
		created: function() {

		}
	}
</script>
<style>

wangren committed
251
</style>