Commit f033692a by zhouqian

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

Development 202206

See merge request zhouqian/vue-gjjs!14
parents 0fe6993b 2fec8362
import Api from "~/service/Api";
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Cptopn{
constructor () {
this.data = {
......@@ -241,30 +242,6 @@ export default class Cptopn{
uetr:"", // Uetr .cptp.uetr
},
pyenam:"",// 收款人名称 pyenam
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
glemod:{
gleshwstm: {}
}
},
mtabut:{
coninf:{
oitinf:{
......@@ -394,7 +371,8 @@ export default class Cptopn{
sbankname:"", // 银行机构名称 .cnybop.sbankname
outscale:"", // OUTSCALE .cnybop.outscale
},
pageId: "" // ctx的key
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
}
}
}
\ No newline at end of file
......@@ -272,7 +272,7 @@
<el-form-item label="发票类型" prop="bodgrp.rec.invtyp">
<c-select v-model="model.bodgrp.rec.invtyp" style="width: 100%">
<el-option
v-for="item in invtyp"
v-for="item in codes.invtyp"
:key="item.value"
:label="item.label"
:value="item.value"
......
......@@ -33,7 +33,7 @@
<template slot="footer">
<el-form-item label="" prop="lendoc.actflg">
<c-checkbox v-model="actflg" style="margin-left: 10px"
>输入金额</c-checkbox
>输入账号</c-checkbox
>
</el-form-item>
</template>
......
......@@ -21,10 +21,10 @@
</c-select>
</el-form-item>
<template slot="footer">
<el-form-item label="" prop="lendoc.actflg">
<el-form-item label="" prop="bopmod.basflg">
<c-checkbox
:disabled="model.bopmod.szflg=='3' || model.bopmod.szflg==''"
v-model="model.lendoc.actflg"
v-model="model.bopmod.basflg"
style="margin-left: 10px"
>基础数据</c-checkbox
>
......
......@@ -79,7 +79,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -376,10 +376,10 @@ export default {
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
async onChoose(code){
async onChoose(code, prePageId){
//跳转交易
// this.$router.history.push("/business/" + code)
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId: this.model.pageId } });
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
......
......@@ -75,7 +75,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -429,10 +429,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId: this.model.pageId } });
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -79,7 +79,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -382,10 +382,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId: this.model.pageId } });
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -79,7 +79,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -424,11 +424,11 @@ export default {
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
async onChoose(code){
async onChoose(code, prePageId){
//跳转交易
// this.$router.history.push("/business/" + code)
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId: this.model.pageId } });
this.$refs.childs.initdialog = false
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
} ,
async getDitSelInfo(code){
//跳转交易
......
......@@ -75,7 +75,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -398,9 +398,9 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getLetSelInfo(code) {
......
......@@ -452,9 +452,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -81,7 +81,7 @@
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -245,9 +245,10 @@ export default {
this.opndat = opndat;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code)
// this.$router.history.push("/business/" + code)
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false
},
closeTrn(refId) {
......
......@@ -297,7 +297,7 @@
size="medium"
type="primary"
style="margin-left: 0"
@click="toCptopn"
@click="toCptadv"
>swift汇入</c-button
>
<c-button
......@@ -305,7 +305,7 @@
size="medium"
type="primary"
style="margin-left: 5px"
@click="toCptadv"
@click="toCptopn"
>swift汇出</c-button
>
<c-button
......@@ -355,7 +355,7 @@
>
<div
style="
text-align: right;
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
......@@ -554,9 +554,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -435,9 +435,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -440,9 +440,10 @@ export default {
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
async onChoose(code){
async onChoose(code, prePageId){
//跳转交易
this.$router.history.push("/business/" + code)
// this.$router.history.push("/business/" + code)
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
......
......@@ -430,9 +430,10 @@ export default {
console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -670,9 +670,10 @@ export default {
console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -75,7 +75,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -402,10 +402,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId: this.model.pageId } });
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getLetSelInfo(code) {
......
......@@ -208,6 +208,7 @@
maxlength="65"
show-word-limit
placeholder="请输入装运期"
:disabled="model.ledgrp.rec.shpdat!=''"
></c-input>
</el-form-item>
</c-col>
......
......@@ -233,6 +233,7 @@
v-model="model.ledgrp.rec.shpdat"
style="width: 90%"
placeholder="请选择装运日期"
:disabled="model.ledgrp.blk.shpper!=''"
></c-date-picker>
</el-form-item>
</c-col>
......
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