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";
import Utils from "~/utils/index"
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 ,
"bcdgrp.co2.pts.extkey" :Utils.defaultFunction,
"setmod.setglg.sespay.setgrp.tri.pts.extkey" :Utils.defaultFunction,
......
......@@ -152,6 +152,51 @@ export default class Bctset{
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:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbcgrp.bas.tmpref
......
......@@ -146,6 +146,7 @@
</c-col>
<c-col :span="24">
<c-checkbox
disabled
style=" margin: 0px 0 10px 150px;"
v-model="model.bopmod.dbcp.baspp.acp">确认</c-checkbox>
</c-col>
......@@ -153,7 +154,7 @@
<c-col :span="24">
<el-form-item label="购汇汇率" prop="bopmod.dbcgrp.bas.exrate">
<c-input
disbaled
disabled
v-model="model.bopmod.dbcgrp.bas.exrate" placeholder="请输入购汇汇率"></c-input>
</el-form-item>
</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 @@
</c-col> -->
<c-col :span="22" :offset="1">
<c-istream-table
ref="table"
:list="model.liaall.tenstm.rows || []"
:columns="trnData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
>
</c-istream-table>
</c-col>
......@@ -274,6 +276,7 @@
v-model="model.setmod.doccur"
style="width: 100%"
placeholder="请选择document currency"
@change=""
>
</c-select>
</el-form-item>
......@@ -376,21 +379,50 @@ export default {
'3 3 "Cdt" 80',
'4 4 "Cur" 50',
'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: [],
},
};
},
mounted() {
this.$nextTick(() => {});
},
methods: {
...Event,
async multipleSelect(selection) {
console.log(selection);
if (selection) {
let selIds = selection.map((x) => x + 1);
let params = { selDst: "decstm", selIds };
const rtnmsg = await this.executeRule("decstm", params);
if (selection.length > 1) {
this.$notify({
title: "error",
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) {
this.updateModel(rtnmsg.data);
} else {
......
......@@ -36,7 +36,7 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select
:code="codes.ownextkey"
:code="codes.ownextkey1"
:disabled="this.flag3"
v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
......@@ -88,16 +88,19 @@ export default {
this.flag1=true
this.flag2=true
this.flag3=true
this.model.bopmod.ownextkey=''
}
if(val=="2"){
this.flag1=false
this.flag2=true
this.flag3=false
this.model.bopmod.ownextkey='08350012'
}
if(val=="1"){
this.flag1=false
this.flag2=false
this.flag3=false
this.model.bopmod.ownextkey='08350012'
}
},
}
......
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