Drv.vue 9.16 KB
Newer Older
m  
1198835488@qq.com committed
1
<template>
2 3
  <div class="eibs">
	<!-- ==============上部分============ -->
m  
1198835488@qq.com committed
4
	<c-row>
5 6 7 8 9 10 11 12
		<!-- 左边-->
		<c-col :span="12" style="padding-right: 20px;">
			<c-col :span="24">
			<el-form-item label="转让信用证编号" prop="ltdgrp.rec.ownref">
				<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入转让信用证编号" style="width: 100%"
				 disabled>
				</c-input>
			</el-form-item>
m  
1198835488@qq.com committed
13 14
			</c-col>

15
			<c-col :span="24">
wangna committed
16 17
				<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
18 19 20 21
					</c-input>
				</el-form-item>
			</c-col>

22 23 24 25 26 27 28 29 30 31 32 33
		<c-col :span="24">
        <c-col :span="10">
        <el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
            <c-select
              v-model="model.btdgrp.cbs.max.cur"
              style="width: 100%"
              placeholder="请选择币种"
              disabled
              :code="codes.cur"
            ></c-select>
          </el-form-item>
        </c-col>
m  
1198835488@qq.com committed
34

35 36 37 38 39 40 41 42 43 44
        <c-col :span="10">
        <el-form-item label="" prop="btdgrp.cbs.max.amt" label-width="5px">
            <c-input
              v-model="model.btdgrp.cbs.max.amt"
              style="width: 100%"
              placeholder="请输入金额"
              disabled
            ></c-input>
        </el-form-item>
        </c-col>
m  
1198835488@qq.com committed
45

46 47 48 49 50 51 52 53 54 55
        <c-col :span="4">
        <el-form-item label="" prop="bttp.aammod.addamtflg" style=" float:right;">
              <c-checkbox
                v-model="model.bttp.aammod.addamtflg"
                disabled
                >附加金额</c-checkbox
              >
        </el-form-item>
      </c-col>
      </c-col>
m  
1198835488@qq.com committed
56

57 58 59 60 61 62 63 64 65 66 67 68
	   <c-col :span="24">
        <c-col :span="10">
        <el-form-item label="余额" prop="btdgrp.cbs.opn1.cur">
            <c-select
              v-model="model.btdgrp.cbs.max.cur"
              style="width: 100%"
              placeholder="请输入金额"
              disabled
              :code="codes.curtxt1"
            ></c-select>
          </el-form-item>
          </c-col>
m  
1198835488@qq.com committed
69

70 71 72 73 74 75 76 77 78 79 80
          <c-col :span="10">
        <el-form-item label="" prop="btdgrp.cbs.opn1.cur" label-width="5px">
            <c-input
              v-model="model.btdgrp.cbs.opn1.cur"
              style="width: 100%"
              placeholder="请输入金额"
              disabled
            ></c-input>
            </el-form-item>
            </c-col>
        </c-col>
m  
1198835488@qq.com committed
81

82
	        <c-col :span="24">
wangna committed
83
				<el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
84
					<c-select v-model="model.btdgrp.rec.doctypcod" style="width:100%" placeholder="请输入单据类型" disabled :code="doctypcod"></c-select>
m  
1198835488@qq.com committed
85 86 87
				</el-form-item>
			</c-col>
			<c-col :span="24">
wangna committed
88 89
				<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
90 91 92 93
					 disabled></c-date-picker>
				</el-form-item>
			</c-col>
			<c-col :span="24">
wangna committed
94 95
				<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
96 97 98 99 100
					 disabled></c-date-picker>
				</el-form-item>
			</c-col>

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

107 108 109 110 111 112 113 114
   <!-- ========右边======== -->
        <c-col :span="12" style="padding-left: 20px;">
			<c-col :span="24">
				<el-form-item label="信用证编号" prop="ledgrp.rec.ownref">
					<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号" disabled>
					</c-input>
				</el-form-item>
			</c-col>
m  
1198835488@qq.com committed
115
			<c-col :span="24">
wangna committed
116 117
				<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
118 119 120
				</el-form-item>
			</c-col>
			<c-col :span="24">
121 122
				<el-form-item label="第一受益人名称" prop="btdgrp.be1.pts.nam">
					<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="16" placeholder="请输入" disabled></c-input>
m  
1198835488@qq.com committed
123 124 125
				</el-form-item>
			</c-col>
			<c-col :span="24">
wangna committed
126 127
				<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
128 129 130
				</el-form-item>
			</c-col>
			<c-col :span="24">
