Commit d7dd661c by Wuyuqiu

lttdck交易前后联动

parent a352c5c9
......@@ -2983,6 +2983,22 @@ const CodeTable = {
{ label: "Documents settled free of payment", value: "J" },
{ label: "Documents have been refused and returned", value: "R" },
],
docsta2: [
{ label: "Goods rel., Advice of Payment received", value: "A" },
{ label: "Goods rel., Advice of Payment + docs rec", value: "B" },
{ label: "Advice of Payment rec., wait for docs", value: "C" },
{ label: "Advice of Payment rec., documents rec.", value: "D" },
{ label: "Adv. of Discrep. received, wait for docs", value: "E" },
{ label: "Adv of Discrepancy rec., document rec.", value: "F" },
{ label: "Documents received", value: "G" },
{ label: "Clean documents received", value: "H" },
{ label: "Discrepant documents received", value: "I" },
{ label: "Goods released, wait for documents", value: "J" },
{ label: "Goods released, documents received", value: "K" },
{ label: "Documents sent on approval basis", value: "L" },
{ label: "Documents taken up", value: "M" },
{ label: "Documents settled free of payment", value: "N" },
],
doctyp: [
{ label: "买方单据", value: "BDD" },
{ label: "进口代收", value: "BCD" },
......@@ -4494,6 +4510,11 @@ const CodeTable = {
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
docprbrol2: [
{ label: "Adv. Bank Transfer", value: "ADT" },
{ label: "2nd Beneficiary", value: "BE2" },
{ label: "Presenter(PRP)", value: "PRB" },
],
// payrol1:[
// {label:"Applicant : TG3131232121",value:"1"},
// {label:"Issuing Bank : CHINA EVERBRIGHT BANK",value:"2"},
......
......@@ -421,7 +421,7 @@ export default {
],
"ledgrp.a2b.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string",max: 999, message: "长度不能超过35" }
],
"ledgrp.a2b.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
......
......@@ -182,5 +182,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf(){},
onBenpDet(){},
onAplpDet(){},
}
\ No newline at end of file
......@@ -123,9 +123,9 @@ export default {
"btdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.prb.namelc":[
{type: "string", required: true, message: "必输项"},
......@@ -133,13 +133,13 @@ export default {
],
"btdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string",max: 999,message:"长度不能超过35"}
],
"btdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -162,34 +162,34 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"btdgrp.blk.matper":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ltdgrp.rec.utlnbr":[
{type: "string", required: false, message: "必输项"},
{type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{type: "string", required: false, message: "必输项"},
{type: "string",max: 999,message:"长度不能超过50"}
],
"btdgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{type: "string", required: false, message: "必输项"},
{type: "string",max: 999,message:"长度不能超过65"}
],
"btdgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{type: "string", required: false, message: "必输项"},
{type: "string",max: 999,message:"长度不能超过65"}
],
"btdgrp.blk.setinsbt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{type: "string", required: false, message: "必输项"},
{type: "string",max: 999,message:"长度不能超过65"}
],
......
......@@ -51,6 +51,7 @@ export default class Lttdck {
},
ltdgrp: {
rec: {
inr:"",//ltdgrp.rec.inr
ownref: "", // Transfer Reference .ltdgrp.rec.ownref
nam: "", // Name .ltdgrp.rec.nam
avbby: "", // Available by .ltdgrp.rec.avbby
......
<template>
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 -->
<el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000003 -->
<el-tab-pane label="Docs under Trasfer L/C" name="infconp">
<m-infconp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000296 -->
<el-tab-pane label="Discr./Instr." name="dscinsp">
<m-dscinsp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="Transaction" name="trnpan">
<m-trnpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000111 -->
<el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000162 -->
<el-tab-pane label="SEP Info" name="sepinfp">
<m-sepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="GEL Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-page title="转让信用证查询">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 Selection -->
<el-tab-pane label="转让信用证查询" name="infsea">
<c-content>
<m-infsea :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Infbtd from "~/model/Infbtd";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Infbtd/Check";
import Default from "~/model/Infbtd/Default";
import Pattern from "~/model/Infbtd/Pattern";
import Infsea from "./Infsea";
import Infconp from "./Infconp";
import Dscinsp from "./Dscinsp";
import Coninfp from "./Coninfp";
import Trnpan from "./Trnpan";
import Cbsinfp from "./Cbsinfp";
import Cbeinfp from "./Cbeinfp";
import Fepinfp from "./Fepinfp";
import Sepinfp from "./Sepinfp";
import Gleinfp from "./Gleinfp";
import Smhinfp from "./Smhinfp";
import Peninfp from "./Peninfp";
import Prtpan from "./Prtpan";
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infbtd from "~/model/Infbtd"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Infbtd/Check"
import Default from "~/model/Infbtd/Default"
import Pattern from "~/model/Infbtd/Pattern"
import Infsea from "./Infsea"
export default {
components: {
"m-infsea": Infsea,
"m-infconp": Infconp,
"m-dscinsp": Dscinsp,
"m-coninfp": Coninfp,
"m-trnpan": Trnpan,
"m-cbsinfp": Cbsinfp,
"m-cbeinfp": Cbeinfp,
"m-fepinfp": Fepinfp,
"m-sepinfp": Sepinfp,
"m-gleinfp": Gleinfp,
"m-smhinfp": Smhinfp,
"m-peninfp": Peninfp,
"m-prtpan": Prtpan,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
trnName: "infbtd",
model: new Infbtd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
hndtyp: CodeTable.hndtyp,
relflg: CodeTable.relflg,
seasta: CodeTable.seasta,
seacur: CodeTable.seacur,
},
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入infbtd交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//this.model = Utils.copyValueFromVO(this.model, Response.data)
//this.stmData.data = Response.data.infbut_dspstm.rows;
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
name: "Infbtd",
components:{
"m-infsea" : Infsea,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
trnName: "Infbtd",
model: new Infbtd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes:{...CodeTable},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入Infbtd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
this.updateModel(rtnmsg.data)
// Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
};
}
</script>
<style>
</style>
......@@ -123,6 +123,7 @@
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
:disabled="blkDftatFlag"
:disabledExtkey="model.ledgrp.rec.avbby=='D'||model.ledgrp.rec.avbby=='M'||model.ledgrp.rec.avbby==''"
>
</c-ptap>
</c-col>
......
......@@ -146,6 +146,7 @@
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
@change="openAddDetails"
>Add. Amount</c-checkbox
>
</c-col>
......@@ -503,6 +504,42 @@ export default {
this.model.ledgrp.rec.apprultxt = "";
}
},
openAddDetails(val){
if(val ==='' && !( this.model.ledgrp.cbs.max2.amt == '0' && this.model.ledgrp.cbs.opn2.amt == '0'
&&this.model.ledgrp.blk.addamtcov ==='') ){
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('letp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.cbs.max2.amt = '0';
this.model.ledgrp.cbs.opn2.amt == '0'
this.model.ledgrp.blk.addamtcov ='';
this.updateModel(res.data)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
},
created: function () {},
};
......
......@@ -24,7 +24,7 @@
:argadr="{
title: '2nd Advising Bank',
grp: 'ledgrp',
rol: 'a2b',
rol: 'a2b',
}"
@onSeainf="onSeainf"
@onAplpDet="onA2bpDet"
......@@ -39,7 +39,7 @@
style="width: 100%"
placeholder="Please select Confirm. Instruct. to 2nd Adv. Bank"
:code="codes.cnfflg1"
disabled
:disabled="model.ledgrp.a2b.pts.extkey==''"
>
</c-select>
</el-form-item>
......
......@@ -29,7 +29,9 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000017 -->
<el-tab-pane label="Overview" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
......
......@@ -152,6 +152,29 @@
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Document Set Status"
prop="btdgrp.rec.docsta"
style="width: 100%"
>
<c-select
v-model="model.btdgrp.rec.docsta"
style="width: 100%"
placeholder="Please select Document Set Status"
disabled
>
<el-option
v-for="item in codes.docsta2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
......
......@@ -3,64 +3,70 @@
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="L/C Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<el-form-item
label="L/C Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入L/C Reference"
style="width: 100%"
disabled
maxlength="8"
placeholder="Please input L/C Reference"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
</c-col>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="Transfer Reference"
prop="ltdgrp.rec.ownref"
style="width: 100%"
>
<el-form-item
label="Transfer Reference"
prop="ltdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ltdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Transfer Reference"
style="width: 100%"
disabled
maxlength="8"
placeholder="Please input Transfer Reference"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
</c-col>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="L/C Amount" prop="ltdgrp.cbs.nom1.cur">
......@@ -227,7 +233,8 @@
}"
:enRef="true"
:enNam="true"
:disabled="true"
:disabled="false"
:disabled1="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
......@@ -240,7 +247,8 @@
}"
:enRef="true"
:enNam="true"
:disabled="true"
:disabled="false"
:disabled1="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
......@@ -253,7 +261,8 @@
}"
:enRef="true"
:enNam="true"
:disabled="true"
:disabled="false"
:disabled1="true"
></c-ptsmsg>
</c-col>
</c-col>
......@@ -470,7 +479,7 @@
@change="selectOrCheckboxRule('btdgrp.rec.docprbrol')"
>
<el-option
v-for="item in codes.docprbrol0"
v-for="item in codes.docprbrol2"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -490,7 +499,7 @@
}"
:noRef="true"
:disabled="!(model.btdgrp.rec.docprbrol == 'PRB')"
:disabledExtkey="model.btdgrp.rec.docprbrol == 'BEN'"
:disabledExtkey="model.btdgrp.rec.docprbrol == 'ADT'||model.btdgrp.rec.docprbrol == 'BE2'"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
......
......@@ -17,7 +17,7 @@
></c-input>
<template slot="footer">
<c-button
style="margin-left:10px; padding: 0 12px"
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
......@@ -48,7 +48,6 @@
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item
......@@ -85,11 +84,11 @@
size="small"
type="primary"
:disabled="
!model.ltdgrp.rec.ownref&&model.ltdgrp.be1.pta.inr
? false
: true
"
@click="onLttpButgetref"
!model.ltdgrp.rec.ownref && model.ltdgrp.be1.pta.inr
? false
: true
"
@click="onLttpButgetref"
>
Get
</c-button>
......@@ -139,7 +138,7 @@
></c-input>
<template slot="footer">
<c-button
style="margin-left:10px; padding: 0 12px"
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
......@@ -193,8 +192,8 @@
<c-checkbox
v-model="model.lttp.aamp.aammod.addamtflg"
style="margin-left: 10px"
:disabled="model.ltdgrp.cbs.max2.amt==''"
@change="openAddDetails"
:disabled="model.ltdgrp.cbs.max2.amt == ''"
@change="openAddDetails"
>Add. Amount</c-checkbox
>
</c-col>
......@@ -264,28 +263,27 @@
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Issued on" prop="ltdgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.opndat"
style="width: 100%"
placeholder="Please select Issued on"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.shpdat"
style="width: 100%"
placeholder="Please select Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Issued on" prop="ltdgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.opndat"
style="width: 100%"
placeholder="Please select Issued on"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.shpdat"
style="width: 100%"
placeholder="Please select Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Expiring on" prop="ltdgrp.rec.expdat">
......@@ -361,10 +359,7 @@
</c-col>
<c-col :span="24">
<el-form-item
label="Confirmation Instruct."
prop="ltdgrp.rec.cnfins"
>
<el-form-item label="Confirmation Instruct." prop="ltdgrp.rec.cnfins">
<c-select
v-model="model.ltdgrp.rec.cnfins"
style="width: 100%"
......@@ -374,7 +369,6 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
......@@ -394,8 +388,7 @@
>
</c-ptap>
<c-col :span="24">
<el-form-item label="" prop="ltdgrp.be1.pts.nam">
<el-form-item label="" prop="ltdgrp.be1.pts.nam">
<c-input
v-model="model.ltdgrp.be1.pts.nam"
maxlength="40"
......@@ -841,22 +834,35 @@ export default {
this.model.ltdgrp.rec.apprultxt = "";
}
},
openAddDetails(val){
if(val ==='' && !( this.model.ltdgrp.cbs.max2.amt == '0' && this.model.ltdgrp.cbs.opn2.amt == '0'
&&this.model.ltdgrp.blk.addamtcov ==='') ){
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('lttp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ltdgrp.cbs.max2.amt = '0';
this.model.ltdgrp.blk.addamtcov ='';
this.updateModel(res.data)
}
})
openAddDetails(val) {
if (
val === "" &&
!(
this.model.ltdgrp.cbs.max2.amt == "0" &&
this.model.ltdgrp.cbs.opn2.amt == "0" &&
this.model.ltdgrp.blk.addamtcov === ""
)
) {
this.$confirm(
"Do you really want to delete the additional amount of this contract?",
"提示",
{
confirmButtonText: "Yes",
cancelButtonText: "No",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.executeRule("lttp.aamp.aammod.addamtflg").then((res) => {
if (res.respCode == SUCCESS) {
this.model.ltdgrp.cbs.max2.amt = "0";
this.model.ltdgrp.cbs.opn2.amt == "0"
this.model.ltdgrp.blk.addamtcov = "";
this.updateModel(res.data);
}
});
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
......@@ -867,15 +873,17 @@ export default {
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.lttp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
})
.catch(() => {
//No的功能在这里写
this.model.lttp.aamp.aammod.addamtflg = "X";
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
},
created: function () {},
};
......
<template>
<ReviewWrapper>
<Lttdck></Lttdck>
</ReviewWrapper>
</template>
<script>
import Lttdck from "~/views/Business/Lttdck";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLttdck",
components: { ReviewWrapper, Lttdck },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -90,6 +90,7 @@ import ReviewBetamc from "./Business/ReviewBetamc.vue";
import ReviewCptcan from "./Business/ReviewCptcan.vue";
import ReviewCptrep from "./Business/ReviewCptrep.vue";
import ReviewCltdav from "./Business/ReviewCltdav.vue";
import ReviewLttdck from "./Business/ReviewLttdck.vue";
const ReviewRouter = [
......@@ -193,7 +194,7 @@ const ReviewRouter = [
{ path: "ccttra", component: ReviewCcttra, name: "ReviewCcttra", meta: { title: "复核-Ccttra" } },
{ path: "lttopn", component: ReviewLttopn, name: "ReviewLttopn", meta: { title: "复核-Lttopn" } },
{ path: "cltdav", component: ReviewCltdav, name: "ReviewCltdav", meta: { title: "复核-Cltdav" } },
{ path: "lttdck", component: ReviewLttdck, name: "ReviewLttdck", meta: { title: "复核-Lttdck" } },
{ path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } },
{ path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } },
{ path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } },
......
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