Commit 12428b3f by wangyanjiao

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

parent cad3ba99
...@@ -24,11 +24,13 @@ ...@@ -24,11 +24,13 @@
v-if="item.show === 'select'" v-if="item.show === 'select'"
v-model="scope.row[item.dataIndex]" v-model="scope.row[item.dataIndex]"
:code="item.code" :code="item.code"
:disabled="disabledAll"
></el-select> ></el-select>
<el-input <el-input
v-else-if="item.show === 'input'" v-else-if="item.show === 'input'"
v-model="scope.row[item.dataIndex]" v-model="scope.row[item.dataIndex]"
:placeholder="`请输入${item.title}`" :placeholder="`请输入${item.title}`"
:disabled="disabledAll"
></el-input> ></el-input>
<span v-else>{{ scope.row[item.dataIndex] }}</span> <span v-else>{{ scope.row[item.dataIndex] }}</span>
</template> </template>
...@@ -38,9 +40,9 @@ ...@@ -38,9 +40,9 @@
</c-table> </c-table>
</c-col> </c-col>
<c-col v-if="isAdd" :span="1"> <c-col v-if="isAdd" :span="1">
<div class="button_contains"> <div class="button_contains" >
<span class="add_del_button add_button" @click="handleAdd">+</span> <span class="add_del_button add_button" @click="handleAdd" >+</span>
<span class="add_del_button" @click="handleDelete">-</span> <span class="add_del_button" @click="handleDelete" >-</span>
</div> </div>
</c-col> </c-col>
</div> </div>
...@@ -83,6 +85,11 @@ export default { ...@@ -83,6 +85,11 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
disabledAll:{
//是否全部灰显
type: Boolean,
default: false,
},
border: { border: {
//是否有边框 //是否有边框
......
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
], ],
"bodgrp.cbs.max.amt":[ "bodgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {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位" }
], ],
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
], ],
"bodgrp.cbs.opn1.amt":[ "bodgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {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位" }
], ],
...@@ -53,8 +53,7 @@ export default { ...@@ -53,8 +53,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.rec.matpercnt":[ "bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
], ],
"bodgrp.dre.pts.ref":[ "bodgrp.dre.pts.ref":[
...@@ -233,13 +232,13 @@ export default { ...@@ -233,13 +232,13 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"} {max: 60,message:"长度不能超过60"}
], ],
"mtabut.coninf.oitset.oit.inftxt":[ "mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"} {max: 60,message:"长度不能超过60"}
], ],
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botdcr{ export default class Botdcr{
constructor () { constructor () {
this.data = { this.data = {
botdrrl1blk:"",
botdrrl2blk:"",
botcoll1blk:"",
liaall: new Pub().data.Liaall,
bodgrp:{ bodgrp:{
rec:{ rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
...@@ -74,6 +80,7 @@ export default class Botdcr{ ...@@ -74,6 +80,7 @@ export default class Botdcr{
}, },
docgrdm:{ docgrdm:{
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
docgrd:[], //docgrdm.docgrd
}, },
drrp:{ drrp:{
ptsget:{ ptsget:{
...@@ -127,38 +134,40 @@ export default class Botdcr{ ...@@ -127,38 +134,40 @@ export default class Botdcr{
}, },
}, },
}, },
setmod:{ // setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab // docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg // retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref // ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur // doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt // docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg // dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg // xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{ // setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg // labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
}, // },
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab // zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc // zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
}, // },
trnmod:{ // trnmod:{
trndoc:{ // trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel // advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam // amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc // advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam // advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl // amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl // doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm // doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc // shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout // shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm // condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{ // rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf // seainf:"", // .trnmod.trndoc.rcvatt.seainf
}, // },
filrecv:"", // File Receiver .trnmod.trndoc.filrecv // filrecv:"", // File Receiver .trnmod.trndoc.filrecv
}, // },
}, // },
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key 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
...@@ -5,52 +5,29 @@ ...@@ -5,52 +5,29 @@
<c-col :span="14"> <c-col :span="14">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="不符点"> <el-form-item label="不符点">
<c-input <c-input type="textarea" :disabled="!model.bddgrp.rec.igndisflg && model.bddgrp.blk.docdisflg ? false : true"
type="textarea" :rows="6" v-model="model.bddgrp.blk.docdis" maxlength="65" show-word-limit placeholder="请输入不符点"></c-input>
:disabled="!model.bddgrp.rec.igndisflg&&model.bddgrp.blk.docdisflg ? false : true"
:rows="6"
v-model="model.bddgrp.blk.docdis"
maxlength="65"
show-word-limit
placeholder="请输入不符点"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-button <c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"
size="small" :disabled="!model.bddgrp.rec.igndisflg && model.bddgrp.blk.docdisflg ? false : true">
type="primary"
icon="el-icon-search"
@click="onDocdisButtxmsel"
:disabled="!model.bddgrp.rec.igndisflg&&model.bddgrp.blk.docdisflg ? false : true"
>
... ...
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Comments and Conclusions" prop="bddgrp.blk.comcon"> <el-form-item label="Comments and Conclusions" prop="bddgrp.blk.comcon">
<c-input <c-input type="textarea" v-model="model.bddgrp.blk.comcon" maxlength="65" show-word-limit
type="textarea" placeholder="请输入Comments and Conclusions" :rows="12" style="width:95%"></c-input>
v-model="model.bddgrp.blk.comcon"
maxlength="65"
show-word-limit placeholder="请输入Comments and Conclusions"
:rows="12"
style="width:95%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="到期付款确认备注" prop="bddgrp.blk.accrmk"> <el-form-item label="到期付款确认备注" prop="bddgrp.blk.accrmk">
<c-input <c-input type="textarea" v-model="model.bddgrp.blk.accrmk" maxlength="65" show-word-limit
type="textarea" placeholder="请输入到期付款确认备注" style="width:95%"></c-input>
v-model="model.bddgrp.blk.accrmk"
maxlength="65"
show-word-limit placeholder="请输入到期付款确认备注"
style="width:95%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -60,63 +37,35 @@ ...@@ -60,63 +37,35 @@
<c-col :span="24" style="height: 24px; margin-top: -10px"> <c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.bdtp.docgrdm.docdsclab" class="messageLabel"> <el-form-item :label="model.bdtp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary" <c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
>新增单据</c-button
>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="margin-bottom: 30px;"> <c-col :span="24" style="margin-bottom: 30px;">
<c-table <c-table height="200px" style="text-align: center" :list="this.model.bdtp.docgrdm.docgrd || []"
height="200px" :paginationShow="false" :border="true">
style="text-align: center" <el-table-column label="1st" width="auto">
:list="this.model.bdtp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
width="auto"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-input <c-input v-model="scope.row.cmail1"></c-input>
v-model="scope.row.cmail1"
></c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="2st" width="auto">
label="2st"
width="auto"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-input <c-input v-model="scope.row.cmail2"></c-input>
v-model="scope.row.cmail2"
></c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="Document" prop="docnam" width="auto"> <el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{scope.row.docnam}} --> <!-- {{scope.row.docnam}} -->
<c-select <c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam">
style="width: 100%" <el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
placeholder="请选择"
v-model="scope.row.docnam"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="170px" fixed="right"> <el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary" <c-button @click="deleteTable(scope.row)" type="primary">删除</c-button>
>删除</c-button
>
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
...@@ -127,17 +76,12 @@ ...@@ -127,17 +76,12 @@
<c-col :span="10"> <c-col :span="10">
<c-row> <c-row>
<c-col :span="24" :offset="8"> <c-col :span="24" :offset="8">
<c-checkbox <c-checkbox v-model="model.bddgrp.rec.igndisflg">
v-model="model.bddgrp.rec.igndisflg"
>
忽略不符点 忽略不符点
</c-checkbox> </c-checkbox>
</c-col> </c-col>
<c-col :span="24" :offset="8"> <c-col :span="24" :offset="8">
<c-checkbox <c-checkbox v-model="model.bddgrp.blk.docdisflg" :disabled="model.bddgrp.rec.igndisflg ? true : false">
v-model="model.bddgrp.blk.docdisflg"
:disabled="model.bddgrp.rec.igndisflg ? true : false"
>
录入不符点 录入不符点
</c-checkbox> </c-checkbox>
</c-col> </c-col>
...@@ -153,13 +97,15 @@ ...@@ -153,13 +97,15 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款日期" prop="bddgrp.rec.totdat"> <el-form-item label="付款日期" prop="bddgrp.rec.totdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.totdat" style="width:100%" placeholder="请选择付款日期"></c-date-picker> <c-date-picker type="date" v-model="model.bddgrp.rec.totdat" style="width:100%" placeholder="请选择付款日期">
</c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="不符点通知日期" prop="bddgrp.rec.disdat"> <el-form-item label="不符点通知日期" prop="bddgrp.rec.disdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.disdat" style="width:100%" placeholder="请选择不符点通知日期"></c-date-picker> <c-date-picker type="date" v-model="model.bddgrp.rec.disdat" style="width:100%" placeholder="请选择不符点通知日期">
</c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -267,9 +213,9 @@ import Event from "~/model/Bdtdck/Event" ...@@ -267,9 +213,9 @@ import Event from "~/model/Bdtdck/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
TableValue: [ TableValue: [
{ {
...@@ -298,7 +244,7 @@ export default { ...@@ -298,7 +244,7 @@ export default {
} }
}, },
methods:{ methods: {
...Event, ...Event,
addTableValue() { addTableValue() {
var index = this.TableValue.length; var index = this.TableValue.length;
...@@ -318,14 +264,14 @@ export default { ...@@ -318,14 +264,14 @@ export default {
}, },
}, },
created:function(){ created: function () {
} }
} }
</script> </script>
<style> <style>
.messageLabel >>> .el-form-item__label { .messageLabel>>>.el-form-item__label {
text-align: left; text-align: left;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 12px;
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="1"> <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>
<c-col :span="3" style="text-align: right"> <c-col :span="3" style="text-align: right">
<c-button style="margin:0 0" size="small" type="primary" :disabled="this.flag" @click="onDitpButgetref"> <c-button style="margin:0 0" size="small" type="primary" :disabled="this.flag" @click="onDitpButgetref">
...@@ -36,8 +34,8 @@ ...@@ -36,8 +34,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <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 style="margin:0 10px 0 0;padding: 0 10px;" size="small" icon="el-icon-search" type="primary">
></c-button> </c-button>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox> <c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox>
...@@ -110,38 +108,37 @@ ...@@ -110,38 +108,37 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat"> <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'" <c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%"
placeholder="请选择Maturity Date"></c-date-picker> :disabled="model.bodgrp.rec.doctypcod === 'P'" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="发票类型" prop="bodgrp.rec.invtyp"> <el-form-item label="发票类型" prop="bodgrp.rec.invtyp">
<c-select v-model="model.bodgrp.rec.invtyp" style="width:100%"> <c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" :code="invtyp">
<el-option v-for="item in codes.invtyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Starting from" prop="bodgrp.rec.matperbeg"> <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 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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Tenor Details Text" prop="bodgrp.blk.bogdet"> <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'" <c-input type="textarea" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit
placeholder="请输入Tenor Details Text"></c-input> :disabled="model.bodgrp.rec.doctypcod === 'P'" placeholder="请输入Tenor Details Text"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -199,19 +196,19 @@ ...@@ -199,19 +196,19 @@
title: 'Drawer', title: 'Drawer',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'drr', rol: 'drr',
}" :isAdrblk="true" :disabled="false" > }" :isAdrblk="true" :disabled="false">
</c-ptap> </c-ptap>
<c-ptap :model="model" :argadr="{ <c-ptap :model="model" :argadr="{
title: 'Collecting Bank', title: 'Collecting Bank',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'col', rol: 'col',
}" :disabled="false" > }" :disabled="false">
</c-ptap> </c-ptap>
<c-ptap :model="model" :argadr="{ <c-ptap :model="model" :argadr="{
title: 'Drawee', title: 'Drawee',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'dre', rol: 'dre',
}" :disabled="false" > }" :disabled="false">
</c-ptap> </c-ptap>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty"> <el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty">
...@@ -302,6 +299,9 @@ export default { ...@@ -302,6 +299,9 @@ export default {
tableName: "", tableName: "",
tcddoc: "", tcddoc: "",
}, },
invtyp: [
{ label: "type1", value: "1" }
],
}; };
}, },
methods: { methods: {
......
...@@ -10,19 +10,19 @@ ...@@ -10,19 +10,19 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据出具人" prop="bodgrp.srm.djuusr"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据出具日期" prop="bodgrp.srm.djudat"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="货权单据编号" prop="bodgrp.srm.djuref"> <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> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
grp: 'bodgrp', grp: 'bodgrp',
rol: 'drr', rol: 'drr',
}" }"
:disabledRef="true"
:disabledExtkey="true"
:disabled="true" :disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
...@@ -21,6 +23,8 @@ ...@@ -21,6 +23,8 @@
grp: 'bodgrp', grp: 'bodgrp',
rol: 'dre', rol: 'dre',
}" }"
:disabledRef="true"
:disabledExtkey="true"
:disabled="true" :disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
...@@ -35,6 +39,8 @@ ...@@ -35,6 +39,8 @@
grp: 'bodgrp', grp: 'bodgrp',
rol: 'col', rol: 'col',
}" }"
:disabledRef="true"
:disabledExtkey="true"
:disabled="true" :disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
...@@ -43,10 +49,11 @@ ...@@ -43,10 +49,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-edit-table :model="model" v-bind="ptsaddg"> <c-edit-table :model="model" v-bind="ptsaddg" :disabledAll="true" :isAdd="false">
<el-table-column label="操作" align="center"> <el-table-column label="操作" text-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
@click="handleEdit(scope.$index, scope.row)" @click="handleEdit(scope.$index, scope.row)"
type="primary" type="primary"
......
<template> <template>
<c-page title="出口托收拒付/不符点"> <c-page title="出口托收拒付/不符点">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
: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>
...@@ -14,48 +10,53 @@ ...@@ -14,48 +10,53 @@
<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> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <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"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000005 --> <!--PD000005 -->
<el-tab-pane label="Rejection" name="botdcrp1"> <el-tab-pane label="Rejection" name="botdcrp1">
<c-content> <c-content>
<m-botdcrp1 :model="model" :codes="codes"/> <m-botdcrp1 :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000049 --> <!--PD000049 -->
<el-tab-pane label="Instruction" name="inst"> <el-tab-pane label="Instruction" name="inst">
<c-content> <c-content>
<m-inst :model="model" :codes="codes"/> <m-inst :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000266 --> <!--PD000266 -->
<el-tab-pane label="Party" name="ptyp"> <el-tab-pane label="Party" name="ptyp">
<c-content> <c-content>
<m-ptyp :model="model" :codes="codes"/> <m-ptyp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="Messages" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -67,36 +68,39 @@ import Api from "~/service/Api" ...@@ -67,36 +68,39 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Botdcr from "~/model/Botdcr" import Botdcr from "~/model/Botdcr"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Botdcr/Check" import Check from "~/model/Botdcr/Check"
import Default from "~/model/Botdcr/Default" import Default from "~/model/Botdcr/Default"
import Pattern from "~/model/Botdcr/Pattern" import Pattern from "~/model/Botdcr/Pattern"
import Botdcrp1 from "./Botdcrp1" import Botdcrp1 from "./Botdcrp1"
import Engp from "~/views/Public/Engp"
import Inst from "./Inst" import Inst from "./Inst"
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp"
import Setpan from "./Setpan" import Setpan from "~/views/Public/Setpan"
import Coninfp from "./Coninfp" import Coninfp from "~/views/Public/Coninfp"
import Docpan from "./Docpan" import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre" import Doctre from "~/views/Public/Doctre"
export default { export default {
name: "Botdcr", name: "Botdcr",
components:{ components: {
"m-botdcrp1" : Botdcrp1, "m-botdcrp1": Botdcrp1,
"m-inst" : Inst, "m-inst": Inst,
"m-ptyp" : Ptyp, "m-ptyp": Ptyp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-engp": Engp,
"m-doctre" : Doctre, "m-docpan": Docpan,
"m-doctre": Doctre,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "botdcrp1", tabVal: "botdcrp1",
trnName: "botdcr", trnName: "botdcr",
...@@ -106,28 +110,30 @@ export default { ...@@ -106,28 +110,30 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable
}, },
} }
}, },
methods:{ methods: {
tabClick(){ // tabClick() {
} // }
}, },
created:async function(){ created: async function () {
console.log("进入botdcr交易"); console.log("进入botdcr交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
}
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} }
} }
</script> </script>
<style> <style>
</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 Cptadv from "./Cptadv"
import Botrad from "./Botrad"
import Cptopn from "./Cptopn" import Cptopn from "./Cptopn"
import Cptati from "./Cptati" import Cptati from "./Cptati"
import Cptato from "./Cptato" import Cptato from "./Cptato"
...@@ -163,18 +166,17 @@ import Litame from "./Litame" ...@@ -163,18 +166,17 @@ import Litame from "./Litame"
import Brtdcr from "./Brtdcr" import Brtdcr from "./Brtdcr"
import Brtacp from "./Brtacp" import Brtacp from "./Brtacp"
import Brtame from "./Brtame" import Brtame from "./Brtame"
import Litrog from "./Litrog" import Litrog from "./Litrog"
import Litacp from "./Litacp" import Litacp from "./Litacp"
import Litdla from "./Litdla" import Litdla from "./Litdla"
import Bctsel from "./Bctsel" import Bctsel from "./Bctsel"
import Letdrv from "./Letdrv"
/** /**
* 带有name的才会被添加进顶部的标签页里 * 带有name的才会被添加进顶部的标签页里
*/ */
const BusRouter = [ const BusRouter = [
{ path: 'botrad', component: Botrad, name: 'Botrad', meta: { title: '出口托收二次寄单' } },
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '待经办详情' } }, { path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '待经办详情' } },
{ path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } }, { path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } },
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } }, { path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
......
<template> <template>
<div> <div>
<c-col v-if="!noRef" :span="24"> <c-col v-if="!noRef" :span="24">
<c-form-item <c-form-item :label="`${argadr.title}参考号`" :prop="`${argadr.grp}.${argadr.rol}.pts.ref`">
:label="`${argadr.title}参考号`" <c-input :disabled="disabledRef" v-model="model[argadr.grp][argadr.rol].pts.ref" :placeholder="'请输入' + 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-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24" v-if="!editExtLabel"> <c-col :span="24" v-if="!editExtLabel">
<el-form-item <el-form-item :label="`${argadr.title}ID`" :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" style="width: 100%"
:label="`${argadr.title}ID`" :disabled="disabledExtkey">
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-fullbox> <c-fullbox>
<c-input <c-input v-model="model[argadr.grp][argadr.rol].pts.extkey" :placeholder="'请输入' + argadr.title + 'Extkey'"
v-model="model[argadr.grp][argadr.rol].pts.extkey" :disabled="disabledExtkey" @keyup.enter.native="
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`) showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
" " @change="valueChange"></c-input>
@change="valueChange"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search"
style="margin:0 10px 0 10px;padding: 0 12px;" :disabled="disabledExtkey" @click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)">
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
</c-button> </c-button>
<c-button <c-button style="margin:0 0" size="small" type="primary" @click="onAplpDet" :disabled="disabledExtkey">
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }} {{ $t('buttons.details') }}
</c-button> </c-button>
</template> </template>
...@@ -50,35 +28,17 @@ ...@@ -50,35 +28,17 @@
</c-col> </c-col>
<c-col :span="24" v-else> <c-col :span="24" v-else>
<el-form-item <el-form-item :label="`${argadr.title}`" :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" style="width: 100%">
:label="`${argadr.title}`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-fullbox> <c-fullbox>
<c-input <c-input :disabled="disabledExtkey" v-model="model[argadr.grp][argadr.rol].pts.extkey"
v-model="model[argadr.grp][argadr.rol].pts.extkey" :placeholder="'请输入' + argadr.title + 'Extkey'" @keyup.enter.native="
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`) showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
" " @change="valueChange"></c-input>
@change="valueChange"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button :disabled="disabledExtkey" style="margin:0 10px 0 10px;padding: 0 12px;" size="small"
style="margin:0 10px 0 10px;padding: 0 12px;" type="primary" icon="el-icon-search" @click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)">
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
</c-button> </c-button>
<c-button <c-button style="margin:0 0" size="small" type="primary" @click="onAplpDet">
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }} {{ $t('buttons.details') }}
</c-button> </c-button>
</template> </template>
...@@ -88,69 +48,30 @@ ...@@ -88,69 +48,30 @@
<template v-if="!onlySearch"> <template v-if="!onlySearch">
<c-col v-if="isAdrblk" :span="24"> <c-col v-if="isAdrblk" :span="24">
<el-form-item <el-form-item label="名称地址" :prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`">
label="名称地址" <c-input type="textarea" :rows="4" v-model="model[argadr.grp][argadr.rol].pts.adrblk" maxlength="150"
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`" show-word-limit placeholder="请输入名称地址" :disabled="disabled"></c-input>
>
<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> </el-form-item>
</c-col> </c-col>
<c-col v-else-if="!haveAdrLabel" :span="24"> <c-col v-else-if="!haveAdrLabel" :span="24">
<el-form-item <el-form-item label="" :prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`">
label="" <c-input type="textarea" :rows="4" v-model="model[argadr.grp][argadr.rol].pts.adrblk" maxlength="150"
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`" show-word-limit placeholder="请输入名称地址" :disabled="disabled"></c-input>
>
<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> </el-form-item>
</c-col> </c-col>
<template v-else> <template v-else>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item :label="`${argadr.title}名称`" :prop="`${argadr.grp}.${argadr.rol}.namelc`">
:label="`${argadr.title}名称`" <c-input type="textarea" v-model="model[argadr.grp][argadr.rol].namelc"
:prop="`${argadr.grp}.${argadr.rol}.namelc`" :placeholder="'请输入' + argadr.title + '名称'" :disabled="disabled" :rows="2" maxlength="35" show-word-limit>
> </c-input>
<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> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item :label="`${argadr.title}地址`" :prop="`${argadr.grp}.${argadr.rol}.adrelc`">
:label="`${argadr.title}地址`" <c-input type="textarea" :rows="2" v-model="model[argadr.grp][argadr.rol].adrelc"
:prop="`${argadr.grp}.${argadr.rol}.adrelc`" :placeholder="'请输入' + argadr.title + '地址'" :disabled="disabled" maxlength="35" show-word-limit></c-input>
>
<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> </el-form-item>
</c-col> </c-col>
</template> </template>
...@@ -185,6 +106,16 @@ export default { ...@@ -185,6 +106,16 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
disabledRef: {
//ref是否灰显
type: Boolean,
default: false,
},
disabledExtkey: {
//extkey是否灰显
type: Boolean,
default: false,
},
isAdrblk: { isAdrblk: {
//名称地址是否为大字段 //名称地址是否为大字段
...@@ -235,7 +166,7 @@ export default { ...@@ -235,7 +166,7 @@ export default {
}, },
}, },
created: function () {}, created: function () { },
}; };
</script> </script>
<style> <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"; ...@@ -7,6 +7,7 @@ import ReviewGetset from "./Business/ReviewGetset.vue";
import ReviewDetopn from "./Business/ReviewDetopn.vue"; import ReviewDetopn from "./Business/ReviewDetopn.vue";
import ReviewDetdrv from "./Business/ReviewDetdrv.vue"; import ReviewDetdrv from "./Business/ReviewDetdrv.vue";
import ReviewBdtdck from "./Business/ReviewBdtdck.vue"; import ReviewBdtdck from "./Business/ReviewBdtdck.vue";
import ReviewBotdav from "./Business/ReviewBotdav.vue";
const ReviewRouter = [ const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } }, { path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
...@@ -18,6 +19,7 @@ const ReviewRouter = [ ...@@ -18,6 +19,7 @@ const ReviewRouter = [
{ path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } }, { path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } },
{ path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } }, { path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } },
{ path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } }, { path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } },
{ path: "botdav", component: ReviewBotdav, name: "ReviewBotdav", meta: { title: "复核-botdav" } },
]; ];
export default ReviewRouter; 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