Commit 63988ab2 by “yanyuxin”

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 993db7d5 779482b9
......@@ -246,13 +246,14 @@
}
/* form 必填项红星星靠右 */
.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before {
content: none;
}
.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:after, .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:after {
content: '*';
color: #F56C6C;
margin-left: 4px;
}
.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:after, .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:after {
content: none;
}
.el-tree-node__label {
font-size: 12px;
......
<template>
<el-input
:id="id"
ref="form-item"
v-model="value"
type="textarea"
v-bind="$attrs"
v-on="$listeners"
v-bind:disabled="isDisable"
:rows="maxRows"
resize="none"
@change="onChange"
/>
</template>
<script>
export default {
data: function () {
return {
value: "",
isXml: false,
};
},
props: {
maxRows: {
type: Number,
default: 3,
},
maxCols: {
type: Number,
default: 4,
},
disabled: {
type: Boolean,
default: false,
},
id: {
type: String,
default: undefined,
},
model: {
type: Object,
default: undefined,
},
},
computed: {
// model: {
// get() {
// let value = this.format(this.value);
// return value;
// },
// set(newVal) {
// this.$emit("input", newVal);
// },
// },
isDisable: {
get() {
return this.mode === "display" || this.disabled;
},
},
},
methods: {
show: function (rows) {
let strs = rows.length > 0 ? rows[0] : "";
var result = "";
if (strs.startsWith("<?xml")) {
this.isXml = true;
var pattern = /<tdfmt\s[^>]*>(.*)<\/tdfmt>/;
var temp = pattern.exec(strs);
if (temp != null) {
result = temp[1];
}
}
return result.replace(/<br\/>/g, "\n");
},
format: function (value) {
if(this.isXml){
var len = value.length;
value = value.replace(/\n/g, "<br/>")
var head = "<?xml version='1.0'?><tdfmt sel-start='" + len + "'>";
var tail = "</tdfmt>";
return head + value + tail;
}
return value;
},
onChange() {
if (this.model && this.model.rows) {
this.model["rows"][0] = this.format(this.value);
this.$emit("change", this.value);
}
},
},
watch: {
model: function () {
let rows = this.model["rows"] || [];
this.value = this.show(rows);
},
},
};
</script>
<style>
/* .el-input.highlight .el-input__inner{
border-color: red;
} */
</style>
\ No newline at end of file
......@@ -53,7 +53,7 @@ export default {
.m-table-search {
position: relative;
margin: -20px 0 0 0;
padding: 20px 0px 10px 20px;
padding: 20px 0px 10px 0px;
border-bottom: 10px solid rgb(232, 232, 232);
}
.m-table-search-operation {
......
......@@ -50,6 +50,7 @@ import InputSelect from "./InputSelect"
import Fullbox from "./Fullbox"
import CompareTable from "./CompareTable"
import InputXml from "./InputXml.vue"
export default {
install(Vue) {
......@@ -102,5 +103,6 @@ export default {
Vue.component("c-inputselect", InputSelect)
Vue.component("c-fullbox", Fullbox)
Vue.component("c-compare-table", CompareTable)
Vue.component("c-input-xml", InputXml)
}
}
\ No newline at end of file
......@@ -38,7 +38,7 @@ export default {
],
"bedgrp.cbs.max.amt":[
{type: "strig", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -180,6 +180,12 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
// console.log(this.model.bedgrp.rec.ownref)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
......
......@@ -433,7 +433,7 @@ export default {
],
"ledgrp.a2b.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -66,6 +66,7 @@ export default class Letdrw{
revtimes:"", // Revolve Times .ledgrp.rec.revtimes
revnbr:"", // Revolving Count .ledgrp.rec.revnbr
revdat:"", // Next Revolve Date .ledgrp.rec.revdat
inr:"", //Drv.vue中GetRef按钮获取bedgrp.rec.ownref,判断按钮是否能点字段
},
cbs:{
nom1:{
......@@ -359,7 +360,7 @@ export default class Letdrw{
},
},
},
pageId: "" // ctx的key
pageId: "", // ctx的key
}
}
}
\ No newline at end of file
......@@ -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
......
......@@ -5,14 +5,14 @@ export default class Mtabut {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inftxt: {}, // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inftxt: {}, // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
......
......@@ -105,6 +105,7 @@
<c-select
:code="codes.doctypcod"
disabled
v-model="model.bcdgrp.rec.doctypcod"
style="width: 100%"
placeholder="请选择Payment Condition"
......@@ -118,6 +119,7 @@
style="width: 100%"
:code="codes.docstabot"
disabled
v-model="model.bcdgrp.rec.docsta"
maxlength="1"
placeholder="请输入Document Set Status"
......@@ -471,19 +473,23 @@ export default {
},
methods: {
...Event,
// focflgDefault(){
// this.executeDefault("trnmod.cmtflg").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
// },
focflgDefault(){
this.executeDefault("trnmod.cmtflg").then((res) => {
this.executeDefault("bcdgrp.rec.docsta").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
// async crefinflgChange() {
// let rtnmsg = await this.executeRule("trtcre.crefinflg");
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// }
// },
crefinflgChange(){
this.executeRule("trtcre.crefinflg").then((res) => {
if ((res.respCode == SUCCESS)) {
......@@ -543,19 +549,19 @@ export default {
// }
// }
// },
"bcdgrp.rec.doctypcod":{
immediate: true,
handler(val, oldVal) {
if(this.bcdgrp.rec.predat!=''){
this.model.bcdgrp.rec.docsta="A"
}else if(this.bcdgrp.rec.opndat!=''){
this.model.bcdgrp.rec.docsta="B"
}
else if(this.model.bcdgrp.rec.doctypcod=="A"||this.model.bcdgrp.rec.doctypcod=="D"||this.model.bcdgrp.rec.doctypcod=="M"){
this.model.bcdgrp.rec.docsta="C"
}
}
},
// "bcdgrp.rec.doctypcod":{
// immediate: true,
// handler(val, oldVal) {
// if(this.bcdgrp.rec.predat!=''){
// this.model.bcdgrp.rec.docsta="A"
// }else if(this.bcdgrp.rec.opndat!=''){
// this.model.bcdgrp.rec.docsta="B"
// }
// else if(this.model.bcdgrp.rec.doctypcod=="A"||this.model.bcdgrp.rec.doctypcod=="D"||this.model.bcdgrp.rec.doctypcod=="M"){
// this.model.bcdgrp.rec.docsta="C"
// }
// }
// },
"model.trnmod.cmtflg":{
immediate: true,
handler(val, oldVal) {
......@@ -573,10 +579,12 @@ export default {
} else {
this.typ1 = true;
}
},
},
}
},
created: function () {},
},
created: function () {
},
};
</script>
<style>
......
......@@ -5,16 +5,16 @@
<c-col :span="11">
<!-- Discrepancies -->
<c-col :span="24">
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<el-form-item label="不符点" prop="brdgrp.blk.docdis">
<c-fullbox>
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="3500" show-word-limit
placeholder="请输入Discrepancies" rows="5" :disabled="!docdisflg"></c-input>
<!-- @click="onDocdisButtxmsel" -->
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search"
<c-button size="small" type="primary" icon="el-icon-more"
@click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
:disabled="!docdisflg">
<!-- ... -->
</c-button>
</template>
</c-fullbox>
......@@ -22,21 +22,21 @@
</c-col>
<!-- Comments and Conclusion -->
<c-col :span="24">
<el-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon">
<el-form-item label="评论和结论" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="1950" show-word-limit
placeholder="请输入Comments and Conclusions" rows="5"></c-input>
placeholder="请输入评论和结论内容" rows="5"></c-input>
</el-form-item>
</c-col>
<!-- Settlement Instructions BR -->
<!-- <c-col :span="21"> -->
<c-col :span="24">
<el-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr">
<el-form-item label="结算指示" prop="brdgrp.blk.setinsbr">
<c-fullbox>
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="390" show-word-limit
placeholder="请输入Settlement Instructions BR" rows="5"></c-input>
placeholder="请输入结算指示" rows="5"></c-input>
<template slot="footer">
<!-- @click="onSetinstxmButtxmsel" -->
<c-button size="small" type="primary" icon="el-icon-search"
<c-button size="small" type="primary" icon="el-icon-more"
@click="showGridPromptDialog('brtp.setinstxm.buttxmsel', null, null,{TXT: 'brdgrp.blk.setinsbr'}, {TXT: false},'doxpDialog')"
>
</c-button>
......@@ -60,26 +60,26 @@
<!--=== ========================================右边======================================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox>
<c-checkbox v-model="model.brdgrp.rec.igndisflg">忽略不符点</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="docdisflg"
@change="docdisDefault"
>discrepancies modified</c-checkbox>
>录入不符点</c-checkbox>
<!-- <c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox> -->
</c-col>
<c-col :span="24">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width: 100%" placeholder="请选择Type of Advice Received"
<el-form-item label="收到通知类型" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width: 100%" placeholder="请选择类型"
:code="codes.advtyp0">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Date to be Paid" prop="brdgrp.rec.totdat">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width: 100%" placeholder="请选择付款日期"
disabled>
</c-date-picker>
......@@ -87,9 +87,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="Discrepancy Advice Dated" prop="brdgrp.rec.disdat" label-width="155px">
<el-form-item label="不符点通知日期" prop="brdgrp.rec.disdat" label-width="155px">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width: 100%"
placeholder="请选择Discrepancy Advice Dated" disabled></c-date-picker>
placeholder="请选择日期" disabled></c-date-picker>
</el-form-item>
</c-col>
......@@ -97,29 +97,7 @@
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brtp.cre752flg">Create 752</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Further Identification" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width: 100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brtp.cre732flg">Create MT 732</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab">
</span>
</c-col> -->
</div>
</template>
<script>
......
......@@ -19,14 +19,14 @@
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000032 -->
<el-tab-pane label="UtiliZing Usance Documents" name="payp">
<el-tab-pane label="承兑信息" name="payp">
<c-content>
<m-payp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane label="Discr./Instr." name="docpre">
<el-tab-pane label="不符点" name="docpre">
<c-content>
<m-docpre :model="model" :codes="codes" />
</c-content>
......@@ -34,70 +34,70 @@
<!-- ======新增隐藏面板====== -->
<!--PD000139 -->
<el-tab-pane label="Advice of Discrepance" name="mt750p" v-if="model.brdgrp.rec.advtyp=='750'">
<el-tab-pane label="不符点通知" name="mt750p" v-if="model.brdgrp.rec.advtyp=='750'">
<c-content>
<m-mt750p :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="Advice of Payment " name="mt754p" v-if="model.brdgrp.rec.advtyp=='754'">
<el-tab-pane label="付款通知" name="mt754p" v-if="model.brdgrp.rec.advtyp=='754'">
<c-content>
<m-mt754p :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000213 -->
<el-tab-pane label="Advice Details" name="othadvtypp" v-if="model.brdgrp.rec.advtyp=='oth'">
<el-tab-pane label="通知详情" name="othadvtypp" v-if="model.brdgrp.rec.advtyp=='oth'">
<c-content>
<m-othadvtypp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<el-tab-pane label="表外记账" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Cach Cover" name="ccvpan">
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="结算" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Bookings" name="glepan">
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="提示信息" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="面函/报文" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
......
......@@ -237,28 +237,60 @@
</c-form-item>
</c-col>
<c-col :span="21">
<c-col :span="24">
<c-form-item
label="付款人常驻国家(地区)代码"
prop="cnybop.cnyinc.spayercountrycode"
>
<c-input
v-model="model.cnybop.cnyinc.spayercountrycode"
maxlength="3"
placeholder=""
></c-input>
<c-fullbox>
<c-input
v-model="model.cnybop.cnyinc.spayercountrycode"
maxlength="3"
placeholder=""
@keyup.enter.native="
showGridPromptDialog('cnybop.cnyinc.spayercountrycode')
"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="
showGridPromptDialog(
'cnybop.inccty.selbut1',
null,
null,
{ COD: 'cnybop.cnyinc.spayercountrycode' },
{ COD: true },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<c-col :span="3">
<!-- <c-col :span="3">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onIncctySelbut1"
@click="
showGridPromptDialog(
'cnybop.inccty.selbut1',
null,
null,
{ COD: 'cnybop.cnyinc.spayercountrycode' },
{ COD: true },
'doxpDialog'
)
"
>
</c-button>
</c-col>
</c-col> -->
<c-col :span="24">
<c-form-item label="付款行SWIFT BIC" prop="cnybop.cnyinc.sswiftbic">
......
......@@ -106,6 +106,20 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</div>
</template>
<script>
......@@ -124,7 +138,7 @@ import Trap from "./Trap";
import Docpan1 from "./Docpan1";
import Basp2 from "./Basp2";
import Basp3 from "./Basp3";
import Incp from "./Incp"
import Incp from "./Incp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
......@@ -149,7 +163,7 @@ export default {
"m-engp": Engp,
"m-basp2": Basp2,
"m-basp3": Basp3,
"m-incp" : Incp,
"m-incp": Incp,
},
provide() {
return {
......
......@@ -160,11 +160,11 @@
<c-input v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col> -->
<!-- GIDGRP\CBS\MAX2\AMT ) and IsEmpty( GIDGRP\CBS\OPN2\AMT ) then -->
<c-col :span="5">
<c-checkbox
v-model="model.gctp.gcthdr"
disabled
v-model="model.gctp.adaflg"
disabled
style="
margin-left: 18px;
height: 32px;
......
......@@ -149,7 +149,7 @@
</c-col>
<c-col :span="5">
<c-checkbox
v-model="model.gctp.gcthdr"
v-model="model.gctp.adaflg"
disabled
style="
margin-left: 18px;
......@@ -956,6 +956,8 @@ export default {
],
};
},
methods: { ...Event },
created: function () {},
};
......
<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>
......@@ -59,7 +59,7 @@
<c-col :span="5">
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
v-model="model.letp.letp0.aammod.addamtflg"
style="margin-left: 10px"
disabled
>Add. Amount</c-checkbox
......@@ -290,7 +290,7 @@
></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onBetmodButgetref"
disabled>
:disabled="model.bedgrp.rec.ownref!=''||model.ledgrp.rec.inr==''">
Get Ref
</c-button>
</template>
......@@ -458,6 +458,7 @@
v-model="model.bedgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择Presented by"
:code="codes.rolall"
disabled
>
</c-select>
......@@ -473,6 +474,8 @@
rol: 'prb',
}"
:disabled="true"
:noRef="true"
:disabledExtkey="true"
@onSeainf="onSeainf"
@onAplpDet="onPrbpDet"
>
......
......@@ -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 -->
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<el-col :span="11">
<c-col :span="24">
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<el-form-item label="不符点" prop="brdgrp.blk.docdis">
<c-fullbox>
<c-input
:disabled="this.typ1"
......@@ -11,36 +11,36 @@
v-model="model.brdgrp.blk.docdis"
maxlength="500"
show-word-limit
placeholder="请输入Discrepancies"
placeholder="请输入不符点内容"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
icon="el-icon-more"
@click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
:disabled="this.typ1"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon">
<el-form-item label="评论和结论" prop="brdgrp.blk.comcon">
<c-input
type="textarea"
v-model="model.brdgrp.blk.comcon"
maxlength="65"
show-word-limit
placeholder="请输入Comments and Conclusions"
placeholder="请输入评论和结论内容"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Settlement Instructions for this Document Set"
label="结算指示"
prop="brdgrp.blk.setinsbr"
>
<c-fullbox>
......@@ -50,16 +50,16 @@
v-model="model.brdgrp.blk.setinsbr"
maxlength="500"
show-word-limit
placeholder="请输入Settlement Instructions BR"
placeholder="请输入结算指示内容"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
icon="el-icon-more"
@click="showGridPromptDialog('brtp.setinstxm.buttxmsel', null, null,{TXT: 'brdgrp.blk.setinsbr'}, {TXT: false},'doxpDialog')"
>
...
</c-button>
</template>
</c-fullbox>
......@@ -82,23 +82,23 @@
<c-checkbox
style="margin: 0px 0 10px 150px"
v-model="model.brdgrp.rec.igndisflg"
>Ignore Discrepancies</c-checkbox
>忽略不符点</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 150px"
v-model="model.brdgrp.blk.docdisflg"
>Discrepancies modified</c-checkbox
>录入不符点</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp">
<el-form-item label="收到通知类型" prop="brdgrp.rec.advtyp">
<c-input
disabled
v-model="model.brdgrp.rec.advtyp"
style="width: 100%"
placeholder="请选择Type of Advice Received"
placeholder="请选择通知类型"
>
</c-input>
</el-form-item>
......@@ -116,7 +116,7 @@
</c-col>
<c-col :span="24">
<el-form-item
label="Discrepancy Advice Dated"
label="不符点通知日期"
label-width="153px"
prop="brdgrp.rec.disdat"
>
......@@ -125,7 +125,7 @@
type="date"
v-model="model.brdgrp.rec.disdat"
style="width: 100%"
placeholder="请选择Discrepancy Advice Dated"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -133,7 +133,7 @@
<c-checkbox
style="margin: 0px 0 10px 150px"
v-model="model.brdgrp.rec.approvcod"
>Documents on Approval Basis</c-checkbox
>审批文件</c-checkbox
>
</c-col>
<!-- <c-col :span="12">
......@@ -150,7 +150,7 @@
style="margin: 0px 0 10px 150px"
disabled
v-model="model.brtp.cre732flg"
>Create MT 732</c-checkbox
>创建MT 732</c-checkbox
>
</c-col>
</el-col>
......
......@@ -11,39 +11,39 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000047 -->
<el-tab-pane label="Docs. Received" name="litdckp">
<el-tab-pane label="单据信息" name="litdckp">
<c-content>
<m-litdckp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane v-if="this.model.brdgrp.rec.dscinsflg" label="Discr./lnstr." name="docpre">
<el-tab-pane v-if="this.model.brdgrp.rec.dscinsflg" label="不符点/说明" name="docpre">
<m-docpre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<el-tab-pane label="表外记账" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="结算" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="提示信息" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="面函/报文" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
......
......@@ -2,11 +2,11 @@
<div class="eibs-tab">
<c-col :span="20">
<c-col :span="10">
<el-form-item label="Additional Amount" prop="lidgrp.cbs.max2.cur">
<el-form-item label="附加金额" prop="lidgrp.cbs.max2.cur">
<c-select
v-model="model.lidgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择Currency"
placeholder="请选择币种"
disabled
>
<el-option
......@@ -29,17 +29,17 @@
<c-input
v-model="model.lidgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="请输入Additional Amount"
placeholder="0"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="Open Add. Amount" prop="lidgrp.cbs.opn2.cur">
<el-form-item label="附加金额余额" prop="lidgrp.cbs.opn2.cur">
<c-select
v-model="model.lidgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择Open Add. Amount"
placeholder=""
disabled
>
</c-select>
......@@ -56,21 +56,21 @@
<c-input
v-model="model.lidgrp.cbs.opn2.amt"
style="text-align: left; width: 100%"
placeholder="请输入Open Add. Amount"
placeholder="0"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="lidgrp.blk.addamtcov">
<el-form-item label="39C场覆盖" prop="lidgrp.blk.addamtcov">
<c-input
type="textarea"
v-model="model.lidgrp.blk.addamtcov"
maxlength="35"
:rows="4"
show-word-limit
placeholder="请输入Covered"
placeholder=""
></c-input>
</el-form-item>
</c-col>
......
......@@ -2,23 +2,23 @@
<div class="eibs-tab">
<c-col :span="20">
<el-form-item label="Description. of Goods" prop="lidgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="52000" :rows="30" show-word-limit placeholder="请输入Description. of Goods" ></c-input>
<el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="52000" :rows="30" show-word-limit placeholder="请输入货物或服务描述" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
<c-button size="small" type="primary"
@click="showGridPromptDialog('litp.lcrgod.buttxmsel', null, null,{TXT: 'lidgrp.blk.lcrgod'}, {TXT: false})">
</c-button>
</c-col>
<c-col :span="18">
<el-form-item label="Goods Code " prop="lidgrp.rec.stagod">
<el-form-item label="货物类型" prop="lidgrp.rec.stagod">
<c-select
v-model="model.lidgrp.rec.stagod"
style="width:100%"
placeholder="请选择Goods Code "
placeholder="请选择货物类型"
:code="codes.godcod"
>
</c-select>
......
......@@ -78,7 +78,7 @@
icon="el-icon-search"
@click="onLibctySelbut1"
>
?
</c-button>
</template>
</c-fullbox>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="18">
<el-form-item label="Special Payment Conditions for Beneficiary" prop="lidgrp.blk.spcben">
<el-form-item label="存在受益人的特殊付款条件" prop="lidgrp.blk.spcben">
<c-input type="textarea" v-model="model.lidgrp.blk.spcben" maxlength="65" :rows="30" show-word-limit placeholder="请输入Special Payment Conditions" ></c-input>
</el-form-item>
</c-col>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="18">
<el-form-item label="Special Payment Conditions for Bank Only" prop="lidgrp.blk.spcrcb">
<el-form-item label="仅适用于指定银行的特殊付款条件" prop="lidgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.lidgrp.blk.spcrcb" maxlength="65" :rows="30" show-word-limit placeholder="请输入Special Payment " ></c-input>
</el-form-item>
</c-col>
......
......@@ -18,7 +18,7 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane label="Overview" name="ovwp">
<el-tab-pane label="概要" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
......@@ -27,28 +27,28 @@
<!--PD000001 -->
<el-tab-pane
v-if="model.litp.aamp.aammod.addamtflg"
label="Additional Amount"
label="附加金额"
name="aamp"
>
<m-aamp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000077 -->
<el-tab-pane label="Details" name="detp">
<el-tab-pane label="详情" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="Parties" name="ptyp">
<el-tab-pane label="当事人" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane label="Goods" name="dogp">
<el-tab-pane label="货物" name="dogp">
<c-content>
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'lid'"
/>
......@@ -56,7 +56,7 @@
</el-tab-pane>
<!--PD000060 -->
<el-tab-pane label="Documents" name="dorp">
<el-tab-pane label="单据" name="dorp">
<c-content>
<m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'lid'"
/>
......@@ -64,7 +64,7 @@
</el-tab-pane>
<!--PD000073 -->
<el-tab-pane label="Additional Conditions" name="adcp">
<el-tab-pane label="附加条款" name="adcp">
<c-content>
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'"
/>
......@@ -72,26 +72,26 @@
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<el-tab-pane label="表外记账" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Cash Cover" name="ccvpan">
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="结算" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Bookings" name="glepan">
<el-tab-pane label="会计分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
......@@ -101,17 +101,17 @@
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="提示信息" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="面函/报文" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
......@@ -132,7 +132,7 @@
<!--PD000346 -->
<el-tab-pane
v-if="model.lidgrp.rec.spcrcbflg"
label="Special Paymt. Cond. Bank only"
label="仅适用于指定银行的特殊付款条件"
name="spcrcvp"
>
<m-spcrcvp :model="model" :codes="codes" />
......@@ -141,7 +141,7 @@
<!--PD000347 -->
<el-tab-pane
v-if="model.lidgrp.rec.spcbenflg"
label="Special Paymt. Cond. Beneficiary"
label="存在受益人的特殊付款条件"
name="spcbenp"
>
<m-spcbenp :model="model" :codes="codes" />
......
......@@ -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 () {},
};
......
......@@ -17,12 +17,12 @@
<c-button
size="small"
type="primary"
icon="el-icon-search"
icon="el-icon-more"
@click="
showGridPromptDialog(rulePath, columns, shadow, modelUrl, isCover,'doxpDialog')
"
>
...
</c-button>
</c-col>
</div>
......
......@@ -19,7 +19,7 @@
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder="请选择Type of settlement"
placeholder=""
>
<el-option
v-for="item in codes.curtxt"
......@@ -52,7 +52,7 @@
</c-col>
-->
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<el-form-item label="应收比例" prop="liaall.liaccv.cshpct">
<c-row>
<c-col :span="20">
<c-input v-model="model.liaall.liaccv.cshpct"></c-input>
......@@ -74,7 +74,7 @@
-->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<el-form-item label="保留金额" prop="liaall.liaccv.newresamt">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
......@@ -84,7 +84,7 @@
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder="请选择Type of settlement"
placeholder=""
>
<el-option
v-for="item in codes.curtxt"
......@@ -112,7 +112,7 @@
</c-col>
-->
<c-col :span="12">
<el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct">
<el-form-item label="实收比例" prop="liaall.liaccv.relcshpct">
<c-row>
<c-col :span="20">
<c-input
......@@ -145,7 +145,7 @@
-->
<c-col :span="12">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<el-form-item label="应付金额" prop="liaall.liaccv.concur">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
......@@ -155,7 +155,7 @@
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder="请选择Type of settlement"
placeholder=""
>
<el-option
v-for="item in codes.curtxt"
......@@ -195,7 +195,7 @@
<!-- <c-row> -->
<!-- <c-col :span="24" style="margin-left:35px;text-align:right"> -->
<c-button size="small" type="primary" @click="onLiaccvAdd">
Add
添加
</c-button>
<!-- </c-col> -->
......@@ -239,7 +239,7 @@
:list="model.liaall.liaccv.liaccvg"
style="width:80%,text-align:center"
>
<el-table-column prop="ccdflg" label="CF000048" width="78px">
<el-table-column prop="ccdflg" label="调整标识" width="78px">
</el-table-column>
<el-table-column prop="ownref" label="保证金编号" width="130px">
</el-table-column>
......@@ -257,12 +257,12 @@
</el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="150px">
</el-table-column>
<el-table-column prop="acccovamt" label="Acc Amount" width="150px">
<el-table-column prop="acccovamt" label="实际折算金额" width="150px">
</el-table-column>
<el-table-column label="操作" width="75px" fixed="right">
<template slot-scope="scope">
<c-button style="margin-left:0" type="primary" size="small" @click="onLiaccvDel(scope.$index,scope.row)">
Del</c-button>
删除</c-button>
</template>
</el-table-column>
</c-table>
......@@ -299,14 +299,14 @@
<c-col :span="12" style="margin-top:15px">
<c-col :span="24">
<el-form-item label="金额总和">
<el-form-item label="折算金额总和">
<c-row>
<c-col :span="8">
<c-select
v-model="model.liaall.liaccv.concur"
disabled
style="width: 95%"
placeholder="请选择Type of settlement"
placeholder=""
>
<el-option
v-for="item in codes.curtxt"
......@@ -328,7 +328,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Additional Information "
<el-form-item label="附加信息 "
v-if="model.liaall.liaccv.addinf!=''">
<c-input
type="textarea"
......@@ -336,7 +336,7 @@
v-model="model.liaall.liaccv.addinf"
maxlength="200"
show-word-limit
placeholder="请输入Additional Information "
placeholder="请输入附加信息"
></c-input>
</el-form-item>
</c-col>
......
......@@ -4,31 +4,32 @@
<c-col :span="15">
<el-form-item
style="height: 200px"
label="General"
label="一般提示"
label-width="70px"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<i-stream-input
type="textarea"
rows="6"
<c-input-xml
:maxRows="6"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入Infotext"
placeholder="请输入提示内容"
@change="selectOrCheckboxRule('mtabut.coninf.oitinf.oit.inftxt')"
:model="model.mtabut.coninf.oitinf.oit.inftxt"
></i-stream-input>
></c-input-xml>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="Display Type"
label="提示类型"
label-width="70px"
prop="mtabut.coninf.oitinf.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev"
:disabled="GeneralIsEmpty"
placeholder="请选择Infotext Level"
style="width: 100%"
placeholder="请选择"
style="width: 100%,margin-left:70px"
:code="inflev"
>
</c-select>
......@@ -38,31 +39,34 @@
<c-col :span="24">
<c-col :span="15">
<el-form-item
label="Settlement"
label="付款提示"
style="height: 200px"
label-width="70px"
prop="mtabut.coninf.oitset.oit.inftxt"
>
<i-stream-input
<c-input-xml
type="textarea"
rows="6"
:maxRows="6"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入Infotext"
placeholder="请输入提示内容"
@change="selectOrCheckboxRule('mtabut.coninf.oitset.oit.inftxt')"
:model="model.mtabut.coninf.oitset.oit.inftxt"
></i-stream-input>
></c-input-xml>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="Display Type"
label="提示类型"
label-width="70px"
prop="mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
:disabled="SettlementIsEmpty"
placeholder="请选择Infotext Level"
style="width: 100%"
placeholder="请选择"
style="width: 100%,margin-left:70px"
:code="inflev"
>
</c-select>
......@@ -71,25 +75,30 @@
</c-col>
<c-col :span="24">
<c-col :span="15">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<el-form-item label="执行日期" label-width="70px" prop="mtabut.coninf.conexedat">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 100%"
style="width: 60%,margin-left:70px"
placeholder="请选择执行日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="Send for Release to"
label="指定复核人"
label-width="80px"
style="display:inline-block"
prop="mtabut.coninf.usr.extkey"
>
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
disabled="disabled"
placeholder="请输入User ID"
placeholder="请输入用户编码"
></c-input>
</el-form-item>
</c-col>
......@@ -109,9 +118,9 @@ export default {
data() {
return {
inflev: [
{ label: "Show", value: "$" },
{ label: "Do not show", value: "!" },
{ label: "Warn", value: "0" },
{ label: "显示", value: "$" },
{ label: "不显示", value: "!" },
{ label: "提醒", value: "0" },
], //码表
test:"",
};
......
......@@ -4,6 +4,10 @@
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="Medium">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.cortyp'"
>
<c-select
v-model="
scope.row.cortyp
......@@ -20,6 +24,7 @@
>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="报文格式">
......@@ -63,6 +68,10 @@
</el-table-column>
<el-table-column label="传送方式">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.apf'"
>
<c-select
v-model="
scope.row.apf
......@@ -79,9 +88,10 @@
>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="Or." width="65%">
<el-table-column label="发送份数" width="65%">
<template slot-scope="scope">
<c-input
v-model="
......@@ -94,7 +104,7 @@
</c-input>
</template>
</el-table-column>
<el-table-column label="CC" width="65%">
<el-table-column label="抄送份数" width="65%">
<template slot-scope="scope">
<c-input
v-model="
......@@ -109,6 +119,10 @@
</el-table-column>
<el-table-column label="">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.staflg'"
>
<c-select
v-model="
scope.row.staflg
......@@ -124,6 +138,7 @@
>
</el-option>
</c-select>
</el-form-item>
</template>
</el-table-column>
<el-table-column label="操作" width="115px" fixed="right">
......@@ -439,7 +454,7 @@
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="mini">... </c-button>
<c-button size="mini" icon="el-icon-more"> </c-button>
</c-col>
</c-row>
</el-form>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="24" style="height: 24px">
<el-form-item label="Outgoing Messages" class="messageLabel"></el-form-item>
<el-form-item label="发出面函/报文" class="messageLabel"></el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
......@@ -12,18 +12,18 @@
:border="true"
:list="data1"
>
<el-table-column label="Type" width="auto">
<el-table-column label="类型" width="auto">
<template slot-scope="scope">
<span>{{ getType(scope.row.index) }}</span>
</template>
</el-table-column>
<el-table-column label="Document" width="auto">
<el-table-column label="名称" width="auto">
<template slot-scope="scope">
<span>{{ model.trnmod.trndoc.doceot[scope.row.index].pandsc }}</span>
</template>
</el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="Date" width="auto">
<el-table-column label="创建交易" width="auto"></el-table-column>
<el-table-column label="创建日期" width="auto">
<template>
<span>{{ getNow() }}</span>
</template>
......@@ -32,7 +32,7 @@
</c-col>
<c-col :span="24" style="height: 24px;margin-top: 20px;">
<el-form-item label="Previous Messages" class="messageLabel"></el-form-item>
<el-form-item label="前置面函/报文" class="messageLabel"></el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
......@@ -42,10 +42,10 @@
:border="true"
:list="data2"
>
<el-table-column label="Type" width="auto"></el-table-column>
<el-table-column label="Document" width="auto"></el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="Date" width="auto"></el-table-column>
<el-table-column label="类型" width="auto"></el-table-column>
<el-table-column label="名称" width="auto"></el-table-column>
<el-table-column label="创建日期" width="auto"></el-table-column>
<el-table-column label="创建日期" width="auto"></el-table-column>
</c-istream-table-docpan>
</c-col>
......
......@@ -3,11 +3,11 @@
<c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea>
<br />
<c-col v-if="dtyp === 'dogp'" :span="12">
<el-form-item label="Goods code" :prop="`${rec}grp.rec.stagod`">
<el-form-item label="货物类型" :prop="`${rec}grp.rec.stagod`">
<c-select
v-model="model[`${rec}grp`].rec.stagod"
style="width: 100%"
placeholder="请选择Goods code"
placeholder="请选择货物类型"
:code="codes.godcod"
>
</c-select>
......@@ -16,19 +16,19 @@
<template v-else-if="dtyp === 'adcp'">
<c-col :span="20" class="letopn_adcp_cheak">
<c-checkbox v-model="model[`${rec}grp`].rec.spcbenflg" :disabled="model[`${rec}grp`].blk.spcben!=''"
>Special Payment Conditions for Beneficiary</c-checkbox
>受益人的特殊付款条件</c-checkbox
>
</c-col>
<c-col :span="20" class="letopn_adcp_cheak">
<c-checkbox v-model="model[`${rec}grp`].rec.spcrcbflg" :disabled="model[`${rec}grp`].blk.spcrcb!=''">
Special Payment Conditions for Bank only</c-checkbox
仅适用于银行的特殊付款条件</c-checkbox
>
</c-col>
<c-col :span="20" class="letopn_adcp_cheak">
<c-checkbox v-model="model[`${rec}grp`].rec.redclsflg"
>Red/Green Clause</c-checkbox
>红/绿条款选项</c-checkbox
>
</c-col>
<c-blkTextarea :model="model" v-bind="blk1"> </c-blkTextarea>
......@@ -51,7 +51,7 @@ export default {
blk: this.getBlk(this.dtyp, this.rec),
blk1: {
blkMsg: {
title: "Instructions to Pay.,Accept.,Negot.bank",
title: "给付款、承兑、议付行的指示",
dataUrl: `${this.rec}grp.blk.insbnk`, //字段所在model路劲
rows: 6,
maxlength: 2000,
......@@ -67,7 +67,7 @@ export default {
switch (dtyp) {
case "dogp":
blk.blkMsg = {
title: "Description of Goods",
title: "货物/服务描述",
dataUrl: `${rec}grp.blk.lcrgod`, //字段所在model路劲
rows: 20,
};
......@@ -75,7 +75,7 @@ export default {
break;
case "dorp":
blk.blkMsg = {
title: "Documents Required",
title: "单据要求",
dataUrl: `${rec}grp.blk.lcrdoc`, //字段所在model路劲
rows: 20,
};
......@@ -83,7 +83,7 @@ export default {
break;
case "adcp":
blk.blkMsg = {
title: "Additional Conditions",
title: "附加条款",
dataUrl: `${rec}grp.blk.adlcnd`, //字段所在model路劲
rows: 14,
};
......
......@@ -9,11 +9,11 @@
style="width:80%,text-align:center,margin-bottom:18px"
:border="true"
>
<el-table-column prop="bussec" label="BS" width="40px">
<el-table-column prop="bussec" label="业务" width="50px">
</el-table-column>
<el-table-column prop="cbtpfx" label="Type" width="60px">
<el-table-column prop="cbtpfx" label="类型" width="60px">
</el-table-column>
<el-table-column prop="matdat" label="Maturity" width="150px">
<el-table-column prop="matdat" label="到期日" width="150px">
<template slot-scope="scope">
<el-form-item
label-width="0"
......@@ -26,12 +26,13 @@
placeholder="请选择Date"
style="width: 100%"
@change="executeDefault('liaall.liaallg.matdat')"
:disabled="root.trnName== 'letopn'"
>
</c-date-picker>
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px">
<el-table-column prop="tenday" label="效期" width="70px">
<template slot-scope="scope">
<el-form-item
label-width="0"
......@@ -46,28 +47,28 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="rol" label="Dbt." width="70px">
<el-table-column prop="rol" label="债务人" width="70px">
</el-table-column>
<!--
<el-table-column prop="nam" label="Name" width="300"> </el-table-column>
-->
<el-table-column prop="cdtrol" label="Cdt." width="70px">
<el-table-column prop="cdtrol" label="债权人" width="70px">
</el-table-column>
<el-table-column prop="cur" label="Cur" width="55px"> </el-table-column>
<el-table-column prop="oldamt" label="Old Amount" width="100px">
<el-table-column prop="cur" label="币种" width="55px"> </el-table-column>
<el-table-column prop="oldamt" label="原始金额" width="150px">
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.oldamt)}}
</template> -->
</el-table-column>
<el-table-column prop="amt" label="Booking Amo" width="100px">
<el-table-column prop="amt" label="记账金额" width="100px">
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.amt)}}
</template> -->
</el-table-column>
<el-table-column prop="tenpct" label="%" width="60px">
<el-table-column prop="tenpct" label="%" width="80px">
</el-table-column>
<el-table-column prop="acc" label="Account" width="290px">
<!-- check,需用el-form-item标签包起来 -->
<el-table-column prop="acc" label="核心账号" width="150px">
<!-- check,需用el-form-item标签包起来 -->
<template slot-scope="scope">
<el-form-item
label-width="0"
......@@ -82,7 +83,7 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="valdat" label="Value Date" width="200px">
<el-table-column prop="valdat" label="起息日" width="200px">
<template slot-scope="scope">
{{ dateFormat(scope.row.valdat) }}
</template>
......@@ -107,18 +108,21 @@
</el-button>
</template>
<template slot-scope="scoped">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="detail1(scoped.$index, scoped.row)"
>详情</c-button
>
</template>
<c-button
style="margin-left:0"
size="small"
type="primary"
icon="el-icon-info"
@click="detail1(scoped.$index, scoped.row)"></c-button>
</template>
</el-table-column>
</c-table>
</c-col>
<div style="height=500px">
<engp-dialog ref="engpDialog" :model="model" :idx="index" :codes="codes" />
</div>
<!-- <c-col :span="12">
<el-form-item label="Sight Amount">
<c-input style="width:50%" v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
......@@ -138,19 +142,19 @@
</c-col> -->
<c-col :span="16" style="margin-top: 10px">
<el-form-item label="Amount not yet assigned">
<el-form-item label="未分配金额">
<c-input
style="width: 15%"
disabled
v-model="model.liaall.concur"
maxlength="3"
placeholder="请输入External Booking Amount"
placeholder=""
></c-input>
<c-input
style="width: 40%"
disabled
v-model="model.liaall.misamt"
placeholder="请输入Amount not yet assigned"
placeholder="请输入金额"
></c-input>
<c-button
style="width: 20%"
......@@ -159,7 +163,7 @@
type="primary"
@click="onLiaallButmisamt"
>
Add to Current Line
添加到当前行
</c-button>
</el-form-item>
</c-col>
......@@ -197,13 +201,23 @@
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import EngpDialog from "./EngpDialog.vue";
export default {
inject: ["root"],
components: { EngpDialog },
mixins: [commonProcess],
props: ["model", "codes"],
data() {
return {};
return {
dialogVisible: false,
dialog:{
},
index:0,
};
},
methods: {
async onLiaallButmisamt() {
......@@ -214,6 +228,17 @@ export default {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
detail1(index, row) {
const that = this;
const rule = "liaall.liaallg(" + (index + 1) + ").det";
that.executeRule(rule).then(res => {
that.$refs.engpDialog.visiable = true;
that.$refs.engpDialog.formData = Object.assign({}, that.model.liaall.liaallg[index]);
that.index = index;
that.dialog = row
})
},
},
created: function () {},
};
......
<template>
<el-dialog v-if="visiable" :visible.sync="visiable" center destroy-on-close :before-close="beforeClose" width="70%">
<el-form v-model="formData" label-width="150px">
<c-row>
<c-col>
<c-col :span="12">
<el-form-item label="记账角色">
<c-input v-model="formData.rol" disabled />
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="起息日">
<!-- <c-input v-model="formData.dat1" type="date" /> -->
<c-date-picker type="date" v-model="formData.valdat" format="yyyy-MM-dd" style="width: 100%" placeholder="请选择起算时间"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到期日">
<!-- <c-input v-model="formData.dat1" type="date" /> -->
<c-date-picker type="date" v-model="formData.matdat" format="yyyy-MM-dd" style="width: 100%" placeholder="请选择起算时间"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="原始金额">
<c-col :span="13">
<c-input v-model="formData.cur" disabled />
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.oldamt" disabled />
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="记账金额">
<c-col :span="13">
<c-input v-model="formData.cur" disabled />
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.amt" disabled />
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="记账账号">
<c-col >
<c-input v-model="formData.acc" />
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="抵扣账号">
<c-col >
<c-input v-model="formData.acc2" />
</c-col>
</el-form-item>
</c-col>
<c-col :span="4" :offset="9">
<c-button type="primary" @click="saveDialog">
确 定
</c-button>
</c-col>
<c-col :span="6">
<c-button @click="visiable = false">取 消</c-button>
</c-col>
<c-col>&nbsp;</c-col>
</c-col>
</c-row>
</el-form>
</el-dialog>
</template>
<script>
export default {
props: {
model: Object,
idx: Number,
codes: Object,
},
data() {
return {
formData: {},
visiable: false,
};
},
methods: {
saveDialog() {
this.model.liaall.liaallg.splice(this.idx, 1, this.formData);
this.visiable = false;
},
beforeClose(done) {
this.visiable = false;
done();
},
},
};
</script>
<style></style>
......@@ -17,15 +17,15 @@ export default {
data(){
return {
columns: [
"2 1 \"D/C\" 60 1 0",
"6 2 \"Account Number\" 140",
"3 3 \"Cur\" 80",
"4 4 \"Amount\" 180 2 8:1 2 5",
"5 5 \"Value Date\" 140",
"7 6 \"Rate Type\" 160",
"8 7 \"Rate\" 120 2 0 1 0",
"9 8 \"Term\" 80",
"0 9 \"PN\" 80 1 0"
"2 1 \"借/贷\" 60 1 0",
"6 2 \"账号\" 140",
"3 3 \"币种\" 80",
"4 4 \"金额\" 180 2 8:1 2 5",
"5 5 \"起息日\" 140",
"7 6 \"牌价类型\" 160",
"8 7 \"牌价\" 120 2 0 1 0",
"9 8 \"会计科目\" 80",
"0 9 \"分录序号\" 80 1 0"
],
data: [
]
......
......@@ -115,7 +115,7 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Period calculation starting at">
<el-form-item label="计算周期起始">
<c-input v-model="formData.datrefbeg" disabled />
</el-form-item>
</c-col>
......@@ -252,13 +252,27 @@
<c-input v-model="formData.fecp1.custyp" disabled />
</el-form-item>
</c-col>
<c-col >
<el-form-item label="收费的说明信息">
<c-input
v-model="formData.inftxt"
disabled
rows="10"
type="textarea"
/>
</el-form-item>
</c-col>
</c-col>
<c-col v-if="idx == 0" :span="12">
<el-form-item label="Caiculation Base">
<el-form-item label="计费基础金额">
<c-input v-model="formData.wrkfec.calcbs" disabled />
</el-form-item>
<br />
<el-form-item label="Calc.Period">
<el-form-item label="计费周期">
<c-select v-model="formData.wrkfec.pertyp">
<el-option
v-for="item in codes.pertyp"
......@@ -269,13 +283,13 @@
</c-select>
</el-form-item>
<br />
<el-form-item label="Min.Periods">
<el-form-item label="最小周期">
<c-input v-model="formData.wrkfec.permin" />
</el-form-item>
<br />
<el-form-item label="Rates to Apply per Period Tier" />
<el-form-item label="周期阶梯费率" />
<br />
<el-form-item label="from Perimod">
<el-form-item label="周期">
<c-col :span="12">
<c-input v-model="formData.wrkfec.perbegtr2" />
</c-col>
......@@ -283,7 +297,7 @@
<c-input v-model="formData.wrkfec.perrattr2" />
</c-col>
</el-form-item>
<el-form-item label="from Perimod">
<el-form-item label="周期">
<c-col :span="12">
<c-input v-model="formData.wrkfec.perbegtr3" />
</c-col>
......@@ -294,7 +308,7 @@
/>
</c-col>
</el-form-item>
<el-form-item label="from Perimod">
<el-form-item label="周期">
<c-col :span="12">
<c-input
disabled
......@@ -308,7 +322,7 @@
/>
</c-col>
</el-form-item>
<el-form-item label="from Perimod">
<el-form-item label="周期">
<c-col :span="12">
<c-input
disabled
......@@ -324,19 +338,9 @@
</el-form-item>
</c-col>
<c-col>&nbsp;</c-col>
<c-col :span="18" :offset="6">
<el-form-item label="收费的说明信息">
<c-input
v-model="formData.inftxt"
disabled
rows="10"
type="textarea"
style="width: 500px"
/>
</el-form-item>
</c-col>
<c-col :span="4" :offset="8">
<c-col :span="4" :offset="9">
<c-button type="primary" @click="saveDialog">
确 定
</c-button>
......@@ -375,5 +379,8 @@ export default {
},
};
</script>
<style></style>
<style>
.el-col>.el-col {
padding-right: 10px!important;
}
</style>
<template>
<ReviewWrapper>
<Gctcan></Gctcan>
</ReviewWrapper>
</template>
<script>
import Gctcan from "~/views/Business/Gctcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGctcan",
components: { ReviewWrapper, Gctcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Getcan></Getcan>
</ReviewWrapper>
</template>
<script>
import Getcan from "~/views/Business/Getcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGetcan",
components: { ReviewWrapper, Getcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Getcrq></Getcrq>
</ReviewWrapper>
</template>
<script>
import Getcrq from "~/views/Business/Getcrq";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGetcrq",
components: { ReviewWrapper, Getcrq },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitcan></Gitcan>
</ReviewWrapper>
</template>
<script>
import Gitcan from "~/views/Business/Gitcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitcan",
components: { ReviewWrapper, Gitcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitcrj></Gitcrj>
</ReviewWrapper>
</template>
<script>
import Gitcrj from "~/views/Business/Gitcrj";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitcrj",
components: { ReviewWrapper, Gitcrj },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitcrq></Gitcrq>
</ReviewWrapper>
</template>
<script>
import Gitcrq from "~/views/Business/Gitcrq";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitcrq",
components: { ReviewWrapper, Gitcrq },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitset></Gitset>
</ReviewWrapper>
</template>
<script>
import Gitset from "~/views/Business/Gitset";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitset",
components: { ReviewWrapper, Gitset },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<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>
<template>
<ReviewWrapper>
<Trtame></Trtame>
</ReviewWrapper>
</template>
<script>
import Trtame from "~/views/Business/Trtame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewTrtame",
components: { ReviewWrapper, Trtame },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Trtcan></Trtcan>
</ReviewWrapper>
</template>
<script>
import Trtcan from "~/views/Business/Trtcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewTrtcan",
components: { ReviewWrapper, Trtcan },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Trtopn></Trtopn>
</ReviewWrapper>
</template>
<script>
import Trtopn from "~/views/Business/Trtopn";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewTrtopn",
components: { ReviewWrapper, Trtopn },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Trtrcl></Trtrcl>
</ReviewWrapper>
</template>
<script>
import Trtrcl from "~/views/Business/Trtrcl";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewTrtrcl",
components: { ReviewWrapper, Trtrcl },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Trtsel></Trtsel>
</ReviewWrapper>
</template>
<script>
import Trtsel from "~/views/Business/Trtsel";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewTrtsel",
components: { ReviewWrapper, Trtsel },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Trtset></Trtset>
</ReviewWrapper>
</template>
<script>
import Trtset from "~/views/Business/Trtset";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewTrtset",
components: { ReviewWrapper, Trtset },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -90,12 +90,24 @@ import ReviewBetamc from "./Business/ReviewBetamc.vue";
import ReviewCptcan from "./Business/ReviewCptcan.vue";
import ReviewCptrep from "./Business/ReviewCptrep.vue";
import ReviewCltdav from "./Business/ReviewCltdav.vue";
<<<<<<< HEAD
import ReviewTrtopn from "./Business/ReviewTrtopn.vue";
import ReviewTrtame from "./Business/ReviewTrtame.vue";
import ReviewTrtset from "./Business/ReviewTrtset.vue";
import ReviewTrtrcl from "./Business/ReviewTrtrcl.vue";
import ReviewTrtsel from "./Business/ReviewTrtsel.vue";
import ReviewTrtcan from "./Business/ReviewTrtcan.vue";
=======
import ReviewLttdck from "./Business/ReviewLttdck.vue";
import ReviewGetcrq from "./Business/ReviewGetcrq.vue";
import ReviewGetcan from "./Business/ReviewGetcan.vue";
import ReviewGitcrq from "./Business/ReviewGitcrq.vue";
import ReviewGitcan from "./Business/ReviewGitcan.vue";
import ReviewGitcrj from "./Business/ReviewGitcrj.vue";
import ReviewGitset from "./Business/ReviewGitset.vue";
import ReviewGctcan from "./Business/ReviewGctcan.vue";
>>>>>>> 779482b90afbf8e154dfb3ff7760e0337f03902d
......@@ -200,12 +212,13 @@ 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" } },
{ path: "Cptrep", component: ReviewCptrep, name: "ReviewCptrep", meta: { title: "复核-Cptrep" } },
<<<<<<< HEAD
{ path: "Trtopn", component: ReviewTrtopn, name: "ReviewTrtopn", meta: { title: "复核-Trtopn" } },
{ path: "Trtame", component: ReviewTrtame, name: "ReviewTrtame", meta: { title: "复核-Trtame" } },
{ path: "Trtsel", component: ReviewTrtsel, name: "ReviewTrtsel", meta: { title: "复核-Trtsel" } },
......@@ -213,6 +226,16 @@ const ReviewRouter = [
{ path: "Trtrcl", component: ReviewTrtrcl, name: "ReviewTrtrcl", meta: { title: "复核-Trtrcl" } },
{ path: "Trtcan", component: ReviewTrtcan, name: "ReviewTrtcan", meta: { title: "复核-Trtcan" } },
=======
{ path: "getcrq", component: ReviewBctacc, name: "ReviewGetcrq", meta: { title: "复核-Getcrq" } },
{ path: "getcan", component: ReviewBctame, name: "ReviewGetcan", meta: { title: "复核-Getcan" } },
{ path: "gitcrq", component: ReviewBctcan, name: "ReviewGitcrq", meta: { title: "复核-Gitcrq" } },
{ path: "gitcan", component: ReviewBctdav, name: "ReviewGitcan", meta: { title: "复核-Gitcan" } },
{ path: "gitset", component: ReviewBctdor, name: "ReviewGitset", meta: { title: "复核-Gitset" } },
{ path: "gitcrj", component: ReviewBctrad, name: "ReviewGitcrj", meta: { title: "复核-Gitcrj" } },
{ path: "gctcan", component: ReviewBctsel, name: "ReviewGctcan", meta: { title: "复核-Gctcan" } },
>>>>>>> 779482b90afbf8e154dfb3ff7760e0337f03902d
];
export default ReviewRouter;
\ No newline at end of file
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