131 132
				<el-form-item label="第二受益人名称" prop="btdgrp.be2.pts.nam">
					<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="16" placeholder="请输入" disabled></c-input>
m  
1198835488@qq.com committed
133 134 135 136
				</el-form-item>
			</c-col>

			<c-col :span="24">
wangna committed
137
				<el-form-item label="寄单行" prop="btdgrp.prb.pts.ref">
138
					<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入寄单行" ></c-input>
m  
1198835488@qq.com committed
139 140 141
				</el-form-item>
			</c-col>
			<c-col :span="24">
142 143
				<el-form-item label="寄单行名称" prop="btdgrp.prb.pts.nam">
					<c-input v-model="model.btdgrp.prb.pts.nam" maxlength="16" placeholder="请输入" disabled></c-input>
m  
1198835488@qq.com committed
144 145 146
				</el-form-item>
			</c-col>

147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
		</c-col>
	</c-row>
	<!-- 列表 -->
	<c-row>
		<c-col :span="24">
                <c-docpre
            :model="model"
            rol="docgrdmbe1"
            :argadr="{
                path: 'btdgrp.blk.prsdocbe1',
                grp: 'bttp',
                code: 'docpre',
            }"
                ></c-docpre>
        </c-col>
		<c-col :span="24">
            <c-docpre
            :model="model"
            rol="docgrdmbe2"
            :argadr="{
                path: 'btdgrp.blk.prsdocbe2',
                grp: 'bttp',
                code: 'docpre',
            }"
                ></c-docpre>
          </c-col>
	</c-row>
	<c-row>
		<!-- ======左边===== -->
		<c-col :span="12" style="padding-right: 20px;">
m  
1198835488@qq.com committed
177
			<c-col :span="24">
wangna committed
178
				<el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
179
					<c-select v-model="model.btdgrp.rec.doctypcod" style="width:100%" placeholder="请选择单据类型" disabled :code="doctypcod">
m  
1198835488@qq.com committed
180 181 182 183
					</c-select>
				</el-form-item>

				<c-col :span="24">
wangna committed
184 185
					<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
186 187 188
					</el-form-item>
				</c-col>
			</c-col>
189 190 191
		</c-col>
		<!-- =====右边===== -->
		<c-col :span="12" style="padding-left: 20px;">
m  
1198835488@qq.com committed
192 193
			<c-col :span="24">
				<c-col :span="12">
wangna committed
194 195
					<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
196 197 198 199
					</el-form-item>
				</c-col>

				<c-col :span="12">
wangna committed
200 201
					<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
202 203 204 205 206 207
					</el-form-item>
				</c-col>
			</c-col>

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

				<c-col :span="12">
wangna committed
214
					<el-form-item label="订单日期" prop="btdgrp.rec.orddatbe2">
215
						<c-date-picker disabled type="date" v-model="model.btdgrp.rec.orddatbe2" style="width:100%" placeholder="请选择订单日期"></c-date-picker>
m  
1198835488@qq.com committed
216 217 218 219 220 221
					</el-form-item>
				</c-col>
			</c-col>

			<c-col :span="24">
				<c-col :span="12">
wangna committed
222 223
					<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
224 225 226 227 228
					</el-form-item>
				</c-col>
			</c-col>
		</c-col>
	</c-row>
229
  </div>
m  
1198835488@qq.com committed
230 231 232
</template>
<script>
	import Api from "~/service/Api"
wangren committed
233
	import commonProcess from "~/mixin/commonProcess";
m  
1198835488@qq.com committed
234 235
	import CodeTable from "~/config/CodeTable"
	import Event from "~/model/Bttdrv/Event"
236
	import Docpre from "~/views/Public/Docpre";
m  
1198835488@qq.com committed
237 238

	export default {
239
		components: { "c-docpre": Docpre },
m  
1198835488@qq.com committed
240 241
		inject: ['root'],
		props: ["model", "codes"],
wangren committed
242
		mixins: [commonProcess],
m  
1198835488@qq.com committed
243 244
		data() {
			return {
245
				doctypcod: [
wangna committed
246 247 248 249
        { label: "混合付款单据", value: "M" },
        { label: "即期单据", value: "P" },
        { label: "远期票据(承兑)", value: "A" },
        { label: "远期票据(递延)", value: "D" },
250
	],
m  
1198835488@qq.com committed
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265
			};
		},
		methods: {
			...Event,
			handleEdit() {
				console.log("1111测试");
			},
		},
		created: function() {

		}
	}
</script>
<style>

wangren committed
266
</style>