Commit b33264ff by jianglong

修改BRTSND交易

parent fd3a4d24
......@@ -423,7 +423,7 @@ const CodeTable = {
advtyp0: [
{ label: "不符点通知(MT750)", value: "750" },
{ label: "付款通知(MT754)", value: "754" },
{ label: "其它", value: "oth" },
{ label: "其它通知", value: "oth" },
],
alletyflg: [
{ label: "否", value: "" },
......@@ -4302,7 +4302,7 @@ const CodeTable = {
advtyp: [
{ label: "不符点通知(MT750)", value: "750" },
{ label: "付款通知(MT754)", value: "754" },
{ label: "Other", value: "OTH" },
{ label: "其他通知", value: "oth" },
],
advtyp1: [
{ label: "NPAY", value: "NPAY" },
......
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="21">
<el-form-item label="不符点" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="3500" show-word-limit placeholder="请输入不符点" :disabled=this.typ1 rows="3"></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
:disabled=this.typ1
>...</c-button>
</c-col>
</c-col>
<c-col :span="21">
<el-form-item label="注释和结论" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="1950" show-word-limit placeholder="请输入注释和结论" rows="3"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="21">
<el-form-item label="结算指示" prop="brdgrp.blk.setinsbr">
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="390" show-word-limit placeholder="请输入结算指示"rows="3"></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('brtp.setinstxm.buttxmsel', null, null,{TXT: 'brdgrp.blk.setinsbr'}, {TXT: false},'doxpDialog')"
>...</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-docpre :model="model"
:argadr="{
<div class="eibs">
<c-row>
<c-col :span="24">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="不符点" prop="brdgrp.blk.docdis" style="width: 100%">
<c-fullbox>
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="3500" show-word-limit placeholder="请输入不符点" :disabled=this.typ1 rows="3"></c-input>
<template slot="footer">
<c-button size="small" type="primary" @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="注释和结论" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="1950" show-word-limit placeholder="请输入注释和结论" rows="3"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算指示" prop="brdgrp.blk.setinsbr" style="width: 100%">
<c-fullbox>
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="390" show-word-limit placeholder="请输入结算指示" rows="3"></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="showGridPromptDialog('brtp.setinstxm.buttxmsel', null, null,{TXT: 'brdgrp.blk.setinsbr'}, {TXT: false},'doxpDialog')">...</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-docpre :model="model" :argadr="{
path:'brdgrp.blk.prsdoc',
grp:'brtp',
code:'docpre'
}"
></c-docpre>
</c-col>
}"></c-docpre>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label=" " prop="brdgrp.rec.igndisfl" label-width="120px" style="float:left;">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">忽略不符点</c-checkbox>
</el-form-item>
<el-form-item label=" " prop="brdgrp.blk.docdisflg" label-width="120px" style="float:left;">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">录入不符点</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收到的通知类型" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择收到通知类型" :code="codes.advtyp">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点通知日期" prop="brdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择不符点通知日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label=" " prop="brdgrp.rec.approvcod" label-width="120px" style="float:left;">
<c-checkbox v-model="model.brdgrp.rec.approvcod">批准的单据</c-checkbox>
</el-form-item>
<el-form-item label=" " prop="brtp.cre732flg" label-width="120px" style="float:left;">
<c-checkbox v-model="model.brtp.cre732flg" disabled>创建 MT732</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" v-show="false">
<c-checkbox v-model="model.brtp.cre752flg">创建 MT752</c-checkbox>
</c-col>
<c-col :span="24">
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24" >
<el-form-item label=" " prop="brdgrp.rec.igndisfl" label-width="120px" style="float:left;">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">忽略不符点</c-checkbox>
</el-form-item>
<el-form-item label=" " prop="brdgrp.blk.docdisflg" label-width="120px" style="float:left;">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">录入不符点</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收到的通知类型" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择收到通知类型" :code="codes.advtyp">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点通知日期" prop="brdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择不符点通知日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label=" " prop="brdgrp.rec.approvcod" label-width="120px" style="float:left;">
<c-checkbox v-model="model.brdgrp.rec.approvcod">批准的单据</c-checkbox>
</el-form-item>
<el-form-item label=" " prop="brtp.cre732flg" label-width="120px" style="float:left;">
<c-checkbox v-model="model.brtp.cre732flg" disabled>创建 MT732</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" v-show="false">
<c-checkbox v-model="model.brtp.cre752flg" >创建 MT752</c-checkbox>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="12" v-show="false">
<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" v-show="false">
<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>
</c-row>
</div>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
......@@ -120,41 +111,44 @@ import Docpre from "~/views/Public/Docpre"
export default {
inject: ['root'],
props:["model","codes"],
props: ["model", "codes"],
mixins: [commonProcess],
components:{
"c-docpre":Docpre,
components: {
"c-docpre": Docpre,
},
data(){
data() {
return {
typ1: true,
typ1: true,
}
},
watch: {
"model.brdgrp.blk.docdisflg": {
immediate: true,
handler(val, oldval) {
if (this.model.brdgrp.blk.docdisflg != "X") {
this.typ1 = true;
this.changeFormItemRequired("brdgrp.blk.docdis", false);
} else {
this.typ1 = false;
this.changeFormItemRequired("brdgrp.blk.docdis", true);
}
this.executeDefault("brdgrp.blk.docdis").then((res) => {
if ((res.respCode == SUCCESS)) {
this.updateModel(res.data);
}
});
},
immediate: true,
handler(val, oldval) {
if (this.model.brdgrp.blk.docdisflg != "X") {
this.typ1 = true;
this.changeFormItemRequired("brdgrp.blk.docdis", false);
} else {
this.typ1 = false;
this.changeFormItemRequired("brdgrp.blk.docdis", true);
}
this.executeDefault("brdgrp.blk.docdis").then((res) => {
if ((res.respCode == SUCCESS)) {
this.updateModel(res.data);
}
});
},
},
},
methods:{...Event},
created:function(){
},
methods: {
...Event
},
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<div class="eibs">
<!-- ====================================不符点通知 左边 ================================= -->
<c-col :span="12">
<!-- 单据金额 -->
......@@ -69,7 +69,7 @@
v-model="model.brdgrp.blk.chaadd"
maxlength="210"
show-word-limit
placeholder="请输入Charges"
placeholder="请输入费用"
disabled
:rows="4"
></c-input>
......@@ -78,7 +78,7 @@
<!-- 索赔总额 -->
<c-col :span="12">
<el-form-item label="Amount to be Paid" prop="brdgrp.rec.totcur">
<el-form-item label="索赔金额" prop="brdgrp.rec.totcur">
<c-input
v-model="model.brdgrp.rec.totcur"
maxlength="3"
......@@ -94,7 +94,7 @@
<el-form-item label="" label-width="10px" prop="brdgrp.rec.totamt">
<c-input
v-model="model.brdgrp.rec.totamt"
placeholder="请输入Total Amount to be Paid"
placeholder="请输入索赔总额"
disabled
></c-input>
</el-form-item>
......@@ -104,7 +104,7 @@
<c-ptap1
:model="model"
:argadr="{
title: 'Account with Bank',
title: '账户银行',
grp: 'brdgrp',
rol: 'acb',
}"
......@@ -132,10 +132,12 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="18" :offset="6">
<c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled
<c-col :span="24" >
<el-form-item label=" " label-width="120px" prop="brdgrp.blk.docdisflg">
<c-checkbox class="checkbox-left" v-model="model.brdgrp.blk.docdisflg" disabled
>不符点修改</c-checkbox
>
</el-form-item >
<!-- <c-checkbox v-model="model.brdgrp.blk.docdisflg">不符点修改</c-checkbox> -->
</c-col>
</c-col>
......
<template>
<div class="eibs-tab">
<div class="eibs">
<!-- ==================================== 左边 ================================= -->
<c-col :span="12" style="padding-right: 20px;">
<!--加Mt750p页面的 单据金额 -->
......@@ -42,7 +42,7 @@
<c-col :span="24">
<el-form-item label="已添加费用" prop="brdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="210" show-word-limit
placeholder="请输入Charges" disabled :rows="4"></c-input>
placeholder="请输入费用" disabled :rows="4"></c-input>
</el-form-item>
</c-col>
......@@ -57,7 +57,7 @@
<!-- 加Mt750p页面的Total Amount to be Paid -->
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.rec.totamt">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入Total Amount to be Paid" disabled></c-input>
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入待支付金额总和" disabled></c-input>
</el-form-item>
</c-col>
......@@ -74,7 +74,7 @@
<!-- 加Mt750p页面的Amount with Bank -->
<c-col :span="24">
<c-ptap1 :model="model" :argadr="{
title: 'Amount with Bank',
title: '账户银行',
grp: 'brdgrp',
rol: 'acb',
}" :disabled="true" disabled1
......@@ -84,7 +84,7 @@
</c-col>
<!-- 加Docpre.vue页面中的date to paied -->
<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 value-format="yyyy-MM-dd">
</c-date-picker>
......@@ -95,9 +95,9 @@
<!-- ==================================== 右边 ================================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="Narrative (77A)" prop="brdgrp.blk.nartxt77a">
<el-form-item label="叙述内容(77A)" prop="brdgrp.blk.nartxt77a">
<c-input type="textarea" v-model="model.brdgrp.blk.nartxt77a" maxlength="700" show-word-limit
placeholder="请输入Narrative TAG 77A of MT754" disabled :rows="16"></c-input>
placeholder="请输入77A内容" disabled :rows="16"></c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<div class="eibs">
<!-- 此页面内容为加入Mt750p和Mt754p页面的内容 -->
<!-- ====================================左边 ================================= -->
......@@ -35,7 +35,7 @@
<c-col :span="24">
<el-form-item label="已添加费用" prop="brdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="35" show-word-limit
placeholder="请输入Charges" disabled rows="4"></c-input>
placeholder="请输入费用" disabled rows="4"></c-input>
</el-form-item>
</c-col>
......@@ -51,13 +51,13 @@
<!-- Total Amount to be Paid -->
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.rec.totamt">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入Total Amount to be Paid" disabled></c-input>
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入待支付金额总和" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1 :model="model" :argadr="{
title: 'Amount with Bank',
title: '账户银行',
grp: 'brdgrp',
rol: 'acb',
}" :disabled="true" :isAdrblk="false" disabled1>
......@@ -80,7 +80,7 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtudp/Event"
import Event from "~/model/Brtsnd/Event"
import Ptap1 from "~/views/Public/Ptap1";
export default {
......
......@@ -9,22 +9,24 @@
<m-docpre :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="运输详情" name="shpdet">
<m-shpdet :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="不符点通知" name="mt750p" v-if="model.brdgrp.rec.advtyp == '750'">
<m-mt750p :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="付款通知" name="mt754p" v-if="model.brdgrp.rec.advtyp == '754'">
<el-collapse-item title="付款通知" name="mt754p" v-if="model.brdgrp.rec.advtyp == '754'">
<m-mt754p :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="通知详情" name="othadvtypp" v-if="model.brdgrp.rec.advtyp == 'oth'">
<el-collapse-item title="其他通知" name="othadvtypp" v-if="model.brdgrp.rec.advtyp == 'oth'">
<m-othadvtypp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="运输详情" name="shpdet">
<m-shpdet :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
......
......@@ -20,8 +20,9 @@
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-search"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
<span style="font-family:'宋体';font-weight:bold"></span>
</c-button>
</template>
</c-fullbox>
......@@ -61,8 +62,10 @@
style="margin:0 0 0 10px;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf">
<span style="font-family:'宋体';font-weight:bold">i</span>
@click="onSeainf"
icon="el-icon-search"
>
<span style="font-family:'宋体';font-weight:bold"></span>
</c-button>
</template>
</c-fullbox>
......@@ -231,23 +234,28 @@
<c-col :span="24">
<c-col :span="21">
<el-form-item label="寄单行" prop="brdgrp.prb.pts.extkey">
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
showGridPromptDialog('brdgrp.prb.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onPrbpDet">
详情
</c-button>
</c-col>
<el-form-item label="寄单行" prop="brdgrp.prb.pts.extkey" style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
showGridPromptDialog('brdgrp.prb.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onPrbpDet" icon="el-icon-info">
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.prb.dbfadrblkcn">
......@@ -262,16 +270,19 @@
</c-col>
<c-col :span="24">
<c-col :span="21">
<el-form-item label="其他当事人" prop="brtp.oth.pts.extkey">
<el-form-item label="其他当事人" prop="brtp.oth.pts.extkey" style="width: 100%">
<c-fullbox>
<c-input v-model="model.brtp.oth.pts.extkey" maxlength="16" placeholder="请输入地址编码" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onOthpDet">
详情
<template slot="footer">
<c-button size="small" type="primary" @click="onOthpDet" icon="el-icon-info">
</c-button>
</c-col>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24 ">
<el-form-item label="地址信息" prop="brtp.oth.pts.adrblk">
......
......@@ -19,12 +19,12 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="放货日期" prop="brdgrp.rec.relgoddat">
<c-date-picker type="date" v-model="model.brdgrp.rec.relgoddat" style="width:100%" placeholder="请选择issue date" disabled></c-date-picker>
<c-date-picker type="date" v-model="model.brdgrp.rec.relgoddat" style="width:100%" placeholder="请选择日期" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到期日" prop="brdgrp.rec.expdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.expdat" style="width:100%" placeholder="请选择Expiry Date of Shipping Guarantee" disabled></c-date-picker>
<c-date-picker type="date" v-model="model.brdgrp.rec.expdat" style="width:100%" placeholder="请选择日期" disabled></c-date-picker>
</el-form-item>
</c-col>
</c-col>
......@@ -112,16 +112,19 @@
</c-col>
<c-col :span="24">
<c-col :span="21">
<el-form-item label="运输公司" prop="brdgrp.shp.pts.extkey">
<el-form-item label="运输公司" prop="brdgrp.shp.pts.extkey" style="width: 100%">
<c-fullbox>
<c-input v-model="model.brdgrp.shp.pts.extkey" maxlength="16" placeholder="请输入地址编码" disabled ></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onShppDet" disabled>
详情
<template slot="footer">
<c-button size="small" type="primary" @click="onShppDet" disabled icon="el-icon-info">
</c-button>
</c-col>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.shp.namelc">
......@@ -153,7 +156,7 @@
<c-col :span="24" v-show="false">
<c-col :span="12">
<el-form-item label="" prop="brtp.shpp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.shpp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
<c-input v-model="model.brtp.shpp.ptsget.sdamod.dadsnd" placeholder="请输入发送方"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -163,7 +166,7 @@
</c-col>
<c-col :span="12">
<el-form-item label="中文地址" prop="brdgrp.shp.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
<c-input type="textarea" v-model="model.brdgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入中文地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
......
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