Rog.vue 11.5 KB
Newer Older
1
<template>
2
  <div class="eibs">
3
   
4
      <!-- =======左========== -->
xiameng committed
5
      <el-col :span="12" style="padding-right: 20px;">
6
        <c-col :span="24">
jianglong committed
7
        <el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
8 9 10 11 12 13 14
            <c-input  
            disabled
            v-model="model.lidgrp.rec.ownref" maxlength="16"  placeholder="请输入参考号"></c-input>
        </el-form-item>
       </c-col>

       <c-col :span="10">
jianglong committed
15
        <el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur">
16 17 18 19 20 21 22 23 24 25 26
            <c-input 
            disabled
            v-model="model.lidgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择信用证金额">
            </c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="10">
        <el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
            <c-input  
            disabled
27
            v-model.number="model.lidgrp.cbs.nom1.amt"  placeholder="请输入信用证金额"></c-input>
28 29 30 31
        </el-form-item>
       </c-col>

        <c-col :span="4">
jianglong committed
32
	    <c-checkbox disabled v-model="model.brtp.aammod.addamtflg">附加金额</c-checkbox>
33 34 35
       </c-col>

       <c-col :span="10">
jianglong committed
36
        <el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur">
37 38 39 40 41 42 43 44 45 46
            <c-input  
            disabled
            v-model="model.lidgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入信用证余额"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="10">
        <el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
            <c-input  
            disabled
jianglong committed
47
            v-model.number="model.lidgrp.cbs.opn1.amt"  placeholder="请输入金额"></c-input>
48 49 50 51
        </el-form-item>
       </c-col>

       <c-col :span="4">
jianglong committed
52
	    <c-checkbox disabled v-model="model.lidgrp.rec.revflg">循环信用证</c-checkbox>
53 54 55
       </c-col>

       <c-col :span="24">
jianglong committed
56
        <el-form-item label="可用银行" prop="lidgrp.avbnam">
wangna committed
57
            <c-input disabled v-model="model.lidgrp.avbnam" maxlength="40"  placeholder="请输入可用银行"></c-input>
58 59 60 61 62
        </el-form-item>
       </c-col>

                                  
       <c-col :span="12">
jianglong committed
63
        <el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
64 65
            <c-select 
            disabled
66
            :code="codes.avbby"
wangna committed
67
            v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
68 69 70 71 72 73 74 75 76
              </c-select>
        </el-form-item>
       </c-col>

       <c-col :span="12">
	    <c-checkbox 
        disabled
        v-model="model.lidgrp.rec.redclsflg"
        style="margin-left:25px;padding: 0 10px;"
jianglong committed
77
        >红/绿条款</c-checkbox>
78 79 80
       </c-col>

        <c-col :span="24">
jianglong committed
81
        <el-form-item label="开证日期" prop="lidgrp.rec.opndat">
82 83 84 85 86 87 88
            <c-date-picker 
            disabled
            type="date"  v-model="model.lidgrp.rec.opndat" style="width:100%"  placeholder="请选择开证日期"></c-date-picker>
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
89
        <el-form-item label="装运日期" prop="lidgrp.rec.shpdat">
90 91 92 93 94 95 96
            <c-date-picker 
            disabled
            type="date"  v-model="model.lidgrp.rec.shpdat" style="width:100%"  placeholder="请选择最迟装运日期"></c-date-picker>
        </el-form-item>
       </c-col>

       <c-col :span="12">
jianglong committed
97
        <el-form-item label="有效期限" prop="lidgrp.rec.expdat">
98 99
            <c-date-picker 
            disabled
wangna committed
100
            type="date"  v-model="model.lidgrp.rec.expdat" style="width:100%"  placeholder="请选择到期日"></c-date-picker>
101 102 103 104
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
jianglong committed
105
        <el-form-item label="到期地点" prop="lidgrp.rec.expplc">
