Commit e0f6ecef by wanggang_yf

letame 页面修改

parent 5aee7059
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse v-model="activeNames">
<el-collapse-item title="提示信息" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
......@@ -10,33 +10,25 @@
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Letame/Event";
import event from '../event'
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
inject: ["root"],
components: {"m-coninfp": Coninfp,},
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
methods: {},
created: function () {},
}
</script>
<style>
......
......@@ -22,7 +22,6 @@
style="margin: 0 0 0 0; padding: 0 10px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-search"
>
</c-button>
......@@ -93,7 +92,6 @@
v-model="model.trnmod.swiadd.ameamt"
placeholder="请输入金额"
@keyup.enter.native="$event.target.blur()"
@blur="ameamtOtherDefault"
style="width: 100%"
class="m-input-currency"
></c-input>
......@@ -475,30 +473,16 @@
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
import Utils from "~/utils"
import event from '../event'
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {}
},
methods: {
...Event,
onSeainf(){},
ameamtOtherDefault(){
this.executeDefault('letamep.swiadd.newamt').then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
},
methods: {},
created: function () {},
}
</script>
......
......@@ -11,7 +11,6 @@
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
@change="avbwthEvent"
>
</c-select>
</el-form-item>
......@@ -28,9 +27,6 @@
}"
:noRef="true"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
:disabledExtkey="!avbFlag"
>
</c-ptap>
</c-col>
......@@ -58,7 +54,6 @@
style="width: 100%"
placeholder="请选择兑付方式"
:code="codes.avbby0"
@change="avbbykeyEvent"
>
</c-select>
</el-form-item>
......@@ -74,7 +69,6 @@
maxlength="140"
show-word-limit
placeholder="请输入指示内容"
:disabled="defdetFlag"
></c-input>
</el-form-item>
</c-col>
......@@ -90,7 +84,6 @@
maxlength="105"
show-word-limit
placeholder="请输入汇票期限"
:disabled="blkDftatFlag"
></c-input>
<template slot="footer">
<!-- @click="onLcrdftatButtxmsel" -->
......@@ -99,7 +92,6 @@
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('letp.lcrdftat.buttxmsel', null, null,{TXT: 'ledgrp.blk.dftat'}, {TXT: false},'doxpDialog')"
:disabled="blkDftatFlag"
>
</c-button>
</template>
......@@ -120,9 +112,6 @@
:onlySearch="false"
:isAdrblk="false"
:haveAdrLabel="false"
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
:disabled="blkDftatFlag"
>
</c-ptap>
</c-col>
......@@ -317,90 +306,21 @@
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
import event from '../event'
import Ptap from '~/views/Public/Ptap'
export default {
inject: ['root'],
inject: ["root"],
components: { 'c-ptap': Ptap },
props: ['model', 'codes'],
mixins: [commonProcess],
props: ["model", "codes"],
mixins: [event],
data() {
return {}
},
methods: {
...Event,
avbwthEvent(){
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
this.model.ledgrp.avb.pts.extkey = ''
this.model.ledgrp.blk.avbwthtxt = ''
}
},
onSeainf(){},
avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.rec.tenmaxday = 0
this.model.ledgrp.blk.defdet = ''
}
if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
this.model.ledgrp.blk.defdet = '' //汇票期限置空
this.model.ledgrp.drw.pts.extkey = ''//付款人置空
this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk
}
this.executeCheck('ledgrp.rec.avbby').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
},
created: function () {},
computed: {
avbFlag: {
get() {
return (
this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S'
)
},
},
defdetFlag: {
get() {
return (
// this.model.ledgrp.rec.avbby == 'A' ||
// this.model.ledgrp.rec.avbby == 'P' ||
// this.model.ledgrp.rec.avbby == 'M' ||
// this.model.ledgrp.rec.avbby == ''
this.model.ledgrp.rec.avbby != 'D' &&
this.model.ledgrp.rec.avbby != 'N'
)
},
},
blkDftatFlag: {
get() {
return (
this.model.ledgrp.rec.avbby == 'D' ||
this.model.ledgrp.rec.avbby == 'M' ||
this.model.ledgrp.rec.avbby == ''
)
},
},
},
watch: {
'model.ledgrp.avb.pts.adrblk': {
handler(val, oldVal) {
this.model.ledgrp.blk.avbwthtxt = val
},
immediate: true,
},
},
methods: {},
created: function () { },
}
</script>
<style>
.letame_rec_tenmaxday {
......
......@@ -83,19 +83,16 @@
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
import event from '../event'
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {}
},
methods: { ...Event },
methods: {},
created: function () {},
}
</script>
......
......@@ -83,19 +83,17 @@
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
import event from '../event'
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {}
},
methods: { ...Event },
methods: {},
created: function () {},
}
</script>
......
......@@ -25,19 +25,16 @@
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
import event from '../event'
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {}
},
methods: { ...Event },
methods: {},
created: function () {},
}
</script>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse v-model="activeNames">
<el-collapse-item title="修改内容" name="amep">
<m-amep :model="model" :codes="codes" />
</el-collapse-item>
......@@ -72,8 +72,7 @@
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Getamc/Event";
import event from '../event'
import Amep from "./Amep";
import Aamp from "./Aamp";
import Ovwp1 from "./Ovwp1";
......@@ -84,9 +83,9 @@ import Inspame from "./Inspame";
import Revp from './Revp';
import Rcldetp from "./Rcldetp";
export default {
components: {
inject: ["root"],
components: {
"m-amep": Amep,
"m-aamp": Aamp,
"m-ovwp1": Ovwp1,
......@@ -96,21 +95,18 @@ export default {
"m-inspame": Inspame,
'm-revp': Revp,
"m-rcldetp" : Rcldetp,
},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
props: ["model", "codes"],
mixins: [event],
data(){
return {
activeNames: ["amep"],
}
},
methods:{...Event},
created:function(){
}
}
},
methods: {},
created: function () {},
}
</script>
<style>
......
......@@ -23,7 +23,6 @@
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
......@@ -36,7 +35,6 @@
? false
: true
"
@click="onLetpButgetref"
>
获取
</c-button>
......@@ -81,7 +79,7 @@
<c-input v-model="model.letp.usr.extkey" maxlength="8" placeholder="请输入" disabled></c-input>
<template slot="footer">
<c-button style="margin-left:10px;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"
@click="onExtkey"></c-button>
></c-button>
<c-checkbox :disabled="true" style="margin-left:5px;" v-model="model.ledgrp.rec.collflg">Collateralized L/C</c-checkbox>
</template>
</c-fullbox>
......@@ -262,7 +260,6 @@
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul1"
@change="apprulChange"
>
</c-select>
</el-form-item>
......@@ -318,8 +315,6 @@
rol: 'ben',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -334,8 +329,6 @@
rol: 'iss',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onIsspDet"
>
</c-ptap>
</c-col>
......@@ -350,8 +343,6 @@
rol: 'apl',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAplpDet"
>
</c-ptap>
</c-col>
......@@ -359,7 +350,6 @@
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.revflg" class="checkbox-left" style="margin-left:120px"
@change="openRevolvingDetails"
>循环信用证</c-checkbox
>
</c-col>
......@@ -384,66 +374,21 @@
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event";
import Utils from '~/utils';
import event from '../event'
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
components: { "c-ptap": Ptap },
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {};
},
methods: {
...Event,
onExtkey(){},
apprulChange(v) {
if (v !== "OTHR") {
this.model.ledgrp.rec.apprultxt = "";
}
},
openRevolvingDetails(val){
if(val ==='' && !(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.$confirm('是否确定要删除输入的循环详细信息?','提示',{
confirmButtonText: '是',
cancelButtonText: '否',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('ledgrp.rec.revflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.revdat ='';//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
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.ledgrp.rec.revflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
return {}
},
methods: {},
created: function () {},
};
}
</script>
<style>
</style>
......@@ -15,8 +15,6 @@
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
>
</c-ptap>
</c-col>
......@@ -30,8 +28,6 @@
grp: 'ledgrp',
rol: 'a2b',
}"
@onSeainf="onSeainf"
@onAplpDet="onA2bpDet"
>
</c-ptap>
</c-col>
......@@ -62,8 +58,6 @@
grp: 'ledgrp',
rol: 'apb',
}"
@onSeainf="onSeainf"
@onAplpDet="onApbpDet"
>
</c-ptap>
</c-col>
......@@ -85,8 +79,6 @@
grp: 'ledgrp',
rol: 'rmb',
}"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
>
</c-ptap>
</c-col>
......@@ -103,8 +95,6 @@
:disabledRef="true"
:disabledExtkey="true"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onConpDet"
>
</c-ptap>
</c-col>
......@@ -137,17 +127,14 @@
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
import event from '../event'
import Ptap from "~/views/Public/Ptap"
export default {
inject: ['root'],
inject: ["root"],
components: { "c-ptap": Ptap },
props: ['model', 'codes'],
mixins: [commonProcess],
props: ["model", "codes"],
mixins: [event],
data() {
return {
ptsaddg: {
......@@ -179,13 +166,9 @@ export default {
},
};
},
methods: {
...Event,
handleEdit() {
console.log("1111测试");
},
},
methods: {},
created: function () {},
}
</script>
<style></style>
......@@ -36,8 +36,6 @@
rol: 'rmbrmb',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onRmbp1Det"
:disabledExtkey="rmbrolRefFlag"
:disabled="rmbrolAdrblkFlag"
>
......@@ -67,8 +65,6 @@
rol: 'acwacw',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onAcwpDet"
>
</c-ptap>
</c-col>
......@@ -96,8 +92,6 @@
rol: 'bebbeb',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onBebpDet"
>
</c-ptap>
</c-col>
......@@ -120,44 +114,19 @@
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
import event from '../event'
import Ptap from '~/views/Public/Ptap'
export default {
inject: ['root'],
inject: ["root"],
components: { 'c-ptap': Ptap },
props: ['model', 'codes'],
mixins: [commonProcess],
props: ["model", "codes"],
mixins: [event],
data() {
return {}
},
methods: { ...Event },
methods: {},
created: function () {},
computed:{
rmbrolRefFlag: {
get() {
return (
this.model.rmbclm.rmbrol=='ADV'||this.model.rmbclm.rmbrol=='AVB'
||this.model.rmbclm.rmbrol=='ISS'||this.model.rmbclm.rmbrol=='CON'
)
},
},
rmbrolAdrblkFlag: {
get() {
return (
this.model.rmbclm.rmbrol=='ADV'||this.model.rmbclm.rmbrol=='AVB'
||this.model.rmbclm.rmbrol=='ISS'||this.model.rmbclm.rmbrol=='CON'
||this.model.rmbclm.rmbrol=='RMB'
)
},
},
}
}
</script>
<style></style>
......@@ -109,19 +109,16 @@
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letame/Event'
import event from '../event'
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {}
},
methods: { ...Event },
methods: {},
created: function () {},
}
</script>
......
......@@ -3,7 +3,7 @@
<c-page title="出口信用证修改">
<el-form :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="myTabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
......
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