Accp.vue 13.6 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
3 4
    <el-col :span="11">
        <c-col :span="24">
jianglong committed
5 6
        <el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
            <c-input disabled v-model="model.lidgrp.rec.ownref" maxlength="16"  placeholder="请输入编号"></c-input>
7 8
        </el-form-item>
       </c-col>
9 10

        <c-col :span="15">
jianglong committed
11 12
        <el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur">
            <c-input disabled v-model="model.lidgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择">
13
            </c-input>
14 15 16
        </el-form-item>
       </c-col>
                  
17 18
       <c-col :span="9">
        <el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
jianglong committed
19
            <c-input disabled v-model="model.lidgrp.cbs.nom1.amt"  placeholder="请输入金额"></c-input>
20 21 22 23
        </el-form-item>
       </c-col>

       <!-- <c-col :span="4">
jianglong committed
24
	    <c-checkbox disabled v-model="model.litp.litp0.aammod.addamtflg">附加金额</c-checkbox>
25 26 27
       </c-col> -->

        <c-col :span="15">
jianglong committed
28
        <el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur">
29 30
            <c-input disabled v-model="model.lidgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入信用证余额"></c-input>
        </el-form-item>
31 32
       </c-col>
                  
33 34
       <c-col :span="9">
        <el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
jianglong committed
35
            <c-input disabled v-model="model.lidgrp.cbs.opn1.amt"  placeholder="请输入金额"></c-input>
36
        </el-form-item>
37
       </c-col>
38 39
                  
       <!-- <c-col :span="4">
jianglong committed
40
	    <c-checkbox disabled v-model="model.lidgrp.rec.revflg">循环信用证</c-checkbox>
41 42 43
       </c-col> -->

        <c-col :span="24">
jianglong committed
44
        <el-form-item label="可用银行" prop="lidgrp.avbnam">
45
            <c-input disabled v-model="model.lidgrp.avbnam" maxlength="40"  placeholder="请输入指定银行"></c-input>
46 47
        </el-form-item>
       </c-col>
48 49

       <c-col :span="24">
jianglong committed
50
        <el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
51 52 53 54
            <c-select 
            disabled 
            :code="codes.avbby"
            v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
55 56 57
              </c-select>
        </el-form-item>
       </c-col>
58 59

        <!-- <c-col :span="12">
jianglong committed
60
	    <c-checkbox disabled v-model="model.lidgrp.rec.redclsflg">红/绿条款</c-checkbox>
61 62 63
         </c-col> -->

          <c-col :span="24">
jianglong committed
64
        <el-form-item label="开证日期" prop="lidgrp.rec.opndat">
65 66
            <c-date-picker 
            disabled
jianglong committed
67
            type="date"  v-model="model.lidgrp.rec.opndat" style="width:100%"  placeholder="请选择日期"></c-date-picker>
68 69 70
        </el-form-item>
       </c-col>
                  
71 72 73 74
       <c-col :span="24">
        <el-form-item label="提货日期" prop="lidgrp.rec.shpdat">
            <c-date-picker
            disabled
jianglong committed
75
             type="date"  v-model="model.lidgrp.rec.shpdat" style="width:100%"  placeholder="请选择日期"></c-date-picker>
76 77 78 79
        </el-form-item>
       </c-col>

        <c-col :span="24">
jianglong committed
80
        <el-form-item label="有效期限" prop="lidgrp.rec.expdat">
81 82
            <c-date-picker
            disabled
jianglong committed
83
             type="date"  v-model="model.lidgrp.rec.expdat" style="width:100%"  placeholder="请选择日期"></c-date-picker>
84
        </el-form-item>
85 86
       </c-col>
                  
87
       <c-col :span="24">
jianglong committed
88 89
        <el-form-item label="到期地点" prop="lidgrp.rec.expplc">
            <c-input disabled v-model="model.lidgrp.rec.expplc" maxlength="29"  placeholder="请输入地点"></c-input>
90 91
        </el-form-item>
       </c-col>
92
       <c-col :span="24">
jianglong committed
93
        <el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
94 95 96
            <c-select 
            disabled 
            :code="codes.lcrtyp"
jianglong committed
97
            v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
98 99 100
              </c-select>
        </el-form-item>
       </c-col>
101 102 103 104

       <!-- <c-col :span="24">
        <el-form-item label="Amount Amend History List" prop="decstm">
            <c-input disabled v-model="model.decstm"  placeholder="请输入Amount Amend StreamGrid"></c-input>