wangna committed
106
            <c-input disabled v-model="model.lidgrp.rec.expplc" maxlength="29"  placeholder="请输入到期地点"></c-input>
107 108 109 110
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
111
        <el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
112
            <c-select 
113
            :code="codes.lcrtyp1"
114 115
            disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
            </c-select>
116 117 118 119
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
120
        <el-form-item label="提货担保编号" prop="brdgrp.rec.shgref">
121
           <c-fullbox>
jianglong committed
122
            <c-input disabled v-model="model.brdgrp.rec.shgref" maxlength="16"  placeholder="请输入提货担保编号"></c-input>
123 124 125
        
            <template slot="footer">
            <c-button size="small" type="primary"  @click="onGetref">
jianglong committed
126
            获取
127 128 129 130 131 132 133
            </c-button>
            </template>
           </c-fullbox>
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
134
        <el-form-item label="单据编号" prop="brdgrp.rec.ownref">
135 136
            
            <c-fullbox>
jianglong committed
137
            <c-input disabled v-model="model.brdgrp.rec.ownref" maxlength="16"  placeholder="请输入单据编号"></c-input>
138 139
            <template slot="footer">
        <c-button size="small" type="primary"  @click="onBrtmodButgetref">
jianglong committed
140
            获取
141 142 143 144 145 146 147
        </c-button>
       </template>
            </c-fullbox>
        </el-form-item>
       </c-col>

       <c-col :span="14">
jianglong committed
148 149
        <el-form-item label="提货担保金额" prop="brdgrp.cbs.max.cur">
            <c-input disabled v-model="model.brdgrp.cbs.max.cur" maxlength="3"  placeholder="请输入金额"></c-input>
150 151 152 153 154
        </el-form-item>
       </c-col>
                  
       <c-col :span="10">
        <el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt">
jianglong committed
155
            <c-input  v-model="model.brdgrp.cbs.max.amt"  placeholder="请输入金额"></c-input>
156 157 158 159
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
160
        <el-form-item label="装运备注" prop="shpmar">
161
            <c-input 
162 163
            :rows="3"
            type="textarea" v-model="model.shpmar" maxlength="40" show-word-limit placeholder="请输入装运备注" ></c-input>
164 165 166 167
        </el-form-item>
        </c-col>

        <c-col :span="24">
jianglong committed
168 169
        <el-form-item label="总份数" prop="pietat">
            <c-input  v-model="model.pietat" maxlength="80"  placeholder="请输入总份数"></c-input>
170 171 172 173 174
        </el-form-item>
       </c-col>

       <c-col :span="24">
        <el-form-item label="担保银行" prop="guabnkval">
175 176
            <c-input  v-model="model.guabnkval" maxlength="40" style="width: 77%"  placeholder="请输入担保银行"></c-input>
            <span style="font-size:12px;color:#606266;">(提货担保面函落款)</span>
177 178 179 180 181
        </el-form-item>
       </c-col>
      </el-col>

      <!-- ========右========= -->
xiameng committed
182
      <el-col :span="12" style="padding-left: 20px;">
183
      <c-col :span="24">
jianglong committed
184
        <el-form-item label="简略信息" prop="lidgrp.rec.nam">
185 186 187 188 189
            <c-input disabled v-model="model.lidgrp.rec.nam" maxlength="40"  placeholder="请输入简略信息"></c-input>
        </el-form-item>
       </c-col>

         <c-col :span="24">
jianglong committed
190
        <el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref">
191 192 193 194 195
            <c-input disabled v-model="model.brdgrp.apl.pts.ref" maxlength="16"  placeholder="请输入申请人"></c-input>
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
196
        <el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam">
jianglong committed
197
            <c-input disabled v-model="model.brdgrp.apl.pts.nam" maxlength="40"  placeholder="请输入名称"></c-input>
198 199 200 201
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
202
        <el-form-item label="受益人参考号" prop="brdgrp.ben.pts.ref">
