Commit faf2da8f by taojinrui

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

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 98d5f8ee 4b51c814
...@@ -6,6 +6,13 @@ import Api from "~/service/Api"; ...@@ -6,6 +6,13 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"bopmod.dbfgrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.custcod" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.methods" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.rptno" :Utils.defaultFunction,
"bctp.prechkdat" :Utils.defaultFunction , "bctp.prechkdat" :Utils.defaultFunction ,
"bcdgrp.co2.pts.extkey" :Utils.defaultFunction, "bcdgrp.co2.pts.extkey" :Utils.defaultFunction,
"setmod.setglg.sespay.setgrp.tri.pts.extkey" :Utils.defaultFunction, "setmod.setglg.sespay.setgrp.tri.pts.extkey" :Utils.defaultFunction,
......
...@@ -152,6 +152,51 @@ export default class Bctset{ ...@@ -152,6 +152,51 @@ export default class Bctset{
tmprefnew:"", // TMPREFLABEL .bopmod.dbcp.baspp.tmprefnew tmprefnew:"", // TMPREFLABEL .bopmod.dbcp.baspp.tmprefnew
}, },
}, },
dbfp:{
baspp:{
cusnam:"", // .bopmod.dbcp.baspp.cusnam
cornam:"", // .bopmod.dbcp.baspp.cornam
corpnam:"", // .bopmod.dbcp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbcp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbcp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbcp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbcp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbcp.baspp.tmprefnew
},
},
dbfgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbfgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbfgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbfgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbfgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbfgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbfgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbfgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbfgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbfgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbfgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbfgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbfgrp.bas.buscode
custype:"", // 类型 .bopmod.dbfgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbfgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbfgrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbfgrp.bas.lcyamt
custnm:"", // 收款人名称 .bopmod.dbfgrp.bas.custnm
oppuser:"", // 付款人名称 .bopmod.dbfgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbfgrp.bas.custcod
txccy:"", // 付款币种及金额 .bopmod.dbfgrp.bas.txccy
txamt:"", // 付款币种及金额 .bopmod.dbfgrp.bas.txamt
actuccy:"", // 实际付款币种及金额 .bopmod.dbfgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .bopmod.dbfgrp.bas.actuamt
outchargeccy:"", // 扣费币种及金额 .bopmod.dbfgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .bopmod.dbfgrp.bas.outchargeamt
issdate:"", // 开证日期 .bopmod.dbfgrp.bas.issdate
tenor:"", // 期限 .bopmod.dbfgrp.bas.tenor
lcbgno:"", // 信用证/保函编号 .bopmod.dbfgrp.bas.lcbgno
},
},
dbcgrp:{ dbcgrp:{
bas:{ bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbcgrp.bas.tmpref tmpref:"", // �'时申报流�'号 .bopmod.dbcgrp.bas.tmpref
......
...@@ -146,6 +146,7 @@ ...@@ -146,6 +146,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox <c-checkbox
disabled
style=" margin: 0px 0 10px 150px;" style=" margin: 0px 0 10px 150px;"
v-model="model.bopmod.dbcp.baspp.acp">确认</c-checkbox> v-model="model.bopmod.dbcp.baspp.acp">确认</c-checkbox>
</c-col> </c-col>
...@@ -153,7 +154,7 @@ ...@@ -153,7 +154,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="购汇汇率" prop="bopmod.dbcgrp.bas.exrate"> <el-form-item label="购汇汇率" prop="bopmod.dbcgrp.bas.exrate">
<c-input <c-input
disbaled disabled
v-model="model.bopmod.dbcgrp.bas.exrate" placeholder="请输入购汇汇率"></c-input> v-model="model.bopmod.dbcgrp.bas.exrate" placeholder="请输入购汇汇率"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="11">
<c-col :span="24">
<c-form-item label="申报号码" prop="bopmod.dbfgrp.bas.rptno">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.rptno" maxlength="22" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="bopmod.dbfgrp.bas.actiontype">
<c-select disabled v-model="model.bopmod.dbfgrp.bas.actiontype" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.dbfgrp.bas.ownextkey">
<c-select disabled v-model="model.bopmod.dbfgrp.bas.ownextkey" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="bopmod.dbfgrp.bas.buscode">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.buscode" maxlength="22" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人类型" prop="bopmod.dbfgrp.bas.custype">
<c-select disabled v-model="model.bopmod.dbfgrp.bas.custype" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付款人名称" prop="bopmod.dbfgrp.bas.custnm">
<c-input type="textarea" v-model="model.bopmod.dbfgrp.bas.custnm" maxlength="63" show-word-limit ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="收款人名称 " prop="bopmod.dbfgrp.bas.oppuser">
<c-input type="textarea" v-model="model.bopmod.dbfgrp.bas.oppuser" maxlength="63" show-word-limit ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="身份证件号码" prop="bopmod.dbfgrp.bas.idcode">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.idcode" maxlength="32" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇金额" prop="bopmod.dbfgrp.bas.lcyamt">
<c-input v-model="model.bopmod.dbfgrp.bas.lcyamt" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="现汇金额" prop="bopmod.dbfgrp.bas.fcyamt">
<c-input v-model="model.bopmod.dbfgrp.bas.fcyamt" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="其它金额" prop="bopmod.dbfgrp.bas.othamt">
<c-input v-model="model.bopmod.dbfgrp.bas.othamt" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付款币种及金额" prop="bopmod.dbfgrp.bas.txccy">
<c-select v-model="model.bopmod.dbfgrp.bas.txccy" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label-width="10px" prop="bopmod.dbfgrp.bas.txamt">
<c-input v-model="model.bopmod.dbfgrp.bas.txamt" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="实际付款币种及金额" prop="bopmod.dbfgrp.bas.actuccy">
<c-select disabled v-model="model.bopmod.dbfgrp.bas.actuccy" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label-width="10px" prop="bopmod.dbfgrp.bas.actuamt">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.actuamt" ></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-form-item label="修改/删除原因" prop="bopmod.dbfgrp.bas.actiondesc">
<c-input
disabled
:rows="6"
type="textarea" v-model="model.bopmod.dbfgrp.bas.actiondesc" maxlength="32" show-word-limit ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="bopmod.dbfgrp.bas.methods">
<c-select disabled v-model="model.bopmod.dbfgrp.bas.methods" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="组织机构代码" prop="bopmod.dbfgrp.bas.custcod">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.custcod" maxlength="18" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-checkbox
disabled
style="margin-left:150px"
v-model="model.bopmod.dbfp.baspp.acp">确认</c-checkbox>
</c-col>
<c-col :span="24">
<c-form-item label="购汇汇率" prop="bopmod.dbfgrp.bas.exrate">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.exrate" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="人民币帐号银行卡号" prop="bopmod.dbfgrp.bas.lcyacc">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.lcyacc" maxlength="32" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="外汇帐号/银行卡号" prop="bopmod.dbfgrp.bas.fcyacc">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.fcyacc" maxlength="32" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="其它帐号银行卡号" prop="bopmod.dbfgrp.bas.othacc">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.othacc" maxlength="32" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="扣费币种及金额" prop="bopmod.dbfgrp.bas.outchargeccy">
<c-select disabled v-model="model.bopmod.dbfgrp.bas.outchargeccy" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item prop="bopmod.dbfgrp.bas.outchargeamt">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.outchargeamt" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证日期" prop="bopmod.dbfgrp.bas.issdate">
<c-date-picker disabled type="date" v-model="model.bopmod.dbfgrp.bas.issdate" style="width:100%" ></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000070 : 信用证/保函编号 -->
<c-col :span="24">
<c-form-item label="信用证/保函编号" prop="bopmod.dbfgrp.bas.lcbgno">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.lcbgno" maxlength="20" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期限" prop="bopmod.dbfgrp.bas.tenor">
<c-input disabled v-model="model.bopmod.dbfgrp.bas.tenor" ></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000009 : 名称 -->
<!-- S0000010 : 名称 -->
<!-- S0000007 : 身份证件号码 -->
<!-- S0000015 : 人民币帐号/银行卡号 -->
<!-- S0000016 : 现汇金额 -->
<!-- S0000017 : 外汇帐号/银行卡号 -->
<!-- S0000018 : 其它金额 -->
<!-- S0000019 : 其它帐号/银行卡号 -->
<!-- <c-col :span="12">
<c-form-item prop="bopmod.dbfgrp.bas.othacc">
<c-input v-model="model.bopmod.dbfgrp.bas.othacc" maxlength="32" ></c-input>
</c-form-item>
</c-col> -->
<!-- S0000044 : 付款币种及金额 -->
<!-- S0000050 : 扣费币种及金额 -->
<!-- S0000048 : 实际付款币种及金额 -->
<!-- S0000053 : 开证日期 -->
<!-- S0000054 : 期限 -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
...@@ -132,10 +132,12 @@ ...@@ -132,10 +132,12 @@
</c-col> --> </c-col> -->
<c-col :span="22" :offset="1"> <c-col :span="22" :offset="1">
<c-istream-table <c-istream-table
ref="table"
:list="model.liaall.tenstm.rows || []" :list="model.liaall.tenstm.rows || []"
:columns="trnData.columns" :columns="trnData.columns"
:showSelection="true" :showSelection="true"
v-on:multipleSelect="multipleSelect" v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
> >
</c-istream-table> </c-istream-table>
</c-col> </c-col>
...@@ -274,6 +276,7 @@ ...@@ -274,6 +276,7 @@
v-model="model.setmod.doccur" v-model="model.setmod.doccur"
style="width: 100%" style="width: 100%"
placeholder="请选择document currency" placeholder="请选择document currency"
@change=""
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -376,21 +379,50 @@ export default { ...@@ -376,21 +379,50 @@ export default {
'3 3 "Cdt" 80', '3 3 "Cdt" 80',
'4 4 "Cur" 50', '4 4 "Cur" 50',
'5 5 "Amt" 120 2 8 1 4', '5 5 "Amt" 120 2 8 1 4',
'6 6 "Mat.Dat." 120 4 7 1', // '6 6 "Mat.Dat." 120 4 7 1',
{
index: 6,
position: 6,
width: 250,
render: (item, scope) => {
return scope.row[item.prop] === "null"
? ""
: scope.row[item.prop];
},
label: "Mat.Dat.",
},
], ],
data: [], data: [],
}, },
}; };
}, },
mounted() {
this.$nextTick(() => {});
},
methods: { methods: {
...Event, ...Event,
async multipleSelect(selection) { async multipleSelect(selection) {
console.log(selection); console.log(selection);
if (selection) { if (selection.length > 1) {
let selIds = selection.map((x) => x + 1); this.$notify({
let params = { selDst: "decstm", selIds }; title: "error",
const rtnmsg = await this.executeRule("decstm", params); message: "You cannot select more than one tenor",
type: "error",
});
} else {
let chkIds;
if (selection.length === 0) {
chkIds = []
// this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = []
} else {
chkIds = [selection[0] + 1]
}
//
console.log(this.model.liaall.tensetstm);
let params = { chkDst: "liaall.tenstm", chkIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
} else { } else {
......
<template> <template>
<c-row> <div>
<!-- ====================左边======================= --> <!-- ====================左边======================= -->
<c-col :span="14"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-col :span="4"> <el-form-item label="Delivery of Documents Instructions ">
<el-form-item label="Delivery of Documents "> <c-fullbox>
</el-form-item> <c-input
</c-col>
<c-col :span="12">
<el-form-item label=" Instructions">
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-input
disabled disabled
type="textarea" type="textarea"
v-model="model.bcdgrp.blk.colins" v-model="model.bcdgrp.blk.colins"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入Collection Instructions" > placeholder="请输入Collection Instructions"
</c-input> >
</c-col> </c-input>
<template slot="footer">
<c-col :span="4"> <c-button
<c-button disabled
disabled size="small"
size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel"> type="primary"
icon="el-icon-search"
</c-button> @click="onColinsButtxmsel"
</c-col> >
</c-col> </c-button>
</template>
<c-col :span="12"> </c-fullbox>
<el-form-item label="Draft Instructions"> </el-form-item>
</el-form-item> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <el-form-item label="Draft Instructions">
<c-input <c-fullbox>
<c-input
disabled disabled
type="textarea" v-model="model.bcdgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input> type="textarea"
</c-col> v-model="model.bcdgrp.blk.dftins"
maxlength="65"
show-word-limit
<c-col :span="4"> placeholder="请输入Draft Instructions"
<c-button ></c-input>
disabled <template slot="footer">
size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> <c-button
disabled
</c-button> size="small"
</c-col> type="primary"
</c-col> icon="el-icon-search"
@click="onDftinsButtxmsel"
<c-col :span="24" > >
<el-form-item label="Protest Instructions" > </c-button>
</template>
</el-form-item> </c-fullbox>
</c-col> </el-form-item>
<c-col :span="20" > </c-col>
<c-select
disabled
v-model="model.bcdgrp.rec.proins" style="width:100%" placeholder="请选择Protest Instructions">
</c-select>
</c-col>
<c-col :span="24">
<el-form-item label="Other Instructions">
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <el-form-item label="Protest Instructions">
<c-input <c-select
disabled disabled
type="textarea" v-model="model.bcdgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input> v-model="model.bcdgrp.rec.proins"
</c-col> style="width: 100%"
placeholder="请选择Protest Instructions"
<c-col :span="4"> >
<c-button </c-select>
disabled </el-form-item>
size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> </c-col>
</c-button>
</c-col>
</c-col>
<c-col :span="14">
<c-col :span="4">
<el-form-item label="Good's Code">
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="(for Statistics)">
</el-form-item>
</c-col>
</c-col>
<c-col :span="20" >
<c-select
disabled
v-model="model.bcdgrp.rec.stagod" style="width:100%" placeholder="请选择Good's Code (for Statistics">
</c-select>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="10">
<c-col :span="24">
<el-form-item label="Charges Condition">
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-select <el-form-item label="Other Instructions">
<c-fullbox>
<c-input
disabled disabled
v-model="model.bcdgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"> type="textarea"
</c-select> v-model="model.bcdgrp.blk.othins"
</c-col> maxlength="65"
show-word-limit
placeholder="请输入Other Instructions"
<c-col :span="24"> ></c-input>
<el-form-item label="Charges Text"> <template slot="footer">
</el-form-item> <c-button
</c-col> disabled
size="small"
type="primary"
icon="el-icon-search"
@click="onOthins1Buttxmsel"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-input <el-form-item label="Good's Code (for Statistics)">
<c-select
disabled disabled
type="textarea" v-model="model.bcdgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input> v-model="model.bcdgrp.rec.stagod"
</c-col> style="width: 100%"
placeholder="请选择Good's Code (for Statistics"
<c-col :span="24"> >
<c-checkbox </c-select>
disabled </el-form-item>
v-model="model.bcdgrp.rec.focflg">Free of Payment</c-checkbox> </c-col>
</c-col> </c-col>
<!-- ====================右边======================= -->
<c-col :span="24"> <c-col :span="11" :offset="1">
<c-col :span="5"> <c-col :span="24">
<el-form-item label="Waive Collecting"> <el-form-item label="Charges Condition">
</el-form-item> <c-select
</c-col> disabled
<c-col :span="4"> v-model="model.bcdgrp.rec.chato"
<el-form-item label="Bank Charges"> style="width: 100%"
</el-form-item> placeholder="请选择Our Charges to"
</c-col> >
</c-col> </c-select>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-select <el-form-item label="Charges Text">
<c-input
disabled disabled
v-model="model.bcdgrp.rec.waicolcod" style="width:100%" placeholder="请选择Waive Collecting Bank Charges"> type="textarea"
</c-select> v-model="model.bcdgrp.blk.chgtxt"
</c-col> maxlength="35"
show-word-limit
<c-col :span="24"> placeholder="请输入Charges Text"
<c-col :span="5"> ></c-input>
<el-form-item label="Waive Remitting"> </el-form-item>
</el-form-item> </c-col>
</c-col>
<c-col :span="4">
<el-form-item label="Bank Charges">
</el-form-item>
</c-col>
</c-col> <c-col :span="24">
<c-checkbox
style="margin-left: 150px"
disabled
v-model="model.bcdgrp.rec.focflg"
>Free of Payment</c-checkbox
>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-select <el-form-item label="Waive Collecting Bank Charges">
disabled <c-select
v-model="model.bcdgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges"> disabled
</c-select> v-model="model.bcdgrp.rec.waicolcod"
</c-col> style="width: 100%"
placeholder="请选择Waive Collecting Bank Charges"
<c-col :span="24"> >
<el-form-item label="Defer Payment until"> </c-select>
</el-form-item> </el-form-item>
</c-col>
<c-col :span="24">
<c-select
disabled
v-model="model.bcdgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until">
</c-select>
</c-col>
</c-col> </c-col>
</c-row>
<c-col :span="24">
<el-form-item label="Waive Remitting Bank Charges">
<c-select
disabled
v-model="model.bcdgrp.rec.wairmtcod"
style="width: 100%"
placeholder="请选择Waive Remitting Bank Charges"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Defer Payment until">
<c-select
disabled
v-model="model.bcdgrp.rec.othins"
style="width: 100%"
placeholder="请选择Defer Payment until"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctset/Event" import Event from "~/model/Bctset/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
},
} methods: { ...Event },
}, created: function () {},
methods:{...Event}, };
created:function(){
}
}
</script> </script>
<style> <style></style>
</style>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey"> <el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select <c-select
:code="codes.ownextkey" :code="codes.ownextkey1"
:disabled="this.flag3" :disabled="this.flag3"
v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号"> v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select> </c-select>
...@@ -88,16 +88,19 @@ export default { ...@@ -88,16 +88,19 @@ export default {
this.flag1=true this.flag1=true
this.flag2=true this.flag2=true
this.flag3=true this.flag3=true
this.model.bopmod.ownextkey=''
} }
if(val=="2"){ if(val=="2"){
this.flag1=false this.flag1=false
this.flag2=true this.flag2=true
this.flag3=false this.flag3=false
this.model.bopmod.ownextkey='08350012'
} }
if(val=="1"){ if(val=="1"){
this.flag1=false this.flag1=false
this.flag2=false this.flag2=false
this.flag3=false this.flag3=false
this.model.bopmod.ownextkey='08350012'
} }
}, },
} }
......
<template> <template>
<c-page title="进口代收付款"> <c-page title="进口代收付款">
<div class="eContainer"> <div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</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
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :model="model"
:rules="rules"
<!--PD000005 --> ref="modelForm"
<el-tab-pane label="Settle BC at Maturity" name="bctsus"> label-width="150px"
<m-bctsus :model="model" :codes="codes"/> label-position="right"
</el-tab-pane> size="small"
:validate-on-rule-change="false"
<!--PD000018 --> >
<el-tab-pane label="Instructions" name="detp"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<m-detp :model="model" :codes="codes"/> <!--PD000005 -->
</el-tab-pane> <el-tab-pane label="Settle BC at Maturity" name="bctsus">
<m-bctsus ref="bctsus" :model="model" :codes="codes" />
<!--PD000260 --> </el-tab-pane>
<el-tab-pane label="Parties" name="ptyp">
<c-content> <!--PD000018 -->
<m-ptyp :model="model" :codes="codes"/> <el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000260 -->
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="Liability" name="engp"> <el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </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>
<el-tab-pane label="Bookings" name="glepan"> <el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/> <m-glepan :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>
<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>
<el-tab-pane label="外管信息" name="wg"> <el-tab-pane label="外管信息" name="wg">
<m-wg :model="model" :codes="codes"/> <m-wg :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane
<el-tab-pane v-if="model.bopmod.basflg" label="对外付款/承兑通知书-基础信息" name="basp"> v-if="(this.model.bopmod.basflg == 'X' && this.model.bopmod.szflg == '1')"
<m-basp :model="model" :codes="codes"/> label="对外付款/承兑通知书-基础信息"
</el-tab-pane> name="basp"
>
<el-tab-pane label="跨境人名币申报" name="cnyp"> <m-basp :model="model" :codes="codes" />
<m-cnyp :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane>
<el-tab-pane
<el-tab-pane label="资本项目" name="cfactlp"> v-if="(this.model.bopmod.basflg == 'X' && this.model.bopmod.szflg == '2')"
<m-cfactlp :model="model" :codes="codes"/> label="境内付款/承兑通知书-基础信息"
</el-tab-pane> name="basp1"
>
<el-tab-pane label="统一授信" name="limitbody"> <m-basp1 :model="model" :codes="codes" />
<m-limitbody :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane>
<el-tab-pane label="跨境人名币申报" name="cnyp">
<el-tab-pane label="Payment 400 RMI " name="det400"> <m-cnyp :model="model" :codes="codes" />
<m-det400 :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane>
<el-tab-pane label="资本项目" name="cfactlp">
<el-tab-pane label="Payment 202 RMI " name="det202cv"> <m-cfactlp :model="model" :codes="codes" />
<m-det202cv :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
</c-tabs> <m-limitbody :model="model" :codes="codes" />
</el-form> </el-tab-pane>
</div>
<el-tab-pane label="Payment 400 RMI " name="det400">
<m-det400 :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Payment 202 RMI " name="det202cv">
<m-det202cv :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page> </c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bctset from "~/model/Bctset" import Bctset from "~/model/Bctset";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs" import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bctset/Check" import Check from "~/model/Bctset/Check";
import Default from "~/model/Bctset/Default" import Default from "~/model/Bctset/Default";
import Pattern from "~/model/Bctset/Pattern" import Pattern from "~/model/Bctset/Pattern";
import Bctsus from "./Bctsus" import Bctsus from "./Bctsus";
import Detp from "./Detp" import Detp from "./Detp";
import Shpdet from "./Shpdet" import Shpdet from "./Shpdet";
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp";
import Wg from "./Wg" import Wg from "./Wg";
import Basp from "./Basp" import Basp from "./Basp";
import Cnyp from "./Cnyp" import Basp1 from "./Basp1";
import Cfactlp from "./Cfactlp" import Cnyp from "./Cnyp";
import Det400 from "./Det400" import Cfactlp from "./Cfactlp";
import Det202cv from "./Det202cv" import Det400 from "./Det400";
import Det202cv from "./Det202cv";
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan" import Engp from "~/views/Public/Engp";
import Coninfp from "~/views/Public/Coninfp" import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan" import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/views/Public/Doctre" import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody" import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan" import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
export default { export default {
name: "Bctset", name: "Bctset",
components:{ components: {
"m-bctsus" : Bctsus, "m-bctsus": Bctsus,
"m-detp" : Detp, "m-detp": Detp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-shpdet" : Shpdet, "m-shpdet": Shpdet,
"m-ptyp" : Ptyp, "m-ptyp": Ptyp,
"m-basp" : Basp, "m-basp": Basp,
"m-engp" : Engp, "m-basp1": Basp1,
"m-coninfp" : Coninfp, "m-engp": Engp,
"m-docpan" : Docpan, "m-coninfp": Coninfp,
"m-doctre" : Doctre, "m-docpan": Docpan,
"m-wg": Wg, "m-doctre": Doctre,
"m-cnyp": Cnyp, "m-wg": Wg,
"m-cfactlp": Cfactlp, "m-cnyp": Cnyp,
"m-det400": Det400, "m-cfactlp": Cfactlp,
"m-det202cv": Det202cv, "m-det400": Det400,
"m-limitbody":Limitbody, "m-det202cv": Det202cv,
"m-glepan":Glepan, "m-limitbody": Limitbody,
}, "m-glepan": Glepan,
provide() { },
return { provide() {
root: this return {
} root: this,
}, };
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 },
data(){ mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
return { data() {
tabVal: "bctsus", return {
trnName: "bctset", tabVal: "bctsus",
model: new Bctset().data, trnName: "bctset",
checkRules: Check, model: new Bctset().data,
defaultRules: Default, checkRules: Check,
pattern: Pattern, defaultRules: Default,
rules: null, pattern: Pattern,
codes: {...CodeTable rules: null,
}, codes: { ...CodeTable },
} };
}, },
methods:{ methods: {},
}, created: async function () {
created:async function(){ console.log("进入bctset交易");
console.log("进入bctset交易"); let rtnmsg = await this.init({});
let rtnmsg = await this.init({}) if (rtnmsg.respCode == SUCCESS) {
if(rtnmsg.respCode == SUCCESS) //TODO 处理数据逻辑
{ this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑 if (this.isInDisplay) {
this.updateModel(rtnmsg.data); this.restoreDisplay();
} }
else // console.log(this.$refs.bctsus);
{ this.$refs.bctsus.$refs.table.$refs.table.toggleAllSelection();
this.$notify.error({title: '错误',message: '服务请求失败!'}); } else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
} },
};
</script> </script>
<style> <style></style>
</style>
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