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
fukai
vue-gjjs
Commits
213a0c8e
Commit
213a0c8e
authored
Jan 05, 2022
by
吴佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022.01.05 wujia 1.信用证修改 校验长度调整 2.信用证info
parent
9ee94f21
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
78 additions
and
71 deletions
+78
-71
Pattern.js
src/model/Ditame/Pattern.js
+1
-1
Inspame.vue
src/views/Business/Ditame/Inspame.vue
+2
-2
Detp.vue
src/views/Business/Infdid/Detp.vue
+0
-0
Detp1.vue
src/views/Business/Infdid/Detp1.vue
+0
-0
Infsea.vue
src/views/Business/Infdid/Infsea.vue
+15
-7
Ovwp.vue
src/views/Business/Infdid/Ovwp.vue
+0
-0
Tk.vue
src/views/Business/Infdid/Tk.vue
+21
-43
index.vue
src/views/Business/Infdid/index.vue
+39
-18
No files found.
src/model/Ditame/Pattern.js
View file @
213a0c8e
...
@@ -551,7 +551,7 @@ export default {
...
@@ -551,7 +551,7 @@ export default {
"didgrp.blk.insbnk"
:[
"didgrp.blk.insbnk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65
"
}
{
max
:
500
,
message
:
"长度不能超过500
"
}
],
],
"didgrp.blk.insbnkame"
:[
"didgrp.blk.insbnkame"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/views/Business/Ditame/Inspame.vue
View file @
213a0c8e
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<c-input
<c-input
type=
"textarea"
type=
"textarea"
v-model=
"model.didgrp.blk.insbnk"
v-model=
"model.didgrp.blk.insbnk"
maxlength=
"
65
"
maxlength=
"
500
"
show-word-limit
show-word-limit
placeholder=
"请输入Instructions to Paying/Accepting/Negotiating Bank"
placeholder=
"请输入Instructions to Paying/Accepting/Negotiating Bank"
:rows=
"10"
:rows=
"10"
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<c-input
<c-input
type=
"textarea"
type=
"textarea"
v-model=
"model.didgrp.blk.insbnkame"
v-model=
"model.didgrp.blk.insbnkame"
maxlength=
"50"
maxlength=
"50
0
"
show-word-limit
show-word-limit
placeholder=
"请输入Instructions to P/A/N Amendment History"
placeholder=
"请输入Instructions to P/A/N Amendment History"
:rows=
"10"
:rows=
"10"
...
...
src/views/Business/Infdid/Detp.vue
View file @
213a0c8e
This diff is collapsed.
Click to expand it.
src/views/Business/Infdid/Detp1.vue
View file @
213a0c8e
This diff is collapsed.
Click to expand it.
src/views/Business/Infdid/Infsea.vue
View file @
213a0c8e
...
@@ -330,16 +330,16 @@
...
@@ -330,16 +330,16 @@
>
>
处理
处理
</c-button>
</c-button>
<!--
<c-button
<c-button
style=
"margin-left: 0"
style=
"margin-left: 0"
size=
"small"
size=
"small"
type=
"primary"
type=
"primary"
@
click=
"getDitSelInfo(scope.
row['Reference']
)"
@
click=
"getDitSelInfo(scope.
$index,scope.row
)"
>
>
info
info
</c-button>
</c-button>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</c-istream-table>
</c-istream-table>
...
@@ -539,6 +539,7 @@
...
@@ -539,6 +539,7 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
Utils
from
"~/utils/index"
import
Api
from
"~/service/Api"
;
import
Api
from
"~/service/Api"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
CodeTable
from
"~/config/CodeTable"
;
...
@@ -590,10 +591,17 @@ export default {
...
@@ -590,10 +591,17 @@ export default {
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
initdialog
=
false
this
.
initdialog
=
false
}
,
}
,
async
getDitSelInfo
(
code
){
async
getDitSelInfo
(
idx
,
row
){
//跳转交易
console
.
log
(
row
);
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
var
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:[
idx
+
1
]}
this
.
initdialog
=
false
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm"
,
params
);
console
.
log
(
rtnmsg
)
if
(
rtnmsg
.
respCode
=
SUCCESS
){
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this
.
$emit
(
'updateShowPanel'
,
true
)
}
}
},
},
created
:
function
()
{},
created
:
function
()
{},
...
...
src/views/Business/Infdid/Ovwp.vue
View file @
213a0c8e
This diff is collapsed.
Click to expand it.
src/views/Business/Infdid/Tk.vue
View file @
213a0c8e
<
template
>
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<!--
<c-col
:span=
"
12
"
>
<c-col
:span=
"
24
"
>
<span
v-text=
"model.
recpan.hwfwms"
data-path=
".recpan
.hwfwms"
>
</span>
<span
v-text=
"model.
ditp.hwfwms"
data-path=
".ditp
.hwfwms"
>
</span>
</c-col>
</c-col>
-->
<c-col
:span=
"
12
"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
"
Description of Goods
"
prop=
"didgrp.blk.lcrgod"
>
<el-form-item
label=
"
货物描述
"
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>
<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" >
</c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onLcrgodButtxmsel"
>
...
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"单据要求"
prop=
"didgrp.blk.lcrdoc"
>
<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>
<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="请输入单据要求" >
</c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onLcrdocButtxmsel"
>
...
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"附加条款"
prop=
"didgrp.blk.adlcnd"
>
<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>
<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="请输入附加条款" >
</c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onAdlcndButtxmsel"
>
<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="请输入付行的指示" >
</c-input>
</c-button>
</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>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<!--
<c-col
:span=
"24"
>
-->
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onInsbnkButtxmsel"
>
<!--
<el-form-item
label=
""
prop=
"didgrp.rec.redclsflg"
>
-->
...
<!--
<c-checkbox
v-model=
"model.didgrp.rec.redclsflg"
>
红/绿条款
</c-checkbox>
-->
</c-button>
<!--
</el-form-item>
-->
</c-col>
<!--
</c-col>
-->
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.didgrp.rec.redclsflg"
>
Red/Green Clause
</c-checkbox>
</c-col>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/
Infdid
/Event"
import
Event
from
"~/model/
Ditopn
/Event"
export
default
{
export
default
{
inject
:
[
'root'
],
inject
:
[
'root'
],
...
...
src/views/Business/Infdid/index.vue
View file @
213a0c8e
...
@@ -2,34 +2,40 @@
...
@@ -2,34 +2,40 @@
<div
class=
"eContainer"
>
<div
class=
"eContainer"
>
<div
style=
"padding:0 5px"
>
<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"
>
<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 -->
<!--PD000006 -->
<!--
<el-tab-pane
label=
"信用证查询"
name=
"infsea"
>
-->
<!--
<el-tab-pane
label=
"信用证查询"
name=
"infsea"
>
-->
<!--
<c-content>
-->
<!--
<c-content>
-->
<m-infsea
:model=
"model"
:codes=
"codes"
/>
<m-infsea
v-show=
"!showPanel"
@
updateShowPanel=
"updateShowPanel($event)"
:model=
"model"
:codes=
"codes"
/>
<!--
</c-content>
-->
<!--
</c-content>
-->
<!--
</el-tab-pane>
-->
<!--
</el-tab-pane>
-->
<c-tabs
v-model=
"tabVal"
v-show=
"showPanel"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000001 -->
<!--PD000001 -->
<
!--
<el-tab-pane
label=
"PD000001
"
name=
"ovwp"
>
<
el-tab-pane
label=
"基本信息
"
name=
"ovwp"
>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
<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 -->
<!--PD000077 -->
<
!--
<el-tab-pane
label=
"PD000077
"
name=
"detp"
>
<
el-tab-pane
label=
"详细信息
"
name=
"detp"
>
<m-detp
:model=
"model"
:codes=
"codes"
/>
<m-detp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
<!--PD000342 -->
<!--PD000342 -->
<
!--
<el-tab-pane
label=
"PD000342
"
name=
"tk"
>
<
el-tab-pane
label=
"单据要求
"
name=
"tk"
>
<m-tk
:model=
"model"
:codes=
"codes"
/>
<m-tk
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
<!--PD000000 -->
<!--PD000000 -->
<
!--
<el-tab-pane
label=
"PD000000
"
name=
"coninfp"
>
<
el-tab-pane
label=
"附言
"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
<!--PD000013 -->
<!--PD000013 -->
<!--
<el-tab-pane
label=
"PD000013"
name=
"trnpan"
>
<!--
<el-tab-pane
label=
"PD000013"
name=
"trnpan"
>
...
@@ -86,21 +92,19 @@
...
@@ -86,21 +92,19 @@
<m-ordpan
:model=
"model"
:codes=
"codes"
/>
<m-ordpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
-->
<!--PD000452 -->
<!--
<el-tab-pane
label=
"PD000452"
name=
"detp1"
>
<m-detp1
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000488 -->
<!--PD000488 -->
<!--
<el-tab-pane
label=
"PD000488"
name=
"stament"
>
<!--
<el-tab-pane
label=
"PD000488"
name=
"stament"
>
<m-stament
:model=
"model"
:codes=
"codes"
/>
<m-stament
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
-->
<
!--
</c-tabs>
--
>
<
/c-tabs
>
</el-form>
</el-form>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Utils
from
"~/utils/index"
;
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
"~/config/CodeTable"
import
Infdid
from
"~/model/Infdid"
import
Infdid
from
"~/model/Infdid"
...
@@ -112,7 +116,7 @@ import Infsea from "./Infsea"
...
@@ -112,7 +116,7 @@ import Infsea from "./Infsea"
import
Ovwp
from
"./Ovwp"
import
Ovwp
from
"./Ovwp"
import
Detp
from
"./Detp"
import
Detp
from
"./Detp"
import
Tk
from
"./Tk"
import
Tk
from
"./Tk"
import
Coninfp
from
"
./Coninfp"
import
Coninfp
from
"
~/views/Public/Coninfp"
;
import
Trnpan
from
"./Trnpan"
import
Trnpan
from
"./Trnpan"
import
Cbsinfp
from
"./Cbsinfp"
import
Cbsinfp
from
"./Cbsinfp"
import
Cbeinfp
from
"./Cbeinfp"
import
Cbeinfp
from
"./Cbeinfp"
...
@@ -164,6 +168,7 @@ export default {
...
@@ -164,6 +168,7 @@ export default {
checkRules
:
Check
,
checkRules
:
Check
,
defaultRules
:
Default
,
defaultRules
:
Default
,
pattern
:
Pattern
,
pattern
:
Pattern
,
showPanel
:
false
,
rules
:
null
,
rules
:
null
,
codes
:
{
codes
:
{
},
},
...
@@ -171,19 +176,35 @@ export default {
...
@@ -171,19 +176,35 @@ export default {
},
},
methods
:{
methods
:{
tabClick
(){
tabClick
(){
},
initPanel
(
val
){
if
(
val
){
this
.
tabVal
=
"ovwp"
//
}
else
{
this
.
tabVal
=
""
}
}
},
},
async
updateShowPanel
(
value
)
{
this
.
showPanel
=
value
;
this
.
initPanel
(
value
);
}
},
created
:
async
function
(){
created
:
async
function
(){
console
.
log
(
"进入infdid交易"
);
console
.
log
(
"进入infdid交易"
);
let
rtnmsg
=
await
this
.
init
({})
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
{
this
.
updateModel
(
rtnmsg
.
data
)
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
}
else
else
{
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
watch
:{
}
}
}
}
</
script
>
</
script
>
...
...
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