Commit 85498724 by liuxin

Getset复核

parent 7aa7a422
......@@ -92,6 +92,9 @@ export default {
let trnName = row.交易代码.toLowerCase();
let viewurl = "/review/"+trnName;
console.log(idx);
console.log(row);
const operateId = await this.$store.dispatch('Transaction/setOperateFuns', {
pass: this.onRelrow.bind(this, idx),
refuse: () => { alert("功能开发中") }
......
......@@ -154,8 +154,12 @@
placeholder="请选择Type of Undertaking"
disabled
>
<el-option v-for="item in codes.typgar" :key="item.value" :label="item.label"
:value="item.value">
<el-option
v-for="item in codes.typgar"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
......@@ -360,26 +364,6 @@
</c-col>
<c-col :span="24">
<c-checkbox v-model="cannowflg"
>Payment under Cancelation of Guarantee</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox v-model="clsflg"
>Close Flag</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox v-model="frepayflg"
>free of payment flag</c-checkbox
>
</c-col>
</c-col>
<!-- ===========Right=========== -->
<c-col :span="12" style="margin-top: 15px">
<c-col :span="24">
<el-form-item label="Presented by" prop="gcdgrp.rec.docprbrol">
<c-select
v-model="model.gcdgrp.rec.docprbrol"
......@@ -403,6 +387,30 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="">
<c-checkbox v-model="cannowflg"
>Payment under Cancelation of Guarantee</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="">
<c-checkbox v-model="clsflg">Close Flag</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="">
<c-checkbox v-model="frepayflg"
>free of payment flag</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!-- ===========Right=========== -->
<c-col :span="12" style="margin-top: 15px">
<c-col :span="24">
<c-fullbox>
<el-form-item
label="External Key of Address"
......@@ -465,8 +473,12 @@
placeholder="请选择Payer"
disabled
>
<el-option v-for="item in codes.rolall" :key="item.value" :label="item.label"
:value="item.value">
<el-option
v-for="item in codes.rolall"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
......@@ -546,27 +558,27 @@ export default {
computed: {
cannowflg: {
get() {
return this.model.gcdgrp.rec.cannowflg != ''
return this.model.gcdgrp.rec.cannowflg != "0";
},
set(val) {
this.model.gcdgrp.rec.cannowflg = val ? "X" : "0"
}
this.model.gcdgrp.rec.cannowflg = val ? "X" : "0";
},
},
clsflg: {
get() {
return this.model.mtabut.clsflg != ''
return this.model.mtabut.clsflg != "";
},
set(val) {
this.model.mtabut.clsflg = val ? "C" : ""
}
this.model.mtabut.clsflg = val ? "C" : "";
},
},
frepayflg: {
get() {
return this.model.gcdgrp.rec.frepayflg != ''
return this.model.gcdgrp.rec.frepayflg != "";
},
set(val) {
this.model.gcdgrp.rec.frepayflg = val ? "X" : ""
}
this.model.gcdgrp.rec.frepayflg = val ? "X" : "";
},
},
},
created: function () {},
......
<template>
<div class="eibs-tab">
<!-- ===================Left================= -->
<c-col :span="12">
<el-form-item
label="Verification Certificate Number"
prop="lendoc.vercerref"
>
<c-input
type="textarea"
v-model="model.lendoc.vercerref"
maxlength="20"
show-word-limit
placeholder="请输入Verification Certificate Number"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Input Account" prop="lendoc.actflg">
<c-col :span="4">
<c-col :span="3">
<c-checkbox v-model="model.lendoc.actflg"></c-checkbox>
</c-col>
<c-col :span="20">
<c-col :span="21">
<c-input
v-model="model.lendoc.account"
maxlength="25"
placeholder="请输入ACT"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Declaration Number" prop="lendoc.decnum">
<c-input
v-model="model.lendoc.decnum"
......@@ -44,6 +26,25 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ===================Right================= -->
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="Verification Certificate Number"
prop="lendoc.vercerref"
>
<c-input
type="textarea"
v-model="model.lendoc.vercerref"
maxlength="20"
show-word-limit
placeholder="请输入Verification Certificate Number"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</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="myTabClick">
......@@ -60,6 +66,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Getset from "~/model/Getset"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Getset/Check"
import Default from "~/model/Getset/Default"
import Pattern from "~/model/Getset/Pattern"
......@@ -94,7 +101,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "gitsetp1",
......@@ -116,17 +123,15 @@ export default {
}
},
created:async function(){
//伪数据
// this.model.gidgrp.rec.ownref = 'AG3500220005AA'
// this.model.gcdgrp.rec.ownref = 'AG3500220005AA01'
console.log("进入getset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
this.restoreDisplay();
if(this.isInDisplay){
this.restoreDisplay()
}
}
else
{
......
<template>
<ReviewWrapper>
<Getset></Getset>
</ReviewWrapper>
</template>
<script>
import Getset from "~/views/Business/Getset";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGetset",
components: { ReviewWrapper, Getset },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -3,6 +3,7 @@ import ReviewDitdck from "./Business/ReviewDitdck.vue";
import ReviewBdtset from "./Business/ReviewBdtset.vue";
import ReviewCptadv from "./Business/ReviewCptadv.vue";
import ReviewCptopn from "./Business/ReviewCptopn.vue";
import ReviewGetset from "./Business/ReviewGetset.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -10,6 +11,7 @@ const ReviewRouter = [
{ path: "bdtset", component: ReviewBdtset, name: "ReviewBdtset", meta: { title: "复核-买方信用证付款" } },
{ path: "cptadv", component: ReviewCptadv, name: "ReviewCptadv", meta: { title: "复核-汇入汇款" } },
{ path: "cptopn", component: ReviewCptopn, name: "ReviewCptopn", meta: { title: "复核-汇出汇款" } },
{ path: "getset", component: ReviewGetset, name: "ReviewGetset", meta: { title: "复核-Getset" } },
];
export default ReviewRouter;
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