Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
b84dd8de
Commit
b84dd8de
authored
Jul 25, 2022
by
wangna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gitcom、Getamc修改
parent
e693323b
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
308 additions
and
260 deletions
+308
-260
index.js
src/config/CodeTable/index.js
+2
-0
Conp.vue
src/views/Business/Getamc/Conp.vue
+18
-9
Opnp.vue
src/views/Business/Getamc/Opnp.vue
+0
-3
index.vue
src/views/Business/Getamc/index.vue
+3
-0
Gitsetp1.vue
src/views/Business/Gitcom/Gitsetp1.vue
+134
-58
index.vue
src/views/Business/Gitcom/index.vue
+49
-46
BusNavbar.vue
src/views/Business/Infgid/BusNavbar.vue
+0
-127
Infsea.vue
src/views/Business/Infgid/Infsea.vue
+59
-16
index.vue
src/views/Business/Infgid/index.vue
+1
-1
ReviewGetamc.vue
src/views/Review/Business/ReviewGetamc.vue
+19
-0
ReviewGitcom.vue
src/views/Review/Business/ReviewGitcom.vue
+19
-0
ReviewRouter.js
src/views/Review/ReviewRouter.js
+4
-0
No files found.
src/config/CodeTable/index.js
View file @
b84dd8de
...
...
@@ -18515,6 +18515,8 @@ const CodeTable = {
],
typgar
:
[
{
label
:
"农民工工资保函"
,
value
:
"1"
},
{
label
:
""
,
value
:
"P"
},
{
label
:
""
,
value
:
"C"
},
],
gtxinr
:
[
{
label
:
"Performance Guaratee2"
,
value
:
"00000008"
},
src/views/Business/Getamc/Conp.vue
View file @
b84dd8de
...
...
@@ -93,11 +93,14 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"Incoming Purpose"
prop=
"gidgrp.rec.purposin"
>
<c-
inpu
t
<c-
selec
t
v-model=
"model.gidgrp.rec.purposin"
placeholder=
"请输入Incoming Purpose"
style=
"width: 100%"
placeholder=
"请选择Incoming Purpose "
:code=
"codes.purposin"
disabled
></c-input>
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -107,7 +110,8 @@
v-model=
"model.gidgrp.rec.purpos"
style=
"width: 100%"
placeholder=
"请选择Outgoing Purpose"
disabled
:code=
"codes.purpos"
>
</c-select>
</el-form-item>
...
...
@@ -119,6 +123,7 @@
v-model=
"model.gidgrp.rec.gartyp"
style=
"width: 100%"
placeholder=
"请选择Type of Undertaking"
:code=
"codes.typgar"
disabled
>
</c-select>
...
...
@@ -143,12 +148,13 @@
label-width=
"5px"
prop=
"gidgrp.rec.exptyp"
>
<c-
input-currency
<c-
select
v-model=
"model.gidgrp.rec.exptyp"
style=
"text-align: left; width: 100%"
placeholder=
""
disabled
></c-input-currency>
style=
"width: 100%"
placeholder=
"请选择Expiry Type"
:code=
"codes.exptyp"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -174,6 +180,7 @@
v-model=
"model.gidgrp.rec.liatypc"
style=
"width: 100%"
placeholder=
"请选择Liability Type "
:code=
"codes.liatypc"
disabled
>
</c-select>
...
...
@@ -186,6 +193,7 @@
v-model=
"model.gidgrp.rec.hndtyp"
style=
"width: 100%"
placeholder=
"请选择Handling Type"
:code=
"codes.hndtyp"
disabled
>
</c-select>
...
...
@@ -198,6 +206,7 @@
v-model=
"model.gidgrp.rec.cnfsta"
style=
"width: 100%"
placeholder=
"请选择Confirmation Status "
:code=
"codes.cnfsta"
disabled
>
</c-select>
...
...
src/views/Business/Getamc/Opnp.vue
View file @
b84dd8de
...
...
@@ -78,9 +78,6 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
return
{
codes
:
{
...
CodeTable
,
},
};
},
methods
:
{
...
Event
},
...
...
src/views/Business/Getamc/index.vue
View file @
b84dd8de
...
...
@@ -220,6 +220,9 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
){
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
...
...
src/views/Business/Gitcom/Gitsetp1.vue
View file @
b84dd8de
...
...
@@ -3,10 +3,7 @@
<!-- ====================左边======================= -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Reference"
prop=
"gidgrp.rec.ownref"
>
<el-form-item
label=
"Reference"
prop=
"gidgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model=
"model.gidgrp.rec.ownref"
...
...
@@ -16,19 +13,20 @@
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin:0 10px 0 10px;padding: 0 12px;
"
style=
"margin: 0 10px 0 10px; padding: 0 12px
"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"font-family:'宋体';font-weight:
bold"
>
i
</span>
<span
style=
"font-family: '宋体'; font-weight:
bold"
>
i
</span>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"13"
>
<!-- <c-col :span="24">
<c-col :span="12">
<el-form-item label="Guarantee Amount" prop="gidgrp.cbs.max.cur">
<c-select
v-model="model.gidgrp.cbs.max.cur"
...
...
@@ -47,8 +45,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<c-col :span="8">
<el-form-item
style="text-align: left"
label-width="5px"
...
...
@@ -57,7 +54,7 @@
<c-input-currency
disabled
v-model="model.gidgrp.cbs.max.amt"
style=
"
text-align: left; width: 10
0%"
style="
margin: 0 0 0 10px; width: 8
0%"
placeholder=""
@keyup.enter.native="
defaultFunction('gidgrp.cbs.max.amt', model.gidgrp.cbs.max.amt)
...
...
@@ -65,8 +62,49 @@
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item prop="model.gitp0.gitp0s20">
<c-checkbox disabled v-model="model.gitp0.gitp0s20"
>Add.Amount</c-checkbox
>
</el-form-item>
</c-col>
</c-col> -->
<c-col
:span=
"13"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Guarantee Amount"
prop=
"gidgrp.cbs.max.cur"
>
<c-select
v-model=
"model.gidgrp.cbs.max.cur"
style=
"width: 100%"
placeholder=
"请选择Currency"
disabled
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<c-input
disabled
v-model=
"model.gidgrp.cbs.max.amt"
style=
"margin: 0 0 0 5px; width: 90%"
></c-input>
</c-col>
<c-col
:span=
"4"
class=
"centerLable"
>
<c-checkbox
disabled
v-model=
"model.gitp0.gitp0s20"
>
Add. Amount
</c-checkbox
>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Open Amount"
prop=
"gidgrp.cbs.opn1.cur"
>
<c-select
disabled
...
...
@@ -86,7 +124,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"1
1
"
>
<c-col
:span=
"1
2
"
>
<el-form-item
style=
"text-align: left"
label-width=
"5px"
...
...
@@ -106,19 +144,39 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"Incoming Purpose"
prop=
"gidgrp.rec.purposin"
>
<c-input
disabled
v-model=
"model.gidgrp.rec.purposin"
placeholder=
"请输入Incoming Purpose"
></c-input>
<c-select
v-model=
"model.gidgrp.rec.purposin"
style=
"width: 100%"
placeholder=
"请选择Incoming Purpose "
:code=
"codes.purposin"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Purpose of Message"
prop=
"gidgrp.rec.purpos"
>
<c-input
disabled
v-model=
"model.gidgrp.rec.purpos"
placeholder=
"请输入Purpose of Message"
></c-input>
<c-select
v-model=
"model.gidgrp.rec.purpos"
style=
"width: 100%"
placeholder=
"请选择Purpose of Message"
:code=
"codes.purpos"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Undertaking Type"
prop=
"gidgrp.rec.gartyp"
>
<c-select
disabled
v-model=
"model.gidgrp.rec.gartyp"
style=
"width:100%"
placeholder=
"请选择Undertaking Type"
>
<c-select
disabled
v-model=
"model.gidgrp.rec.gartyp"
style=
"width: 100%"
placeholder=
"请选择Undertaking Type"
:code=
"codes.typgar"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -130,15 +188,12 @@
</c-col> -->
<c-col
:span=
"13"
>
<el-form-item
label=
"Expiry"
prop=
"gidgrp.rec.expdat"
>
<el-form-item
label=
"Expiry"
prop=
"gidgrp.rec.expdat"
>
<c-date-picker
disabled
type=
"date"
v-model=
"model.gidgrp.rec.expdat"
style=
"width:
100%"
style=
"width:
100%"
placeholder=
"请选择Expiry"
></c-date-picker>
</el-form-item>
...
...
@@ -150,64 +205,93 @@
label-width=
"5px"
prop=
"gidgrp.rec.exptyp"
>
<c-input-currency
disabled
<c-select
v-model=
"model.gidgrp.rec.exptyp"
style=
"text-align: left; width: 100%"
placeholder=
""
@
keyup
.
enter
.
native=
"
defaultFunction('gidgrp.rec.exptyp', model.gidgrp.rec.exptyp)
"
></c-input-currency>
style=
"width: 100%"
placeholder=
"请选择Expiry Type"
:code=
"codes.exptyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Reference Date "
prop=
"setmod.refdat"
>
<c-date-picker
disabled
type=
"date"
v-model=
"model.setmod.refdat"
style=
"width:100%"
placeholder=
"请选择Reference Date "
></c-date-picker>
<c-date-picker
disabled
type=
"date"
v-model=
"model.setmod.refdat"
style=
"width: 100%"
placeholder=
"请选择Reference Date "
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Name"
prop=
"gidgrp.rec.nam"
>
<c-input
disabled
v-model=
"model.gidgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Name"
></c-input>
<c-input
disabled
v-model=
"model.gidgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Name"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Applicant"
prop=
"gidgrp.apl.pts.nam"
>
<c-input
disabled
v-model=
"model.gidgrp.apl.pts.nam"
maxlength=
"40"
placeholder=
"请输入Applicant"
></c-input>
<c-input
disabled
v-model=
"model.gidgrp.apl.pts.nam"
maxlength=
"40"
placeholder=
"请输入Applicant"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Beneficiary"
prop=
"gidgrp.ben.pts.nam"
>
<c-input
disabled
v-model=
"model.gidgrp.ben.pts.nam"
maxlength=
"40"
placeholder=
"请输入Beneficiary"
></c-input>
<c-input
disabled
v-model=
"model.gidgrp.ben.pts.nam"
maxlength=
"40"
placeholder=
"请输入Beneficiary"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Accountee"
prop=
"gidgrp.ctr.pts.nam"
>
<c-input
disabled
v-model=
"model.gidgrp.ctr.pts.nam"
maxlength=
"40"
placeholder=
"请输入Accountee"
></c-input>
<c-input
disabled
v-model=
"model.gidgrp.ctr.pts.nam"
maxlength=
"40"
placeholder=
"请输入Accountee"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Issuing Bank"
prop=
"gidgrp.iss.pts.nam"
>
<c-input
disabled
v-model=
"model.gidgrp.iss.pts.nam"
maxlength=
"40"
placeholder=
"请输入Issuing Bank"
></c-input>
<c-input
disabled
v-model=
"model.gidgrp.iss.pts.nam"
maxlength=
"40"
placeholder=
"请输入Issuing Bank"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<!--
<c-col :span="24">
<el-form-item label="" prop="model.gitp0.gitp0s20">
<c-checkbox
disabled
v-model=
"model.gitp0.gitp0s20"
>
Add.Amount
</c-checkbox>
<c-checkbox disabled v-model="model.gitp0.gitp0s20"
>Add.Amount</c-checkbox
>
</el-form-item>
</c-col>
</c-col> -->
</c-col>
<!-- <c-col :span="12">
...
...
@@ -300,41 +384,33 @@
<c-date-picker type="date" v-model="model.gidgrp.rec.liadat" style="width:100%" placeholder="请选择Liability until"></c-date-picker>
</el-form-item>
</c-col> -->
<!--
<!--
<c-col :span="12">
<span v-text="model.gitp0.lialab" data-path=".gitp0.lialab" > </span>
</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/Gitcom/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Gitcom/Event"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
}
data
()
{
return
{};
},
methods
:
{
methods
:
{
...
Event
,
onSeainf
(
data
)
{
this
.
$emit
(
"onSeainf"
,
data
);
},
},
created
:
function
(){
}
}
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Gitcom/index.vue
View file @
b84dd8de
...
...
@@ -16,53 +16,59 @@
<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"
>
<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"
>
<!--PD000019 -->
<el-tab-pane
label=
"Charges"
name=
"gitsetp1"
>
<m-gitsetp1
:model=
"model"
:codes=
"codes"
/>
<m-gitsetp1
: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=
"Completion"
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>
<!--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>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Gitcom
from
"~/model/Gitcom"
import
commonProcess
from
"~/mixin/commonProcess"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Gitcom
from
"~/model/Gitcom"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Gitcom/Check"
import
Default
from
"~/model/Gitcom/Default"
import
Pattern
from
"~/model/Gitcom/Pattern"
import
Gitsetp1
from
"./Gitsetp1"
import
Check
from
"~/model/Gitcom/Check"
;
import
Default
from
"~/model/Gitcom/Default"
;
import
Pattern
from
"~/model/Gitcom/Pattern"
;
import
Gitsetp1
from
"./Gitsetp1"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
...
...
@@ -70,24 +76,23 @@ import Docpan from "~/views/Public/Docpan";
import
Doctre
from
"~/views/Public/Doctre"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
export
default
{
name
:
"Gitcom"
,
components
:
{
"m-gitsetp1"
:
Gitsetp1
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
components
:
{
"m-gitsetp1"
:
Gitsetp1
,
"m-setpan"
:
Setpan
,
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-doctre"
:
Doctre
,
"m-limitbody"
:
Limitbody
,
},
provide
()
{
return
{
root
:
this
}
root
:
this
,
};
},
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
data
()
{
return
{
tabVal
:
"gitsetp1"
,
trnName
:
"gitcom"
,
...
...
@@ -97,34 +102,32 @@ export default {
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
...
CodeTable
,
},
}
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
}
},
created
:
async
function
(){
},
created
:
async
function
()
{
console
.
log
(
"进入gitcom交易"
);
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 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
}
},
}
;
</
script
>
<
style
>
</
style
>
src/views/Business/Infgid/BusNavbar.vue
deleted
100644 → 0
View file @
e693323b
<
template
>
<div
class=
"busnavbar"
>
<div
class=
"busnavbar-items"
>
<c-button
style=
"margin-left:7px;"
size=
"medium"
type=
"primary"
class=
"medium_bcs"
v-for=
"(item,index) in codeList"
v-bind:key=
"index"
@
click
.
native=
"onNarBtnClick(item.code,index)"
:title=
"item.title"
:disabled=
"item.isDis==='N'"
>
{{
item
.
label
}}
</c-button>
</div>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Gitsel
from
"~/model/Gitsel"
import
commonProcess
from
"~/mixin/commonProcess"
export
default
{
props
:[
"ownref"
],
components
:{
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
trnName
:
'gitsel'
,
model
:
new
Gitsel
().
data
,
navcode
:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods
:{
//各入口按钮请求
async
onNarBtnClick
(
code
,
i
){
this
.
model
.
cfgfil
.
subtrn1
=
code
let
rtnmsg
=
await
this
.
executeRule
(
"cfgfil.hotsub1"
)
console
.
log
(
"cfgfil.code:"
+
this
.
model
.
cfgfil
.
subtrn1
);
if
(
rtnmsg
.
respCode
==
SUCCESS
){
this
.
navcode
=
[]
this
.
$emit
(
"onChoose"
,
code
.
toLowerCase
());
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
},
computed
:{
codeList
(){
//将model中的数据映射成数组
return
this
.
navcode
.
map
(
item
=>
{
let
entireItem
=
{...
item
}
this
.
navcode
=
[];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return
entireItem
})
}
},
watch
:{
"ownref"
:
async
function
(
n
,
o
){
if
(
!
this
.
ownref
){
console
.
log
(
"11111"
)
// onTigger()
return
;
}
}
},
mounted
(){
this
.
$nextTick
(
function
(){
this
.
$on
(
'childmethods'
,
async
function
(){
this
.
navcode
=
[]
//请求按钮数据
this
.
model
.
gidgrp
.
rec
.
ownref
=
this
.
ownref
console
.
log
(
"ownref:"
+
this
.
ownref
);
let
rtnmsg
=
await
this
.
executeRule
(
"gidgrp.rec.ownref"
);
//gidgrp_rec_ownref
if
(
rtnmsg
.
respCode
==
SUCCESS
){
//重置数组
this
.
navcode
=
[]
this
.
updateModel
(
rtnmsg
.
data
)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.gidgrp.rec.inr = rtnmsg.data.gidgrp_rec_inr
const
length
=
this
.
model
.
cfgfil
.
btnstm
.
rows
.
length
let
btnStr
=
this
.
model
.
cfgfil
.
btnstm
.
rows
let
j
=
0
;
let
m
=
0
;
// const buttonIndex = ['保证金收取','保证金注销','保证金调整','开立信用证','信用证修改','减额修改接受','修改通知行','到单']
const
buttonIndex
=
[
'信用证修改'
,
'减额修改接受'
,
'到单'
,
'修改通知行'
]
for
(
let
i
=
0
;
i
<
length
;
i
++
){
//获取数组中每行的数据
if
(
!
(
btnStr
[
i
].
indexOf
(
"保证金"
)
>=
0
)
&&
!
(
btnStr
[
i
].
indexOf
(
"开立信用证"
)
>=
0
)){
let
arr
=
btnStr
[
i
].
split
(
"
\
t"
);
let
newList
=
{
code
:
arr
[
0
],
label
:
arr
[
1
],
isDis
:
arr
[
2
],
title
:
arr
[
3
]
}
m
++
;
j
=
buttonIndex
.
indexOf
(
arr
[
1
].
replace
(
/
(
^
\s
*
)
|
(\s
*$
)
/g
,
""
));
if
(
j
<
0
){
j
=
m
;
}
//添加到navcode数组中
this
.
navcode
.
splice
(
j
,
0
,
newList
)
}
}
}
else
{
this
.
navcode
=
[]
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
})
})
}
}
</
script
>
<
style
>
</
style
>
src/views/Business/Infgid/Infsea.vue
View file @
b84dd8de
...
...
@@ -348,9 +348,8 @@
v-model=
"model.seagtyp"
style=
"width: 100%"
placeholder=
"请选择Undertaking Type"
:code=
"codes.
seagtyp
"
:code=
"codes.
typgar
"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -447,6 +446,14 @@
@
click=
"toGitopn"
>
进口保函开立
</c-button
>
<c-button
style=
"margin-left: 20"
class=
"medium_bcs"
size=
"medium"
type=
"primary"
@
click=
"toGetopn"
>
出口保函通知
</c-button
>
</c-col>
<c-col
:span=
"24"
style=
"text-align: right; height: 100px"
>
...
...
@@ -481,7 +488,10 @@
@
click=
"closeTrn('popover_' + scope.row.IDX)"
/>
</div>
<c-istream-table
:list=
"trnData.data"
:columns=
"trnData.columns"
>
<c-istream-table
:list=
"trnData.data"
:columns=
"trnData.columns"
>
<el-table-column
prop=
"op"
label=
"操作"
width=
"0"
>
<template
slot-scope=
"scope"
>
<c-button
...
...
@@ -516,11 +526,28 @@
<el-dialog
:visible
.
sync=
"initdialog"
:title=
"'交易列表'"
append-to-body
>
<div
v-if=
"dialogFlag"
class=
"m-list-btns"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"gitsel"
ownrefPath=
"gidgrp"
:model=
"gitselModel"
tabIndex=
1
@
onChoose=
"onChoose"
>
11
</m-busbtn>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"gitsel"
ownrefPath=
"gidgrp"
:model=
"gitselModel"
tabIndex=
"1"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
<div
v-else
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"getsel"
ownrefPath=
"gidgrp"
:model=
"getselModel"
tabIndex=
1
@
onChoose=
"onChoose"
>
11
</m-busbtn>
<div
v-else
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"getsel"
ownrefPath=
"gidgrp"
:model=
"getselModel"
tabIndex=
"1"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
</el-dialog>
...
...
@@ -699,7 +726,6 @@
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
...
...
@@ -739,7 +765,15 @@ export default {
columns
:
[
'1 1 "Reference" 150'
,
'2 2 "Resp. User" 150'
,
'8 3 "保函品种" 150'
,
// '8 3 "保函品种" 150',
{
index
:
8
,
position
:
3
,
width
:
150
,
pattern
:
"code"
,
label
:
"保函品种"
,
code
:
this
.
codes
.
typgar
,
},
'11 4 "Party Number" 150'
,
'12 5 "Applicant" 150'
,
'15 6 "Cur" 150'
,
...
...
@@ -756,7 +790,15 @@ export default {
'21 17 "Cur" 150'
,
'16 18 "Guar. Amount" 150'
,
'20 19 "Open Amount" 150'
,
'9 20 "Handling Type" 150'
,
// '9 20 "Handling Type" 150',
{
index
:
9
,
position
:
20
,
width
:
150
,
pattern
:
"code"
,
label
:
"Handling Type"
,
code
:
this
.
codes
.
hndtyp
,
},
'6 21"电子渠道类型" 150'
,
'7 22"OTHERSNO" 150'
,
],
...
...
@@ -773,8 +815,8 @@ export default {
console
.
log
(
"dialogFlag:"
+
this
.
dialogFlag
);
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
},
10
)
this
.
$refs
.
childs
.
$emit
(
"childmethods"
)
;
},
10
)
;
},
async
onChoose
(
code
)
{
//跳转交易
...
...
@@ -800,6 +842,9 @@ export default {
toGitopn
()
{
this
.
$router
.
history
.
push
(
"/business/gitopn"
);
},
toGetopn
()
{
this
.
$router
.
history
.
push
(
"/business/getopn"
);
},
handleReset
:
function
()
{
this
.
model
=
{
instNo
:
""
,
...
...
@@ -808,10 +853,8 @@ export default {
},
},
created
:
function
()
{},
watch
:{
"model.gidgrp.rec.ownref"
:
function
(){
}
watch
:
{
"model.gidgrp.rec.ownref"
:
function
()
{},
},
};
</
script
>
...
...
src/views/Business/Infgid/index.vue
View file @
b84dd8de
...
...
@@ -8,7 +8,7 @@
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<c-content>
<c-content
:height=
"180"
>
<m-infsea
:model=
"model"
:codes=
"codes"
ref=
"infsea"
/>
</c-content>
...
...
src/views/Review/Business/ReviewGetamc.vue
0 → 100644
View file @
b84dd8de
<
template
>
<ReviewWrapper>
<Getamc></Getamc>
</ReviewWrapper>
</
template
>
<
script
>
import
Getamc
from
"~/views/Business/Getamc"
;
import
{
ReviewWrapper
}
from
"~/components/gj-common.min.js"
;
export
default
{
name
:
"ReviewGetamc"
,
components
:
{
ReviewWrapper
,
Getamc
},
created
()
{},
mounted
()
{},
};
</
script
>
<
style
></
style
>
src/views/Review/Business/ReviewGitcom.vue
0 → 100644
View file @
b84dd8de
<
template
>
<ReviewWrapper>
<Gitcom></Gitcom>
</ReviewWrapper>
</
template
>
<
script
>
import
Gitcom
from
"~/views/Business/Gitcom"
;
import
{
ReviewWrapper
}
from
"~/components/gj-common.min.js"
;
export
default
{
name
:
"ReviewGitcom"
,
components
:
{
ReviewWrapper
,
Gitcom
},
created
()
{},
mounted
()
{},
};
</
script
>
<
style
></
style
>
src/views/Review/ReviewRouter.js
View file @
b84dd8de
...
...
@@ -24,6 +24,8 @@ import ReviewBftsnd from "./Business/ReviewBftsnd.vue";
import
ReviewBftdcr
from
"./Business/ReviewBftdcr.vue"
;
import
ReviewLitopn
from
"./Business/ReviewLitopn.vue"
;
import
ReviewBftset
from
"./Business/ReviewBftset.vue"
;
import
ReviewGitcom
from
"./Business/ReviewGitcom.vue"
;
import
ReviewGetamc
from
"./Business/ReviewGetamc.vue"
;
const
ReviewRouter
=
[
...
...
@@ -71,6 +73,8 @@ const ReviewRouter = [
{
path
:
"litopn"
,
component
:
ReviewLitopn
,
name
:
"ReviewLitopn"
,
meta
:
{
title
:
"复核-Litopn"
}
},
{
path
:
"bftset"
,
component
:
ReviewBftset
,
name
:
"ReviewBftset"
,
meta
:
{
title
:
"复核-Bftset"
}
},
{
path
:
"litame"
,
component
:
ReviewLitame
,
name
:
"ReviewLitame"
,
meta
:
{
title
:
"复核-Litame"
}
},
{
path
:
"gitcom"
,
component
:
ReviewGitcom
,
name
:
"ReviewGitcom"
,
meta
:
{
title
:
"复核-Gitcom"
}
},
{
path
:
"getamc"
,
component
:
ReviewGetamc
,
name
:
"ReviewGetamc"
,
meta
:
{
title
:
"复核-Getamc"
}
},
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment