Commit 12428b3f by wangyanjiao

新增EditTable灰显&ptap灰显 完成交易botdav&botdcr

parent cad3ba99
......@@ -24,11 +24,13 @@
v-if="item.show === 'select'"
v-model="scope.row[item.dataIndex]"
:code="item.code"
:disabled="disabledAll"
></el-select>
<el-input
v-else-if="item.show === 'input'"
v-model="scope.row[item.dataIndex]"
:placeholder="`请输入${item.title}`"
:disabled="disabledAll"
></el-input>
<span v-else>{{ scope.row[item.dataIndex] }}</span>
</template>
......@@ -38,9 +40,9 @@
</c-table>
</c-col>
<c-col v-if="isAdd" :span="1">
<div class="button_contains">
<span class="add_del_button add_button" @click="handleAdd">+</span>
<span class="add_del_button" @click="handleDelete">-</span>
<div class="button_contains" >
<span class="add_del_button add_button" @click="handleAdd" >+</span>
<span class="add_del_button" @click="handleDelete" >-</span>
</div>
</c-col>
</div>
......@@ -83,6 +85,11 @@ export default {
type: Boolean,
default: false,
},
disabledAll:{
//是否全部灰显
type: Boolean,
default: false,
},
border: {
//是否有边框
......
......@@ -17,7 +17,7 @@ export default {
],
"bodgrp.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位" }
],
......@@ -27,7 +27,7 @@ export default {
],
"bodgrp.cbs.opn1.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位" }
],
......@@ -53,8 +53,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{type: "number", required: false, message: "必输项"},
],
"bodgrp.dre.pts.ref":[
......@@ -233,13 +232,13 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botdcr{
constructor () {
this.data = {
botdrrl1blk:"",
botdrrl2blk:"",
botcoll1blk:"",
liaall: new Pub().data.Liaall,
bodgrp:{
rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
......@@ -74,6 +80,7 @@ export default class Botdcr{
},
docgrdm:{
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
docgrd:[], //docgrdm.docgrd
},
drrp:{
ptsget:{
......@@ -127,38 +134,40 @@ export default class Botdcr{
},
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
import Utils from "~/utils"
/**
* Botrad Check规则
*/
let checkObj = {
"bodgrp.blk.setinsbo" :null,
"bodgrp.rec.matperbeg" :null,
"bodgrp.rec.matpertyp" :null,
"bodgrp.blk.proins" :null,
"bodgrp.rec.doctypcod" :null,
"bodgrp.drr.pts.adrblk" :null,
"bodgrp.dre.adrelc" :null,
"bodgrp.cbs.max.amt" :null,
"bodgrp.dre.pts.nam" :null,
"bodgrp.col.adrelc" :null,
"bodgrp.col.pts.adrblk" :null,
"bodgrp.col.pts.extkey" :null,
"bodgrp.blk.dftins" :null,
"botp.usr.extkey" :null,
"bodgrp.blk.delins" :null,
"bodgrp.drr.pts.nam" :null,
"bodgrp.col.namelc" :null,
"bodgrp.rec.stacty" :null,
"bodgrp.drr.adrelc" :null,
"bodgrp.dre.namelc" :null,
"bodgrp.blk.colins" :null,
"bodgrp.drr.namelc" :null,
"bodgrp.col.pts.nam" :null,
"bodgrp.dre.pts.adrblk" :null,
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"bodgrp.rec.invtyp" :null,
"bodgrp.drr.pts.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Botrad Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.rec.stacty" :Utils.defaultFunction,
"bodgrp.drr.pts.nam" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.nam" :Utils.defaultFunction,
"bodgrp.rec.resflg" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"bodgrp.col.pts.nam" :Utils.defaultFunction,
"botp.usr.extkey" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"bodgrp.rec.shpdat" :Utils.defaultFunction,
"bodgrp.rec.tradat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onColinsButtxmsel(){
let rtnmsg = await this.executeRule("colins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDftinsButtxmsel(){
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onProinsButtxmsel(){
let rtnmsg = await this.executeRule("proins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthins1Buttxmsel(){
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWhinsButtxmsel(){
let rtnmsg = await this.executeRule("whins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBotpButgetref(){
let rtnmsg = await this.executeRule("botp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrrpDet(){
let rtnmsg = await this.executeRule("drrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onColpDet(){
let rtnmsg = await this.executeRule("colp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrepDet(){
let rtnmsg = await this.executeRule("drep.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinsButtxmsel(){
let rtnmsg = await this.executeRule("setins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Botrad{
constructor () {
this.data = {
bodgrp:{
rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod
docsta:"", // Document Set Status .bodgrp.rec.docsta
matdat:"", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Starting from .bodgrp.rec.matperbeg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat
trpdoctyp:"", // Transport Doc. Type .bodgrp.rec.trpdoctyp
trpdocnum:"", // Transport Doc. Ref. .bodgrp.rec.trpdocnum
tradat:"", // Document Dated .bodgrp.rec.tradat
tramod:"", // Mode of Transport .bodgrp.rec.tramod
shpfro:"", // Shipment from .bodgrp.rec.shpfro
shpto:"", // For Transportation to .bodgrp.rec.shpto
chato:"", // Our Charges to .bodgrp.rec.chato
focflg:"", // Free of Payment .bodgrp.rec.focflg
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
dircolflg:"", // Direct Collection .bodgrp.rec.dircolflg
resflg:"", // Reservated Contract .bodgrp.rec.resflg
shpdat:"", // Shipment date .bodgrp.rec.shpdat
advdat:"", // Dispatched on .bodgrp.rec.advdat
stacty:"", // Country Code Risk Country! .bodgrp.rec.stacty
stagod:"", // Goods Code .bodgrp.rec.stagod
invtyp:"", // Maturity Date .bodgrp.rec.invtyp
paydoctyp:"", // Financial Document .bodgrp.rec.paydoctyp
paydocnum:"", // Document Number .bodgrp.rec.paydocnum
issdat:"", // Issued on .bodgrp.rec.issdat
ccdndrflg:"", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg
ccdpurflg:"", // Payment Under Reserve .bodgrp.rec.ccdpurflg
},
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
},
drr:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc
adrelc:"", // 地址 .bodgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn
},
col:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.col.namelc
adrelc:"", // 地址 .bodgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn
},
dre:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.dre.namelc
adrelc:"", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk:{
colinssnm:"", // Instructions for Second Mail .bodgrp.blk.colinssnm
vesselnam:"", // Vessel Name .bodgrp.blk.vesselnam
goddes:"", // Description of Goods .bodgrp.blk.goddes
colins:"", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg
dftins:"", // Draft Instructions .bodgrp.blk.dftins
proins:"", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol
intins:"", // Interest Instructions .bodgrp.blk.intins
setinsbo:"", // Settlement insrtrctions .bodgrp.blk.setinsbo
agtaut:"", // Authority of Agent .bodgrp.blk.agtaut
},
},
botp:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf:"", // .botp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .botp.matp.mattxtlab
},
docgrdm:{
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
},
usr:{
extkey:"", // Responsible User .botp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .botp.usrget.sdamod.seainf
},
},
drrp:{
ptsget:{
sdamod:{
seainf:"", // .botp.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .botp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
},
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .botp.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .botp.ptsaddp.ptsaddg
},
},
oridre:"", // Original Documents Passed to Drawee .oridre
botcoll1blk:"", // XMLPanel botcoll1的内置block .botcoll1blk
botdrrl1blk:"", // XMLPanel botdrrl1的内置block .botdrrl1blk
botcoll2blk:"", // XMLPanel botcoll2的内置block .botcoll2blk
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -10,8 +10,6 @@
</el-form-item>
</c-col>
<c-col :span="1">
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"
></c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button style="margin:0 0" size="small" type="primary" :disabled="this.flag" @click="onDitpButgetref">
......@@ -36,8 +34,8 @@
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"
></c-button>
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" icon="el-icon-search" type="primary">
</c-button>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox>
......@@ -110,38 +108,37 @@
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" :disabled="model.bodgrp.rec.doctypcod==='P'"
placeholder="请选择Maturity Date"></c-date-picker>
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%"
:disabled="model.bodgrp.rec.doctypcod === 'P'" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="发票类型" prop="bodgrp.rec.invtyp">
<c-select v-model="model.bodgrp.rec.invtyp" style="width:100%">
<el-option v-for="item in codes.invtyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
<c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" :code="invtyp">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" :disabled="model.bodgrp.rec.doctypcod==='P'"></c-input>
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"
:disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Starting from" prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from"
:code="codes.matperbeg" :disabled="model.bodgrp.rec.doctypcod==='P'">
:code="codes.matperbeg" :disabled="model.bodgrp.rec.doctypcod === 'P'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Tenor Details Text" prop="bodgrp.blk.bogdet">
<c-input type="textarea" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit :disabled="model.bodgrp.rec.doctypcod==='P'"
placeholder="请输入Tenor Details Text"></c-input>
<c-input type="textarea" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit
:disabled="model.bodgrp.rec.doctypcod === 'P'" placeholder="请输入Tenor Details Text"></c-input>
</el-form-item>
</c-col>
......@@ -199,19 +196,19 @@
title: 'Drawer',
grp: 'bodgrp',
rol: 'drr',
}" :isAdrblk="true" :disabled="false" >
}" :isAdrblk="true" :disabled="false">
</c-ptap>
<c-ptap :model="model" :argadr="{
title: 'Collecting Bank',
grp: 'bodgrp',
rol: 'col',
}" :disabled="false" >
}" :disabled="false">
</c-ptap>
<c-ptap :model="model" :argadr="{
title: 'Drawee',
grp: 'bodgrp',
rol: 'dre',
}" :disabled="false" >
}" :disabled="false">
</c-ptap>
<c-col :span="24">
<el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty">
......@@ -302,6 +299,9 @@ export default {
tableName: "",
tcddoc: "",
},
invtyp: [
{ label: "type1", value: "1" }
],
};
},
methods: {
......
......@@ -10,19 +10,19 @@
<c-col :span="24">
<el-form-item label="单据出具人" prop="bodgrp.srm.djuusr">
<c-input v-model="model.bodgrp.srm.djuusr" maxlength="80" placeholder="请输入单据出具人"></c-input>
<c-input v-model="model.bodgrp.srm.djuusr" maxlength="80" placeholder="请输入单据出具人" :disabled="model.bodgrp.srm.djutyp=='D'"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据出具日期" prop="bodgrp.srm.djudat">
<c-date-picker type="date" v-model="model.bodgrp.srm.djudat" style="width:100%" placeholder="请选择单据出具日期"></c-date-picker>
<c-date-picker type="date" v-model="model.bodgrp.srm.djudat" style="width:100%" placeholder="请选择单据出具日期" :disabled="model.bodgrp.srm.djutyp=='D'"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货权单据编号" prop="bodgrp.srm.djuref">
<c-input v-model="model.bodgrp.srm.djuref" maxlength="40" placeholder="请输入货权单据编号"></c-input>
<c-input v-model="model.bodgrp.srm.djuref" maxlength="40" placeholder="请输入货权单据编号" :disabled="model.bodgrp.srm.djutyp=='D'"></c-input>
</el-form-item>
</c-col>
</c-col>
......
......@@ -8,6 +8,8 @@
grp: 'bodgrp',
rol: 'drr',
}"
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
......@@ -21,6 +23,8 @@
grp: 'bodgrp',
rol: 'dre',
}"
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
......@@ -35,6 +39,8 @@
grp: 'bodgrp',
rol: 'col',
}"
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
......@@ -43,10 +49,11 @@
</c-col>
<c-col :span="24">
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<c-edit-table :model="model" v-bind="ptsaddg" :disabledAll="true" :isAdd="false">
<el-table-column label="操作" text-align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
......
<template>
<c-page title="出口托收拒付/不符点">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000005 -->
<el-tab-pane label="Rejection" name="botdcrp1">
<c-content>
<m-botdcrp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="Instruction" name="inst">
<c-content>
<m-inst :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="Party" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
<c-page title="出口托收拒付/不符点">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000005 -->
<el-tab-pane label="Rejection" name="botdcrp1">
<c-content>
<m-botdcrp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="Instruction" name="inst">
<c-content>
<m-inst :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="Party" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Botdcr from "~/model/Botdcr"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Botdcr/Check"
import Default from "~/model/Botdcr/Default"
import Pattern from "~/model/Botdcr/Pattern"
import Botdcrp1 from "./Botdcrp1"
import Engp from "~/views/Public/Engp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"
export default {
name: "Botdcr",
components:{
"m-botdcrp1" : Botdcrp1,
"m-inst" : Inst,
"m-ptyp" : Ptyp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
components: {
"m-botdcrp1": Botdcrp1,
"m-inst": Inst,
"m-ptyp": Ptyp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-engp": Engp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "botdcrp1",
trnName: "botdcr",
......@@ -106,28 +110,30 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
tabClick(){
}
methods: {
// tabClick() {
// }
},
created:async function(){
created: async function () {
console.log("进入botdcr交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel botcoll1的内置block" prop="botcoll1blk">
<c-input type="textarea" v-model="model.botcoll1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel botcoll1的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel botcoll2的内置block" prop="botcoll2blk">
<c-input type="textarea" v-model="model.botcoll2blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel botcoll2的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel botdrrl1的内置block" prop="botdrrl1blk">
<c-input type="textarea" v-model="model.botdrrl1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel botdrrl1的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="botp.recget.sdamod.dadsnd">
<c-input v-model="model.botp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reference" prop="bodgrp.rec.ownref">
<c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="botp.recget.sdamod.seainf">
<c-input v-model="model.botp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="bodgrp.rec.nam">
<c-input v-model="model.bodgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-select v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drawer" prop="bodgrp.drr.pts.ref">
<c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" placeholder="请输入Drawer"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.cur">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Open Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.amt">
<c-input v-model="model.bodgrp.cbs.opn1.amt" placeholder="请输入Open Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bodgrp.drr.pts.nam">
<c-input v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入Open Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref">
<c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bodgrp.col.pts.nam">
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.botp.matp.mattxtlab" data-path=".botp.matp.mattxtlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Drawee" prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Starting from" prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bodgrp.dre.pts.nam">
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date" prop="bodgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.rcvdat" style="width:100%" placeholder="请选择Order Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presentation Date" prop="bodgrp.rec.predat">
<c-date-picker type="date" v-model="model.bodgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Instructions for Second Mail" prop="bodgrp.blk.colinssnm">
<c-input type="textarea" v-model="model.bodgrp.blk.colinssnm" maxlength="60" show-word-limit placeholder="请输入Instructions for Second Mail" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.oridre">Original Documents Passed to Drawee</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.botp.docgrdm.docdsclab" data-path=".botp.docgrdm.docdsclab" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Transport Doc. Type" prop="bodgrp.rec.trpdoctyp">
<c-select v-model="model.bodgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transport Doc. Ref." prop="bodgrp.rec.trpdocnum">
<c-input v-model="model.bodgrp.rec.trpdocnum" maxlength="40" placeholder="请输入Transport Doc. Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Dated" prop="bodgrp.rec.tradat">
<c-date-picker type="date" v-model="model.bodgrp.rec.tradat" style="width:100%" placeholder="请选择Document Dated"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Mode of Transport" prop="bodgrp.rec.tramod">
<c-select v-model="model.bodgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Vessel Name" prop="bodgrp.blk.vesselnam">
<c-input v-model="model.bodgrp.blk.vesselnam" maxlength="40" placeholder="请输入Vessel Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Shipment from" prop="bodgrp.rec.shpfro">
<c-input v-model="model.bodgrp.rec.shpfro" maxlength="40" placeholder="请输入Shipment from"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="For Transportation to" prop="bodgrp.rec.shpto">
<c-input v-model="model.bodgrp.rec.shpto" maxlength="40" placeholder="请输入For Transportation to"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Description of Goods" prop="bodgrp.blk.goddes">
<c-input type="textarea" v-model="model.bodgrp.blk.goddes" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Collection Instructions" prop="bodgrp.blk.colins">
<c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Our Charges to" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt">
<c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.blk.colinsflg">Collection instructions modified</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Draft Instructions" prop="bodgrp.blk.dftins">
<c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Protest Instructions" prop="bodgrp.rec.waicolcod">
<c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Protest Instructions" prop="bodgrp.blk.proins">
<c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit placeholder="请输入Protest Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Waive Remitting Bank Charges" prop="bodgrp.rec.wairmtcod">
<c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Other Instructions" prop="bodgrp.blk.othins">
<c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Defer Payment until" prop="bodgrp.rec.othins">
<c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.rec.lescom">
<c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Delivery instructions" prop="bodgrp.blk.delins">
<c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit placeholder="请输入Delivery instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel">
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Interest Instructions" prop="bodgrp.blk.intins">
<c-input type="textarea" v-model="model.bodgrp.blk.intins" maxlength="65" show-word-limit placeholder="请输入Interest Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Settlement insrtrctions" prop="bodgrp.blk.setinsbo">
<c-input type="textarea" v-model="model.bodgrp.blk.setinsbo" maxlength="65" show-word-limit placeholder="请输入Settlement insrtrctions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Authority of Agent" prop="bodgrp.blk.agtaut">
<c-input type="textarea" v-model="model.bodgrp.blk.agtaut" maxlength="35" show-word-limit placeholder="请输入Authority of Agent" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.botp.ptsaddp.ptsaddg"
style="width: 100%"
>
<el-table-column
prop="rol"
label="角色"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="机构"
sortable
width="100">
</el-table-column>
<el-table-column
prop="nam"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="ref"
label="名称"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.botp_ptsaddp_ptsaddg.total">
</el-pagination>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000015 -->
<el-tab-pane label="PD000015" name="botrad">
<m-botrad :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="PD000018" name="botcoll1">
<m-botcoll1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="PD000019" name="botdrrl1">
<m-botdrrl1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000021 -->
<el-tab-pane label="PD000021" name="botcoll2">
<m-botcoll2 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000015 -->
<el-tab-pane label="PD000015" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="PD000049" name="inst">
<m-inst :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000262 -->
<el-tab-pane label="PD000262" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="PD000266" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000280 -->
<el-tab-pane label="PD000280" name="instrecp">
<m-instrecp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000059 -->
<el-tab-pane label="PD000059" name="ptsp150">
<m-ptsp150 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
// import Botrad from "~/model/Botrad"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Botrad/Check"
import Default from "~/model/Botrad/Default"
import Pattern from "~/model/Botrad/Pattern"
import Botrad from "./Botrad"
import Botcoll1 from "./Botcoll1"
import Botdrrl1 from "./Botdrrl1"
import Botcoll2 from "./Botcoll2"
import Detp from "./Detp"
import Inst from "./Inst"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp"
import Ptsp150 from "./Ptsp150"
export default {
name: "Botrad",
components:{
"m-botrad" : Botrad,
"m-botcoll1" : Botcoll1,
"m-botdrrl1" : Botdrrl1,
"m-botcoll2" : Botcoll2,
"m-detp" : Detp,
"m-inst" : Inst,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-instrecp" : Instrecp,
"m-ptsp150" : Ptsp150,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "botrad",
model: new Botrad().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入botrad交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Cptadv from "./Cptadv"
import Botrad from "./Botrad"
import Cptopn from "./Cptopn"
import Cptati from "./Cptati"
import Cptato from "./Cptato"
......@@ -163,18 +166,17 @@ import Litame from "./Litame"
import Brtdcr from "./Brtdcr"
import Brtacp from "./Brtacp"
import Brtame from "./Brtame"
import Litrog from "./Litrog"
import Litacp from "./Litacp"
import Litdla from "./Litdla"
import Bctsel from "./Bctsel"
import Letdrv from "./Letdrv"
/**
* 带有name的才会被添加进顶部的标签页里
*/
const BusRouter = [
{ path: 'botrad', component: Botrad, name: 'Botrad', meta: { title: '出口托收二次寄单' } },
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '待经办详情' } },
{ path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } },
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
......
<template>
<div>
<c-col v-if="!noRef" :span="24">
<c-form-item
:label="`${argadr.title}参考号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.ref`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.ref"
:placeholder="'请输入' + argadr.title + '参考号'"
></c-input>
<c-form-item :label="`${argadr.title}参考号`" :prop="`${argadr.grp}.${argadr.rol}.pts.ref`">
<c-input :disabled="disabledRef" v-model="model[argadr.grp][argadr.rol].pts.ref" :placeholder="'请输入' + argadr.title + '参考号'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24" v-if="!editExtLabel">
<el-form-item
:label="`${argadr.title}ID`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<el-form-item :label="`${argadr.title}ID`" :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" style="width: 100%"
:disabled="disabledExtkey">
<c-fullbox>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
<c-input v-model="model[argadr.grp][argadr.rol].pts.extkey" :placeholder="'请输入' + argadr.title + 'Extkey'"
:disabled="disabledExtkey" @keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
@change="valueChange"
></c-input>
" @change="valueChange"></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
<c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search"
:disabled="disabledExtkey" @click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)">
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
<c-button style="margin:0 0" size="small" type="primary" @click="onAplpDet" :disabled="disabledExtkey">
{{ $t('buttons.details') }}
</c-button>
</template>
......@@ -50,35 +28,17 @@
</c-col>
<c-col :span="24" v-else>
<el-form-item
:label="`${argadr.title}`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<el-form-item :label="`${argadr.title}`" :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" style="width: 100%">
<c-fullbox>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
<c-input :disabled="disabledExtkey" v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'" @keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
@change="valueChange"
></c-input>
" @change="valueChange"></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
<c-button :disabled="disabledExtkey" style="margin:0 10px 0 10px;padding: 0 12px;" size="small"
type="primary" icon="el-icon-search" @click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)">
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
<c-button style="margin:0 0" size="small" type="primary" @click="onAplpDet">
{{ $t('buttons.details') }}
</c-button>
</template>
......@@ -88,69 +48,30 @@
<template v-if="!onlySearch">
<c-col v-if="isAdrblk" :span="24">
<el-form-item
label="名称地址"
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="150"
show-word-limit
placeholder="请输入名称地址"
:disabled="disabled"
></c-input>
<el-form-item label="名称地址" :prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`">
<c-input type="textarea" :rows="4" v-model="model[argadr.grp][argadr.rol].pts.adrblk" maxlength="150"
show-word-limit placeholder="请输入名称地址" :disabled="disabled"></c-input>
</el-form-item>
</c-col>
<c-col v-else-if="!haveAdrLabel" :span="24">
<el-form-item
label=""
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="150"
show-word-limit
placeholder="请输入名称地址"
:disabled="disabled"
></c-input>
<el-form-item label="" :prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`">
<c-input type="textarea" :rows="4" v-model="model[argadr.grp][argadr.rol].pts.adrblk" maxlength="150"
show-word-limit placeholder="请输入名称地址" :disabled="disabled"></c-input>
</el-form-item>
</c-col>
<template v-else>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}名称`"
:prop="`${argadr.grp}.${argadr.rol}.namelc`"
>
<c-input
type="textarea"
v-model="model[argadr.grp][argadr.rol].namelc"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
:rows="2"
maxlength="35"
show-word-limit
></c-input>
<el-form-item :label="`${argadr.title}名称`" :prop="`${argadr.grp}.${argadr.rol}.namelc`">
<c-input type="textarea" v-model="model[argadr.grp][argadr.rol].namelc"
:placeholder="'请输入' + argadr.title + '名称'" :disabled="disabled" :rows="2" maxlength="35" show-word-limit>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}地址`"
:prop="`${argadr.grp}.${argadr.rol}.adrelc`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].adrelc"
:placeholder="'请输入' + argadr.title + '地址'"
:disabled="disabled"
maxlength="35"
show-word-limit
></c-input>
<el-form-item :label="`${argadr.title}地址`" :prop="`${argadr.grp}.${argadr.rol}.adrelc`">
<c-input type="textarea" :rows="2" v-model="model[argadr.grp][argadr.rol].adrelc"
:placeholder="'请输入' + argadr.title + '地址'" :disabled="disabled" maxlength="35" show-word-limit></c-input>
</el-form-item>
</c-col>
</template>
......@@ -185,6 +106,16 @@ export default {
type: Boolean,
default: false,
},
disabledRef: {
//ref是否灰显
type: Boolean,
default: false,
},
disabledExtkey: {
//extkey是否灰显
type: Boolean,
default: false,
},
isAdrblk: {
//名称地址是否为大字段
......@@ -235,7 +166,7 @@ export default {
},
},
created: function () {},
created: function () { },
};
</script>
<style>
......
<template>
<ReviewWrapper>
<Botdav></Botdav>
</ReviewWrapper>
</template>
<script>
import Botdav from "~/views/Business/Botdav";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBotdav",
components: { ReviewWrapper, Botdav },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -7,6 +7,7 @@ import ReviewGetset from "./Business/ReviewGetset.vue";
import ReviewDetopn from "./Business/ReviewDetopn.vue";
import ReviewDetdrv from "./Business/ReviewDetdrv.vue";
import ReviewBdtdck from "./Business/ReviewBdtdck.vue";
import ReviewBotdav from "./Business/ReviewBotdav.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -18,6 +19,7 @@ const ReviewRouter = [
{ path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } },
{ path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } },
{ path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } },
{ path: "botdav", component: ReviewBotdav, name: "ReviewBotdav", meta: { title: "复核-botdav" } },
];
export default ReviewRouter;
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