105
        </el-form-item>
106 107 108 109 110
       </c-col> -->
    </el-col>

    <el-col :span="11" :offset="1">
            <c-col :span="24">
jianglong committed
111 112
        <el-form-item label="简略信息" prop="lidgrp.rec.nam">
            <c-input  disabled v-model="model.lidgrp.rec.nam" maxlength="40"  placeholder="请输入简略信息"></c-input>
113 114
        </el-form-item>
       </c-col>
115 116

        <c-col :span="24">
jianglong committed
117 118
        <el-form-item label="申请人参考号" prop="lidgrp.apl.pts.ref">
            <c-input  disabled v-model="model.lidgrp.apl.pts.ref" maxlength="16"  placeholder="请输入参考号"></c-input>
119 120
        </el-form-item>
       </c-col>
121 122

        <c-col :span="24">
jianglong committed
123 124
        <el-form-item label="申请人名称" prop="lidgrp.apl.pts.nam">
            <c-input disabled v-model="model.lidgrp.apl.pts.nam" maxlength="40"  placeholder="请输入名称"></c-input>
125
        </el-form-item>
126
       </c-col>
127 128

        <c-col :span="24">
jianglong committed
129 130
        <el-form-item label="受益人参考号" prop="lidgrp.ben.pts.ref">
            <c-input disabled v-model="model.lidgrp.ben.pts.ref" maxlength="16"  placeholder="请输入受益人参考号"></c-input>
131 132
        </el-form-item>
       </c-col>
133 134

        <c-col :span="24">
jianglong committed
135
        <el-form-item label="受益人名称" prop="lidgrp.ben.pts.nam">
136
            <c-input disabled v-model="model.lidgrp.ben.pts.nam" maxlength="40"  placeholder="请输入兑付方式"></c-input>
137 138
        </el-form-item>
       </c-col>
139 140

        <c-col :span="24">
jianglong committed
141 142
        <el-form-item label="通知行参考号" prop="lidgrp.adv.pts.ref">
            <c-input disabled v-model="model.lidgrp.adv.pts.ref" maxlength="16"  placeholder="请输入通知行参考号"></c-input>
143
        </el-form-item>
144
       </c-col>
145 146

        <c-col :span="24">
jianglong committed
147
        <el-form-item label="通知行名称" prop="lidgrp.adv.pts.nam">
148 149 150 151 152 153 154 155 156
            <c-input disabled v-model="model.lidgrp.adv.pts.nam" maxlength="40"  placeholder="请输入到期日"></c-input>
        </el-form-item>
       </c-col> 
       <c-col :span="24">
        <el-form-item label="amend number" prop="amenbr">
            <c-input disabled v-model="model.amenbr" maxlength="3"  placeholder="请输入number"></c-input>
        </el-form-item>
       </c-col> 

157
       <c-col :span="12">
158 159
        <el-form-item label="Amount Amend Cur" prop="amecur">
            <c-input disabled v-model="model.amecur" maxlength="3"  placeholder="请输入Amount Amend Ccy"></c-input>
160 161
        </el-form-item>
       </c-col>
162
                  
163
       <c-col :span="12">
164 165
        <el-form-item label="修改金额" prop="reduceamt">
            <c-input disabled v-model="model.reduceamt"  placeholder="请输入修改金额"></c-input>
166
        </el-form-item>
167 168
       </c-col> 

169
       <c-col :span="12">
jianglong committed
170
        <el-form-item label="修改日期" prop="amedat">
171 172 173 174 175 176
            <c-input disabled v-model="model.amedat" maxlength="12"  placeholder="请输入Amount Amend Date"></c-input>
        </el-form-item>
       </c-col>  

       <c-col :span="12">   
        <el-form-item label="是否接受此笔减额修改" prop="ameflg">
177 178 179 180 181
            <c-select v-model="model.ameflg" disabled>
                <el-option v-for="item in codes.ameflg" :key="item.value" :label="item.label"
                    :value="item.value">
                </el-option>
            </c-select>
182 183
        </el-form-item>
       </c-col>
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
    </el-col>   

    <el-col :span="23">
        <c-istream-table 
                    :list="model.decstm.rows || []"
                    :columns="trnData.columns"
                    :showSelection="true"
                    v-on:multipleSelect="multipleSelect"
        >
        </c-istream-table>
    </el-col>                       
       <!-- <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="litp.litp0.recget.sdamod.dadsnd">
            <c-input  v-model="model.litp.litp0.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col> -->
