Commit 00decab7 by zhouqian

Merge branch 'development-202206' into 'development-202206'

Development 202206

See merge request zhouqian/vue-gjjs!10
parents 3a649003 12e3a1b1
......@@ -127,7 +127,10 @@ const CodeTable = {
],
invtyp: [
{ label: "类型一", value: "1" }
{ label: "商业发票", value: "1" },
{ label: "形式发票", value: "2" },
{ label: "样品发票", value: "3" },
{ label: "海关发票", value: "4" },
],
trpdoctyp: [
{ label: "海运提单", value: "Ocean Bill of Lading" },
......@@ -5928,6 +5931,10 @@ const CodeTable = {
{ label: "负债(对应进口信用证、转让信用证开立、进口代收项下)", value: "AL02" },
{ label: "资产(对应出口信用证寄单、出口转让信用证寄单、出口托收项下)", value: "AL01" },
],
stransattr1: [
{ label: "负债", value: "AL02" },
{ label: "资产", value: "AL01" },
],
stranstype: [
{ label: "其他", value: "00" },
{ label: "信用证业务", value: "01" },
......
......@@ -4,7 +4,14 @@ import Utils from "~/utils"
* Cnysel Check规则
*/
let checkObj = {
"cnyselp.cnyout.spayercountrycode" :null,
"cnyselp.cnyvou.svouchercountrycode" :null,
"cnyselp.cnyinc.spayercountrycode" :null,
"cnyselp.cnyvou.sdebtorcountrycode" :null,
"cnytyp" :null,
"cnyselp.cnyvou.svoucheecountrycode" :null,
"cnyselp.cnytra.samttranspurpose" :null,
"cnyselp.cnyvou.sreversecountrycode" :null,
"cnyselp.cnylib.sforeigncountrycode" :null,
}
......
......@@ -9,8 +9,14 @@ export default {
"frmdat" :Utils.defaultFunction,
"ownextkey" :Utils.defaultFunction,
"cnytyp" :Utils.defaultFunction,
"cnyselp.cnyinc.spayercountrycode" :Utils.defaultFunction,
"cnyselp.cnyvou.sdebtorcountrycode" :Utils.defaultFunction,
"tildat" :Utils.defaultFunction,
"cnyselp.cnyvou.sreversecountrycode" :Utils.defaultFunction,
"cnyselp.cnyout.spayercountrycode" :Utils.defaultFunction,
"cnyselp.cnylib.sforeigncountrycode" :Utils.defaultFunction,
"cnyselp.cnyvou.svoucheecountrycode" :Utils.defaultFunction,
"cnystm" :Utils.defaultFunction,
"cnyselp.cnyvou.svouchercountrycode" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -44,15 +44,13 @@ export default {
},
async handleSearch() {
let rtnmsg = await this.executeRule("serbut")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.cnystm.rows;
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.cnystm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
this.model.cnytyp = ""
......@@ -62,52 +60,114 @@ export default {
this.model.ownextkey = ""
this.stmData.data = ""
},
async onButprt(){
let rtnmsg = await this.executeRule("butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDtlbut(){
let rtnmsg = await this.executeRule("dtlbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExi(){
let rtnmsg = await this.executeRule("exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLibctySelbut1(){
let rtnmsg = await this.executeRule("libcty.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButprt() {
let rtnmsg = await this.executeRule("butprt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDtlbut() {
let rtnmsg = await this.executeRule("dtlbut")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onExi() {
let rtnmsg = await this.executeRule("exi")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLibctySelbut1() {
let rtnmsg = await this.executeRule("libcty.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOutctySelbut1() {
let rtnmsg = await this.executeRule("outcty.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onIncctySelbut1() {
let rtnmsg = await this.executeRule("inccty.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onVoucty1Selbut1() {
let rtnmsg = await this.executeRule("voucty1.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onVoucty2Selbut1() {
let rtnmsg = await this.executeRule("voucty2.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onVoucty3Selbut1() {
let rtnmsg = await this.executeRule("voucty3.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onVoucty4Selbut1() {
let rtnmsg = await this.executeRule("voucty4.selbut1")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onCodcnySelbut() {
let rtnmsg = await this.executeRule("codcny.selbut")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
......@@ -33,7 +33,116 @@ export default class Cnysel{
sorgname:"", // 境内企业名称 .cnyselp.sorgname
sforeignorgname:"", // 境外企业名称 .cnyselp.sforeignorgname
saddwordlib:"", // 交易附言 .cnyselp.saddwordlib
sbankname:"", // 银行机构名称 .cnyselp.sbankname
sbankname:"", // 报送银行机构名称 .cnyselp.sbankname
cnyout:{
spk:"", // 业务主键 .cnyselp.cnyout.spk
sbankorgcode:"", // 银行机构代码 .cnyselp.cnyout.sbankorgcode
spayeeorgcode:"", // 付款人机构代码 .cnyselp.cnyout.spayeeorgcode
spayeeacct:"", // 付款人帐号 .cnyselp.cnyout.spayeeacct
spayercountrycode:"", // 收款人常驻国家(地区)代码 .cnyselp.cnyout.spayercountrycode
sswiftbic:"", // 收款行SWIFT BIC .cnyselp.cnyout.sswiftbic
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnyselp.cnyout.cpayeraccttyp
spayeracct:"", // 清算(结算)帐户帐号 .cnyselp.cnyout.spayeracct
smidtransbank:"", // 中�'转汇行 .cnyselp.cnyout.smidtransbank
dpayeedate:"", // 付款日期 .cnyselp.cnyout.dpayeedate
spayeecny:"", // 付款币种 .cnyselp.cnyout.spayeecny
ftotalamt:"", // 原币金额 .cnyselp.cnyout.ftotalamt
sorilevyno:"", // 原申报号码 .cnyselp.cnyout.sorilevyno
sbanktrano:"", // 银行业务编号 .cnyselp.cnyout.sbanktrano
sbalancemode:"", // 结算方式 .cnyselp.cnyout.sbalancemode
iaccountperiod:"", // 结�'�期 .cnyselp.cnyout.iaccountperiod
fpayeeamt:"", // 货物贸易付款金额 .cnyselp.cnyout.fpayeeamt
fcustomsamt:"", // 已报关付款金额 .cnyselp.cnyout.fcustomsamt
frecordamt:"", // 已备案付款金额 .cnyselp.cnyout.frecordamt
fprepayeeamt:"", // 预付款金额 .cnyselp.cnyout.fprepayeeamt
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnyselp.cnyout.fonshoreamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnyselp.cnyout.foffshoreamt
fnogoodsamt:"", // 无货物报关其他金额 .cnyselp.cnyout.fnogoodsamt
cpayeeattr:"", // 付款人属性 .cnyselp.cnyout.cpayeeattr
fprepayerscale:"", // 预付款比例 .cnyselp.cnyout.fprepayerscale
},
spayeename:"", // 收款人名称 .cnyselp.spayeename
spayername:"", // 付款人名称 .cnyselp.spayername
saddwordout:"", // 交易附言 .cnyselp.saddwordout
cnyinc:{
spk:"", // 业务主键 .cnyselp.cnyinc.spk
sbankorgcode:"", // 银行机构代码 .cnyselp.cnyinc.sbankorgcode
spayeeorgcode:"", // 收款人机构代码 .cnyselp.cnyinc.spayeeorgcode
spayeeacct:"", // 收款人帐号 .cnyselp.cnyinc.spayeeacct
sswiftbic:"", // 付款行SWIFT BIC .cnyselp.cnyinc.sswiftbic
spayeracct:"", // 清算(结算)账户账号 .cnyselp.cnyinc.spayeracct
smidtransbank:"", // 中�'转汇行 .cnyselp.cnyinc.smidtransbank
dpayeedate:"", // 收款日期 .cnyselp.cnyinc.dpayeedate
sbalancemode:"", // 结算方式 .cnyselp.cnyinc.sbalancemode
spayeecny:"", // 收款币种 .cnyselp.cnyinc.spayeecny
ftotalamt:"", // 原币金额 .cnyselp.cnyinc.ftotalamt
sorilevyno:"", // 原申报号码 .cnyselp.cnyinc.sorilevyno
sbanktrano:"", // 银行业务编号 .cnyselp.cnyinc.sbanktrano
fpayeeamt:"", // 货物贸易收款金额 .cnyselp.cnyinc.fpayeeamt
fcustomsamt:"", // 已报关收款金额 .cnyselp.cnyinc.fcustomsamt
frecordamt:"", // 已备案收款金额 .cnyselp.cnyinc.frecordamt
fprepayeeamt:"", // 预收款金额 .cnyselp.cnyinc.fprepayeeamt
fprepayeescale:"", // 预收款比例 .cnyselp.cnyinc.fprepayeescale
iaccountperiod:"", // 结�'�期 .cnyselp.cnyinc.iaccountperiod
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnyselp.cnyinc.fonshoreamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnyselp.cnyinc.foffshoreamt
fnogoodsamt:"", // 无货物报关其他金额 .cnyselp.cnyinc.fnogoodsamt
cpayeeattr:"", // 收款人属性 .cnyselp.cnyinc.cpayeeattr
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnyselp.cnyinc.cpayeraccttyp
spayercountrycode:"", // 付款人常驻国家(地区)代码 .cnyselp.cnyinc.spayercountrycode
},
saddword:"", // 交易附言 .cnyselp.saddword
cnyvou:{
spk:"", // 业务主键 .cnyselp.cnyvou.spk
sbankorgcode:"", // 报送银行机构代码 .cnyselp.cnyvou.sbankorgcode
cvouchdirection:"", // 担保方向 .cnyselp.cnyvou.cvouchdirection
stransattr:"", // 业务属性 .cnyselp.cnyvou.stransattr
svoucherswiftbic:"", // 担保人机构代码 .cnyselp.cnyvou.svoucherswiftbic
svouchercountrycode:"", // 担保人国别 .cnyselp.cnyvou.svouchercountrycode
svoucheeorgcode:"", // 担保权人机构代码 .cnyselp.cnyvou.svoucheeorgcode
svoucheecountrycode:"", // 担保权人国别 .cnyselp.cnyvou.svoucheecountrycode
sdebtororgcode:"", // 债务人机构代码 .cnyselp.cnyvou.sdebtororgcode
sdebtorcountrycode:"", // 债务人国别 .cnyselp.cnyvou.sdebtorcountrycode
sreverseorgcode:"", // 反担保人机构代码 .cnyselp.cnyvou.sreverseorgcode
sreversecountrycode:"", // 反担保人国别 .cnyselp.cnyvou.sreversecountrycode
sbanktrano:"", // 银行业务编号 .cnyselp.cnyvou.sbanktrano
cvouchtype:"", // 担保种类 .cnyselp.cnyvou.cvouchtype
cvouchmode:"", // 反担保方式 .cnyselp.cnyvou.cvouchmode
fvouchamt:"", // 原币种金额 .cnyselp.cnyvou.fvouchamt
dvouchefficientdate:"", // 担保生效日期 .cnyselp.cnyvou.dvouchefficientdate
dvouchenddate:"", // 担保到期日期 .cnyselp.cnyvou.dvouchenddate
scontractno:"", // 担保合同编号 .cnyselp.cnyvou.scontractno
svouchno:"", // 担保登记编号 .cnyselp.cnyvou.svouchno
currencycode:"", // 担保币种 .cnyselp.cnyvou.currencycode
},
svouchername:"", // 担保人名称 .cnyselp.svouchername
svoucheename:"", // 担保权人名称 .cnyselp.svoucheename
sdebtorname:"", // 债务人名称 .cnyselp.sdebtorname
sreversename:"", // 反担保人名称 .cnyselp.sreversename
saddwordvou:"", // 交易附言 .cnyselp.saddwordvou
cnytra:{
spk:"", // 业务主键 .cnyselp.cnytra.spk
spayerbkorgcode:"", // 付款行银行机构代码 .cnyselp.cnytra.spayerbkorgcode
spayerswiftbic:"", // 付款方代码 .cnyselp.cnytra.spayerswiftbic
spayerbicbkacct:"", // 付款方帐号 .cnyselp.cnytra.spayerbicbkacct
spayeebkorgcode:"", // 收款行银行机构代码 .cnyselp.cnytra.spayeebkorgcode
spayeeswiftbic:"", // 收款方代码 .cnyselp.cnytra.spayeeswiftbic
spayeebicbkacct:"", // 收款方帐号 .cnyselp.cnytra.spayeebicbkacct
smidtransbank:"", // 中间转汇行 .cnyselp.cnytra.smidtransbank
sbicbkacct:"", // 清算帐户帐号 .cnyselp.cnytra.sbicbkacct
dpayerdate:"", // 付款日期 .cnyselp.cnytra.dpayerdate
spayercny:"", // 付款币种 .cnyselp.cnytra.spayercny
fpayeramt:"", // 付款金额 .cnyselp.cnytra.fpayeramt
sbanktrano:"", // 银行业务编号 .cnyselp.cnytra.sbanktrano
camttransrelation:"", // 资金划转关系 .cnyselp.cnytra.camttransrelation
camttranstype:"", // 资金划转类型 .cnyselp.cnytra.camttranstype
samttranspurpose:"", // 划转用途 .cnyselp.cnytra.samttranspurpose
},
spayerbkorgname:"", // 付款行银行机构名称 .cnyselp.spayerbkorgname
spayerswiftbicname:"", // 付款方名称 .cnyselp.spayerswiftbicname
spayeebkorgname:"", // 收款行银行机构名称 .cnyselp.spayeebkorgname
spayeeswiftbicname:"", // 收款方名称 .cnyselp.spayeeswiftbicname
saddwordtra:"", // 交易附言 .cnyselp.saddwordtra
},
pageId: "" // ctx的key
}
......
......@@ -15,6 +15,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
// async getTrnInfo(idx, row) {
// this.model.infcon.objinr = row["INR"];
// this.model.ledgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
// this.dialogTableVisible = true;
// let rtnmsg = await this.executeDefault("infcon.chksubcon");
// if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// }
// },
async onInfbutDsp(idx,row){
const selIds= [idx + 1];
const selDst= "dspstm";//dspstm是数据流
......@@ -138,5 +150,30 @@ export default {
this.model.cur="";
},
async handleSearch() {
this.stmData.data = [];
// let opndatfrom = this.model.infcon.opndatfrom;
// if(!opndatfrom || opndatfrom == ''){
// this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
// return;
// }
// let opndatto = this.model.infcon.opndatto;
// if(!opndatto || opndatto == ''){
// this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
// return;
// }
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -6,74 +6,45 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"sptstm": defaultSptstm,
"dlaxq": defaultDlaxq,
"usfmod.labtxt": defaultUsfmodLabtxt,
"usfmod.flt": defaultUsfmodFlt,
"usfmod.shwflt": defaultUsfmodShwflt,
"dlmft": defaultDlmft,
"butimg": defaultButimg,
"dflg": defaultDflg,
"yptinf": defaultYptinf,
"usfmod.usr.extkey": defaultUsfmodUsrExtkey,
"chkinc": defaultCheckbox,
"chkdzt": defaultCheckbox,
"chkpen": defaultCheckbox,
"chkcor": defaultCheckbox,
"chkaut": defaultCheckbox,
"chkdel": defaultCheckbox,
"chktco": updateTable,
"sptstm" :Utils.defaultFunction,
"dlaxq" :Utils.defaultFunction,
"usfmod.labtxt" :Utils.defaultFunction,
"usfmod.flt" :Utils.defaultFunction,
"usfmod.shwflt" :Utils.defaultFunction,
"dlmft" :Utils.defaultFunction,
"butimg" :Utils.defaultFunction,
"dflg" :Utils.defaultFunction,
"yptinf" :Utils.defaultFunction,
"usfmod.usr.extkey" :Utils.defaultFunction,
"chkinc" :Utils.defaultFunction,
"chkdzt" :Utils.defaultFunction,
"chkpen" :Utils.defaultFunction,
"chkcor" :Utils.defaultFunction,
"chkaut" :Utils.defaultFunction,
"chkdel" :Utils.defaultFunction,
"chktco" :Utils.defaultFunction,
// "chkcan": updateTable,
}
function defaultSptstm() {
}
function defaultDlaxq() {
}
function defaultUsfmodLabtxt() {
}
function defaultUsfmodFlt() {
}
function defaultUsfmodShwflt() {
}
function defaultDlmft() {
}
function defaultButimg() {
}
async function defaultDflg() {
const that = this;
that.executeDefault("dflg").then(res => {
that.model.dflg = res.data.dflg;
})
}
async function defaultYptinf() {
const that = this;
that.executeDefault("yptinf").then(res => {
//TODO 处理数据逻辑
})
}
function defaultUsfmodUsrExtkey() {
}
function defaultCheckbox(rule, value, callback) {
const that = this;
if (that.model[rule.field] === "") {
return
}
if(that.model[rule.field] === false){
that.model[rule.field] = "";
}
that.executeDefault("sptstm").then(res => {
//TODO 处理数据逻辑
that.$refs.Menu.stmData.data = res.data.sptstm.rows;
})
// function defaultCheckbox(rule, value, callback) {
// const that = this;
// if (that.model[rule.field] === "") {
// return
// }
// if(that.model[rule.field] === false){
// that.model[rule.field] = "";
// }
// that.executeDefault("sptstm").then(res => {
// //TODO 处理数据逻辑
// that.$refs.Menu.stmData.data = res.data.sptstm.rows;
// })
}
function updateTable(rule, value, callback){
const that = this;
if (that.model[rule.field] === true && that.$refs.Menu.stmData.columns[3] === "7 6 \"Creation\" 101 20 DateTime 1") {
that.$refs.Menu.stmData.columns.splice(3, 0, "18 5 \"MT\" 100");
}
if (that.model[rule.field] === false && that.$refs.Menu.stmData.columns[3] === "18 5 \"MT\" 100") {
that.$refs.Menu.stmData.columns.splice(3, 1);
}
}
// }
// function updateTable(rule, value, callback){
// const that = this;
// if (that.model[rule.field] === true && that.$refs.Menu.stmData.columns[3] === "7 6 \"Creation\" 101 20 DateTime 1") {
// that.$refs.Menu.stmData.columns.splice(3, 0, "18 5 \"MT\" 100");
// }
// if (that.model[rule.field] === false && that.$refs.Menu.stmData.columns[3] === "18 5 \"MT\" 100") {
// that.$refs.Menu.stmData.columns.splice(3, 1);
// }
// }
......@@ -99,6 +99,31 @@ export default {
//}
},
async onChange(row, scope) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName;
// showGridPromptDialog('rou')
this.model.selsptinr = row['INR'];
const selIds = [];
selIds.push(row['IDX']);
let params = { selDst: "sptstm", selIds: selIds };
let rtnmsg = await this.executeRule("rou", params)
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
// let trnName = row.交易代码.toLowerCase();
let trnName = "sptrou";
// let viewurl = "/business/ditopn?selsptinr=" + row[0];
//let viewurl = "/business/"+trnName+"?selsptinr=" + row['INR'];
this.$router.push({ name: trnName.charAt(0).toUpperCase() + trnName.substring(1), params: { prePageId: this.model.pageId } });
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
//}
},
async handleReset() {
this.model.chkinc = "";
this.model.chkdzt = "";
......
......@@ -135,7 +135,7 @@
<c-col :span="12">
<el-form-item label="发票类型" prop="bodgrp.rec.invtyp">
<c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" :code="invtyp">
<c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" :code="invtyp2">
</c-select>
</el-form-item>
</c-col>
......
......@@ -315,6 +315,38 @@
</el-form-item>
</c-col>
</c-row>
<!---line1---->
<c-row>
<c-col :span="12">
<el-form-item label="融资金额" prop="bpdgrp.cbs.max.cur">
<c-select
:disabled="(model.ledgrp.rec.dflg=='D' || model.dedgrp.rec.dflg=='D') || (model.bpdgrp.rec.fintyp=='F' || model.bpdgrp.rec.fintyp=='U')"
v-model="model.bpdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择融资币种"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="融资金额" prop="bpdgrp.cbs.max.amt">
<c-input
v-model="model.bpdgrp.cbs.max.amt"
placeholder="请输入融资金额"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!------------右部------------->
......@@ -342,7 +374,7 @@
<!-----------左侧------------->
<c-col :span="12" style="padding-right: 20px;">
<!---line1---->
<c-row>
<!-- <c-row>
<c-col :span="12">
<el-form-item label="融资金额" prop="bpdgrp.cbs.max.cur">
<c-select
......@@ -370,7 +402,7 @@
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-row> -->
<!---line2---->
<c-row>
......
......@@ -4,8 +4,8 @@
<div class="eibs">
<div v-if="model.ledgrp.rec.dflg == 'D' || model.dedgrp.rec.dflg == 'D'">
<c-row>
<c-col :span="12">
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx1"
@change="
mutualExclusion();
......@@ -13,7 +13,7 @@
">贷记贵司指定账户</c-checkbox>
</c-col>
<c-col :span="12">
<c-col :span="14">
<el-form-item label="帐号:" prop="financ.acc">
<c-input
v-model="model.financ.acc"
......@@ -23,10 +23,10 @@
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx5"
@change="
mutualExclusion();
......@@ -36,7 +36,7 @@
>
</c-col>
<c-col :span="12">
<c-col :span="14">
<el-form-item label="业务编号" prop="financ.ref5">
<c-input
v-model="model.financ.ref5"
......@@ -46,13 +46,12 @@
></c-input>
</el-form-item>
</c-col>
</c-row>
</div>
<div v-if="model.ledgrp.rec.dflg != 'D' && model.dedgrp.rec.dflg != 'D'">
<c-row>
<c-col :span="12">
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx1"
@change="
mutualExclusion();
......@@ -60,7 +59,7 @@
">贷记贵司指定账户</c-checkbox>
</c-col>
<c-col :span="12">
<c-col :span="14">
<el-form-item label="帐号:" prop="financ.acc">
<c-input
v-model="model.financ.acc"
......@@ -70,10 +69,8 @@
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx2"
@change="
mutualExclusion();
......@@ -83,7 +80,7 @@
>
</c-col>
<c-col :span="12">
<c-col :span="14">
<el-form-item label="业务编号" prop="financ.ref2">
<c-input
v-model="model.financ.ref2"
......@@ -93,10 +90,8 @@
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx3"
@change="
mutualExclusion();
......@@ -106,7 +101,7 @@
>
</c-col>
<c-col :span="12">
<c-col :span="14">
<el-form-item label="业务编号" prop="financ.ref3">
<c-input
v-model="model.financ.ref3"
......@@ -116,10 +111,8 @@
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<c-col :span="6">
<c-checkbox v-model="model.financ.rzkx4"
@change="
mutualExclusion();
......@@ -129,7 +122,7 @@
>
</c-col>
<c-col :span="12">
<c-col :span="14">
<el-form-item label="业务编号" prop="financ.ref4">
<c-input
v-model="model.financ.ref4"
......@@ -139,7 +132,7 @@
></c-input>
</el-form-item>
</c-col>
</c-row>
</div>
</div>
</template>
......
......@@ -92,7 +92,7 @@ export default {
],
stmData: {
columns: [
'0 1 "业务编号" 120',
'0 1 "业务编号" 140',
'1 2 "币种" 110',
'2 3 "金额" 120 2 8:1 2 5',
'3 4 "收款人名称" 250',
......
......@@ -11,11 +11,35 @@
</content>
</el-tab-pane>
<!--cnyselp PD000047 2106银行跟单结算及表外融资 -->
<el-tab-pane :label="$t('cnyselp.PD000047')" name="libp">
<el-tab-pane :label="$t('cnyselp.PD000047')" name="libp" v-if="(this.model.cnytyp == 3)">
<content>
<m-libp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--cnyselp PD000044 2111跨境支出信息 -->
<el-tab-pane :label="$t('cnyselp.PD000044')" name="outp" v-if="(this.model.cnytyp == 2)">
<content>
<m-outp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--cnyselp PD000001 2101跨境收入信息 -->
<el-tab-pane :label="$t('cnyselp.PD000001')" name="incp" v-if="(this.model.cnytyp == 1)">
<content>
<m-incp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--cnyselp PD000045 2122跨境担保登记业务信息 -->
<el-tab-pane :label="$t('cnyselp.PD000045')" name="voup" v-if="(this.model.cnytyp == 5)">
<content>
<m-voup :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--cnyselp PD000046 2107境外主体之间资金划转 -->
<el-tab-pane :label="$t('cnyselp.PD000046')" name="trap" v-if="(this.model.cnytyp == 4)">
<content>
<m-trap :model="model" :codes="codes" />
</content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -31,13 +55,21 @@ import Default from "~/model/Cnysel/Default";
import Pattern from "~/model/Cnysel/Pattern";
import Selp from "./Selp";
import Libp from "./Libp"
import Libp from "./Libp";
import Outp from "./Outp"
import Incp from "./Incp"
import Voup from "./Voup"
import Trap from "./Trap"
export default {
name: "Cnysel",
components: {
"m-selp": Selp,
"m-libp": Libp,
"m-outp": Outp,
"m-incp": Incp,
"m-voup": Voup,
"m-trap": Trap,
},
provide() {
return {
......
......@@ -98,7 +98,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
......@@ -88,7 +88,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
......@@ -88,7 +88,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
......@@ -88,7 +88,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--infact PD000041 Search Panel -->
<el-tab-pane :label="'查询页面'" name="infsea">
<m-infsea :model="model" :codes="codes" ref="infsea"/>
</el-tab-pane>
<!--actp PD000000 Accounts -->
<el-tab-pane :label="'详情'" name="actp0">
<m-actp0 :model="model" :codes="codes" ref="actp0"/>
</el-tab-pane>
<!--actp PD000700 Info and Stoptext -->
<el-tab-pane :label="'Info and Stoptext'" name="oitpan">
<m-oitpan :model="model" :codes="codes" ref="oitpan"/>
</el-tab-pane>
<!-- <el-tab-pane :label="$t('actp.PD000040')" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane :label="$t('infbut.PD000022')" name="evtinfp">
<m-evtinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane :label="$t('vermod.PD000005')" name="difstm">
<m-difstm :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea"/>
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -63,13 +46,13 @@ export default {
return {
tabVal: "infsea",
trnName: "infact",
trnType: "",
model: new Infact().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
codes: {
...CodeTable
},
}
},
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="srvprtm.prtmod.cltprtflg">
<el-form-item label="" prop="chgetyprt">
<c-checkbox v-model="model.chgetyprt"
>实体更改时打印消息</c-checkbox
>
......@@ -15,6 +15,7 @@
v-model="model.srvprtm.prtmod.cltprtflg"
style="width: 100%"
placeholder="请选择客户端打印"
:code="codes.cltprtflg"
>
</c-select>
</el-form-item>
......@@ -37,6 +38,7 @@
v-model="model.srvprtm.prt.tef"
style="width: 100%"
placeholder="请选择技术表格"
:code="codes.tef"
>
</c-select>
</el-form-item>
......@@ -48,6 +50,7 @@
v-model="model.srvprtm.prt.getprt"
style="width: 100%"
placeholder="请选择默认打印机来自"
:code="codes.getprt"
>
</c-select>
</el-form-item>
......@@ -60,6 +63,13 @@
style="width: 100%"
placeholder="请选择打印机"
>
<el-option
v-for="item in prt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -71,6 +81,13 @@
style="width: 100%"
placeholder="请选择Paperbin"
>
<el-option
v-for="item in bin"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -82,6 +99,13 @@
style="width: 100%"
placeholder="请选择Bin for 2nd Page"
>
<el-option
v-for="item in bin"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -108,7 +132,20 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
bin: [
{ label: "Bin", value: "Bin" },
],
prt: [
{ label: "导出为WPS PDF", value: "导出为WPS PDF" },
{ label: "OneNote (Desktop)", value: "OneNote (Desktop)" },
{ label: "Microsoft XPS Document Writer", value: "Microsoft XPS Document Writer" },
{ label: "Microsoft Print to PDF", value: "Microsoft Print to PDF" },
{ label: "Fax", value: "Fax" },
{ label: "Adobe PDF", value: "Adobe PDF" },
{ label: "", value: "" },
],
};
},
methods: { ...Event },
created: function () {},
......
......@@ -33,6 +33,7 @@
v-model="model.spt.sta"
style="width: 100%"
placeholder="请选择类型"
:code="codes.sptrelstatus"
disabled
>
</c-select>
......@@ -113,15 +114,17 @@
v-model="model.spt.usr"
maxlength="8"
placeholder="请输入经办柜员"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="创建时间" prop="spt.dattim" label-width="60px">
<el-form-item label="创建时间" prop="spt.dattim" label-width="80px">
<c-input
v-model="model.spt.dattim"
placeholder="请输入创建时间"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -169,7 +172,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="" prop="recpan.atpget.sdamod.seainf" label-width="10px">
<c-input
v-model="model.recpan.atpget.sdamod.seainf"
......@@ -177,6 +180,15 @@
disabled
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="" prop="recpan.atptxt" label-width="10px">
<c-input
v-model="model.recpan.atptxt"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -187,7 +199,7 @@
v-model="model.spt.wrkgrp"
style="width: 100%"
placeholder="请选择虚拟机构"
:code="sptWrkgrp"
:code="getValues('spt.wrkgrp')"
>
</c-select>
</el-form-item>
......@@ -212,6 +224,7 @@
v-model="model.spt.infdsp"
style="width: 100%"
placeholder="请选择消息文本"
:code="codes.infdsp"
>
</c-select>
</el-form-item>
......@@ -223,6 +236,7 @@
v-model="model.spt.cretrn"
maxlength="6"
placeholder="请输入创建交易id"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -246,7 +260,7 @@ export default {
mixins: [commonProcess],
data() {
return {
sptWrkgrp: []
// sptWrkgrp: []
};
},
methods: { ...Event,
......
......@@ -4,29 +4,28 @@
type="primary"
@click="handleSave">save</el-button> -->
<!-- <el-button size="small" @click="handletak">tak</el-button> -->
<div class="m-Btn-eContainer">
<div class="m-funcBtn-eContainer">
<el-button size="small" type="primary" @click="handleSave">{{ $t('buttons.submit') }}</el-button>
<el-button size="small" @click="handleCancel">{{ $t('buttons.quit') }}</el-button>
</div>
</div>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000052 -->
<el-tab-pane label="项目概述" name="sptroup" v-if="false">
<m-sptroup :model="model" :codes="codes"/>
<c-content>
<m-sptroup :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000035 -->
<el-tab-pane label="待定项目" name="sptnegp">
<m-sptnegp ref="sptnegp" :model="model" :codes="codes"/>
<c-content>
<m-sptnegp ref="sptnegp" :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000090 -->
<el-tab-pane label="配置打印以重新路由" name="prtcfg">
<m-prtcfg :model="model" :codes="codes"/>
<c-content>
<m-prtcfg :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
......@@ -38,6 +37,18 @@
>
</c-grid-ety-prompt-dialog>
</el-form>
<div class="m-Btn-eContainer">
<div class="m-funcBtn-eContainer">
<el-button size="small" type="primary" @click="handleSave">{{ $t('buttons.submit') }}</el-button>
<el-button size="small" @click="handleStash">{{ $t('buttons.stash') }}</el-button>
<el-button size="small" @click="handleCancel">{{ $t('buttons.quit') }}</el-button>
</div>
</div>
<!-- <c-function-btn
:handleSubmit="handleSubmit"
:handleStash="handleStash"
>
</c-function-btn> -->
</div>
</template>
<script>
......@@ -45,6 +56,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Sptrou from "~/model/Sptrou"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Sptrou/Check"
import Default from "~/model/Sptrou/Default"
import Pattern from "~/model/Sptrou/Pattern"
......@@ -65,7 +77,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "sptnegp",
......@@ -85,7 +97,7 @@ export default {
},
async handleSave(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
if(rtnmsg.respCode == SUCCESS && Object.keys(rtnmsg.fieldErrors).length==0)
{
this.$notify({
title: "成功",
......@@ -98,14 +110,46 @@ export default {
//修改待复核界面刷新状态为需要刷新
this.$store.commit("setLoadingFreshSptsel", true)
});
}
else
}else if (rtnmsg.fieldErrors && Object.keys(rtnmsg.fieldErrors).length > 0) {
const tab = this.showBackendErrors(rtnmsg.fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
}
this.$notify({
title: "错误",
message: "检核失败!",
type: "error",
});
} else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
handleCancel: function() {
this.$confirm("确认退出?", "", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning"
})
.then(res => {
// this.$router.back();
this.$store.dispatch("TagsView/delView", this.$route)
this.handleExit && this.handleExit()
if (this.$route.query && this.$route.query.routeParams) {
setTimeout(() => {
this.$router.back()
}, 500)
}
else {
setTimeout(() => {
this.$router.push('/home')
}, 500)
}
})
.catch(() => {});
},
handletak(){
},
......
......@@ -99,7 +99,7 @@
</c-col>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column fixed="right" prop="op" label="操作" width="165px" >
<el-table-column fixed="right" prop="op" label="操作" width="250px" >
<template slot="header">
<c-col :span="11" style="text-align:center"><span>操作</span></c-col>
</template>
......@@ -108,6 +108,8 @@
</c-button>
<c-button style="margin-left: 5px" size="small" type="primary" @click="continueEdit(scope.row)">处理
</c-button>
<c-button style="margin-left: 5px" size="small" @click="onChange(scope.row)" :disabled="scope.row.状态!='INC'">更改
</c-button>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
......
......@@ -741,11 +741,13 @@
</c-col>
<c-col :span="24">
<el-form-item label="外币贷款专户清单" prop="trtp.act">
<!-- @change="defaultFunction()" -->
<c-select
v-model="model.trtp.act"
style="width: 100%"
placeholder="请选择外币贷款专户清单"
:disabled="model.trdgrp.cbs.max.cur === 'CNY'"
>
</c-select>
</el-form-item>
......
......@@ -297,9 +297,9 @@ export default {
this.model.pageSize = pageSize
this.onInfgtxSearch()
},
ptytypeChange(val) {
this.model.ptytyp = val;
},
// ptytypeChange(val) {
// this.model.ptytyp = val;
// },
getCodesByKey(key) {
return codes[key] ?? [];
},
......
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