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 Api from "~/service/Api";
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Cptopn{ export default class Cptopn{
constructor () { constructor () {
this.data = { this.data = {
...@@ -241,30 +242,6 @@ export default class Cptopn{ ...@@ -241,30 +242,6 @@ export default class Cptopn{
uetr:"", // Uetr .cptp.uetr uetr:"", // Uetr .cptp.uetr
}, },
pyenam:"",// 收款人名称 pyenam 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:{ mtabut:{
coninf:{ coninf:{
oitinf:{ oitinf:{
...@@ -394,7 +371,8 @@ export default class Cptopn{ ...@@ -394,7 +371,8 @@ export default class Cptopn{
sbankname:"", // 银行机构名称 .cnybop.sbankname sbankname:"", // 银行机构名称 .cnybop.sbankname
outscale:"", // OUTSCALE .cnybop.outscale 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 @@ ...@@ -272,7 +272,7 @@
<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%">
<el-option <el-option
v-for="item in invtyp" v-for="item in codes.invtyp"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<template slot="footer"> <template slot="footer">
<el-form-item label="" prop="lendoc.actflg"> <el-form-item label="" prop="lendoc.actflg">
<c-checkbox v-model="actflg" style="margin-left: 10px" <c-checkbox v-model="actflg" style="margin-left: 10px"
>输入金额</c-checkbox >输入账号</c-checkbox
> >
</el-form-item> </el-form-item>
</template> </template>
......
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
<template slot="footer"> <template slot="footer">
<el-form-item label="" prop="lendoc.actflg"> <el-form-item label="" prop="bopmod.basflg">
<c-checkbox <c-checkbox
:disabled="model.bopmod.szflg=='3' || model.bopmod.szflg==''" :disabled="model.bopmod.szflg=='3' || model.bopmod.szflg==''"
v-model="model.lendoc.actflg" v-model="model.bopmod.basflg"
style="margin-left: 10px" style="margin-left: 10px"
>基础数据</c-checkbox >基础数据</c-checkbox
> >
......
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`); let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.navcode = []; this.navcode = [];
this.$emit("onChoose", code.toLowerCase()); this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -376,10 +376,10 @@ export default { ...@@ -376,10 +376,10 @@ export default {
this.$refs.childs.initdialog = true this.$refs.childs.initdialog = true
console.log("ownref:" +ownref); 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.model.pageId } }); this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false
} , } ,
async getDitSelInfo(code){ async getDitSelInfo(code){
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`); let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.navcode = []; this.navcode = [];
this.$emit("onChoose", code.toLowerCase()); this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -429,10 +429,10 @@ export default { ...@@ -429,10 +429,10 @@ export default {
this.$refs.childs.initdialog = true; this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref); 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.model.pageId } }); this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false; this.$refs.childs.initdialog = false;
}, },
async getDitSelInfo(code) { async getDitSelInfo(code) {
......
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`); let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.navcode = []; this.navcode = [];
this.$emit("onChoose", code.toLowerCase()); this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -382,10 +382,10 @@ export default { ...@@ -382,10 +382,10 @@ export default {
this.$refs.childs.initdialog = true; this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref); 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.model.pageId } }); this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false; this.$refs.childs.initdialog = false;
}, },
async getDitSelInfo(code) { async getDitSelInfo(code) {
......
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`); let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.navcode = []; this.navcode = [];
this.$emit("onChoose", code.toLowerCase()); this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -424,11 +424,11 @@ export default { ...@@ -424,11 +424,11 @@ export default {
this.$refs.childs.initdialog = true this.$refs.childs.initdialog = true
console.log("ownref:" +ownref); 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.model.pageId } }); this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
} , } ,
async getDitSelInfo(code){ async getDitSelInfo(code){
//跳转交易 //跳转交易
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`); let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.navcode = []; this.navcode = [];
this.$emit("onChoose", code.toLowerCase()); this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -398,9 +398,9 @@ export default { ...@@ -398,9 +398,9 @@ export default {
this.$refs.childs.initdialog = true; this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref); 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; this.$refs.childs.initdialog = false;
}, },
async getLetSelInfo(code) { async getLetSelInfo(code) {
......
...@@ -452,9 +452,10 @@ export default { ...@@ -452,9 +452,10 @@ export default {
this.$refs.childs.initdialog = true; this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref); 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; this.$refs.childs.initdialog = false;
}, },
async getDitSelInfo(code) { async getDitSelInfo(code) {
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`); let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.navcode = []; this.navcode = [];
this.$emit("onChoose", code.toLowerCase()); this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -245,9 +245,10 @@ export default { ...@@ -245,9 +245,10 @@ export default {
this.opndat = opndat; this.opndat = opndat;
console.log("ownref:" + ownref); 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 this.$refs.childs.initdialog = false
}, },
closeTrn(refId) { closeTrn(refId) {
......
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
size="medium" size="medium"
type="primary" type="primary"
style="margin-left: 0" style="margin-left: 0"
@click="toCptopn" @click="toCptadv"
>swift汇入</c-button >swift汇入</c-button
> >
<c-button <c-button
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
size="medium" size="medium"
type="primary" type="primary"
style="margin-left: 5px" style="margin-left: 5px"
@click="toCptadv" @click="toCptopn"
>swift汇出</c-button >swift汇出</c-button
> >
<c-button <c-button
...@@ -355,7 +355,7 @@ ...@@ -355,7 +355,7 @@
> >
<div <div
style=" style="
text-align: right; text-align: right;
margin-top: -30px; margin-top: -30px;
margin-right: 5px; margin-right: 5px;
font-size: 16px; font-size: 16px;
...@@ -554,9 +554,10 @@ export default { ...@@ -554,9 +554,10 @@ export default {
this.$refs.childs.initdialog = true; this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref); 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; this.$refs.childs.initdialog = false;
}, },
async getDitSelInfo(code) { async getDitSelInfo(code) {
......
...@@ -435,9 +435,10 @@ export default { ...@@ -435,9 +435,10 @@ export default {
this.$refs.childs.initdialog = true; this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref); 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; this.$refs.childs.initdialog = false;
}, },
async getDitSelInfo(code) { async getDitSelInfo(code) {
......
...@@ -440,9 +440,10 @@ export default { ...@@ -440,9 +440,10 @@ export default {
this.$refs.childs.initdialog = true this.$refs.childs.initdialog = true
console.log("ownref:" +ownref); 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 this.$refs.childs.initdialog = false
} , } ,
async getDitSelInfo(code){ async getDitSelInfo(code){
......
...@@ -430,9 +430,10 @@ export default { ...@@ -430,9 +430,10 @@ export default {
console.log("dialogFlag:" + this.dialogFlag); console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref); 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; this.$refs.childs.initdialog = false;
}, },
async getDitSelInfo(code) { async getDitSelInfo(code) {
......
...@@ -670,9 +670,10 @@ export default { ...@@ -670,9 +670,10 @@ export default {
console.log("dialogFlag:" + this.dialogFlag); console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref); 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; this.$refs.childs.initdialog = false;
}, },
async getDitSelInfo(code) { async getDitSelInfo(code) {
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`); let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.navcode = []; this.navcode = [];
this.$emit("onChoose", code.toLowerCase()); this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -402,10 +402,10 @@ export default { ...@@ -402,10 +402,10 @@ export default {
this.$refs.childs.initdialog = true; this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref); 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.model.pageId } }); this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false; this.$refs.childs.initdialog = false;
}, },
async getLetSelInfo(code) { async getLetSelInfo(code) {
......
...@@ -208,6 +208,7 @@ ...@@ -208,6 +208,7 @@
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入装运期" placeholder="请输入装运期"
:disabled="model.ledgrp.rec.shpdat!=''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -233,6 +233,7 @@ ...@@ -233,6 +233,7 @@
v-model="model.ledgrp.rec.shpdat" v-model="model.ledgrp.rec.shpdat"
style="width: 90%" style="width: 90%"
placeholder="请选择装运日期" placeholder="请选择装运日期"
:disabled="model.ledgrp.blk.shpper!=''"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </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