200
                  
201 202 203
       <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onSav">
            保存
204
        </c-button>
205 206 207 208 209 210 211
       </c-col> -->
                  
       <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onUsrcon">
            用户确认
        </c-button>
       </c-col> -->
212
                                   
213
       
214
                  
215 216 217
       <!-- <c-col :span="12">
        <el-form-item label="参考号" prop="litp.litp0.recget.sdamod.seainf">
            <c-input  v-model="model.litp.litp0.recget.sdamod.seainf"  placeholder="请输入参考号"></c-input>
218
        </el-form-item>
219 220 221 222 223 224 225 226
       </c-col> -->
                                   
       
                  
       <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onChk">
            检核
        </c-button>
227 228 229
       </c-col>
                  
       <c-col :span="12">
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283
        <c-button size="small" type="primary"  @click="onUsrchk">
            检核
        </c-button>
       </c-col> -->
                                   
       

       
                  
       
                  
       <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onSyswrnButshw">
            提示信息
        </c-button>
       </c-col> -->
                                   
       
                  
       
                                   
      
                                                    
       
                  
       
                                   
         

      
                                   
      
                                                    
        
	<!-- <c-col :span="12">
	    <span  v-text="model.litp.litp0.thdate"   data-path=".litp.litp0.thdate" > </span>
	</c-col> -->
                                   
      
                  
       
                  
       <!-- <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onDiasel">
            备忘录
        </c-button>
       </c-col> -->
                                   
       
                  
       <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onInc">
            显示 &Inc.
        </c-button>
284 285 286
       </c-col>
                  
       <c-col :span="12">
287 288 289 290 291 292
        <c-button size="small" type="primary"  @click="onNotmap">
            &Unmapped
        </c-button>
       </c-col> -->
                                   
       <!-- <c-col :span="12">
293 294 295
        <c-button size="small" type="primary"  @click="onFrmbut">
            &Redirect
        </c-button>
296
       </c-col> -->
297
                  
298 299 300 301 302
       
                                   
       
                                   
       <!-- <c-col :span="12">
303 304 305
        <c-button size="small" type="primary"  @click="onOrd">
            &Order
        </c-button>
306 307 308
       </c-col> -->
                                   
       
309
                  
310
       <!-- <c-col :span="12">
311 312 313 314
        <c-button size="small" type="primary"  @click="onIncben">
            Inc to Ben
        </c-button>
       </c-col>
315
                  
316 317 318 319 320 321 322 323 324 325
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onImgmodImage">
            E结算影像
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onImgmodNewimg">
            影像
        </c-button>
326
       </c-col> -->
327
                                   
328 329 330
       
                  
       <!-- <c-col :span="12">
331 332 333
        <c-button size="small" type="primary"  @click="onImgmodNewhisimg">
            历史影像
        </c-button>
334
       </c-col> -->
335
                  
336
       <!-- <c-col :span="12">
337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
        <c-button size="small" type="primary"  @click="onImgmodElcimage">
            人行影像
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onEntmodEntbut">
            企业名录
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onPen">
            暂存
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onCan">
            退出
        </c-button>
358
       </c-col> -->
359 360 361 362 363 364
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
365
import Event from "~/model/Litacp/Event"
366 367 368 369 370 371 372

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {
373 374 375 376 377 378 379 380 381 382 383 384
        trnData: {
        columns: [
            "0 1 \"\" 200",
            "1 2 \"Own Reference\" 200",
            "2 3 \"Cur\" 200",
            "3 4 \"减额金额\" 200 ",
            "4 5 \"修改日期\" 200 ",
            "5 6 \"备注\" 300 ",
           
        ],
        data: [],
      },
385 386 387

        }
    },
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
    methods:{...Event,
    async multipleSelect(selection) {
      console.log(selection);
      if (selection) {
        let selIds = selection.map(x=>x+1);
        let params = {selDst:"decstm",selIds}
        const rtnmsg = await this.executeRule("decstm",params);
        if (rtnmsg.respCode == SUCCESS) {
            this.updateModel(rtnmsg.data)
        }
        else
                {
                this.$notify.error({title: '错误',message: '服务请求失败!'});
                }
      }
    },
    },
405
    created:function(){
406
        
407 408 409 410
    }
}
</script>
<style>
411 412 413
.stream{
   cursor: pointer; 
}
414
</style>