Commit 50d8cf24 by 潘际乾
parents e54333d5 0a55d0bf
{
}
\ No newline at end of file
<template>
<div class="bus-button">
<c-button type="primary" v-on:click="save">{{ $t('buttons.submit') }}</c-button>
<c-button type="primary" v-on:click="pedding">{{ $t('buttons.stash') }}</c-button>
<c-button type="primary" v-on:click="check">{{ $t('buttons.check') }}</c-button>
<c-button v-on:click="exit">{{ $t('buttons.quit') }}</c-button>
</div>
<div class="bus-button">
<c-button type="primary" v-on:click="save">{{
$t("buttons.submit")
}}</c-button>
<c-button type="primary" v-on:click="pedding">{{
$t("buttons.stash")
}}</c-button>
<c-button type="primary" v-on:click="check">{{
$t("buttons.check")
}}</c-button>
<c-button v-on:click="exit">{{ $t("buttons.quit") }}</c-button>
</div>
</template>
<script>
import commonApi from "~/mixin/commonApi"
import Utils from "~/utils"
import commonApi from "~/mixin/commonApi";
import Utils from "~/utils";
export default {
props:["$pntvm"],
data(){
return{
props: ["$pntvm"],
data() {
return {};
},
methods: {
async save() {
console.log(123);
let vm = this.getVM();
let result = await vm.save();
console.log(result);
// if (result.respCode == SUCCESS) {
// this.$notify({
// title: '成功',
// message: '保存成功',
// type: 'success'
// });
// this.$router.history.push("/business/trnrel")
// } else {
// }
if (
result.respCode == SUCCESS &&
Object.keys(result.fieldErrors).length == 0
) {
this.$notify({
title: "成功",
message: "保存成功",
type: "success",
});
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", "trnrel");
});
} else if (
result.fieldErrors &&
Object.keys(result.fieldErrors).length > 0
) {
let errorMsg = "";
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in result.fieldErrors) {
errorMsgkey = key;
errorMsgVal = result.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ":" + errorMsgVal + ";";
}
this.$notify.error({
title: "失败",
message: "保存失败!错误信息[" + errorMsg + "]",
});
} else {
this.$notify({
title: "失败",
message: "保存失败",
type: "error",
});
}
},
async pedding() {
let result = await this.getVM().pedding();
console.log(result);
if (result.respCode == SUCCESS) {
this.$notify({
title: "成功",
message: "暂存成功",
type: "success",
});
this.$router.history.push("/business/sptsel");
} else {
this.$notify({
title: "失败",
message: "暂存失败",
type: "error",
});
}
},
methods:{
async save(){
console.log(123)
let vm = this.getVM();
let result = await vm.save()
console.log(result)
if (result.respCode == SUCCESS) {
this.$notify({
title: '成功',
message: '保存成功',
type: 'success'
});
this.$router.history.push("/business/trnrel")
} else {
this.$notify({
title: '失败',
message: '保存失败',
type: 'error'
});
}
},
async pedding(){
let result = await this.getVM().pedding()
console.log(result)
if (result.respCode == SUCCESS) {
this.$notify({
title: '成功',
message: '暂存成功',
type: 'success'
});
this.$router.history.push("/business/sptsel")
} else {
this.$notify({
title: '失败',
message: '暂存失败',
type: 'error'
});
}
},
async check(){
let result = await this.getVM().checkAll()
if(result.respCode != SUCCESS) {
this.$notify.error({title: '错误',message: result.respMsg});
} else {
// 清除之前的校验状态
this.getVM().$refs.modelForm.clearValidate()
const fields = this.getVM().$refs.modelForm.fields
const fieldErrors = result.fieldErrors;
this.getVM().updateModel(result.data)
Utils.positioningErrorMsg(fieldErrors, fields)
const tab = Utils.positioningErrorMsg(fieldErrors, fields);
if(tab) {
// tab切换之后,需出发tab-click的事件
this.getVM().tabClick(tab);
}
}
},
exit(){
this.$confirm('您有未保存的数据,确定退出吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(()=>{
this.$router.history.push("/home")
})
},
getVM(){
return this.$pntvm
async check() {
let result = await this.getVM().checkAll();
if (result.respCode != SUCCESS) {
this.$notify.error({ title: "错误", message: result.respMsg });
} else {
// 清除之前的校验状态
this.getVM().$refs.modelForm.clearValidate();
const fields = this.getVM().$refs.modelForm.fields;
const fieldErrors = result.fieldErrors;
this.getVM().updateModel(result.data);
Utils.positioningErrorMsg(fieldErrors, fields);
const tab = Utils.positioningErrorMsg(fieldErrors, fields);
if (tab) {
// tab切换之后,需出发tab-click的事件
this.getVM().tabClick(tab);
}
}
}
}
},
exit() {
this.$confirm("您有未保存的数据,确定退出吗, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
this.$router.history.push("/home");
});
},
getVM() {
return this.$pntvm;
},
},
};
</script>
<style>
.bus-button {
margin-bottom: 10px;
margin-bottom: 10px;
}
.bus-button :first-child {
margin-left: 0;
margin-left: 0;
}
</style>
\ No newline at end of file
<template>
<el-checkbox v-model="model" v-bind="$attrs" v-on="$listeners" v-bind:disabled="isDisable">
<el-checkbox v-model="model" :true-label="trueLabel" :false-label="falseLabel" v-bind="$attrs" v-on="$listeners" v-bind:disabled="isDisable">
<slot></slot>
</el-checkbox>
</template>
......@@ -14,18 +14,23 @@ export default {
disabled: {
type: Boolean,
default: false
},
"true-label":{
type:String,
default:"X"
},
"false-label":{
type:String,
default:""
}
},
computed: {
model: {
get () {
if(this.value)
return true
else
return false
return this.value
},
set (newVal) {
this.$emit('input', newVal?"X":"")
this.$emit('input', newVal)
}
},
mode () {
......
......@@ -88,79 +88,7 @@ export default {
}
},
async handlePass(data) {
debugger;
this.$confirm('您确定复核该笔交易?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(
async ()=>{
let idxInt = parseInt(data.idx);
const selIds = [idxInt+1]; //rowno选中行
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
this.declareParams.trnName = "trnrel";
console.log(this);
this.model.pageId = data.pageId;
let rtnmsg = await this.executeRule("relrow", params)
if (rtnmsg.respCode == SUCCESS) {
debugger;
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if(!fieldErrorsFlag){
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey+':'+errorMsgVal;
this.$notify.error({title: '错误',message: '复核失败!错误信息['+errorMsg+']'});
}else{
this.$notify({
title: '成功',
message: '复核成功',
type: 'success'
});
debugger;
// const that = this.root;
// that.executeRule("searow").then(res => {
// //TODO 处理数据逻辑
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// this.model.trncorco.trnstm = res.data.trncorco_trnstm;
// })
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel')
})
}
}
else {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if(!fieldErrorsFlag){
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey+':'+errorMsgVal;
}else if(rtnmsg.respMsg){
errorMsg = rtnmsg.respMsg;
}
this.$notify.error({title: '错误',message: '复核失败!错误信息['+errorMsg+']'});
}
}
)
this.$store.state.Transaction.operateFuns[data.operateId]["pass"]()
},
},
};
......@@ -77,8 +77,8 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{type: "number", required: false, message: "必输项"},
//{max: 3,message:"长度不能超过3"}
],
"bddgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -301,7 +301,7 @@ export default {
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
//{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -314,7 +314,7 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
//{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bdtset{
constructor () {
this.data = {
liaall:{
tenstm:"", // Tenor Stream .liaall.tenstm
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
},
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
liaall: new Pub().data.Liaall,
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
......@@ -219,29 +162,7 @@ export default class Bdtset{
extrat:"", // Exchange Rate .trtcre.extrat
},
paypsb:"", // Unpaid by Applicant .paypsb
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
mtabut: new Pub().data.Mtabut,
bddgrp:{
rec:{
frepayflg:"", // Free of Payment Flag .bddgrp.rec.frepayflg
......@@ -390,16 +311,7 @@ export default class Bdtset{
dfucur:"", // 代付金额: .dftcre.dfucur
dfuamt:"", // 代付金额: .dftcre.dfuamt
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doceot: [],
},
},
trnmod: new Pub().data.Trnmod,
fkr:"", // 付款人: .fkr
fkzh:"", // 付款账号: .fkzh
qxr:"", // 起息日: .qxr
......
......@@ -551,7 +551,7 @@ export default {
"didgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 500,message:"长度不能超过500"}
],
"didgrp.blk.insbnkame":[
{type: "string", required: true, message: "必输项"},
......
......@@ -7,6 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.bddgrp.rec.ownref = rtnmsg.data.bddgrp_rec_ownref;
}
else
......
......@@ -108,11 +108,11 @@ export default {
],
"didgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "didgrp.cbs.nom1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"didgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -151,11 +151,11 @@ export default {
],
"didgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "didgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"didgrp.apb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
......@@ -302,17 +302,17 @@ export default {
"didgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1950,message:"长度不能超过1950"}
],
"didgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1430,message:"长度不能超过1430"}
],
"didgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 325,message:"长度不能超过325"}
],
......
......@@ -86,16 +86,17 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onHandle(idx,row) {
async onHandle(idx, row) {
let trnName = row.交易代码.toLowerCase();
let viewurl = "/review/"+trnName;
let viewurl = "/review/ditopn";
const operateId = await this.$store.dispatch('Transaction/setOperateFuns', {
pass: this.onRelrow.bind(this, idx),
refuse: () => { alert("功能开发中") }
});
let pageId = this.model.pageId;
debugger;
this.$router.push({path:viewurl,query:{routeParams: {process: "1", commitFlag: "1"},trn:row['INR'],idx:idx,pageId:pageId}});
this.$router.push({ path: viewurl, query: { routeParams: { process: "1", commitFlag: "1" }, trn: row['INR'], idx: idx, operateId: operateId } });
},
async onRelrow(idx) {
......@@ -103,62 +104,66 @@ export default {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(async ()=>{
const selIds = [idx+1]; //rowno选中行
}).then(async () => {
const selIds = [idx + 1]; //rowno选中行
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule("relrow", params)
if (rtnmsg.respCode == SUCCESS) {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if(!fieldErrorsFlag){
if (!fieldErrorsFlag) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey+':'+errorMsgVal;
this.$notify.error({title: '错误',message: '复核失败!错误信息['+errorMsg+']'});
}else{
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({ title: '错误', message: '复核失败!错误信息[' + errorMsg + ']' });
} else {
this.$notify({
title: '成功',
message: '复核成功',
type: 'success'
});
debugger;
const that = this.root;
that.executeRule("searow").then(res => {
//TODO 处理数据逻辑
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
this.model.trncorco.trnstm = res.data.trncorco_trnstm;
})
}
// const that = this.root;
// that.executeRule("searow").then(res => {
// //TODO 处理数据逻辑
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// this.model.trncorco.trnstm = res.data.trncorco_trnstm;
// })
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel')
});
}
}
else {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if(!fieldErrorsFlag){
if (!fieldErrorsFlag) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ";";
}
errorMsg = errorMsgkey+':'+errorMsgVal;
}else if(rtnmsg.respMsg){
} else if (rtnmsg.respMsg) {
errorMsg = rtnmsg.respMsg;
}
this.$notify.error({title: '错误',message: '复核失败!错误信息['+errorMsg+']'});
this.$notify.error({ title: '错误', message: '复核失败!错误信息[' + errorMsg + ']' });
}
})
},
......@@ -348,16 +353,45 @@ export default {
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// })
// } else {
// that.executeRule("searow").then(res => {
// //TODO 处理数据逻辑
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// this.model.trncorco.trnstm = res.data.trncorco_trnstm;
// })
// that.executeRule("searow").then(res => {
// //TODO 处理数据逻辑
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// this.model.trncorco.trnstm = res.data.trncorco_trnstm;
// })
// }
const res = await this.executeRule("searow")
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
const arr=[];
res.data.trncorco_trnstm.rows.forEach(element => {
switch (element.charAt(0)) {
case 'W':
arr.push("Waiting" + element.substring(1));
break;
case 'C':
arr.push("Correct" + element.substring(1));
break;
case 'P':
arr.push("Picked up" + element.substring(1));
break;
case 'N':
arr.push("Rejected" + element.substring(1));
break;
case 'E':
arr.push("Entered" + element.substring(1));
break;
case 'X':
arr.push("External" + element.substring(1));
break;
case 'M':
arr.push("Closed" + element.substring(1));
break;
default:
arr.push(element);
break;
}
});
that.$refs.inftrnps.stmData.data = arr;
this.model.trncorco.trnstm = res.data.trncorco_trnstm;
if(res.data.trncorco_trnstm.rows.length == 0){
if (res.data.trncorco_trnstm.rows.length == 0) {
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
......@@ -370,7 +404,7 @@ export default {
async handleReset() {
this.model.bchcon = "";
this.model.trncorco.ownref = "";
this.model.trncorco.relflg = "";
this.model.trncorco.relflg = "ALL";
this.model.usrcon = "";
this.model.trncorco.inidatfro = "";
this.model.trncorco.inidattil = "";
......
......@@ -9,16 +9,19 @@ const mutations = {
* @param {Object} funs
* @returns
*/
ADD_OPERATE_FUN(state, funs) {
const id = Symbol("transaction-id");
ADD_OPERATE_FUN(state, { id, funs }) {
state.operateFuns[id] = funs;
return id;
},
};
const actions = {
setOperateFuns({ commit }, funs) {
commit("ADD_OPERATE_FUN", funs);
return new Promise(resolve => {
// const id = Symbol("transaction-id");
const id = new Date().valueOf();
commit('ADD_OPERATE_FUN', { id, funs })
resolve(id)
});
},
};
......
......@@ -176,7 +176,7 @@
<c-istream-table :list="this.model.infbut.dspstm" :columns="columns" >
<el-table-column
prop="display"
label="操作""
label="操作"
width="100">
<template slot-scope="scope">
<!-- <a :href="`/#/display/${scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照</a>-->
......
......@@ -16,15 +16,26 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
</c-row>
<el-form-item label="快递单号">
<c-input
type="textarea"
:disabled="false"
:rows="2"
v-model="model.expmno"
maxlength="120"
show-word-limit
placeholder="请输入单号"
></c-input>
</el-form-item>
<c-row>
<c-col :span="24">
<c-istream-table
:list="model.bdtp.docgrdm.docgrd"
:columns="columns"
>
</c-istream-table>
</c-col>
</c-row>
</c-col>
......@@ -37,8 +48,6 @@
>
</div>
</c-col>
</c-row>
</c-col>
</c-row>
......
......@@ -90,7 +90,7 @@ import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "./Limitbody";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Bdtdcr",
......
......@@ -7,7 +7,7 @@
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入信用证参考号"
style="width:160px"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -30,6 +30,7 @@
v-model="model.didgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date of Expiry"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -42,6 +43,7 @@
style="width: 95%"
maxlength="3"
placeholder="请输入Currency"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -51,6 +53,7 @@
<c-input
v-model="model.didgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -64,9 +67,9 @@
<el-form-item label="单据参考号" prop="bddgrp.rec.ownref">
<c-input
v-model="model.bddgrp.rec.ownref"
style="width: 160px"
maxlength="16"
placeholder="请输入单据参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -86,6 +89,7 @@
v-model="model.bddgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of Bill Contract"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -99,6 +103,7 @@
v-model="model.bddgrp.cbs.max.cur"
style="width: 95%"
placeholder="请选择单据金额"
disabled
>
</c-select>
</el-form-item>
......@@ -109,6 +114,7 @@
<c-input
v-model="model.bddgrp.cbs.max.amt"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -121,6 +127,7 @@
v-model="model.bddgrp.cbs.opn1.cur"
style="width: 95%"
placeholder="请选择单据余额"
disabled
></c-select>
</el-form-item>
</c-col>
......@@ -130,6 +137,7 @@
<c-input
v-model="model.bddgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -142,6 +150,7 @@
v-model="model.bddgrp.rec.rcvdat"
style="width: 95%"
placeholder="请选择到单日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -157,6 +166,7 @@
v-model="model.bddgrp.rec.stadat"
style="width: 100%"
placeholder="请选择Start Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -170,6 +180,7 @@
v-model="model.bddgrp.rec.matdat"
style="width: 95%"
placeholder="请选择Maturity Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -183,6 +194,7 @@
<c-input
v-model="model.bddgrp.rec.tenmaxday"
placeholder="请输入单据到期日"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -193,7 +205,15 @@
v-model="model.bddgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
disabled
>
<el-option
v-for="item in codes.brdtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -203,7 +223,15 @@
v-model="model.bddgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据状态"
disabled
>
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -216,6 +244,7 @@
v-model="model.bddgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -226,6 +255,7 @@
v-model="model.bddgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -236,6 +266,7 @@
v-model="model.bddgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -246,6 +277,7 @@
v-model="model.bddgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入远期期限"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -256,6 +288,7 @@
v-model="model.bddgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入交单行"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -266,6 +299,7 @@
v-model="model.bddgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -406,20 +440,65 @@
v-model="model.bddgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择Presented by"
:code="getValues('bddgrp.rec.docprbrol')"
@change="docprbrolChange"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行BIC" prop="bddgrp.apl.pts.extkey">
<c-col :span="24">
<el-form-item label="交单行BIC" prop="bddgrp.prb.pts.extkey">
<c-input
v-model="model.bddgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
style="width: 100%"
placeholder="请输入交单行BIC"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行行号" prop="bddgrp.prb.pts.bankno">
<c-input
v-model="model.bddgrp.prb.pts.bankno"
maxlength="20"
style="width: 100%"
placeholder="请输入交单行联行行号"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
@keyup.enter.native="showGridPromptDialog('bddgrp.prb.pts.bankno')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行名称(电证用)">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.jigomc"
style="width: 100%"
maxlength="35"
show-word-limit
placeholder="请输入联行名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行地址(电证用)">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.dizhii"
style="width: 100%"
maxlength="35"
show-word-limit
placeholder="请输入交单行地址"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-ptapdome
<!-- <c-ptapdome
:disabledJigomc="true"
:disabledDizhii="true"
:model="model"
......@@ -428,7 +507,7 @@
rol: 'apl',
grp: 'bddgrp',
}"
></c-ptapdome>
></c-ptapdome> -->
......@@ -550,6 +629,7 @@ import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtset/Event";
import PtapDome from "~/views/Public/PtapDome";
import Utils from "~/utils";
export default {
components: { "c-ptapdome": PtapDome },
......@@ -565,13 +645,22 @@ export default {
'3 3 "Cdt" 0 ',
'4 4 "Cur" 0 ',
'5 5 "Amt" 0 ',
'6 6 "Mat.Dat." 0 ',
'6 6 "Mat Dat" 0 ',
],
data: [],
},
};
},
methods: { ...Event },
methods: { ...Event,
docprbrolChange(){
this.executeRule("bddgrp.rec.docprbrol").then((res) => {
if ((res.respCode = SUCCESS)) {
debugger;
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {},
};
</script>
......
......@@ -17,12 +17,12 @@
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000005 -->
<el-tab-pane label="付款信息" name="utlp">
<c-content>
<m-utlp :model="model" :codes="codes"/>
<m-utlp :model="model" :codes="codes" ref="utlp"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="融资" name="crefin" v-if="model.trtcre.crefinflg">
......@@ -84,11 +84,14 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"
import Bdtset from "~/model/Bdtset"
import CommonProcess from "~/mixin/CommonProcess"
......@@ -150,27 +153,53 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
docsta:[
{ label: "已寄单索款", value: "A" },
{ label: "已到单", value: "B" },
{ label: "已到期付款确认", value: "C" },
{ label: "待付款", value: "D" },
{ label: "付款成功", value: "E" },
{ label: "已拒付", value: "F" },
{ label: "已退单", value: "G" },
{ label: "Clean documents received", value: "H" },
{ label: "Discrepant documents received", value: "I" },
{ label: "Goods released, wait for documents", value: "J" },
{ label: "Goods released, documents received", value: "K" },
{ label: "Documents sent on approval basis", value: "L" },
{ label: "Documents taken up", value: "M" },
{ label: "Documents settled free of payment", value: "N" },
{ label: "Discrepant document received in trust", value: "T" },
{ label: "Other Type of Advice, wait for documents", value: "O" },
{ label: "Documents have been refused and returned", value: "R" },
],
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bdtset交易");
console.log(new Bdtset().data)
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
console.log("进入bdtset交易");
let rtnmsg = await this.init(this.$route.query)
let that = this;
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
console.log(rtnmsg)
Utils.copyValueFromVO(this.model,rtnmsg.data)
that.$refs.utlp.stmData.data=rtnmsg.data.liaall_tenstm.rows
console.log(this.model);
if(this.isInDisplay){
this.restoreDisplay()
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
......
......@@ -255,7 +255,7 @@
fixed="right"
prop="display"
label="操作"
width="160px"
width="140px"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
......@@ -455,12 +455,12 @@ export default {
},
stmData: {
columns: [
'1 1 "提示日期" 100px',
'2 2 "提示原因" 0',
'3 3 "业务编号" 0',
'4 4 "提示信息" 250px',
'5 5 "待操作交易代码" 0',
'6 6 "经办柜员" 0',
'1 1 "提示日期" 160',
'2 2 "提示原因" 100',
'3 3 "业务编号" 150',
'4 4 "提示信息" 270',
'5 5 "待操作交易代码" 120',
'6 6 "经办柜员" 100',
'7 7 "所属工作组" 0',
// '8 8 "客户号" 1',
// '9 9 "客户名称" 1',
......
......@@ -9,7 +9,7 @@
<c-input
type="textarea"
v-model="model.didgrp.blk.insbnk"
maxlength="65"
maxlength="500"
show-word-limit
placeholder="请输入Instructions to Paying/Accepting/Negotiating Bank"
:rows="10"
......@@ -22,7 +22,7 @@
<c-input
type="textarea"
v-model="model.didgrp.blk.insbnkame"
maxlength="50"
maxlength="500"
show-word-limit
placeholder="请输入Instructions to P/A/N Amendment History"
:rows="10"
......
......@@ -2032,7 +2032,8 @@ export default {
methods: {},
created: async function () {
console.log("进入ditame交易");
let rtnmsg = await Api.post("ditame/init", { params: {} });
//let rtnmsg = await Api.post("ditame/init", { params: {} });
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
......
......@@ -3,16 +3,15 @@
<!-- =================左边====================== -->
<c-col :span="11">
<c-col :span="20">
<el-form-item label="不符点">
<c-col :span="21">
<c-input type="textarea" v-model="model.bddgrp.blk.docdis" disabled maxlength="50" show-word-limit
placeholder="请输入不符点"></c-input>
</el-form-item>
</c-col>
<c-col :span="4" style="text-align: right">
<el-form-item label-width="0">
<c-col :span="3" style="text-align: right">
<!-- <el-form-item label-width="0"> -->
<c-button
size="small"
type="primary"
......@@ -21,8 +20,9 @@
@click="onDocdisButtxmsel"
disabled
></c-button>
</el-form-item>
<!-- </el-form-item> -->
</c-col>
</el-form-item>
<c-col :span="24">
......@@ -47,14 +47,14 @@
<c-col :span="24">
<el-form-item label="" prop="bddgrp.rec.igndisflg">
<c-checkbox v-model="model.bddgrp.rec.igndisflg">忽略不符点</c-checkbox>
<c-checkbox v-model="model.bddgrp.blk.docdisflg">录入不符点</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="" prop="bddgrp.blk.docdisflg">
<c-checkbox v-model="model.bddgrp.blk.docdisflg">录入不符点</c-checkbox>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="收到的通知类型" prop="bddgrp.rec.advtyp">
......@@ -80,6 +80,7 @@
<c-col :span="24">
<el-form-item label="" prop="bddgrp.rec.approvcod">
<c-checkbox v-model="model.bddgrp.rec.approvcod">议付行担保协议</c-checkbox>
<c-checkbox v-model="model.bdtp.cre732flg">Create MT 732</c-checkbox>
</el-form-item>
</c-col>
......@@ -94,11 +95,10 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="" prop="bdtp.cre732flg">
<c-checkbox v-model="model.bdtp.cre732flg">Create MT 732</c-checkbox>
</el-form-item>
</c-col>
</c-col> -->
</c-col>
......
......@@ -16,7 +16,7 @@
<!--PD000047 -->
<el-tab-pane label="单据概况" name="litdckp">
<c-content>
<m-litdckp :model="model" :codes="codes" />
<m-litdckp :model="model" :codes="codes" v-on:changeShowDocpre="changeShowDocpre"/>
</c-content>
</el-tab-pane>
......@@ -26,9 +26,10 @@
</el-tab-pane> -->
<!--PD000062 -->
<el-tab-pane label="单据详情" name="docpre">
<el-tab-pane label="单据详情" name="docpre" v-if="isShowDocpre">
<m-docpre :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane>
<!--PD000079 -->
<!-- <el-tab-pane label="Shipping Detail" name="shpdet">
......@@ -39,7 +40,7 @@
<m-engp :model="model" :codes="codes" />
</el-tab-pane> -->
<el-tab-pane label="账务" name="setpan">
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
......@@ -59,11 +60,13 @@
<m-docpan :model="model" :codes="codes" ref="docpan" />
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<el-tab-pane label="授信额度" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
......@@ -73,6 +76,7 @@ import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Ditdck from "~/model/Ditdck";
import CommonProcess from "~/mixin/CommonProcess";
import CommonFuncs from "~/mixin/CommonFuncs";
import Pattern from "~/model/Ditdck/Pattern";
import Default from "~/model/Ditdck/Default";
import Check from "~/model/Ditdck/Check";
......@@ -80,7 +84,7 @@ import Litdckp from "./Litdckp";
import Ovwp from "./Ovwp";
import Docpre from "./Docpre";
import Shpdet from "./Shpdet";
import Limitbody from "./Limitbody";
// import Limitbody from "./Limitbody";
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
......@@ -88,6 +92,7 @@ import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Infdid",
......@@ -109,9 +114,10 @@ export default {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
mixins: [CommonProcess,CommonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
isShowDocpre:false,
tabVal: "litdckp",
trnName: "ditdck",
model: new Ditdck().data,
......@@ -126,34 +132,39 @@ export default {
};
},
methods: {
tabClick() {},
},
created: async function () {
// console.log("进入ditdck交易");
// let rtnmsg = await this.init(this.$route.query)
// if(rtnmsg.respCode == SUCCESS)
// {
// //TODO 处理数据逻辑
// console.log(rtnmsg)
// Utils.copyValueFromVO(this.model,rtnmsg.data)
// console.log(this.model);
// if(this.isInDisplay){
// this.restoreDisplay()
// }
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
console.log("进入ditdck交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
console.log(rtnmsg)
Utils.copyValueFromVO(this.model,rtnmsg.data)
console.log(this.model);
if(this.isInDisplay){
this.restoreDisplay()
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
// console.log("进入ditdck交易");
// let rtnmsg = await this.init({});
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
},
methods: {
changeShowDocpre(val) {
this.isShowDocpre = val
}
}
};
</script>
<style>
......
......@@ -14,8 +14,8 @@
<c-row>
<c-col :span="23">
<c-col :span="8">
<el-form-item label="Own Reference" prop="infcon.seaownref" style="width: 100%">
<c-col :span="6">
<el-form-item label="Own Reference" prop="infcon.seaownref" style="width: 100%" >
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
......@@ -24,9 +24,12 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<c-col :span="2">
&nbsp;
</c-col>
<c-col :span="10">
<el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%">
<c-col :span="11">
<c-col :span="10">
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
......@@ -37,7 +40,7 @@
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-col :span="10">
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
......@@ -47,7 +50,7 @@
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<c-col :span="6">
<el-form-item label="Name" prop="infcon.nam" style="width: 100%">
<c-input
v-model="model.infcon.nam"
......@@ -292,19 +295,19 @@ export default {
initdialog:false,
stmData: {
columns: [
'1 1 "Reference" 100 ',
'1 1 "Reference" 140 ',
'2 2 "Resp User" 100 ',
'5 3 "Applicant Party Number" 120',
'5 3 "Applicant Party Number" 160',
'6 4 "Applicant" 100',
'7 5 "Beneficiary Party Number" 120',
'8 6 "Beneficiary" 120',
'9 7 "Party Number" 120',
'10 8 "Presenting Bank" 150',
'3 9 "Opened" 80',
'7 5 "Beneficiary Party Number" 170',
'8 6 "Beneficiary" 150',
'9 7 "Party Number" 140',
'10 8 "Presenting Bank" 220',
'3 9 "Opened" 150',
'4 10 "Closed" 80',
'11 11 "Doc Amount Cur" 70',
'12 12 "Doc Amount" 70',
'13 13 "Open Amount Cur" 100',
'11 11 "Doc Amount Cur" 120',
'12 12 "Doc Amount" 120',
'13 13 "Open Amount Cur" 130',
'14 14 "Open Amount" 120',
],
data: [],
......
......@@ -5,9 +5,9 @@
<!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" class="infbddTab"> -->
<!-- <el-tab-pane label="查询信息" name="infsea"> -->
<c-content>
<!-- <c-content> -->
<m-infsea :model="model" :codes="codes" />
</c-content>
<!-- </c-content> -->
<!-- </el-tab-pane> -->
<!-- <el-tab-pane label="内容" name="ovwp">
......
......@@ -79,18 +79,22 @@ export default {
//this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
let j = 0;
for(let i=0; i < length; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
let newList = {
if(!( btnStr[i].indexOf("保证金") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
//添加到navcode数组中
this.navcode.splice(j,0,newList)
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
}
}
}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
<c-row>
<c-col :span="24">
<c-col :span="15">
<el-form-item
style="height=200px;"
label="General"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<i-stream-input
type="textarea"
rows="6"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入Infotext"
@change="valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
:model="model.mtabut.coninf.oitinf.oit.inftxt"
disabled
></i-stream-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitinf.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev"
disabled
placeholder="请选择Infotext Level"
:code="inflev"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="15">
<el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
<i-stream-input
type="textarea"
rows="6"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入Infotext"
@change="valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
:model="model.mtabut.coninf.oitset.oit.inftxt"
disabled
></i-stream-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
disabled
placeholder="请选择Infotext Level"
:code="inflev"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</c-col>
</c-col>
<c-col :span="11">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 50%"
placeholder="请选择执行日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="7" :offset="5">
<el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey">
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
disabled
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api"
// 附言页签,勿改
import _ from "~/utils/Lodash.js";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infdid/Event"
import IStreamInput from '~/components/IStreamInput'
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
components: {IStreamInput},
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
inflev: [
{ label: "Show", value: "$" },
{ label: "Do not show", value: "!" },
{ label: "Warn", value: "0" },
], //码表
};
},
methods: {
valueChange(event, type) {
if (!event) {
_.set(this.model, type, "");
}
},
methods:{...Event},
created:function(){
}
}
},
created: function () {},
};
</script>
<style>
</style>
</style>
\ No newline at end of file
......@@ -12,7 +12,7 @@
>
<el-row>
<c-col :span="23">
<c-col :span="8">
<c-col :span="6">
<el-form-item
label="Own Reference"
prop="infcon.seaownref"
......@@ -26,13 +26,17 @@
</el-form-item>
</c-col>
<c-col :span="8">
<c-col :span="2">
&nbsp;
</c-col>
<c-col :span="10">
<el-form-item
label="Opening between"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-col :span="10">
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
......@@ -44,7 +48,7 @@
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-col :span="10">
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
......@@ -56,7 +60,7 @@
</el-form-item>
</c-col>
<c-col :span="8">
<c-col :span="6">
<el-form-item
label="Party Reference"
prop="infcon.searef"
......@@ -326,16 +330,16 @@
>
处理
</c-button>
<!--
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getDitSelInfo(scope.row['Reference'])"
@click="getDitSelInfo(scope.$index,scope.row)"
>
info
</c-button>
-->
</template>
</el-table-column>
</c-istream-table>
......@@ -535,6 +539,7 @@
</div>
</template>
<script>
import Utils from "~/utils/index"
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
......@@ -552,20 +557,20 @@ export default {
initdialog:false,
stmData: {
columns: [
'1 1 "Reference" 100',
'1 1 "Reference" 120',
'2 2 "Resp User" 100',
'3 3 "Tenor day" 100',
'7 4 "Applicant Party Number" 160',
'8 5 "Applicant" 100',
'9 6 "Beneficiary Party Number" 180',
'10 7 "Beneficiary" 100',
'11 8 "BIC" 80',
'4 9 "Opened" 130',
'5 10 "Expired" 130',
'6 11 "Closed" 130',
'12 12 "L/C Amt Cur" 150',
'9 6 "Beneficiary Party Number" 170',
'10 7 "Beneficiary" 150',
'11 8 "BIC" 150',
'4 9 "Opened" 150',
'5 10 "Expired" 150',
'6 11 "Closed" 100',
'12 12 "L/C Amt Cur" 100',
'13 13 "L/C Amount" 120',
'14 14 "Open Amount Cur" 130',
'14 14 "Open Amount Cur" 125',
'15 15 "Open Amount" 120',
],
data: [],
......@@ -586,10 +591,22 @@ export default {
this.$router.history.push("/business/" + code)
this.initdialog = false
} ,
async getDitSelInfo(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false
async getDitSelInfo(idx,row){
console.log(row);
var params = {selDst:"infbut.dspstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("infbut.dspstm", params);
if(rtnmsg.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsg.data);
let rtnmsgNew = await this.executeRule("infbut.dsp", params);
console.log(rtnmsgNew)
if(rtnmsgNew.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsgNew.data);
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this.$emit('updateShowPanel', true)
}
},
created: function () {},
......
<template>
<div class="eibs-tab">
<c-col v-if="!noRef" :span="24">
<el-form-item
:label="`${argadr.title}参考号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.ref`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.ref"
:placeholder="'请输入' + argadr.title + '参考号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item
:label="`${argadr.title}ID`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-input
style="width: 95%"
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
@change="valueChange"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
class="searchButton"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
</c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button
style="margin:0 0"
class="detailsButton"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }}
</c-button>
<!-- </el-form-item> -->
</c-col>
<template v-if="!onlySearch">
<c-col v-if="isAdrblk" :span="24">
<el-form-item
label="名称地址"
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入名称地址"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<template v-else>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}名称`"
:prop="`${argadr.grp}.${argadr.rol}.namelc`"
>
<c-input
type="textarea"
v-model="model[argadr.grp][argadr.rol].namelc"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
:rows="2"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}地址`"
:prop="`${argadr.grp}.${argadr.rol}.adrelc`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].adrelc"
:placeholder="'请输入' + argadr.title + '地址'"
:disabled="disabled"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
</template>
</template>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [CommonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabled: {
//名称地址是否灰显
type: Boolean,
default: false,
},
isAdrblk: {
//名称地址是否为大字段
type: Boolean,
default: true,
},
onlySearch: {
//是否只展示extkey
type: Boolean,
default: false,
},
noRef: {
//无需参考号
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {
onSeainf(data) {
this.$emit("onSeainf", data);
},
onAplpDet() {
this.$emit("onAplpDet");
},
valueChange() {
if (this.onlySearch) return;
// this.showGridPromptDialog(
// `${this.argadr.grp}.${this.argadr.rol}.pts.extkey`
// );
},
},
created: function () {},
};
</script>
<style>
.searchButton {
text-align: center;
/* margin: 0 10px; */
margin-right: 10px;
padding: 0 10px;
}
.detailsButton {
margin-left: 10px;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="24" v-if="!isIss">
<el-form-item
:label="`${argadr.title}联行行号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.bankno`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.bankno"
maxlength="20"
:placeholder="'请输入' + argadr.title + '联行行号'"
@keyup.enter.native="showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.bankno`)"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-else>
<el-form-item
:label="`${argadr.title}联行行号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.bankno`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.bankno"
maxlength="20"
disabled
:placeholder="'请输入' + argadr.title + '联行行号'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}联行名称`"
:prop="`${argadr.grp}.${argadr.rol}.pts.jigomc`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].pts.jigomc"
maxlength="35"
show-word-limit
:placeholder="'请输入' + argadr.title + '联行名称'"
:disabled="disabledJigomc"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}地址`"
:prop="`${argadr.grp}.${argadr.rol}.pts.dizhii`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].pts.dizhii"
maxlength="35"
show-word-limit
:placeholder="'请输入' + argadr.title + '地址'"
disabled
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [CommonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabledBankno: {
type: Boolean,
default: false,
},
disabledJigomc: {
type: Boolean,
default: false,
},
disabledDizhii: {
type: Boolean,
default: false,
},
isIss: {
//是否为开证行
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input type="textarea" v-model="model.didgrp.blk.stamet" maxlength="65" show-word-limit placeholder="请输入声明" ></c-input>
</el-form-item>
</c-col>
</div>
<!-- <c-col :span="22">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input
type="textarea"
v-model="model.didgrp.blk.stamet"
maxlength="65"
:row="15"
show-word-limit
placeholder="请输入声明"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="22">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input
type="textarea"
v-model="model.didgrp.blk.stamet"
maxlength="500"
show-word-limit
placeholder="请输入声明"
:rows="15"
disabled
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infdid/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.recpan.hwfwms" data-path=".recpan.hwfwms" > </span>
<!--
<c-col :span="24">
<span v-text="model.ditp.hwfwms" data-path=".ditp.hwfwms" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Description of Goods" prop="didgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.didgrp.blk.lcrgod" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
...
</c-button>
-->
<c-col :span="24">
<el-form-item label="货物描述" prop="didgrp.blk.lcrgod">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrgod" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="单据要求" prop="didgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.didgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入单据要求" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
...
</c-button>
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrdoc" maxlength="1950" style="width:70%;margin-right:20px;" show-word-limit placeholder="请输入单据要求" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="附加条款" prop="didgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.didgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
...
</c-button>
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.adlcnd" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入附加条款" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付行的指示" prop="didgrp.blk.insbnk">
<c-input type="textarea" v-model="model.didgrp.blk.insbnk" maxlength="65" show-word-limit placeholder="请输入付行的指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
...
</c-button>
<c-col :span="24">
<el-form-item label="给付款、承兑、议付行的指示" prop="didgrp.blk.insbnk">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.insbnk" style="width:70%;margin-right:20px;" maxlength="325" show-word-limit placeholder="请输入付行的指示" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.didgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-col>
<!-- <c-col :span="24">-->
<!-- <el-form-item label="" prop="didgrp.rec.redclsflg">-->
<!-- <c-checkbox v-model="model.didgrp.rec.redclsflg">红/绿条款</c-checkbox>-->
<!-- </el-form-item>-->
<!-- </c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infdid/Event"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
......
......@@ -2,34 +2,40 @@
<div class="eContainer">
<div style="padding:0 5px">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="110px" label-position="right" size="small" :validate-on-rule-change="false">
<!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> -->
<!--PD000006 -->
<!-- <el-tab-pane label="信用证查询" name="infsea"> -->
<!-- <c-content> -->
<m-infsea :model="model" :codes="codes"/>
<m-infsea v-show="!showPanel" @updateShowPanel="updateShowPanel($event)" :model="model" :codes="codes"/>
<!-- </c-content> -->
<!-- </el-tab-pane> -->
<c-tabs v-model="tabVal" v-show="showPanel" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<!-- <el-tab-pane label="PD000001" name="ovwp">
<el-tab-pane label="基本信息" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>-->
</el-tab-pane>
<!--PD000452 -->
<el-tab-pane label="其他当事人" name="detp1">
<m-detp1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000077 -->
<!-- <el-tab-pane label="PD000077" name="detp">
<el-tab-pane label="详细信息" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane> -->
</el-tab-pane>
<!--PD000342 -->
<!-- <el-tab-pane label="PD000342" name="tk">
<el-tab-pane label="单据要求" name="tk">
<m-tk :model="model" :codes="codes"/>
</el-tab-pane> -->
</el-tab-pane>
<!--PD000000 -->
<!-- <el-tab-pane label="PD000000" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane> -->
</el-tab-pane>
<!--PD000013 -->
<!-- <el-tab-pane label="PD000013" name="trnpan">
......@@ -86,21 +92,19 @@
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000452 -->
<!-- <el-tab-pane label="PD000452" name="detp1">
<m-detp1 :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000488 -->
<!-- <el-tab-pane label="PD000488" name="stament">
<el-tab-pane label="声明" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane> -->
<!-- </c-tabs> -->
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infdid from "~/model/Infdid"
......@@ -112,7 +116,7 @@ import Infsea from "./Infsea"
import Ovwp from "./Ovwp"
import Detp from "./Detp"
import Tk from "./Tk"
import Coninfp from "./Coninfp"
import Coninfp from "./Coninfp";
import Trnpan from "./Trnpan"
import Cbsinfp from "./Cbsinfp"
import Cbeinfp from "./Cbeinfp"
......@@ -164,26 +168,42 @@ export default {
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
showPanel:false,
rules: null,
codes: {
},
codes: { ...CodeTable },
}
},
methods:{
tabClick(){
},
initPanel(val){
if(val){
this.tabVal = "ovwp"
//
}else{
this.tabVal = ""
}
},
async updateShowPanel(value) {
this.showPanel = value;
this.initPanel(value);
}
},
created:async function(){
console.log("进入infdid交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
watch:{
}
}
</script>
......
......@@ -377,8 +377,8 @@ export default {
stmData: {
columns: [
'4 1 "交易代码" 70 ',
'5 2 "业务编号" 270',
'6 3 "交易名称" 140',
'5 2 "业务编号" 300',
'6 3 "交易名称" 180',
'1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA',
'17 5 "报文类型" 100',
'18 6 "对方银行BIC" 110',
......
......@@ -401,7 +401,7 @@
fixed="right"
prop="display"
label="操作"
width="230px"
width="150px"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
......@@ -435,8 +435,8 @@
>
处理
</c-button>
<c-button
</c-button>
<!-- <c-button
style="margin-left: 0"
size="small"
type="primary"
......@@ -444,7 +444,7 @@
>
复核
</c-button>
</c-button> -->
......@@ -549,7 +549,7 @@ export default {
'9 7 "签名要求" 70',
'2 8 "签名状态" 70',
'16 9 "经办柜员" 70',
'0 10 "业务状态" 70',
'0 10 "业务状态" 80',
'15 11 "业务机构" 120',
],
data: [],
......@@ -574,10 +574,11 @@ export default {
async mounted() {
this.relflgCodes = [
{ label: "ALL", value: "0" }, //待复核列表业务状态All
{ label: "Correct", value: "C" },
{ label: "Closed", value: "M" },
{ label: "Entered", value: "E" },
{ label: "External", value: "X" },
// { label: "Closed", value: "M" },
// { label: "Entered", value: "E" },
// { label: "External", value: "X" },
{ label: "Picked up", value: "P" },
{ label: "Rejected", value: "N" },
{ label: "Waiting", value: "W" },
......
......@@ -537,6 +537,7 @@ export default {
created: function () {},
mounted() {
this.relflgCodes = [
{ label: "ALL", value: "1" }, //已完成列表业务状态All
{ label: "Final", value: "F" },
{ label: "Released", value: "R" },
];
......
......@@ -32,8 +32,8 @@ const { setLoginInfo } = mapMutations(["setLoginInfo"])
data() {
return {
loginForm: {
password: '',
username: ''
password: '1',
username: 'ZL',
},
rules:{
username:[
......
......@@ -6,6 +6,7 @@
v-model="model[argadr.url + 'ref']"
maxlength="16"
:placeholder="'请输入' + argadr.title + '编号'"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
......@@ -16,6 +17,7 @@
v-model="model[argadr.url + 'nam']"
maxlength="40"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
......@@ -28,14 +30,26 @@ import CommonProcess from "~/mixin/CommonProcess";
export default {
inject: ["root"],
mixins: [CommonProcess],
props: ["model", "codes", "argadr"],
props: {
model: {
type: Object,
default: undefined,
},
codes: {},
argadr: {},
disabled: {
//名称地址是否灰显
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
// methods: { ...Event },
// methods: { ...Event },
created: function () {},
};
</script>
......
......@@ -280,9 +280,9 @@
</el-table-column>
<el-table-column label="Source" prop="src" width="70px">
</el-table-column>
<el-table-column label="Disp" width="76px">
<el-table-column label="Disp" prop="dsp" width="76px">
<template #default="scope">
<el-select v-model="scope.row.dsp" @change="dispDefault">
<el-select v-model="scope.row.dsp" @change="dispDefault(scope.$index+1)">
<el-option
v-for="item in codes.setfeldsp"
:key="item.value"
......@@ -518,8 +518,8 @@ export default {
})
},
dispDefault(){
this.executeDefault("mac").then(res=>{
dispDefault(index){
this.executeDefault(`setmod.setfeg.setfel(${index}).mac`).then(res=>{
Utils.copyValueFromVO(this.model, res.data)
})
......
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