Commit 4a91a729 by huxi

litdla 代码清理

parent 151ce7d1
......@@ -28,6 +28,7 @@ export default {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
lidinr: this.$route.query.inr
});
if (!res.data) {
return
......
......@@ -149,7 +149,6 @@
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
@click="onAdlcndamepButdif"
>
显示差异
</c-button>
......@@ -161,7 +160,6 @@
size="small"
type="primary"
disabled
@click="onAdlcndamepButadd"
>
添加文本
</c-button>
......@@ -174,7 +172,6 @@
type="primary"
disabled
icon="el-icon-delete"
@click="onAdlcndamepButdel"
>
删除文本
</c-button>
......
......@@ -250,21 +250,18 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -22,7 +22,6 @@
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
......@@ -31,7 +30,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click=""
>
详情
</c-button>
......@@ -80,7 +78,6 @@
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
</c-button>
......@@ -88,7 +85,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click=""
>
详情
</c-button>
......@@ -202,21 +198,18 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -10,7 +10,7 @@
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-more" @click="onLcrgodButtxmsel">
<c-button size="small" type="primary" icon="el-icon-more">
</c-button>
</c-col>
......@@ -26,21 +26,18 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -119,7 +119,6 @@
disabled
size="small"
type="primary"
@click="onLcrgodamepButadd"
>
添加文本
</c-button>
......@@ -132,7 +131,6 @@
size="small"
type="primary"
icon="el-icon-delete"
@click="onLcrgodamepButdel"
>
删除文本
</c-button>
......@@ -141,15 +139,12 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {
flag1: true,
......@@ -223,7 +218,6 @@ export default {
},
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
this.$confirm(
......
......@@ -11,28 +11,24 @@
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-more" @click="onLcrdocButtxmsel">
<c-button size="small" type="primary" icon="el-icon-more">
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -124,7 +124,6 @@
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
@click="onLcrdocamepButdif"
>
显示差异
</c-button>
......@@ -136,7 +135,6 @@
disabled
size="small"
type="primary"
@click="onLcrdocamepButadd"
>
添加文本
</c-button>
......@@ -149,7 +147,6 @@
size="small"
type="primary"
icon="el-icon-delete"
@click="onLcrdocamepButdel"
>
删除文本
</c-button>
......@@ -158,15 +155,12 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {
flag1: true,
......@@ -240,7 +234,6 @@ export default {
},
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
this.$confirm(
......
......@@ -13,21 +13,18 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -26,23 +26,19 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
}
</script>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse v-model="activeNames">
<el-collapse-item title="概览信息" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
......@@ -107,10 +107,7 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
import Amep from "./Amep"
import Accp from "./Accp"
import Narp from "./Narp"
......@@ -158,14 +155,14 @@
},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
activeNames: ["ovwp1"],
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -316,10 +316,7 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
......@@ -327,14 +324,12 @@ export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -15,7 +15,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-search"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
......@@ -25,7 +24,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
......@@ -58,7 +56,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-search"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
......@@ -67,7 +64,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
......@@ -96,7 +92,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-search"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
......@@ -105,7 +100,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
</c-button>
......@@ -140,7 +134,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-search"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
......@@ -149,7 +142,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
......@@ -181,7 +173,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click=""
icon="el-icon-search"
>
<span style="font-family: '宋体'; font-weight: bold"></span>
......@@ -190,7 +181,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click=""
icon="el-icon-info"
>
......@@ -250,21 +240,18 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -249,22 +249,18 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -62,7 +62,7 @@
<c-col :span="12">
<c-button
style=" margin: 0px 0 10px 120px;"
size="small" type="primary" @click="onLcrdocamepButdif">
size="small" type="primary">
显示差异
</c-button>
</c-col>
......@@ -71,7 +71,7 @@
<c-button
style=" margin: 0px 0 10px 120px;"
disabled
size="small" type="primary" @click="onLcrdocamepButadd">
size="small" type="primary">
添加文本
</c-button>
</c-col>
......@@ -80,7 +80,7 @@
<c-button
style=" margin: 0px 0 10px 120px;"
disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
size="small" type="primary" icon="el-icon-delete">
删除文本
</c-button>
</c-col>
......@@ -88,15 +88,12 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
flag1:true,
......@@ -148,7 +145,7 @@ export default {
}
},
methods:{...Event,
methods:{
open(val){
if(val === '' && !(this.model.lidgrp.blk.spcben == '')){
this.$confirm('是否确定要重置手动修改?','提示',{
......@@ -229,7 +226,6 @@ export default {
}
},
created:function(){
}
}
</script>
......
......@@ -8,28 +8,25 @@
</c-col>
<c-col :span="3">
<c-button disabled size="small" type="primary" icon="el-icon-search" @click="onSpcbenButtxmsel">
<c-button disabled size="small" type="primary" icon="el-icon-search">
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litopn/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -8,28 +8,24 @@
</c-col>
<c-col :span="3">
<c-button disabled size="small" type="primary" icon="el-icon-search" @click="onSpcrcbButtxmsel">
<c-button disabled size="small" type="primary" icon="el-icon-search">
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litopn/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
}
},
methods:{...Event},
methods:{},
created:function(){
}
......
......@@ -63,7 +63,7 @@
<c-col :span="12">
<c-button
style=" margin: 0px 0 10px 120px;"
size="small" type="primary" @click="onLcrdocamepButdif">
size="small" type="primary">
显示差异
</c-button>
</c-col>
......@@ -72,7 +72,7 @@
<c-button
style=" margin: 0px 0 10px 120px;"
disabled
size="small" type="primary" @click="onLcrdocamepButadd">
size="small" type="primary">
添加文本
</c-button>
</c-col>
......@@ -81,7 +81,7 @@
<c-button
style=" margin: 0px 0 10px 120px;"
disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
size="small" type="primary" icon="el-icon-delete">
删除文本
</c-button>
</c-col>
......@@ -90,15 +90,12 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
flag1:true,
......@@ -150,7 +147,7 @@ export default {
}
},
methods:{...Event,
methods:{
open(val){
if(val === '' && !(this.model.lidgrp.blk.spcrcb == '')){
this.$confirm('是否确定要重置手动修改?','提示',{
......
......@@ -11,7 +11,7 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
......@@ -25,42 +25,39 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody,shisuan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames1">
<el-collapse-item title="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<div class="eibs-tab">
......@@ -89,10 +86,10 @@
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
......@@ -107,14 +104,12 @@
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litdla from "~/model/Litdla"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litdla/Check"
import Default from "~/model/Litdla/Default"
import Pattern from "~/model/Litdla/Pattern"
import Litdla from "../model"
import formRules from '../model/check';
import operationFunc from "~/mixin/operationFunc";
import event from "../event";
import Accp from "./Accp"
import Amep from "./Amep"
import Ovwp from "./Ovwp"
......@@ -129,14 +124,16 @@ import Dogp from "./Dogp"
import Dorp from "./Dorp"
import Shisuan from "./Shisuan"
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody";
import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Limitbody from "~/components/business/limitbody/views";
import Aamp from "./Aamp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
......@@ -163,57 +160,79 @@ export default {
"m-inspame" : Inspame,
"m-dogp" : Dogp,
"m-dorp" : Dorp,
"m-shisuan" : Shisuan,
"m-engp" : Engp,
"m-shisuan" : Shisuan,
"m-ccvpan" : Ccvpan ,
"m-setpan" : Setpan,
"m-glepan" : Glepan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-limitbody" : Limitbody,
"m-doctre" : Doctre
"m-doctre" : Doctre,
"m-setmod": Setmod,
"m-glentry": Glentry,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [operationFunc,event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "litdla",
model: new Litdla().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {... CodeTable
},
rules: formRules,
codes: {... CodeTable },
activeNames: ["engp","coninfp",],
activeNames1: ["limitbody"],
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入litdla交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
],
data: []
},
}
},
methods:{},
mounted () {
this.init()
},
}
</script>
<style>
......
......@@ -44,6 +44,7 @@ const Business = [
{ path: 'brtcsg', component: () => import('~/business/brtcsg/views'), name: 'brtcsg', meta: { title: '进口信用证单据提货担保注销' } },
{ path: 'litrog', component: () => import('~/business/litrog/views'), name: 'litrog', meta: { title: '进口信用证提货担保' } },
{ path: 'gitenc', component: () => import('~/business/gitenc/views'), name: 'gitenc', meta: { title: '进口信用证单据提货担保注销' } },
{ path: 'litdla', component: () => import('~/business/litdla/views'), name: 'litdla', meta: { title: '进口信用证减额修改接受' } },
{ path: 'brtame', component: () => import('~/business/brtame/views'), name: 'brtame', meta: { title: '进口信用证单据提货担保修改' } },
{ path: 'infbrd', component: () => import('~/business/infbrd/views'), name: 'infbrd', meta: { title: '进口信用证单据入口交易' } },
......
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