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

        <c-col :span="15">
        <el-form-item label="L/C Amount" prop="lidgrp.cbs.nom1.cur">
            <c-input disabled v-model="model.lidgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Nominal Amount">
            </c-input>
14 15 16
        </el-form-item>
       </c-col>
                  
17 18 19 20 21 22 23 24 25 26 27 28 29 30
       <c-col :span="9">
        <el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
            <c-input disabled v-model="model.lidgrp.cbs.nom1.amt"  placeholder="请输入Nominal Amount"></c-input>
        </el-form-item>
       </c-col>

       <!-- <c-col :span="4">
	    <c-checkbox disabled v-model="model.litp.litp0.aammod.addamtflg">Add. Amount</c-checkbox>
       </c-col> -->

        <c-col :span="15">
        <el-form-item label="Open Amount" prop="lidgrp.cbs.opn1.cur">
            <c-input disabled v-model="model.lidgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入信用证余额"></c-input>
        </el-form-item>
31 32
       </c-col>
                  
33 34 35 36
       <c-col :span="9">
        <el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
            <c-input disabled v-model="model.lidgrp.cbs.opn1.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
37
       </c-col>
38 39 40 41 42 43 44 45
                  
       <!-- <c-col :span="4">
	    <c-checkbox disabled v-model="model.lidgrp.rec.revflg">Revolving L/C</c-checkbox>
       </c-col> -->

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

       <c-col :span="24">
        <el-form-item label="Available by" 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 60 61 62 63 64 65 66 67

        <!-- <c-col :span="12">
	    <c-checkbox disabled v-model="model.lidgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
         </c-col> -->

          <c-col :span="24">
        <el-form-item label="Date Issued" prop="lidgrp.rec.opndat">
            <c-date-picker 
            disabled
            type="date"  v-model="model.lidgrp.rec.opndat" style="width:100%"  placeholder="请选择L/C Issued on"></c-date-picker>
68 69 70
        </el-form-item>
       </c-col>
                  
71 72 73 74 75 76 77 78 79 80 81 82 83 84
       <c-col :span="24">
        <el-form-item label="提货日期" prop="lidgrp.rec.shpdat">
            <c-date-picker
            disabled
             type="date"  v-model="model.lidgrp.rec.shpdat" style="width:100%"  placeholder="请选择Latest Shipment Date"></c-date-picker>
        </el-form-item>
       </c-col>

        <c-col :span="24">
        <el-form-item label="Date of Expiry" prop="lidgrp.rec.expdat">
            <c-date-picker
            disabled
             type="date"  v-model="model.lidgrp.rec.expdat" style="width:100%"  placeholder="请选择L/C Expiring on"></c-date-picker>
        </el-form-item>
85 86
       </c-col>
                  
87 88 89
       <c-col :span="24">
        <el-form-item label="Place of Expiry" prop="lidgrp.rec.expplc">
            <c-input disabled v-model="model.lidgrp.rec.expplc" maxlength="29"  placeholder="请输入in (Place)/ counters of"></c-input>
90 91
        </el-form-item>
       </c-col>
92 93
       <c-col :span="24">
        <el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
94 95 96 97
            <c-select 
            disabled 
            :code="codes.lcrtyp"
            v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
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 111 112
       </c-col> -->
    </el-col>

    <el-col :span="11" :offset="1">
            <c-col :span="24">
        <el-form-item label="Name" prop="lidgrp.rec.nam">
            <c-input  disabled v-model="model.lidgrp.rec.nam" maxlength="40"  placeholder="请输入Name"></c-input>
113 114
        </el-form-item>
       </c-col>
115 116 117 118

        <c-col :span="24">
        <el-form-item label="Applicant Ref." prop="lidgrp.apl.pts.ref">
            <c-input  disabled v-model="model.lidgrp.apl.pts.ref" maxlength="16"  placeholder="请输入Applicant              Ref."></c-input>
119 120
        </el-form-item>
       </c-col>
