Commit 7ed1bd13 by WH

Merge remote-tracking branch 'origin/settle-test-20230110' into settle-test-20230110

# Conflicts:
#	src/routers/modules/business.js
parents 7cdd8537 c12621ad
...@@ -106,8 +106,8 @@ export default { ...@@ -106,8 +106,8 @@ export default {
async queryOwnref() { async queryOwnref() {
let params = { let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr, ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG', businessType: 'LC',
tbl: 'LG', tbl: 'LC',
}; };
const loading = this.loading(); const loading = this.loading();
let res = await Api.post('/service/betacc/getOwnRef', params); let res = await Api.post('/service/betacc/getOwnRef', params);
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
}; };
let res = await Api.post('/service/ptspta/fetch', params); let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data); this.$set(this.model.bedgrp, row.role.toLowerCase(), res.data);
} }
}, },
// 业务信息=》基本信息=》支出目的 // 业务信息=》基本信息=》支出目的
...@@ -147,12 +147,12 @@ export default { ...@@ -147,12 +147,12 @@ export default {
// 初始化保函开立类型码表下拉列表 // 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) { async queryHndtypCodeTableList(trnName) {
let params = { let params = {
gitp: { betp: {
swiftflg: this.model.gitp.swiftflg, swiftflg: this.model.betp.swiftflg,
}, },
gidgrp: { bedgrp: {
rec: { rec: {
purpos: this.model.gidgrp.rec.purpos, purpos: this.model.bedgrp.rec.purpos,
}, },
}, },
transName: trnName.toUpperCase(), transName: trnName.toUpperCase(),
......
...@@ -8,11 +8,7 @@ export default class Betacc { ...@@ -8,11 +8,7 @@ export default class Betacc {
adaflg: '', adaflg: '',
cre752flg: '' cre752flg: ''
}, },
setmod: {
redamt: '',
doccur: '',
docamt: ''
},
ledgrp: { ledgrp: {
rec: { rec: {
ownref: '' ownref: ''
...@@ -37,6 +33,58 @@ export default class Betacc { ...@@ -37,6 +33,58 @@ export default class Betacc {
}, },
snadat: '', snadat: '',
bedgrp: { bedgrp: {
ini: {
pts: new Pts().data,
},
a2b: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
rmb: {
pts: new Pts().data,
},
drw: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
avb: {
pts: new Pts().data,
},
cmb: {
pts: new Pts().data,
},
own: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
prb: {
pts: new Pts().data,
},
rec: { rec: {
predat: '', predat: '',
rcvdat: '', rcvdat: '',
...@@ -72,6 +120,6 @@ export default class Betacc { ...@@ -72,6 +120,6 @@ export default class Betacc {
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv, liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan, docpan: new Pub().data.Docpan,
}; }
} }
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames">
<el-collapse-item title="承兑" name="accp"> <el-collapse-item title="承兑" name="accp">
<m-accp :model="model" :codes="codes" /> <m-accp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable";
import CodeTable from "~/config/CodeTable"; import Accp from "./Accp"
import Event from "~/model/Gitcrj/Event"; import event from '../event'
import Accp from "./Accp"
export default {
export default { components:{
components: { "m-accp" : Accp,
"m-accp": Accp,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data() { data() {
return { return {
activeNames: ["accp"], activeNames: ["accp"],
}; };
}, },
methods: { ...Event }, methods: { },
created: created:
function () { }, function () {},
}; };
</script> </script>
<style></style> <style>
</style>
\ No newline at end of file
...@@ -15,8 +15,15 @@ ...@@ -15,8 +15,15 @@
<!-- <el-button size="small">智能提示</el-button> <!-- <el-button size="small">智能提示</el-button>
</c-function-btn> --> </c-function-btn> -->
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" <el-form
:validate-on-rule-change="false"> :model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000033 --> <!--PD000033 -->
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="业务信息" name="ovwp">
...@@ -33,6 +40,7 @@ ...@@ -33,6 +40,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<!-- 表外记账 --> <!-- 表外记账 -->
...@@ -41,12 +49,11 @@ ...@@ -41,12 +49,11 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="费用/账务" name="setpan">
<c-content> <c-content>
<m-setmod <m-setmod
:model="model" :model="model"
:codes="codes" :codes="codes"
@changeSetmodModel="changeSetmodModel"
/> />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -57,13 +64,10 @@ ...@@ -57,13 +64,10 @@
<m-glentry :model="model" :codes="codes" /> <m-glentry :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 -->
<!--PD000510 --> <el-tab-pane label="备查/附言" name="coninfp">
<el-tab-pane label="备查/附言" name="addbcb">
<c-content> <c-content>
<div class="eibs-tab"> <m-coninfp :model="model" :codes="codes" />
<m-addbcb :model="model" :codes="codes" />
</div>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -85,43 +89,42 @@ ...@@ -85,43 +89,42 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash">
</c-function-btn> </c-function-btn>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import event from '../event';
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Betacc from "~/model/Betacc"; import Betacc from "../model";
import commonProcess from "~/mixin/commonProcess"; import operationFunc from "~/mixin/operationFunc";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betacc/Check";
import Default from "~/model/Betacc/Default";
import Pattern from "~/model/Betacc/Pattern";
import Accp from "./Accp"; import Accp from "./Accp";
import Engp from "~/views/Public/Engp"; import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/components/business/doctre/views";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/components/business/coninfp/views"; import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Limitbody from "~/components/business/limitbody/views"; import Limitbody from "~/components/business/limitbody/views";
import Glentry from "~/components/business/glentry/views";
import Setmod from "~/components/business/setmod/views";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
export default { export default {
name: "Betacc", name: "Betacc",
components: { components: {
"m-accp": Accp, "m-accp": Accp,
"m-setpan": Setpan, "m-setmod": Setmod,
"m-engp": Engp, "m-engp": Engp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-glentry": Glentry,
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
}, },
provide() { provide() {
...@@ -129,21 +132,24 @@ export default { ...@@ -129,21 +132,24 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [operationFunc, event], mixins: [event,operationFunc], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "betacc", trnName: "betacc",
model: new Betacc().data, model: new Betacc().data,
rules: formRules, rules: null,
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
activeNames: ["engp"], activeNames: ["engp"],
}; };
}, },
methods: {} methods: {
},
}; };
</script> </script>
<style></style> <style>
</style>
...@@ -241,7 +241,14 @@ export default class Betset { ...@@ -241,7 +241,14 @@ export default class Betset {
} }
}, },
bptbck: { bptbck: {
bptbckg: '' bptbckg:
[
{ownref:'',
opncur:'',
opnamt:'',
bckamt:''},
]
,
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
...this.model.infcon, ...this.model.infcon,
seadocflg: this.model.seadocflg, seadocflg: this.model.seadocflg,
seagodcod: this.model.seagodcod, seagodcod: this.model.seagodcod,
inr:this.model.brdgrp.rec.inr, inr:this.model.ledgrp.rec.inr,
pageIndex: this.pagination.pageIndex, pageIndex: this.pagination.pageIndex,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
opndatfrom:moment(opndatfrom).format('YYYY-MM-DD'), opndatfrom:moment(opndatfrom).format('YYYY-MM-DD'),
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
this.model.infcon.nam = ''; this.model.infcon.nam = '';
this.model.infcon.seapty = ''; this.model.infcon.seapty = '';
this.model.infcon.searef = ''; this.model.infcon.searef = '';
this.model.brdgrp.rec.inr = ''; this.model.ledgrp.rec.inr = '';
this.model.seagodcod = ''; this.model.seagodcod = '';
this.model.seadocflg = ''; this.model.seadocflg = '';
}, },
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="eibs-tab"> <div class="eibs-tab">
<!-- 持续展示区 --> <!-- 持续展示区 -->
<c-list-search <c-list-search
@form-reset="handleReset('paramsForm')" @form-reset="handleReset"
@form-search="handleSearch" @form-search="handleSearch"
> >
<template v-slot="searchSlot"> <template v-slot="searchSlot">
...@@ -264,13 +264,19 @@ ...@@ -264,13 +264,19 @@
</template> </template>
</c-list-search> </c-list-search>
<el-row> <div style="height: 90%">
<c-col :span="24"> <c-col :span="24">
<el-table <el-table
:data="stmData.data" :data="stmData.data"
:columns="stmData.columns" :columns="stmData.columns"
:showButtonFlg="true" :showButtonFlg="true"
> >
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
></el-table-column>
<!-- 自定义组件里加了最右边的一列”操作“ --> <!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" label="操作" width="140px"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header"> <template slot="header">
...@@ -352,10 +358,23 @@ ...@@ -352,10 +358,23 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="pagination-box">
<el-pagination
style="margin-right: 30px;"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="sizes, prev, pager, next"
:total="pagination.total">
</el-pagination>
</div>
</c-col> </c-col>
</el-row> </div>
<m-busbtn <!-- <m-busbtn
ref="childs" ref="childs"
:ownref="ownref" :ownref="ownref"
trnCode="letsel" trnCode="letsel"
...@@ -363,13 +382,12 @@ ...@@ -363,13 +382,12 @@
tabIndex="3" tabIndex="3"
:model="letselModel" :model="letselModel"
>11</m-busbtn >11</m-busbtn
> > -->
</div> </div>
</template> </template>
<script> <script>
// import BetselModel from "~/model/Betsel"; // import BetselModel from "~/model/Betsel";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
import event from "../event"; import event from "../event";
export default { export default {
...@@ -384,123 +402,128 @@ export default { ...@@ -384,123 +402,128 @@ export default {
trnData: { trnData: {
columns: [ columns: [
{ {
label: "交易id",
prop: "inr",
},
{
label: "单据编号", label: "单据编号",
prop: "ownref", prop: "ownref",
}, },
{ {
label: "交易名称", label: "客户经理",
prop: "ininam", prop: "ownusr",
}, },
{ {
label: "条目", label: "发票编号",
prop: "inidattim", prop: "benref",
}, },
{ {
label: "状态", label: "申请人编号",
prop: "relflg", prop: "aplref",
}, },
{ {
label: "币种", label: "申请人名称",
prop: "reloricur", prop: "aplnam",
}, },
{ {
label: "相关金额", label: "PTA主键",
prop: "reloriamt", prop: "ptainr",
}, },
{ {
label: "标识", label: "受益人名称",
prop: "relres", prop: "benefi",
}, },
], {
data: [], label: "交单行编号",
prop: "bankno",
}, },
stmData: {
columns: [
{ {
label: "信用证编号", label: "受益人中文名称",
prop: "ownref", prop: "ptanam",
}, },
{ {
label: "客户经理", label: "开证行编号",
prop: "ownusr", prop: "issextkey",
}, },
{ {
label: "期限日", label: "开证行名称",
prop: "maxcur", prop: "issnam",
}, },
{ {
label: "开立日期", label: "开证行编号",
prop: "maxamt", prop: "issextkey",
}, },
],
data: [],
},
stmData: {
columns: [
{ {
label: "生效日期", label: "信用证编号",
prop: "opndat", prop: "ownref",
}, },
{ {
label: "关闭日期", label: "客户经理",
prop: "aplref", prop: "ownusr",
}, },
{ {
label: "分行名称", label: "发票编号",
prop: "aplnam", prop: "benref",
}, },
{ {
label: "申请人编号", label: "申请人编号",
prop: "benefi", prop: "aplref",
}, },
{ {
label: "申请人名称", label: "申请人名称",
prop: "bankno", prop: "aplnam",
}, },
{ {
label: "PTA主键", label: "PTA主键",
prop: "clsdat", prop: "ptainr",
}, },
{ {
label: "受益人编号", label: "受益人名称",
prop: "stagod", prop: "benefi",
}, },
{ {
label: "受益人编号", label: "交单行编号",
prop: "stagod", prop: "bankno",
}, },
{ {
label: "受益人名称", label: "受益人中文名称",
prop: "stagod", prop: "ptanam",
}, },
{ {
label: "受益人名称(中文)", label: "开证行编号",
prop: "stagod", prop: "issextkey",
}, },
{ {
label: "开证行编号", label: "开证行名称",
prop: "stagod", prop: "issnam",
}, },
{ {
label: "开证名称", label: "开立日期",
prop: "stagod", prop: "opndat",
}, },
{ {
label: "金额币种", label: "关闭日期",
prop: "stagod", prop: "clsdat",
}, },
{ {
label: "信用证金额", label: "单据金额币种",
prop: "stagod", prop: "maxcur",
}, },
{ {
label: "余额币种", label: "单据金额",
prop: "stagod", prop: "maxamt",
},
{
label: "开立金额币种",
prop: "opncur",
}, },
{ {
label: "信用证余额", label: "开立金额",
prop: "stagod", prop: "opnamt",
}, },
], ],
data: [], data: [],
...@@ -510,31 +533,13 @@ export default { ...@@ -510,31 +533,13 @@ export default {
pageSize: 10, pageSize: 10,
total: 0, total: 0,
}, },
initdialog: false, initdialog: false,
handlerDataList: [], handlerDataList: [],
btnRouteMap: [
{
label: '出口信用证预开立',
route: '/business-new/letnot'
},
{
label: '出口信用证开立',
route: '/business-new/letopn'
},
{
label: '非我行通知及收单行登记',
route: '/business-new/letdrw'
},
{
label:'出口信用证补通知',
route:'/business-new/letrsv'
},
],
currentHandleRow: {}, currentHandleRow: {},
}; };
}, },
methods: { methods: {
}, },
created: function () {}, created: function () {},
}; };
...@@ -543,4 +548,14 @@ export default { ...@@ -543,4 +548,14 @@ export default {
.m-table-search { .m-table-search {
padding: 20px 0px 10px 0px; padding: 20px 0px 10px 0px;
} }
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
</style> </style>
...@@ -45,7 +45,14 @@ export default { ...@@ -45,7 +45,14 @@ export default {
} }
}, },
methods:{ methods:{
getInidatfro() {
let datetime = new Date();
datetime = datetime.setDate(datetime.getDate() - 10);
this.model.infcon.opndatfrom = new Date(datetime);
}
},
mounted () {
this.getInidatfro()
}, },
} }
</script> </script>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Infgid from "../model"; import Infgid from "../model";
import Infsea from "./Infsea"; import Infsea from "./Infsea";
import event from "../event"
export default { export default {
name: "Infgid", name: "Infgid",
components: { components: {
...@@ -23,6 +23,7 @@ export default { ...@@ -23,6 +23,7 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [event],
data() { data() {
return { return {
tabVal: "", tabVal: "",
......
...@@ -143,6 +143,9 @@ export default { ...@@ -143,6 +143,9 @@ export default {
}); });
}, },
toLetopn() { toLetopn() {
// 点击开立,清空从待经办进来的时候带的行参数
localStorage.setItem('row_letopn', null)
localStorage.setItem('review_letopn',null)
this.$router.history.push('/business-new/letopn'); this.$router.history.push('/business-new/letopn');
}, },
toLetnot() { toLetnot() {
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
ownref: model.ledgrp.rec.ownref, ownref: model.ledgrp.rec.ownref,
opndat: model.ledgrp.rec.opndat, opndat: model.ledgrp.rec.opndat,
expdat: model.ledgrp.rec.expdat, expdat: model.ledgrp.rec.expdat,
branchInr: model.ledgrp.rec.branchInr, branchInr: model.ledgrp.rec.branchinr,
hndtyp: model.ledgrp.rec.hndtyp, hndtyp: model.ledgrp.rec.hndtyp,
gartyp: model.ledgrp.rec.gartyp, gartyp: model.ledgrp.rec.gartyp,
fingua: model.ledgrp.rec.fingua, fingua: model.ledgrp.rec.fingua,
......
...@@ -104,7 +104,7 @@ let checkObj = { ...@@ -104,7 +104,7 @@ let checkObj = {
], ],
'ledgrp.rec.lcrtyp': [ 'ledgrp.rec.lcrtyp': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: true, message: '必输项' },
{ max: 40, message: '长度不能超过40' }, { max: 40, message: '长度不能超过40' },
], ],
...@@ -189,7 +189,7 @@ let checkObj = { ...@@ -189,7 +189,7 @@ let checkObj = {
{ max: 16, message: '长度不能超过16' }, { max: 16, message: '长度不能超过16' },
], ],
'ledgrp.rec.opndat': [ 'ledgrp.rec.opndat': [
{ type: 'string', required: false, message: '输入正确的日期' }, { type: 'string', required: true, message: '输入正确的日期' },
], ],
'ledgrp.rec.preadvdt': [ 'ledgrp.rec.preadvdt': [
{ type: 'string', required: false, message: '输入正确的日期' }, { type: 'string', required: false, message: '输入正确的日期' },
......
...@@ -6,9 +6,6 @@ export default class Letopn { ...@@ -6,9 +6,6 @@ export default class Letopn {
this.data = { this.data = {
number: '', number: '',
ledgrp: { ledgrp: {
a2b: {
pts: new Pts().data,
},
blk: { blk: {
spcben:'', spcben:'',
dftat: '', dftat: '',
...@@ -24,6 +21,7 @@ export default class Letopn { ...@@ -24,6 +21,7 @@ export default class Letopn {
spcrcb:'', spcrcb:'',
}, },
rec: { rec: {
branchinr: '00000047',
stagod: '', stagod: '',
tenmaxday: '', tenmaxday: '',
nomton: '', nomton: '',
......
...@@ -453,7 +453,7 @@ export default { ...@@ -453,7 +453,7 @@ export default {
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){ if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){
this.model.ledgrp.cbs.max.cur=this.model.ledgrp.cbs.nom1.cur; this.model.ledgrp.cbs.max.cur=this.model.ledgrp.cbs.nom1.cur;
this.model.ledgrp.cbs.max.amt=this.model.ledgrp.cbs.nom1.amt; this.model.ledgrp.cbs.max.amt=this.model.ledgrp.cbs.nom1.amt;
this.model.ledgrp.rec.nam = `${res.apl.pts.adrblk.substring(0,15)}${res.cbs.nom1.cur}${res.cbs.nom1.amt}` this.model.ledgrp.rec.nam = `${res.cbs.nom1.cur} ${res.cbs.nom1.amt} .${res.apl.pts.adrblk.substring(0,29)}`
} }
} }
}, },
......
...@@ -169,11 +169,12 @@ export default { ...@@ -169,11 +169,12 @@ export default {
async nomtopChange() { async nomtopChange() {
let params = { let params = {
nomtop: this.model.lidgrp.rec.nomtop, nomtop: this.model.lidgrp.rec.nomtop,
cur:this.model.lidgrp.cbs.max.cur nom1amt:this.model.lidgrp.cbs.nom1.amt,
maxcur:this.model.lidgrp.cbs.max.cur
}; };
let res = await Api.post('/service/litopn/maxamt', params); let res = await Api.post('/service/litopn/maxamt', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.model.lidgrp.cbs.max.amt = res.data; this.model.lidgrp.cbs.max.amt = res.data.maxamt;
} }
}, },
//兑付方式 //兑付方式
...@@ -185,7 +186,7 @@ export default { ...@@ -185,7 +186,7 @@ export default {
}; };
let res = await Api.post('/service/litopn/blkdftat', params); let res = await Api.post('/service/litopn/blkdftat', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.model.lidgrp.blk.dftat = res.data; this.model.lidgrp.blk.dftat = res.data.blkdftat;
} }
}, },
async avbwthChange() { async avbwthChange() {
...@@ -200,8 +201,8 @@ export default { ...@@ -200,8 +201,8 @@ export default {
}; };
let res = await Api.post('/service/litopn/avbwth', params); let res = await Api.post('/service/litopn/avbwth', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.model.lidgrp.blk.dftat = res.data; this.model.lidgrp.avb.pts.extkey=res.data.avbwth.pts.extkey;
this.model.lidgrp.avb.pts.adrblk=res.data.avbwth.pts.adrblk;
} }
}, },
}, },
......
...@@ -385,39 +385,35 @@ export default { ...@@ -385,39 +385,35 @@ export default {
this.flag1 = false; this.flag1 = false;
this.flag2 = true; this.flag2 = true;
this.flag3 = true; this.flag3 = true;
this.model.lidgrp.blk.defdet="days after B/L date"
} }
if (val == "N") { if (val == "N") {
this.flag1 = false; this.flag1 = false;
this.flag2 = false; this.flag2 = false;
this.flag3 = true; this.flag3 = true;
this.model.lidgrp.blk.defdet="days after B/L date"
} }
if (val == "P") { if (val == "P") {
this.flag1 = true; this.flag1 = true;
this.flag2 = false; this.flag2 = false;
this.flag3 = true; this.flag3 = true;
this.model.lidgrp.rec.tenmaxday == 0 this.model.lidgrp.rec.tenmaxday == 0
this.model.lidgrp.blk.defdet=""
} }
if (val == "M") { if (val == "M") {
this.flag1 = true; this.flag1 = true;
this.flag2 = true; this.flag2 = true;
this.flag3 = false; this.flag3 = false;
this.model.lidgrp.blk.defdet=""
} }
if (val == "A") { if (val == "A") {
this.flag1 = true; this.flag1 = true;
this.flag2 = false; this.flag2 = false;
this.flag3 = true; this.flag3 = true;
this.model.lidgrp.blk.defdet=""
} }
}, },
}, },
// "model.lidgrp.rec.tenmaxday":{
// immediate: true,
// handler(val,oldval){
// console.log(val);
// if(this.model.lidgrp.rec.avbby !== 'P'){}
// // this.model.lidgrp.rec.tenmaxday='0';
// }
// }
}, },
}; };
</script> </script>
......
...@@ -581,15 +581,15 @@ export default { ...@@ -581,15 +581,15 @@ export default {
}; };
}, },
methods: { methods: {
nomtopChange(){ // nomtopChange(){
this.executeDefault("lidgrp.cbs.max.amt").then((res) => { // this.executeDefault("lidgrp.cbs.max.amt").then((res) => {
if ((res.respCode == SUCCESS)) { // if ((res.respCode == SUCCESS)) {
// this.updateModel(res.data); // // this.updateModel(res.data);
Utils.copyValueFromVO(this.model, res.data); // Utils.copyValueFromVO(this.model, res.data);
} // }
}); // });
}, // },
open(val) { open(val) {
if ( if (
val === "" && val === "" &&
...@@ -652,7 +652,7 @@ export default { ...@@ -652,7 +652,7 @@ export default {
const res = this.model.lidgrp const res = this.model.lidgrp
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){ if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){
this.model.lidgrp.cbs.max.cur=this.model.lidgrp.cbs.nom1.cur; this.model.lidgrp.cbs.max.cur=this.model.lidgrp.cbs.nom1.cur;
this.model.lidgrp.cbs.max.amt=this.model.lidgrp.cbs.nom1.amt; // this.model.lidgrp.cbs.max.amt=this.model.lidgrp.cbs.nom1.amt;
this.model.lidgrp.rec.nam = `${res.apl.pts.adrblk.substring(0,15)}${res.cbs.nom1.cur}${res.cbs.nom1.amt}` this.model.lidgrp.rec.nam = `${res.apl.pts.adrblk.substring(0,15)}${res.cbs.nom1.cur}${res.cbs.nom1.amt}`
} }
} }
......
<template>
<ReviewWrapper>
<Letopn></Letopn>
</ReviewWrapper>
</template>
<script>
import Letopn from "~/business/letopn/views";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetopn",
components: { ReviewWrapper, Letopn },
created() {},
mounted() {},
};
</script>
<style></style>
...@@ -62,7 +62,9 @@ const Business = [ ...@@ -62,7 +62,9 @@ const Business = [
{ path: 'letdrw', component: () => import('~/business/letdrw/views'), name: 'letdrw', meta: { title: '出口信用证单据收单' } }, { path: 'letdrw', component: () => import('~/business/letdrw/views'), name: 'letdrw', meta: { title: '出口信用证单据收单' } },
{ path: 'letamc', component: () => import('~/business/letamc/views'), name: 'letamc', meta: { title: '出口信用证通知加保兑' } }, { path: 'letamc', component: () => import('~/business/letamc/views'), name: 'letamc', meta: { title: '出口信用证通知加保兑' } },
{ path: 'betdrv', component: () => import('~/business/betdrv/views'), name: 'betdrv', meta: { title: '出口信用证单据修改单据金额' } }, { path: 'betdrv', component: () => import('~/business/betdrv/views'), name: 'betdrv', meta: { title: '出口信用证单据修改单据金额' } },
{ path: 'betset', component: () => import('~/business/betset/views'), name: 'betset', meta: { title: '出口信用证出口收汇' } }, { path: 'betset', component: () => import('~/business/betset/views'), name: 'betset', meta: { title: '出口信用证出口收汇' } },
{ path: 'betsnd', component: () => import('~/business/betsnd/views'), name: 'betsnd', meta: { title: '出口信用证寄单' } }, { path: 'betsnd', component: () => import('~/business/betsnd/views'), name: 'betsnd', meta: { title: '出口信用证寄单' } },
{ path: 'betacc', component: () => import('~/business/betacc/views'), name: 'betacc', meta: { title: '出口信用证单据承兑' } },
] ]
export default Business export default Business
\ No newline at end of file
...@@ -12,5 +12,6 @@ const Business = [ ...@@ -12,5 +12,6 @@ const Business = [
{ path: 'letdrv', component: () => import('~/review/ReviewLetdrv.vue'), name: 'letdrv', meta: { title: '复核-Letdrv' } }, { path: 'letdrv', component: () => import('~/review/ReviewLetdrv.vue'), name: 'letdrv', meta: { title: '复核-Letdrv' } },
{ path: 'litdav', component: () => import('~/review/ReviewLitdav.vue'), name: 'litdav', meta: { title: '复核-Litdav' } }, { path: 'litdav', component: () => import('~/review/ReviewLitdav.vue'), name: 'litdav', meta: { title: '复核-Litdav' } },
{ path: 'litsel', component: () => import('~/review/ReviewLitsel.vue'), name: 'litsel', meta: { title: '复核-Litsel' } }, { path: 'litsel', component: () => import('~/review/ReviewLitsel.vue'), name: 'litsel', meta: { title: '复核-Litsel' } },
{ path: 'letopn', component: () => import('~/review/ReviewLetopn.vue'), name: 'letopn', meta: { title: '复核-Letopn' } },
] ]
export default Business export default Business
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