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
0a816426
Commit
0a816426
authored
Jul 01, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtdck交易页面事件修改
parent
221d81d1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
137 additions
and
26 deletions
+137
-26
Brtdckp.vue
src/views/Business/Brtdck/Brtdckp.vue
+52
-5
Docpre.vue
src/views/Business/Brtdck/Docpre.vue
+24
-9
Shpdet.vue
src/views/Business/Brtdck/Shpdet.vue
+59
-10
index.vue
src/views/Business/Brtdck/index.vue
+2
-2
No files found.
src/views/Business/Brtdck/Brtdckp.vue
View file @
0a816426
...
...
@@ -2,7 +2,7 @@
<div
class=
"eibs-tab"
>
<c-row>
<!--
左边
-->
<!--
=================================左边=================================
-->
<c-col
:span=
"12"
>
<!-- S0000198 : 信用证编号 -->
<c-col
:span=
"24"
>
...
...
@@ -13,6 +13,7 @@
maxlength=
"16"
placeholder=
""
style=
"width: 100%"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
...
...
@@ -44,6 +45,7 @@
v-model=
"model.lidgrp.rec.expdat"
style=
"width: 100%"
placeholder=
"请输入Expiry"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -56,6 +58,7 @@
v-model=
"model.brdgrp.rec.ownref"
maxlength=
"16"
placeholder=
""
disabled
></c-input>
<
template
slot=
"footer"
>
<c-button
...
...
@@ -88,6 +91,7 @@
style=
"width: 100%"
placeholder=
"请输入Document Amount"
:code=
"codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -98,6 +102,7 @@
<c-input
v-model=
"model.brdgrp.cbs.max.amt"
placeholder=
""
disabled
></c-input>
</c-form-item>
</c-col>
...
...
@@ -116,6 +121,7 @@
v-model=
"model.brdgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入Open Amount"
disabled
></c-input>
</c-form-item>
</c-col>
...
...
@@ -125,6 +131,7 @@
<c-input
v-model=
"model.brdgrp.cbs.opn1.amt"
placeholder=
""
disabled
></c-input>
</c-form-item>
</c-col>
...
...
@@ -138,6 +145,7 @@
v-model=
"model.brdgrp.rec.rcvdat"
style=
"width: 100%"
placeholder=
"请输入"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -149,6 +157,7 @@
v-model=
"model.brdgrp.rec.advdat"
style=
"width: 100%"
placeholder=
"请输入Advised on"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -171,6 +180,7 @@
v-model=
"model.brdgrp.rec.stadat"
style=
"width: 100%"
placeholder=
"请输入 Start Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -182,6 +192,7 @@
style=
"width: 100%"
placeholder=
"请输入Document Type"
:code=
"codes.docflg"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -196,6 +207,7 @@
<c-input
v-model=
"model.brdgrp.rec.tenmaxday"
placeholder=
"请输入Tenor"
disabled
></c-input>
</c-form-item>
</c-col>
...
...
@@ -207,6 +219,7 @@
style=
"width: 100%"
placeholder=
"请输入"
:code=
"codes.docsta"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -217,7 +230,7 @@
<c-select
v-model=
"model.brdgrp.rec.docflg"
style=
"width: 100%"
placeholder=
"请
输入
Document Type"
placeholder=
"请
选择
Document Type"
:code=
"codes.docflg"
>
</c-select>
...
...
@@ -232,6 +245,7 @@
style=
"width: 100%"
placeholder=
""
:code=
"codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -255,6 +269,7 @@
style=
"width: 100%"
placeholder=
"请输入Drawn Add Amount"
:code=
"codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -357,10 +372,15 @@
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"
model.brdgrp.rec.
dscinsflg"
v-model=
"dscinsflg"
style=
"width: 100%; margin-left: 40px"
>
Enter Docs,Discrep,Instr and Shipping Detials
</c-checkbox
>
<!-- <c-checkbox
v-model="model.brdgrp.rec.dscinsflg"
style="width: 100%; margin-left: 40px"
>Enter Docs,Discrep,Instr and Shipping Detials</c-checkbox
> -->
</c-col>
<c-col
:span=
"24"
>
<c-form-item
...
...
@@ -372,12 +392,13 @@
:placeholder=
"
$t('other.please_enter') + 'Count of Received Document Sets'
"
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
<!--
右边
-->
<!--
=================================右边===============================
-->
<c-col
:span=
"11"
:offset=
"1"
>
<!-- S0000192 : 信用证余额 -->
...
...
@@ -387,6 +408,7 @@
v-model=
"model.lidgrp.cbs.opn1.cur"
maxlength=
"3"
:placeholder=
"$t('other.please_enter') + 'Currency'"
disabled
></c-input>
</c-form-item>
</c-col>
...
...
@@ -395,6 +417,7 @@
<c-input
v-model=
"model.lidgrp.cbs.opn1.amt"
placeholder=
""
disabled
></c-input>
</c-form-item>
</c-col>
...
...
@@ -405,6 +428,7 @@
v-model=
"model.brdgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入"
disabled
></c-input>
</c-form-item>
</c-col>
...
...
@@ -412,6 +436,7 @@
<c-ptsmsg
:model=
"model"
:argadr=
"{ title: 'Applicant Ref', grp: 'brdgrp', rol: 'apl' }"
disabled
>
</c-ptsmsg>
</c-col>
...
...
@@ -419,6 +444,7 @@
<c-ptsmsg
:model=
"model"
:argadr=
"{ title: 'Beneficiary Ref', grp: 'brdgrp', rol: 'ben' }"
disabled
>
</c-ptsmsg>
</c-col>
...
...
@@ -430,6 +456,7 @@
grp: 'brdgrp',
rol: 'prb',
}"
disabled1
>
</c-ptsmsg>
</c-col>
...
...
@@ -476,7 +503,7 @@
<c-select
v-model=
"model.brdgrp.rec.docprbrol"
style=
"width: 100%"
placeholder=
"请
输入
Presented by"
placeholder=
"请
选择
Presented by"
:code=
"codes.docprbrol"
>
</c-select>
...
...
@@ -508,6 +535,18 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptap1
:model=
"model"
:argadr=
"{
title: '',
grp: 'brdgrp',
rol: 'prb',
}"
:disabled=
"true"
:isAdrblk=
"false"
disabled1
>
</c-ptap1>
<!-- <c-ptap
:model="model"
:argadr="{
...
...
@@ -722,6 +761,14 @@ export default {
flag
()
{
return
this
.
model
.
brdgrp
.
prb
.
pts
.
extkey
==
""
;
},
dscinsflg
:
{
get
()
{
return
this
.
model
.
brdgrp
.
rec
.
dscinsflg
!=
''
},
set
(
val
)
{
this
.
model
.
brdgrp
.
rec
.
dscinsflg
=
val
?
"X"
:
""
}
},
},
};
</
script
>
...
...
src/views/Business/Brtdck/Docpre.vue
View file @
0a816426
<
template
>
<div
class=
"eibs-tab"
>
<!--===
==========左边
=============== -->
<!--===
=============================左边===================
=============== -->
<c-col
:span=
"11"
>
<c-col
:span=
"21"
>
<el-form-item
label=
"Discrepancies"
prop=
"brdgrp.blk.docdis"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.blk.docdis"
maxlength=
"50"
show-word-limit
placeholder=
"请输入Discrepancies"
rows=
"5"
>
maxlength=
"50"
show-word-limit
placeholder=
"请输入Discrepancies"
rows=
"5"
:disabled=
"!docdisflg"
>
</c-input>
<!-- :disabled="!docdisflg" 任意非空串 取非后即为false,,空串取非后即为true -->
</el-form-item>
</c-col>
<c-col
:span=
"3"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDocdisButtxmsel"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDocdisButtxmsel"
:disabled=
"!docdisflg"
>
...
</c-button>
</c-col>
...
...
@@ -34,18 +36,20 @@
</c-button>
</c-col>
</c-col>
<!--===
==========右边
=============== -->
<!--===
========================右边===============
=============== -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.brdgrp.rec.igndisflg"
>
Ignore Discrepancies
</c-checkbox>
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.brdgrp.blk.docdisflg"
>
discrepancies modified
</c-checkbox>
<c-checkbox
v-model=
"docdisflg"
>
discrepancies modified
</c-checkbox>
<!--
<c-checkbox
v-model=
"model.brdgrp.blk.docdisflg"
>
discrepancies modified
</c-checkbox>
-->
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Type of Advice Received"
prop=
"brdgrp.rec.advtyp"
>
<c-select
v-model=
"model.brdgrp.rec.advtyp"
style=
"width:100%"
placeholder=
"请选择Type of Advice Received"
:code=
"codes.advtyp"
>
:code=
"codes.advtyp"
disabled
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -56,7 +60,8 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Discrepancy Advice Dated"
prop=
"brdgrp.rec.disdat"
label-width=
"155px"
>
<c-date-picker
type=
"date"
v-model=
"model.brdgrp.rec.disdat"
style=
"width:100%"
placeholder=
"请选择Discrepancy Advice Dated"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.brdgrp.rec.disdat"
style=
"width:100%"
placeholder=
"请选择Discrepancy Advice Dated"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -86,7 +91,7 @@
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.brtp.cre732flg"
>
Create MT 732
</c-checkbox>
<c-checkbox
v-model=
"model.brtp.cre732flg"
disabled
>
Create MT 732
</c-checkbox>
</c-col>
</c-col>
...
...
@@ -118,6 +123,16 @@ export default {
},
methods
:
{
...
Event
},
created
:
function
()
{},
computed
:
{
docdisflg
:
{
get
()
{
return
this
.
model
.
brdgrp
.
blk
.
docdisflg
!=
""
},
set
(
val
)
{
this
.
model
.
brdgrp
.
blk
.
docdisflg
=
val
?
"X"
:
""
}
},
},
};
</
script
>
<
style
>
...
...
src/views/Business/Brtdck/Shpdet.vue
View file @
0a816426
...
...
@@ -121,17 +121,40 @@
</el-form-item>
</c-col>
<c-col
:span=
"
16
"
>
<c-col
:span=
"
20
"
>
<el-form-item
label=
"Release to Address"
prop=
"brdgrp.blk.relstoadr"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.blk.relstoadr"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Release to Address"
rows=
"4"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<c-checkbox
v-model=
"model.brdgrp.rec.rtoaplflg"
>
Release Goods to Applicant ?
</c-checkbox>
<c-col
:span=
"4"
>
<el-form-item
label=
""
label-width=
"0"
prop=
"brdgrp.rec.rtoaplflg"
>
<c-checkbox
v-model=
"rtoaplflg"
@
change=
"rtoaplflgChangeEvent"
>
to Applicant
</c-checkbox>
<!--
<el-input
v-model=
"model.brdgrp.rec.rtoaplflg"
></el-input>
-->
</el-form-item>
<!--
<c-checkbox
v-model=
"model.brdgrp.rec.rtoaplflg"
>
to Applicant
</c-checkbox>
简化model前,,原始-->
<!-- Release Goods to Applicant? -->
</c-col>
<c-col
:span=
"24"
>
<c-ptap1
:model=
"model"
:argadr=
"
{
title: 'Shapping Company',
grp: 'brdgrp',
rol: 'shp',
}"
:disabled="true"
:isAdrblk="false"
disabled1
>
</c-ptap1>
<!-- brdgrp.shp.pts.extkey 对应grp: 'brdgrp', rol: 'prb',-->
</c-col>
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"Drag Drop Sender"
prop=
"brtp.shpp.ptsget.sdamod.dadsnd"
>
<c-input
v-model=
"model.brtp.shpp.ptsget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
</el-form-item>
...
...
@@ -153,9 +176,9 @@
<c-button
size=
"small"
type=
"primary"
@
click=
"onShppDet"
>
Details
</c-button>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<
!--
<
c-col
:span=
"24"
>
<el-form-item
label=
"名称"
prop=
"brdgrp.shp.namelc"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.shp.namelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入名称"
></c-input>
</el-form-item>
...
...
@@ -165,9 +188,9 @@
<el-form-item
label=
"Address Block"
prop=
"brdgrp.shp.pts.adrblk"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.shp.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<
!--
<
c-col
:span=
"24"
>
<el-form-item
label=
"Chinese address"
prop=
"brdgrp.shp.dbfadrblkcn"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.shp.dbfadrblkcn"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Chinese address"
></c-input>
</el-form-item>
...
...
@@ -177,7 +200,7 @@
<el-form-item
label=
"地址"
prop=
"brdgrp.shp.adrelc"
>
<c-input
type=
"textarea"
v-model=
"model.brdgrp.shp.adrelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
label=
"Notify Party"
prop=
"brdgrp.blk.notpty"
>
...
...
@@ -187,7 +210,8 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"Goods code"
prop=
"brdgrp.rec.ngrcod"
>
<c-select
v-model=
"model.brdgrp.rec.ngrcod"
style=
"width:100%"
placeholder=
"请选择Goods code"
>
<c-select
v-model=
"model.brdgrp.rec.ngrcod"
style=
"width:100%"
placeholder=
"请选择Goods code"
:code=
"codes.bnrsec"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -199,8 +223,14 @@ import Api from "~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Brtdck/Event"
import
Ptap1
from
"~/views/Public/Ptap1"
export
default
{
components
:
{
"c-ptap1"
:
Ptap1
,
// "c-ptap": Ptap,
// "c-ptsmsg": Ptsmsg,
},
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
...
...
@@ -209,7 +239,26 @@ export default {
}
},
methods
:{...
Event
},
computed
:{
rtoaplflg
:{
get
()
{
return
this
.
model
.
brdgrp
.
rec
.
rtoaplflg
!=
''
},
set
(
val
)
{
this
.
model
.
brdgrp
.
rec
.
rtoaplflg
=
val
?
"X"
:
""
}
}
},
methods
:{
...
Event
,
rtoaplflgChangeEvent
()
{
this
.
executeDefault
(
"brdgrp.rec.rtoaplflg"
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
},
},
created
:
function
(){
}
...
...
src/views/Business/Brtdck/index.vue
View file @
0a816426
...
...
@@ -30,11 +30,11 @@
</c-content>
</el-tab-pane>
<!--brtp PD000062 Discr./Instr. -->
<el-tab-pane
label=
"Discr./Instr."
name=
"docpre"
>
<el-tab-pane
label=
"Discr./Instr."
name=
"docpre"
v-if=
"model.brdgrp.rec.dscinsflg"
>
<m-docpre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--brtp PD000079 Shipping Details -->
<el-tab-pane
label=
"Shipping Details"
name=
"shpdet"
>
<el-tab-pane
label=
"Shipping Details"
name=
"shpdet"
v-if=
"model.brdgrp.rec.dscinsflg"
>
<c-content>
<m-shpdet
:model=
"model"
:codes=
"codes"
/>
</c-content>
...
...
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