Commit 73cc657b by panziyi

gitset修改

parent b27aeed4
......@@ -362,10 +362,10 @@ const BusRouter = [
{ path: 'gitset', component: Gitset, name: 'Gitset', meta: { title: '进口保函赔付' } },
{ path: 'gitcrq', component: Gitcrq, name: 'Gitcrq', meta: { title: '进口保函索赔登记' } },
{ path: 'infgcd', component: Infgcd, name: 'Infgcd', meta: { title: '保函赔付查询' } },
{ path: 'getcan', component: Getcan, name: 'Getcan', meta: { title: 'Getcan' } },
{ path: 'gitcan', component: Gitcan, name: 'Gitcan', meta: { title: 'Gitcan' } },
{ path: 'gitcrj', component: Gitcrj, name: 'Gitcrj', meta: { title: 'Gitcrj' } },
{ path: 'gctcan', component: Gctcan, name: 'Gctcan', meta: { title: 'Gctcan' } },
{ path: 'getcan', component: Getcan, name: 'Getcan', meta: { title: '出口保函注销' } },
{ path: 'gitcan', component: Gitcan, name: 'Gitcan', meta: { title: '进口保函注销' } },
{ path: 'gitcrj', component: Gitcrj, name: 'Gitcrj', meta: { title: '进口保函拒付' } },
{ path: 'gctcan', component: Gctcan, name: 'Gctcan', meta: { title: '保函赔付注销' } },
{ path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } },
......
......@@ -15,7 +15,7 @@
></c-input>
<template slot="footer">
<c-button
v-model="model.gctp0.gidget.sdamod.seainf"
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
......@@ -43,7 +43,7 @@
></c-input>
<template slot="footer">
<c-button
v-model="model.gctp.gidget.sdamod.seainf"
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
......
......@@ -207,6 +207,7 @@
style="width: 100%"
placeholder="请选择Reason of Cancelation"
:code="codes.purcan"
@change="change"
>
</c-select>
</el-form-item>
......@@ -325,8 +326,8 @@
line-height: 32px;
padding-bottom: 2px;
"
v-model="model.mtabut.clsflg"
:disabled="model.gidgrp.rec.purcan != 'RR'"
v-model="model.mtabut.clsflgp"
disabled
>Close Flag</c-checkbox
>
</c-col>
......@@ -483,7 +484,16 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: { ...Event,
change(){
if(this.model.gidgrp.rec.purcan=="RR"){
this.model.mtabut.clsflgp = "";
}else{
this.model.mtabut.clsflgp="X";
}
}
},
created: function () {
trntyp: [];
},
......
......@@ -515,6 +515,7 @@
v-model="model.gcdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择Presented by"
@change="selectOrCheckboxRule('gcdgrp.rec.docprbrol')"
>
<el-option
v-for="item in codes.docprbrol"
......@@ -587,7 +588,7 @@
v-model="model.gcdgrp.rec.payrol"
placeholder="请选择"
style="width: 100%"
@change="selectOrCheckboxRule('gcdgrp.rec.payrol')"
>
<el-option
v-for="item in codes.payrol"
......
<template>
<c-page title="出口保函索赔">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
......@@ -68,6 +69,7 @@
v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
......
......@@ -164,17 +164,19 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat=='X'" >
<el-form-item
label="Unlimited Liability"
>
</el-form-item>
<c-col :span="24" v-if="model.gidgrp.rec.liadat == 'X'">
<el-form-item label="Unlimited Liability"> </el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat!=''" >
<c-col :span="24" v-if="model.gidgrp.rec.liadat != ''">
<el-form-item label="Liability until" prop="gidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.gidgrp.rec.liadat" disabled style="width:100%" placeholder="请选择Liability until"></c-date-picker>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.liadat"
disabled
style="width: 100%"
placeholder="请选择Liability until"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -207,6 +209,7 @@
style="width: 100%"
placeholder="请选择Reason of Cancelation"
:code="codes.purcan"
@change="change"
>
</c-select>
</el-form-item>
......@@ -310,19 +313,19 @@
<c-select
v-model="model.autflg"
style="width: 100%"
:disabled="model.gidgrp.rec.purcan != 'RR'"
placeholder="请选择Authentication"
:code="codes.autflg"
:disabled="this.type"
>
</c-select>
</el-form-item>
</c-col>
<!-- :indeterminate="model.gidgrp.rec.purcan != 'RR'" -->
<!-- :indeterminate="model.gidgrp.rec.purcan != 'RR'" mtabut.clsflg-->
<c-col :span="24" :offset="6">
<c-checkbox
:disabled="model.gidgrp.rec.purcan != 'RR'"
v-model="model.mtabut.clsflg"
disabled
v-model="model.mtabut.clsflgp"
style="
margin-left: 15px;
height: 32px;
......@@ -486,7 +489,18 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: {
...Event,
change() {
if (this.model.gidgrp.rec.purcan == "RR") {
this.model.mtabut.clsflgp = ""
this.type=false
} else {
this.model.mtabut.clsflgp = "X"
this.type=true
}
},
},
created: function () {
trntyp: [];
},
......
<template>
<c-page title="进口保函注销">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
......@@ -12,115 +13,133 @@
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<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="myTabClick">
</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"
>
<!--PD000026 -->
<el-tab-pane label="Cancelation" name="canp">
<m-canp :model="model" :codes="codes"/>
<m-canp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Mt769" name="Mt769p" v-if="model.gidgrp.rec.purcan=='RR'">
<m-mt769p :model="model" :codes="codes"/>
<el-tab-pane
label="Mt769"
name="Mt769p"
v-if="model.gidgrp.rec.purcan == 'RR'"
>
<m-mt769p :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Cash Cover" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Compeltion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD001139 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
<m-shisuan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
<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
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 CodeTable from "~/config/CodeTable"
import Gitcan from "~/model/Gitcan"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Gitcan from "~/model/Gitcan";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitcan/Check"
import Default from "~/model/Gitcan/Default"
import Pattern from "~/model/Gitcan/Pattern"
import Canp from "./Canp"
import Check from "~/model/Gitcan/Check";
import Default from "~/model/Gitcan/Default";
import Pattern from "~/model/Gitcan/Pattern";
import Canp from "./Canp";
// import Engp from "./Engp"
// import Ccvpan from "./Ccvpan"
// import Setpan from "./Setpan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
import Limitbody from "~/views/Public/Limitbody"
import Engp from "~/views/Public/Engp"
import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Ccvpan from "~/views/Public/Ccvpan"
import Shisuan from "./Shisuan"
import Mt769p from "./Mt769p"
//import Limitbody from "./Limitbody"
import Limitbody from "~/views/Public/Limitbody";
import Engp from "~/views/Public/Engp";
import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Ccvpan from "~/views/Public/Ccvpan";
import Shisuan from "./Shisuan";
import Mt769p from "./Mt769p";
//import Limitbody from "./Limitbody"
export default {
name: "Gitcan",
components:{
"m-canp" : Canp,
"m-engp" : Engp,
"m-ccvpan" : Ccvpan,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-shisuan" : Shisuan,
"m-limitbody" : Limitbody,
components: {
"m-canp": Canp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-shisuan": Shisuan,
"m-limitbody": Limitbody,
"m-mt769p": Mt769p,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "canp",
trnName: "gitcan",
......@@ -129,33 +148,28 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable },
}
codes: { ...CodeTable },
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}
},
created:async function(){
},
created: async function () {
console.log("进入gitcan交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
},
};
</script>
<style>
</style>
<template>
<c-page title="进口保函拒付">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
......@@ -64,6 +65,7 @@
>
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
......
......@@ -624,6 +624,7 @@
v-model="model.gcdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择Presented by"
@change="selectOrCheckboxRule('gcdgrp.rec.docprbrol')"
>
<el-option
v-for="item in codes.docprbrol"
......@@ -696,6 +697,7 @@
v-model="model.gcdgrp.rec.payrol"
placeholder="请选择"
style="width: 100%"
@change="selectOrCheckboxRule('gcdgrp.rec.payrol')"
>
<el-option
v-for="item in codes.payrol"
......
<template>
<c-page title="进口保函索赔登记">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
......@@ -65,6 +66,7 @@
v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
......
......@@ -402,23 +402,24 @@
>
</c-col>
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflg" checked
:disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepaylg==''"
:disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''"
>Close Contract
</c-checkbox>
</c-col>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.gcdgrp.rec.frepaylg"
<c-checkbox v-model="model.gcdgrp.rec.frepayflg"
>Free of payment</c-checkbox
>
</c-col>
<!-- :disabled="model.gcdgrp.rec.frepayflg=='X'" -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox
v-model="model.paypsb"
:disabled="model.gcdgrp.rec.frepaylg=='X'"
:disabled="model.gcdgrp.rec.frepayflg=='X'"
>Unpaid by Appliacnt</c-checkbox
>
</c-col>
......@@ -593,7 +594,7 @@
v-model="model.gcdgrp.rec.payrol"
placeholder="请选择Payer"
style="width: 100%"
@change="payrolChange"
@change="selectOrCheckboxRule('gcdgrp.rec.payrol')"
>
<el-option
v-for="item in codes.payrol"
......@@ -731,20 +732,31 @@ export default {
{ label: "Other", value: "2" },
{ label: "CIPS系统", value: "3" },
],
payrol2: [
{ label: "Applicant", value: "1" },
{ label: "other paying party", value: "2" },
],
};
},
// watch:{
// "model.gcdgrp.rec.frepayflg" : {
// immediate: true,
// handler(val,oldval) {
// if(this.model.gcdgrp.rec.frepayflg !="X"){
// this.model.clsflg=="X";
// }else if(this.model.gcdgrp.rec.frepayflg =""){
// this.model.clsflg=="";
// }
// },
// }
// },
methods: {
...Event,
payrolChange(v) {
if (v !== "2") {
this.model.gcdgrp.oth.pts.extkey = "";
this.model.gcdgrp.oth.pts.adrblk = "";
}
},
// change(){
// if(this.model.gcdgrp.rec.frepayflg =="X"){
// this.model.mtabut.clsflgp=="X";
// }else if(this.model.gcdgrp.rec.frepayflg ==""){
// this.model.mtabut.clsflgp=="";
// }
// }
},
created: function () {},
};
......
......@@ -397,12 +397,12 @@
>
</c-col>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflg" checked
<c-checkbox v-model="model.mtabut.clsflgp"
>Close Contract
</c-checkbox>
</c-col>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.gcdgrp.rec.frepaylg"
<c-checkbox v-model="model.gcdgrp.rec.frepayflg"
>Free of payment</c-checkbox
>
</c-col>
......@@ -441,6 +441,11 @@
>Creat MT 732</c-checkbox
>
</c-col>
<c-col :span="24" :offset="19" v-if="false">
<c-checkbox v-model="model.Gitsetp1" disabled style="margin-left: 15px"
>Send MT 742</c-checkbox
>
</c-col>
</c-col>
<c-col :span="11" :offset="1" style="margin-top: 15px">
......@@ -536,7 +541,7 @@
v-model="model.gcdgrp.rec.payrol"
placeholder="请选择Payer"
style="width: 100%"
@change="commonExecuteRule('gcdgrp.rec.payrol')"
@change="selectOrCheckboxRule('gcdgrp.rec.payrol')"
>
<el-option
v-for="item in codes.payrol"
......
<template>
<c-page title="进口保函赔付">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
......@@ -165,6 +166,7 @@
>
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
......
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