121 122 123 124 125

        <c-col :span="24">
        <el-form-item label="Name of Party" prop="lidgrp.apl.pts.nam">
            <c-input disabled v-model="model.lidgrp.apl.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
126
       </c-col>
127 128 129 130

        <c-col :span="24">
        <el-form-item label="Beneficiary Ref." prop="lidgrp.ben.pts.ref">
            <c-input disabled v-model="model.lidgrp.ben.pts.ref" maxlength="16"  placeholder="请输入Beneficiary           Ref."></c-input>
131 132
        </el-form-item>
       </c-col>
133 134 135 136

        <c-col :span="24">
        <el-form-item label="兑付方式" prop="lidgrp.ben.pts.nam">
            <c-input disabled v-model="model.lidgrp.ben.pts.nam" maxlength="40"  placeholder="请输入兑付方式"></c-input>
137 138
        </el-form-item>
       </c-col>
139 140 141 142 143

        <c-col :span="24">
        <el-form-item label="Advising Bank Ref." prop="lidgrp.adv.pts.ref">
            <c-input disabled v-model="model.lidgrp.adv.pts.ref" maxlength="16"  placeholder="请输入Advising Bank     Ref."></c-input>
        </el-form-item>
144
       </c-col>
145 146 147 148 149 150 151 152 153 154 155 156

        <c-col :span="24">
        <el-form-item label="到期日" prop="lidgrp.adv.pts.nam">
            <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">
170 171 172 173 174 175 176 177
        <el-form-item label="Amount Amend Date" prop="amedat">
            <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">
            <c-input disabled v-model="model.ameflg" ></c-input>
178 179
        </el-form-item>
       </c-col>
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
    </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> -->
196
                  
197 198 199
       <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onSav">
            保存
200
        </c-button>
201 202 203 204 205 206 207
       </c-col> -->
                  
       <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onUsrcon">
            用户确认
        </c-button>
       </c-col> -->
208
                                   
209
       
210
                  
211 212 213
       <!-- <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>
214
        </el-form-item>
215 216 217 218 219 220 221 222
       </c-col> -->
                                   
       
                  
       <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onChk">
            检核
        </c-button>
223 224 225
       </c-col>
                  
       <c-col :span="12">
226 227 228 229 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
        <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>
280 281 282
       </c-col>
                  
       <c-col :span="12">
283 284 285 286 287 288
        <c-button size="small" type="primary"  @click="onNotmap">
            &Unmapped
        </c-button>
       </c-col> -->
                                   
       <!-- <c-col :span="12">
289 290 291
        <c-button size="small" type="primary"  @click="onFrmbut">
            &Redirect
        </c-button>
292
       </c-col> -->
293
                  
294 295 296 297 298
       
                                   
       
                                   
       <!-- <c-col :span="12">
299 300 301
        <c-button size="small" type="primary"  @click="onOrd">
            &Order
        </c-button>
302 303 304
       </c-col> -->
                                   
       
305
                  
306
       <!-- <c-col :span="12">
307 308 309 310
        <c-button size="small" type="primary"  @click="onIncben">
            Inc to Ben
        </c-button>
       </c-col>
311
                  
312 313 314 315 316 317 318 319 320 321
       <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>
322
       </c-col> -->
323
                                   
324 325 326
       
                  
       <!-- <c-col :span="12">
327 328 329
        <c-button size="small" type="primary"  @click="onImgmodNewhisimg">
            历史影像
        </c-button>
330
       </c-col> -->
331
                  
332
       <!-- <c-col :span="12">
333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353
        <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>
354
       </c-col> -->
355 356 357 358 359 360
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
361
import Event from "~/model/Litacp/Event"
362 363 364 365 366 367 368

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

        }
    },
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
    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: '服务请求失败!'});
                }
      }
    },
    },
401
    created:function(){
402
        
403 404 405 406
    }
}
</script>
<style>
407 408 409
.stream{
   cursor: pointer; 
}
410
</style>