203 204 205 206 207
            <c-input disabled v-model="model.brdgrp.ben.pts.ref" maxlength="16"  placeholder="请输入受益人"></c-input>
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
208
        <el-form-item label="受益人名称" prop="brdgrp.ben.pts.nam">
jianglong committed
209
            <c-input disabled v-model="model.brdgrp.ben.pts.nam" maxlength="40"  placeholder="请输入名称"></c-input>
210 211 212 213
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
214
        <el-form-item label="寄单行参考号" prop="brdgrp.prb.pts.ref">
215 216 217 218 219
            <c-input disabled v-model="model.brdgrp.prb.pts.ref" maxlength="16"  placeholder="请输入交单行"></c-input>
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
220
        <el-form-item label="寄单行名称" prop="brdgrp.prb.pts.nam">
jianglong committed
221
            <c-input disabled v-model="model.brdgrp.prb.pts.nam" maxlength="40"  placeholder="请输入名称"></c-input>
222 223 224 225
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
226
        <el-form-item label="简略信息" prop="brdgrp.rec.nam">
wangna committed
227
            <c-input disabled v-model="model.brdgrp.rec.nam" maxlength="40"  placeholder="请输入简略信息"></c-input>
228 229 230 231
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
232
        <el-form-item label="货押标识" prop="brdgrp.rec.guaflg">
233 234 235
            <c-select 
            v-model="model.brdgrp.rec.guaflg" 
            style="width:100%" 
jianglong committed
236
            placeholder="请选择货押标识"
237 238 239 240 241 242 243
            :code="codes.guaflg"
            >
              </c-select>
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
244
        <el-form-item label="交单行" prop="brdgrp.rec.docprbrol">
wangna committed
245
            <c-input disabled v-model="model.brdgrp.rec.docprbrol" style="width:100%" placeholder="请选择交单行">
246 247 248 249 250
            </c-input>
        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
251
        <el-form-item label="地址编码" prop="brdgrp.prb.pts.extkey">
252 253 254 255
            <c-fullbox>
            <c-input  
            v-model="model.brdgrp.prb.pts.extkey" 
            maxlength="16"  
jianglong committed
256
            placeholder="请输入地址编码"
257 258 259 260
            @keyup.enter.native="showGridPromptDialog('brdgrp.prb.pts.extkey')"
            ></c-input>
            
            <template slot="footer">
261 262 263 264 265 266 267 268
                <c-button
                style="margin: 0 5px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                    
                    icon="el-icon-info"
                  >
                  </c-button>
269 270 271 272
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
273
               
274
              >
275
                详情
276 277 278 279 280 281 282 283
              </c-button>
            </template>
          </c-fullbox>

        </el-form-item>
       </c-col>

       <c-col :span="24">
jianglong committed
284
        <el-form-item label="地址信息" prop="brdgrp.prb.pts.adrblk">
285 286 287 288
            <c-input
            :rows="5" 
            type="textarea" 
            v-model="model.brdgrp.prb.pts.adrblk" 
289
            maxlength="200" 
290
            show-word-limit 
jianglong committed
291
            placeholder="请输入地址信息" 
292 293 294 295 296
            ></c-input>
        </el-form-item>
        </c-col>

        <c-col :span="24">
297
        <el-form-item label="发票类型" prop="brdgrp.rec.invtyp">
298 299 300
            <c-select 
            v-model="model.brdgrp.rec.invtyp" 
            style="width:100%" 
wangna committed
301
            placeholder="请选择发票类型"
302 303 304 305 306 307
            :code="codes.invtyp"
            >
              </c-select>
        </el-form-item>
       </c-col>
      </el-col>
308 309
    

jianglong committed
310
     
311
     </div>
312 313 314 315 316 317 318
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litrog/Event"

319

320
export default {
321
 
322 323 324 325 326
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {
327
           
328 329 330 331 332 333 334 335 336 337 338 339

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

    }
}
</script>
<style>

</style>