Commit a7392db8 by panziyi

letamc修改

parent d01f8401
export default { export default {
buildPtspta (ptsptaObj) { buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts; let pts = ptsptaObj.pts;
let ptspta = { let ptspta = {
rol: pts.rol, rol: pts.rol,
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
}; };
return ptspta; return ptspta;
}, },
buildCommonData (model, trnName) { buildCommonData(model, trnName) {
let ptsptaList = []; let ptsptaList = [];
if (model.ledgrp.iss.pts.extkey) { if (model.ledgrp.iss.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.iss)); ptsptaList.push(this.buildPtspta(model.ledgrp.iss));
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
}; };
return dataObj return dataObj
}, },
buildSetfeg (model, trnName) { buildSetfeg(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaall: model.liaall, liaall: model.liaall,
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
}; };
return params return params
}, },
buildSetglg (model, trnName) { buildSetglg(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg, setfeg: model.setmod.setfeg,
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
}; };
return params return params
}, },
buildGlentry (model, trnName) { buildGlentry(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg, liaallg: model.liaall.liaallg,
...@@ -99,20 +99,20 @@ export default { ...@@ -99,20 +99,20 @@ export default {
}; };
return params return params
}, },
buildEngp (model, trnName) { buildEngp(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg, liaallg: model.liaall.liaallg,
}; };
return params return params
}, },
buildDocpan (model, trnName) { buildDocpan(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
}; };
return params return params
}, },
buildCcvpan (model, trnName) { buildCcvpan(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg, liaccvg: model.liaccv.liaccvg,
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
}; };
return params return params
}, },
buildLimitbody (model, trnName) { buildLimitbody(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
...@@ -133,7 +133,7 @@ export default { ...@@ -133,7 +133,7 @@ export default {
}; };
return params return params
}, },
buildDoctre (model, trnName) { buildDoctre(model, trnName) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
...@@ -146,7 +146,7 @@ export default { ...@@ -146,7 +146,7 @@ export default {
return params return params
}, },
// 公共组件setmod中dsp字段改变,触发联动时候的入参 // 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) { buildSetgllAccts(model, trnName, setglg) {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
setglg setglg
......
...@@ -20,21 +20,21 @@ export default { ...@@ -20,21 +20,21 @@ export default {
...ccvpan, ...ccvpan,
...limitbody, ...limitbody,
...doctre, ...doctre,
async init () { async init() {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trninr: this.$route.query.trninr, trninr: this.$route.query.trninr,
} }
if ( typeof(this.$route.query.inr) == 'string'){ if (typeof (this.$route.query.inr) == 'string') {
params.spt = null params.spt = null
} }
const res = await Api.post('/service/letamc/init', { const res = await Api.post('/service/letamc/init', {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
ledgrp:{ ledgrp: {
rec:{ rec: {
inr: this.$route.query.inr inr: this.$route.query.inr
} }
}, },
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg) this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
}, },
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题 // 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) { copyValueFromVoData(model, data) {
let keysList = Object.keys(model) let keysList = Object.keys(model)
keysList.map((key) => { keysList.map((key) => {
if (data[key]) { if (data[key]) {
...@@ -133,7 +133,7 @@ export default { ...@@ -133,7 +133,7 @@ export default {
handleChangePurpos() { handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName); this.queryHndtypCodeTableList(this.root.trnName);
}, },
buildLiaccv () { buildLiaccv() {
let params = { let params = {
...buildFn.buildCommonData(this.model, this.trnName), ...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg, liaccvg: this.model.liaccv.liaccvg,
...@@ -141,11 +141,11 @@ export default { ...@@ -141,11 +141,11 @@ export default {
chgamt: this.model.liaccv.chgamt, chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur, concur: this.model.liaccv.concur,
}; };
return params return params
}, },
// 公共组件setmod处理方式改变触发联动 // 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) { changeSetmodModel(emitParams) {
let reqParams = {} let reqParams = {}
switch (emitParams.code) { switch (emitParams.code) {
case 'processMethods': case 'processMethods':
...@@ -155,12 +155,25 @@ export default { ...@@ -155,12 +155,25 @@ export default {
case 'changeDsp': case 'changeDsp':
let index = emitParams.index; let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName); let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list}; setglgRequest.setglg = { setgll: emitParams.list };
this.setgllAccts(setglgRequest, index); this.setgllAccts(setglgRequest, index);
break break
default: default:
return return
} }
} },
//最大金额
async cbsmax() {
let params = {
nom1cur: this.model.ledgrp.cbs.nom1.cur,
nom1amt: this.model.ledgrp.cbs.nom1.amt,
nomtop: this.model.ledgrp.rec.nomtop
};
let res = await Api.post('/service/letopn/cbsmax', params);
if (res.respCode == SUCCESS) {
this.model.ledgrp.cbs.max.cur = res.data.maxcur;
this.model.ledgrp.cbs.max.amt = res.data.maxamt;
}
},
}, },
}; };
...@@ -50,10 +50,10 @@ export default { ...@@ -50,10 +50,10 @@ export default {
{max: 18,message:"整数位不能超过14位",trigger:"blur"}, {max: 18,message:"整数位不能超过14位",trigger:"blur"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
// "ledgrp.rec.partcon":[ "ledgrp.rec.partcon":[
// {type: "string", required: false, message: "必输项",trigger:"blur"}, {type: "string", required: false, message: "必输项",trigger:"blur"},
// {max: 6,message:"长度不能超过6",trigger:"blur"} {max: 6,message:"长度不能超过6",trigger:"blur"}
// ], ],
"reqdat":[ "reqdat":[
{ required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
......
<template> <template>
<div class="eibs"> <div class="eibs">
<!-- ============左边================= --> <!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="出口信用证编号" prop="ledgrp.rec.ownref" style="width: 100%"> <el-form-item
label="出口信用证编号"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox> <c-fullbox>
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入编号" style="width: 95%" <c-input
:disabled="true"> v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入编号"
style="width: 95%"
:disabled="true"
>
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" > <c-button
<i class="el-icon-info" style="font-size:15px"></i> style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info" style="font-size: 15px"></i>
</c-button> </c-button>
<c-button style="margin: 0 0" size="small" type="primary" <c-button
:disabled="model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref ? false : true"> style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
>
获取 获取
</c-button> </c-button>
</template> </template>
...@@ -24,7 +44,12 @@ ...@@ -24,7 +44,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp"> <el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
<c-select v-model="model.ledgrp.rec.lcrtyp" style="width:100%" placeholder="请选择类型" :code="codes.lcrtyp"> <c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择类型"
:code="codes.lcrtyp"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -33,11 +58,24 @@ ...@@ -33,11 +58,24 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="客户经理" prop="letp.usr.extkey"> <el-form-item label="客户经理" prop="letp.usr.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.letp.usr.extkey" maxlength="8" placeholder="请输入" disabled></c-input> <c-input
v-model="model.letp.usr.extkey"
maxlength="8"
placeholder="请输入"
disabled
></c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin-left:10px;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"></c-button> <c-button
<c-checkbox :disabled="true" style="margin-left:5px;" v-model="model.ledgrp.rec.collflg">Collateralized style="margin-left: 10px; padding: 0 10px"
L/C size="small"
icon="el-icon-search"
type="primary"
></c-button>
<c-checkbox
:disabled="true"
style="margin-left: 5px"
v-model="model.ledgrp.rec.collflg"
>Collateralized L/C
</c-checkbox> </c-checkbox>
</template> </template>
</c-fullbox> </c-fullbox>
...@@ -48,37 +86,53 @@ ...@@ -48,37 +86,53 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur"> <el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" style="width: 100%" placeholder="请选择币种" <c-select
:code="codes.curtxt1"> v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt"> <el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 95%" <c-input-currency
placeholder="请输入" @keyup.enter.native="$event.target.blur()"></c-input-currency> v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 95%"
placeholder="请输入"
@keyup.enter.native="$event.target.blur()"
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<c-checkbox v-model="addamtflg" style="margin-left:-1px;">附加金额</c-checkbox> <c-checkbox v-model="addamtflg" style="margin-left: -1px"
>附加金额</c-checkbox
>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item label="溢短装" prop="ledgrp.rec.nomtop"> <c-form-item label="溢短装" prop="ledgrp.rec.nomtop">
<c-input v-model.number="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%" <c-input
placeholder="请输入上浮比例" v-model.number="model.ledgrp.rec.nomtop"
@keyup.enter.native="$event.target.blur()" maxlength="2"
class="m-input-currency"></c-input> style="width: 100%"
placeholder="请输入上浮比例"
@change="cbsmax"
></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton"> <el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input v-model.number="model.ledgrp.rec.nomton" maxlength="2" style="width: 95%" <c-input
placeholder="请输入下浮比例" v-model.number="model.ledgrp.rec.nomton"
@keyup.enter.native="$event.target.blur()" maxlength="2"
class="m-input-currency"></c-input> style="width: 95%"
placeholder="请输入下浮比例"
@keyup.enter.native="$event.target.blur()"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
...@@ -89,14 +143,23 @@ ...@@ -89,14 +143,23 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="19"> <c-col :span="19">
<el-form-item label="金额限额表述" prop="ledgrp.rec.nomspc"> <el-form-item label="金额限额表述" prop="ledgrp.rec.nomspc">
<c-select v-model="model.ledgrp.rec.nomspc" style="width: 97%" placeholder="请选择" <c-select
:code="codes.nomspc" disabled> v-model="model.ledgrp.rec.nomspc"
style="width: 97%"
placeholder="请选择"
:code="codes.nomspc"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Incoming Transfer --> <!-- Incoming Transfer -->
<c-col :span="5"> <c-col :span="5">
<c-checkbox v-model="model.ledgrp.rec.inctrf" style="margin-left:-1px;" disabled>Incoming Transfer <c-checkbox
v-model="model.ledgrp.rec.inctrf"
style="margin-left: -1px"
disabled
>Incoming Transfer
</c-checkbox> </c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
...@@ -104,46 +167,84 @@ ...@@ -104,46 +167,84 @@
<!-- Maximum Amount --> <!-- Maximum Amount -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="最大金额" prop="ledgrp.cbs.max.cur"> <el-form-item label="最大金额" prop="ledgrp.cbs.max.cur">
<c-select v-model="model.ledgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种" <c-select
:code="codes.curtxt1" v-model="model.ledgrp.cbs.max.cur"
disabled> style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt">
<c-input-currency disabled v-model="model.ledgrp.cbs.max.amt" placeholder="请输入最大金额" <c-input-currency
class="m-input-currency"></c-input-currency> disabled
v-model="model.ledgrp.cbs.max.amt"
placeholder="请输入最大金额"
class="m-input-currency"
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Issued on --> <!-- Issued on -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="开证日期" prop="ledgrp.rec.opndat"> <el-form-item label="开证日期" prop="ledgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ledgrp.rec.opndat" style="width: 100%" value-format="yyyy-MM-dd" <c-date-picker
placeholder="请选择开证日期"> type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择开证日期"
>
</c-date-picker> </c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="预通知日期" label-width="120px" prop="ledgrp.rec.preadvdt"> <el-form-item
<c-date-picker type="date" v-model="model.ledgrp.rec.preadvdt" style="width: 100%" value-format="yyyy-MM-dd" label="预通知日期"
placeholder="请选择日期" disabled> label-width="120px"
prop="ledgrp.rec.preadvdt"
>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.preadvdt"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择日期"
disabled
>
</c-date-picker> </c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- shipment date --> <!-- shipment date -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat"> <el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.shpdat" style="width: 100%" placeholder="请选择装运日期" <c-date-picker
value-format="yyyy-MM-dd"> type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择装运日期"
value-format="yyyy-MM-dd"
>
</c-date-picker> </c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="复核日期" label-width="120px" prop="ledgrp.rec.advdat"> <el-form-item
<c-date-picker disabled type="date" v-model="model.ledgrp.rec.advdat" style="width: 100%" label="复核日期"
placeholder="请选择通知日期" value-format="yyyy-MM-dd"> label-width="120px"
prop="ledgrp.rec.advdat"
>
<c-date-picker
disabled
type="date"
v-model="model.ledgrp.rec.advdat"
style="width: 100%"
placeholder="请选择通知日期"
value-format="yyyy-MM-dd"
>
</c-date-picker> </c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -151,129 +252,198 @@ ...@@ -151,129 +252,198 @@
<!-- expiring on --> <!-- expiring on -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="生效日期" prop="ledgrp.rec.expdat"> <el-form-item label="生效日期" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width: 100%" value-format="yyyy-MM-dd" <c-date-picker
placeholder="请选择到期日"> type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择到期日"
>
</c-date-picker> </c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- in (place)/counters of --> <!-- in (place)/counters of -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="生效地点" prop="ledgrp.rec.expplc"> <el-form-item label="生效地点" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="有效地点"></c-input> <c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="有效地点"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Confirmation Instruct.Received --> <!-- Confirmation Instruct.Received -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保兑指示" prop="ledgrp.rec.cnfdet"> <el-form-item label="保兑指示" prop="ledgrp.rec.cnfdet">
<c-select v-model="model.ledgrp.rec.cnfdet" style="width: 100%" placeholder="请选择确认接收指示" <c-select
:code="codes.cnfflg1"> v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择确认接收指示"
:code="codes.cnfflg1"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Applicable rules --> <!-- Applicable rules -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul"> <el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select v-model="model.ledgrp.rec.apprul" style="width: 100%" placeholder="请选择适用规则" <c-select
:code="codes.apprul" @change="apprulChange(model.ledgrp.rec.apprul)"> v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul"
@change="apprulChange(model.ledgrp.rec.apprul)"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Other Applicable rules --> <!-- Other Applicable rules -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="其他适用规则" prop="ledgrp.rec.apprultxt"> <el-form-item label="其他适用规则" prop="ledgrp.rec.apprultxt">
<c-input v-model="model.ledgrp.rec.apprultxt" maxlength="35" placeholder="请输入其他规则" <c-input
:disabled="model.ledgrp.rec.apprul === 'OTHR' ? false : true"></c-input> v-model="model.ledgrp.rec.apprultxt"
maxlength="35"
placeholder="请输入其他规则"
:disabled="model.ledgrp.rec.apprul === 'OTHR' ? false : true"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Partial shipment --> <!-- Partial shipment -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="分批装运" prop="ledgrp.rec.shppar"> <el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select v-model="model.ledgrp.rec.shppar" style="width: 100%" placeholder="请选择分批装运" <c-select
:code="codes.shptrss18"> v-model="model.ledgrp.rec.shppar"
style="width: 100%"
placeholder="请选择分批装运"
:code="codes.shptrss18"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Transshipment --> <!-- Transshipment -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="转运" prop="ledgrp.rec.shptrs"> <el-form-item label="转运" prop="ledgrp.rec.shptrs">
<c-select v-model="model.ledgrp.rec.shptrs" style="width:100%" placeholder="请选择" <c-select
:code="codes.shptrss18"> v-model="model.ledgrp.rec.shptrs"
style="width: 100%"
placeholder="请选择"
:code="codes.shptrss18"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="简略信息" prop="ledgrp.rec.nam"> <el-form-item label="简略信息" prop="ledgrp.rec.nam">
<c-input text-align="middle" v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入" disabled> <c-input
text-align="middle"
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入"
disabled
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap :model="model" :argadr="{ <c-ptap
:model="model"
:argadr="{
title: '受益人', title: '受益人',
grp: 'ledgrp', grp: 'ledgrp',
rol: 'ben', rol: 'ben',
}" :disabled="true" }"
disabledRef :disabled="true"
disabledExtkey> disabledRef
disabledExtkey
>
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap :model="model" :argadr="{ <c-ptap
title: '开证行', :model="model"
grp: 'ledgrp', :argadr="{
rol: 'iss', title: '开证行',
}" :disabled="true" grp: 'ledgrp',
disabledRef rol: 'iss',
disabledExtkey> }"
:disabled="true"
disabledRef
disabledExtkey
>
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap :model="model" :argadr="{ <c-ptap
title: '申请人', :model="model"
grp: 'ledgrp', :argadr="{
rol: 'apl', title: '申请人',
}" :disabled="true" grp: 'ledgrp',
disabledRef rol: 'apl',
disabledExtkey> }"
:disabled="true"
disabledRef
disabledExtkey
>
</c-ptap> </c-ptap>
</c-col> </c-col>
<!-- Revolving Flag --> <!-- Revolving Flag -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label=" " prop="ledgrp.rec.revflg" label-width="120px" style=" float:left;"> <el-form-item
label=" "
prop="ledgrp.rec.revflg"
label-width="120px"
style="float: left"
>
<c-checkbox v-model="model.ledgrp.rec.revflg">循环信用证</c-checkbox> <c-checkbox v-model="model.ledgrp.rec.revflg">循环信用证</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Authorization to Debit 借记授权书--> <!-- Authorization to Debit 借记授权书-->
<c-col :span="12"> <c-col :span="12">
<el-form-item label=" " prop="ledgrp.rec.dbtflg" label-width="120px" style=" float:right;"> <el-form-item
label=" "
prop="ledgrp.rec.dbtflg"
label-width="120px"
style="float: right"
>
<c-checkbox v-model="model.ledgrp.rec.dbtflg">借记授权</c-checkbox> <c-checkbox v-model="model.ledgrp.rec.dbtflg">借记授权</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Non-Bank Issuer 非银行发行人--> <!-- Non-Bank Issuer 非银行发行人-->
<c-col :span="24"> <c-col :span="24">
<el-form-item label=" " prop="ledgrp.rec.nonban" label-width="120px" style=" float:right;"> <el-form-item
<c-checkbox v-model="model.ledgrp.rec.nonban">非银行发行人</c-checkbox> label=" "
prop="ledgrp.rec.nonban"
label-width="120px"
style="float: right"
>
<c-checkbox v-model="model.ledgrp.rec.nonban"
>非银行发行人</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- Test Key Unconfirmity --> <!-- Test Key Unconfirmity -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label=" " prop="ledgrp.rec.teskeyunc" label-width="120px" style=" float:right;"> <el-form-item
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">测试密钥不确定</c-checkbox> label=" "
prop="ledgrp.rec.teskeyunc"
label-width="120px"
style="float: right"
>
<c-checkbox v-model="model.ledgrp.rec.teskeyunc"
>测试密钥不确定</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
...@@ -282,21 +452,21 @@ import event from "../event"; ...@@ -282,21 +452,21 @@ import event from "../event";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
export default { export default {
components: {"c-ptap": Ptap}, components: { "c-ptap": Ptap },
inject: ['root'], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return {} return {};
}, },
computed: { computed: {
addamtflg: { addamtflg: {
get() { get() {
return this.model.letp.aamp.aammod.addamtflg != '' return this.model.letp.aamp.aammod.addamtflg != "";
}, },
set(val) { set(val) {
this.model.letp.aamp.aammod.addamtflg = val ? "X" : "" this.model.letp.aamp.aammod.addamtflg = val ? "X" : "";
} },
}, },
}, },
methods: { methods: {
...@@ -334,9 +504,8 @@ export default { ...@@ -334,9 +504,8 @@ export default {
// } // }
// }, // },
}, },
created: function () { created: function () {},
} };
}
</script> </script>
<style> <style>
.marginLable { .marginLable {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment