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
0703a81b
Commit
0703a81b
authored
Jun 10, 2022
by
wangren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.0.110:11080/fukai/vue-gjjs
parents
3eea60f2
eb2e04c6
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
1425 additions
and
436 deletions
+1425
-436
index.js
src/config/CodeTable/index.js
+135
-1
common.js
src/lang/local/en/common.js
+1
-0
common.js
src/lang/local/zh/common.js
+1
-0
Event.js
src/model/Detdrv/Event.js
+1
-1
Pattern.js
src/model/Detdrv/Pattern.js
+35
-42
index.js
src/model/Detdrv/index.js
+1
-0
Check.js
src/model/Fctcan/Check.js
+3
-0
Default.js
src/model/Fctcan/Default.js
+4
-0
Event.js
src/model/Fctcan/Event.js
+14
-1
Pattern.js
src/model/Fctcan/Pattern.js
+50
-0
index.js
src/model/Fctcan/index.js
+27
-0
Check.js
src/model/Fctopn/Check.js
+5
-0
Default.js
src/model/Fctopn/Default.js
+8
-0
Event.js
src/model/Fctopn/Event.js
+26
-1
Pattern.js
src/model/Fctopn/Pattern.js
+40
-0
index.js
src/model/Fctopn/index.js
+23
-0
Brtdckp.vue
src/views/Business/Brtdck/Brtdckp.vue
+64
-31
index.vue
src/views/Business/Brtdck/index.vue
+3
-0
BusRouter.js
src/views/Business/BusRouter.js
+4
-0
Drv.vue
src/views/Business/Detdrv/Drv.vue
+280
-210
Dscins.vue
src/views/Business/Detdrv/Dscins.vue
+171
-110
index.vue
src/views/Business/Detdrv/index.vue
+22
-19
Opnp1.vue
src/views/Business/Fctcan/Opnp1.vue
+201
-0
index.vue
src/views/Business/Fctcan/index.vue
+64
-9
Opnp1.vue
src/views/Business/Fctopn/Opnp1.vue
+173
-0
index.vue
src/views/Business/Fctopn/index.vue
+68
-10
Ptap1.vue
src/views/Public/Ptap1.vue
+1
-1
No files found.
src/config/CodeTable/index.js
View file @
0703a81b
...
...
@@ -2666,7 +2666,23 @@ const CodeTable = {
{
label
:
"信用证单据承兑"
,
value
:
"1"
},
],
docsta
:
[
{
label
:
"label"
,
value
:
"INST"
},
{
label
:
"Goods released, Adv. of Payment received"
,
value
:
"A"
},
{
label
:
"Goods released, Adv. of Payment + docs"
,
value
:
"B"
},
{
label
:
"Adv. of Payment received, wait for docs"
,
value
:
"C"
},
{
label
:
"Advice of Payment and documents received"
,
value
:
"D"
},
{
label
:
"Adv. of Discrep. received, wait for docs"
,
value
:
"E"
},
{
label
:
"Advice of Discrepancy and docs received"
,
value
:
"F"
},
{
label
:
"Documents received"
,
value
:
"G"
},
{
label
:
"Clean documents received"
,
value
:
"H"
},
{
label
:
"Discrepant documents received"
,
value
:
"I"
},
{
label
:
"Goods released, wait for documents"
,
value
:
"J"
},
{
label
:
"Goods released, documents received"
,
value
:
"K"
},
{
label
:
"Documents sent on approval basis"
,
value
:
"L"
},
{
label
:
"Documents taken up"
,
value
:
"M"
},
{
label
:
"Documents settled free of payment"
,
value
:
"N"
},
{
label
:
"Discrepant document received in trust"
,
value
:
"T"
},
{
label
:
"Other Type of Advice, wait for documents"
,
value
:
"O"
},
{
label
:
"Documents have been refused and returned"
,
value
:
"R"
},
],
doctyp
:
[
{
label
:
"买方单据"
,
value
:
"BDD"
},
...
...
@@ -3633,6 +3649,109 @@ const CodeTable = {
{
label
:
"Transaction"
,
value
:
"TRN"
},
{
label
:
"Database"
,
value
:
"DBF"
},
],
payrol
:[
{
label
:
"2nd Advising Bank"
,
value
:
"A2B"
},
{
label
:
"2.Adv.Bk. Transfer"
,
value
:
"A2T"
},
{
label
:
"Acc. with Bank (ACB)"
,
value
:
"ACB"
},
{
label
:
"Accounting Bank"
,
value
:
"ACC"
},
{
label
:
"Search Account for"
,
value
:
"ACT"
},
{
label
:
"Acc. with Bank (AcW)"
,
value
:
"ACW "
},
{
label
:
"Adv.Bank APL Side"
,
value
:
"ADA"
},
{
label
:
"Addressee"
,
value
:
"ADE"
},
{
label
:
"Adv.Bank Transfer"
,
value
:
"ADT"
},
{
label
:
"Advising Bank"
,
value
:
"ADV"
},
{
label
:
"Correspondent Bank"
,
value
:
"AGB"
},
{
label
:
"Agent"
,
value
:
"AGT"
},
{
label
:
"2nd Applicant"
,
value
:
"AP2"
},
{
label
:
"3rd Applicant"
,
value
:
"AP3"
},
{
label
:
"4th Applicant"
,
value
:
"AP4"
},
{
label
:
"5th Applicant"
,
value
:
"AP5"
},
{
label
:
"Applicant's Bank"
,
value
:
"APB"
},
{
label
:
"Applicant"
,
value
:
"APL"
},
{
label
:
"Account Party"
,
value
:
"APY"
},
{
label
:
"2nd Adv. thr.Bank"
,
value
:
"AT2"
},
{
label
:
"1st Adv. thr. Bank"
,
value
:
"ATB"
},
{
label
:
"Available with Bank"
,
value
:
"AVB"
},
{
label
:
"Avail. w.Bank Tr."
,
value
:
"AVT"
},
{
label
:
"Account with Inst."
,
value
:
"AWl"
},
{
label
:
"2nd Benef.'s Bank"
,
value
:
"B2B"
},
{
label
:
"1st Beneficiary"
,
value
:
"BE1"
},
{
label
:
"2nd Beneficiary"
,
value
:
"BE2"
},
{
label
:
"Beneficiary's Bank"
,
value
:
"BEB"
},
{
label
:
"Benef.'s lnstitution"
,
value
:
"BEI"
},
{
label
:
"Beneficiary"
,
value
:
"BEN"
},
{
label
:
"Buyer 1"
,
value
:
"BU1"
},
{
label
:
"Buyer 2"
,
value
:
"BU2"
},
{
label
:
"Buyer 3"
,
value
:
"BU3"
},
{
label
:
"Buyer"
,
value
:
"BUY"
},
{
label
:
"Carrier (CAR)"
,
value
:
"CAR"
},
{
label
:
"Claiming Bank"
,
value
:
"CLB"
},
{
label
:
"Our Client"
,
value
:
"CLI"
},
{
label
:
"2nd Collecting Bank"
,
value
:
"CO2"
},
{
label
:
"Collecting Bank"
,
value
:
"COL"
},
{
label
:
"Confirming Bank"
,
value
:
"CON"
},
{
label
:
"Correspondent"
,
value
:
"COR"
},
{
label
:
"2nd Accountee"
,
value
:
"CT2"
},
{
label
:
"3rd Accountee"
,
value
:
"CT3"
},
{
label
:
"4th Accountee"
,
value
:
"CT4"
},
{
label
:
"5th Accountee"
,
value
:
"CT5"
},
{
label
:
"Accountee"
,
value
:
"CTR"
},
{
label
:
"Delivery Group"
,
value
:
"DEG"
},
{
label
:
"Drawee (DRE)"
,
value
:
"DRE"
},
{
label
:
"Drawee Bank"
,
value
:
"DRO"
},
{
label
:
"Drawer"
,
value
:
"DRR"
},
{
label
:
"Drawee (DRW)"
,
value
:
"DRW"
},
{
label
:
"Advanced Party"
,
value
:
"FIA"
},
{
label
:
"Financed Party"
,
value
:
"FIP"
},
{
label
:
"Account Held by"
,
value
:
"HOL"
},
{
label
:
"Init. Inst."
,
value
:
"IIB"
},
{
label
:
"Initiating inst."
,
value
:
"INI"
},
{
label
:
"Insurance"
,
value
:
"INS"
},
{
label
:
"Intermediary bank"
,
value
:
"INT"
},
{
label
:
"Invoice Party"
,
value
:
"INV"
},
{
label
:
"Issuing Bank"
,
value
:
"ISS"
},
{
label
:
"Negotiation Bank"
,
value
:
"NEG"
},
{
label
:
"Notily Party"
,
value
:
"NOP"
},
{
label
:
"Old Account Party"
,
value
:
"OAP"
},
{
label
:
"Old Buyer"
,
value
:
"OBU"
},
{
label
:
"Old Invoice Party"
,
value
:
"OIN"
},
{
label
:
"Ordering Customer"
,
value
:
"ORC"
},
{
label
:
"Ordering Institution"
,
value
:
"ORI"
},
{
label
:
"Futher Party"
,
value
:
"OTH"
},
{
label
:
"Ourselves"
,
value
:
"OWN"
},
{
label
:
"Presenter (PRP)"
,
value
:
"PRB"
},
{
label
:
"Presenting Bnk"
,
value
:
"PRE"
},
{
label
:
"Presenter (PRB)"
,
value
:
"PRP"
},
{
label
:
"Paying Bank"
,
value
:
"PYB"
},
{
label
:
"Payee"
,
value
:
"PYE"
},
{
label
:
"Remboursement Bank 1"
,
value
:
"RB1"
},
{
label
:
"Remboursement Bank 2"
,
value
:
"RB2"
},
{
label
:
"Reimbursement Bank"
,
value
:
"RMB"
},
{
label
:
"Remitting Bank"
,
value
:
"RMI"
},
{
label
:
"Beneficiary (Paym.)"
,
value
:
"RMS"
},
{
label
:
"Reimb. Bank Transfer"
,
value
:
"RMT"
},
{
label
:
"Carrier (ROG)"
,
value
:
"ROG"
},
{
label
:
"Payer / Payee"
,
value
:
"ROL"
},
{
label
:
"Receiver of 2nd mail"
,
value
:
"RSM"
},
{
label
:
"Seller"
,
value
:
"SEL"
},
{
label
:
"Account Serviced by"
,
value
:
"SER"
},
{
label
:
"Shipper"
,
value
:
"SHR"
},
{
label
:
"Third Party"
,
value
:
"TPO"
},
{
label
:
"1st Third Party ."
,
value
:
"TP1"
},
{
label
:
"2nd Third Party"
,
value
:
"TP2"
},
{
label
:
"3rd Third Party"
,
value
:
"TP3"
},
{
label
:
"4th Third Party"
,
value
:
"TP4"
},
{
label
:
"5th Third Party"
,
value
:
"TP5"
},
{
label
:
"6th Third Party"
,
value
:
"TP6"
},
{
label
:
"7th Third Party"
,
value
:
"TP7"
},
{
label
:
"8th Third Party"
,
value
:
"TP8"
},
{
label
:
"9th Third Party"
,
value
:
"TP9"
},
{
label
:
"3rd Remb Institution"
,
value
:
"TRI"
},
{
label
:
"Credit Party"
,
value
:
"UMH"
},
{
label
:
"Debit Party"
,
value
:
"UMS"
},
],
lcrtyp
:
[
{
label
:
"可转让"
,
value
:
"IT"
},
{
label
:
"不可转让"
,
value
:
"I"
},
...
...
@@ -3935,6 +4054,13 @@ const CodeTable = {
{
label
:
"Pending Items Manager"
,
value
:
"spttsk"
},
{
label
:
"Outgoing Workflow Manager"
,
value
:
"mgrtsk"
},
],
docprbrol
:[
{
label
:
"2nd Advising Bank"
,
value
:
"A2B"
},
{
label
:
"Advising Bank"
,
value
:
"ADV"
},
{
label
:
"Beneficiary"
,
value
:
"BEN"
},
{
label
:
"Presenter(PRP)"
,
value
:
"PRB"
},
],
mhtyp
:
[
{
label
:
"更换单据"
,
value
:
"A"
},
{
label
:
"二次到单"
,
value
:
"R"
},
...
...
@@ -5893,6 +6019,14 @@ const CodeTable = {
{
label
:
"TD Metafile Viewer"
,
value
:
"TMF"
},
{
label
:
"Formatted Display"
,
value
:
"SWT"
},
],
docflg
:[
{
label
:
"Mixed Payment Documents"
,
value
:
"M"
},
{
label
:
"Sight Documents"
,
value
:
"P"
},
{
label
:
"Usance Documents(Acceptance)"
,
value
:
"A"
},
{
label
:
"Usance Documents(Deferred)"
,
value
:
"D"
},
],
vouflg
:
[
{
label
:
"申报"
,
value
:
"1"
},
{
label
:
"不申报"
,
value
:
"2"
},
...
...
src/lang/local/en/common.js
View file @
0703a81b
...
...
@@ -26,6 +26,7 @@ export default {
},
buttons
:
{
save
:
"Save"
,
add
:
"Add"
,
delete
:
"Delete"
,
query
:
"Query"
,
...
...
src/lang/local/zh/common.js
View file @
0703a81b
...
...
@@ -26,6 +26,7 @@ export default {
},
buttons
:
{
save
:
"保存"
,
add
:
"添加"
,
delete
:
"删除"
,
query
:
"查询"
,
...
...
src/model/Detdrv/Event.js
View file @
0703a81b
...
...
@@ -103,7 +103,7 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
)
}
else
{
...
...
src/model/Detdrv/Pattern.js
View file @
0703a81b
export
default
{
"bfdgrp.blk.docdis"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
],
"bfdgrp.blk.intdis"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
],
...
...
@@ -26,23 +26,23 @@ export default {
],
"bfdgrp.oth.namelc"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.oth.pts.adrblk"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.oth.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.oth.adrelc"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.rec.expmno"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
60
,
message
:
"长度不能超过60"
}
],
"dedgrp.rec.kzref"
:[
...
...
@@ -51,27 +51,22 @@ export default {
],
"bfdgrp.rec.lescom"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"letprbl1blk"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
200
,
message
:
"长度不能超过200"
}
],
"letissl1blk"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
200
,
message
:
"长度不能超过200"
}
],
"bfdgrp.cbs.max.cur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"bfdgrp.cbs.max.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"bfdgrp.cbs.max2.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -79,11 +74,11 @@ export default {
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"bfdgrp.blk.chaded"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.blk.chaadd"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.rec.totcur"
:[
...
...
@@ -109,23 +104,23 @@ export default {
],
"bfdgrp.acb.namelc"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.acb.pts.adrblk"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.acb.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.acb.adrelc"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.blk.nartxt77a"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bftp.rmbp.ptsget.sdamod.dadsnd"
:[
...
...
@@ -142,19 +137,19 @@ export default {
],
"bfdgrp.rmb.namelc"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.rmb.pts.adrblk"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.rmb.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.rmb.adrelc"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bftp.bebp.ptsget.sdamod.dadsnd"
:[
...
...
@@ -171,19 +166,19 @@ export default {
],
"dedgrp.beb.namelc"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"dedgrp.beb.pts.adrblk"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"dedgrp.beb.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"dedgrp.beb.adrelc"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.rec.totdat"
:[
...
...
@@ -206,7 +201,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"dedgrp.cbs.opn1.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -292,7 +287,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"dedgrp.cbs.nom1.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -315,7 +310,7 @@ export default {
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"dedgrp.rec.expplc"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.prb.pts.nam"
:[
...
...
@@ -339,7 +334,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"bfdgrp.cbs.max.amt"
:[
{
type
:
"
number"
,
required
:
fals
e
,
message
:
"必输项"
},
{
type
:
"
string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -362,7 +357,7 @@ export default {
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"bfdgrp.prb.pts.jigomc"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.rec.matdat"
:[
...
...
@@ -373,17 +368,14 @@ export default {
],
"bfdgrp.prb.pts.dizhii"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bfdgrp.blk.matper"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
],
"dedgrp.rec.utlnbr"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
"bfdgrp.rec.invtyp"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
],
}
\ No newline at end of file
src/model/Detdrv/index.js
View file @
0703a81b
...
...
@@ -83,6 +83,7 @@ export default class Detdrv{
bftp
:{
docgrdm
:{
docdsclab
:
""
,
// Label of document description .bftp.docgrdm.docdsclab
docgrd
:
""
,
},
folwupopt
:
""
,
// Processing Options .bftp.folwupopt
othp
:{
...
...
src/model/Fctcan/Check.js
View file @
0703a81b
...
...
@@ -4,6 +4,9 @@ import Utils from "~/utils"
* Fctcan Check规则
*/
let
checkObj
=
{
"fcdgrp.apl.pts.extkey"
:
null
,
"fcdgrp.apl.pts.nam"
:
null
,
"fcdgrp.rec.ownref"
:
null
,
}
for
(
const
key
in
checkObj
)
{
...
...
src/model/Fctcan/Default.js
View file @
0703a81b
...
...
@@ -6,5 +6,9 @@ import Api from "~/service/Api";
import
Utils
from
"~/utils/index"
export
default
{
"fcdgrp.apl.pts.extkey"
:
Utils
.
defaultFunction
,
"gleflg"
:
Utils
.
defaultFunction
,
"cshstm"
:
Utils
.
defaultFunction
,
"fcdgrp.apl.pts.nam"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Fctcan/Event.js
View file @
0703a81b
...
...
@@ -2,5 +2,17 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onAplpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"aplp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Fctcan/Pattern.js
View file @
0703a81b
export
default
{
"aplp.ptsget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fcdgrp.apl.pts.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"aplp.ptsget.sdamod.seainf"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"fcdgrp.apl.pts.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"fcdgrp.apl.pta.nam1"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"fcdgrp.rec.ownref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fcdgrp.rec.reason"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"fcdgrp.rec.amt"
:[
{
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"fcdgrp.rec.extact"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
],
"fcdgrp.rec.engact"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"cshstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
}
\ No newline at end of file
src/model/Fctcan/index.js
View file @
0703a81b
...
...
@@ -4,6 +4,33 @@ import Pts from "../Common/Pts"
export
default
class
Fctcan
{
constructor
()
{
this
.
data
=
{
fcdgrp
:{
apl
:{
pts
:
new
Pts
().
data
,
pta
:{
nam1
:
""
,
// Externally Visible Name of Address .fcdgrp.apl.pta.nam1
},
},
rec
:{
ownref
:
""
,
// Our Reference .fcdgrp.rec.ownref
cur
:
""
,
// currency .fcdgrp.rec.cur
amt
:
""
,
// 保证金金额 .fcdgrp.rec.amt
reason
:
""
,
// collect reason .fcdgrp.rec.reason
extact
:
""
,
// Extend Account .fcdgrp.rec.extact
engact
:
""
,
// Engagement account .fcdgrp.rec.engact
},
},
aplp
:{
ptsget
:{
sdamod
:{
dadsnd
:
""
,
// Drag Drop Sender .aplp.ptsget.sdamod.dadsnd
seainf
:
""
,
// .aplp.ptsget.sdamod.seainf
},
},
},
gleflg
:
""
,
// 是否过�'� .gleflg
cshstm
:
""
,
// stream of csh .cshstm
errflg
:
""
,
// 已使用保证金 .errflg
pageId
:
""
// ctx的key
}
}
...
...
src/model/Fctopn/Check.js
View file @
0703a81b
...
...
@@ -4,6 +4,11 @@ import Utils from "~/utils"
* Fctopn Check规则
*/
let
checkObj
=
{
"fcdgrp.apl.pts.extkey"
:
null
,
"fcdgrp.apl.pts.nam"
:
null
,
"cashamt"
:
null
,
"cashcur"
:
null
,
"cashacc"
:
null
,
}
for
(
const
key
in
checkObj
)
{
...
...
src/model/Fctopn/Default.js
View file @
0703a81b
...
...
@@ -6,5 +6,13 @@ import Api from "~/service/Api";
import
Utils
from
"~/utils/index"
export
default
{
"fcdgrp.apl.pts.extkey"
:
Utils
.
defaultFunction
,
"cashamt"
:
Utils
.
defaultFunction
,
"trmtyp"
:
Utils
.
defaultFunction
,
"cashcur"
:
Utils
.
defaultFunction
,
"cashacc"
:
Utils
.
defaultFunction
,
"cshstm"
:
Utils
.
defaultFunction
,
"gleflg"
:
Utils
.
defaultFunction
,
"fcdgrp.apl.pts.nam"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Fctopn/Event.js
View file @
0703a81b
...
...
@@ -2,5 +2,29 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onAplpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"aplp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onGet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"get"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/model/Fctopn/Pattern.js
View file @
0703a81b
export
default
{
"aplp.ptsget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"fcdgrp.apl.pts.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"aplp.ptsget.sdamod.seainf"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"fcdgrp.apl.pts.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"fcdgrp.apl.pta.nam1"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"reason"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"cashamt"
:[
{
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"cshstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
}
\ No newline at end of file
src/model/Fctopn/index.js
View file @
0703a81b
...
...
@@ -4,6 +4,29 @@ import Pts from "../Common/Pts"
export
default
class
Fctopn
{
constructor
()
{
this
.
data
=
{
fcdgrp
:{
apl
:{
pts
:
new
Pts
().
data
,
pta
:{
nam1
:
""
,
// Externally Visible Name of Address .fcdgrp.apl.pta.nam1
},
},
},
aplp
:{
ptsget
:{
sdamod
:{
dadsnd
:
""
,
// Drag Drop Sender .aplp.ptsget.sdamod.dadsnd
seainf
:
""
,
// .aplp.ptsget.sdamod.seainf
},
},
},
cashcur
:
""
,
// currency .cashcur
cashamt
:
""
,
// 金额 .cashamt
gleflg
:
""
,
// 是否过帐 .gleflg
cashacc
:
""
,
// account .cashacc
trmtyp
:
""
,
// 科目 .trmtyp
reason
:
""
,
// collect reason .reason
cshstm
:
""
,
// STREAM OF CSH .cshstm
pageId
:
""
// ctx的key
}
}
...
...
src/views/Business/Brtdck/Brtdckp.vue
View file @
0703a81b
...
...
@@ -2,9 +2,9 @@
<div
class=
"eibs-tab"
>
<c-row>
<!-- 左边 -->
<c-col
:span=
"1
1
"
>
<!-- S0000198 : 信用证编号 -->
<c-col
:span=
"
16
"
>
<c-col
:span=
"1
2
"
>
<!-- S0000198 : 信用证编号 -->
<c-col
:span=
"
24
"
>
<c-form-item
label=
"Import L/C Ref"
prop=
"lidgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model=
"model.lidgrp.rec.ownref"
maxlength=
"16"
placeholder=
""
style=
"width:100%"
></c-input>
...
...
@@ -31,11 +31,11 @@
</c-form-item>
</c-col>
<!-- S0000195 : 到期日 -->
<c-col
:span=
"
8
"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
"Expiry"
prop=
"lidgrp.rec.expdat"
>
<c-date-picker
type=
"date"
v-model=
"model.lidgrp.rec.expdat"
style=
"width:100%"
placeholder=
"请输入Expiry"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- S0000196 : 单据参考号 -->
<c-col
:span=
"24"
>
<c-form-item
label=
"Bill Set Reference"
prop=
"brdgrp.rec.ownref"
>
...
...
@@ -66,7 +66,7 @@
<!-- S0000197 : 单据金额 -->
<c-col
:span=
"12"
>
<el-form-item
label=
"Document Amount"
prop=
"brdgrp.cbs.max.cur"
>
<c-select
v-model=
"model.brdgrp.cbs.max.cur"
style=
"width:100%"
placeholder=
"请输入Document Amount"
>
<c-select
v-model=
"model.brdgrp.cbs.max.cur"
style=
"width:100%"
placeholder=
"请输入Document Amount"
:code=
"codes.cur"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -118,7 +118,7 @@
<!-- S0000206 : 单据类型 -->
<c-col
:span=
"16"
>
<el-form-item
label=
"Document Type"
prop=
"brdgrp.rec.docflg"
>
<c-select
v-model=
"model.brdgrp.rec.docflg"
style=
"width:100%"
placeholder=
"请输入Document Type"
>
<c-select
v-model=
"model.brdgrp.rec.docflg"
style=
"width:100%"
placeholder=
"请输入Document Type"
:code=
"codes.docflg"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -131,22 +131,22 @@
<!-- S0000207 : 单据状态 -->
<c-col
:span=
"24"
>
<el-form-item
label=
"Document Set Status"
prop=
"brdgrp.rec.docsta"
>
<c-select
v-model=
"model.brdgrp.rec.docsta"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('brtp.S0000207')
"
>
<c-select
v-model=
"model.brdgrp.rec.docsta"
style=
"width:100%"
placeholder=
"请输入"
:code=
"codes.docsta
"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000084 : Document Type -->
<c-col
:span=
"24"
>
<el-form-item
label=
"Document Type"
prop=
"brdgrp.rec.docflg"
>
<c-select
v-model=
"model.brdgrp.rec.docflg"
style=
"width:100%"
placeholder=
"请输入Document Type"
>
<el-form-item
label=
"Document Type"
prop=
"brdgrp.rec.docflg"
>
<c-select
v-model=
"model.brdgrp.rec.docflg"
style=
"width:100%"
placeholder=
"请输入Document Type"
:code=
"codes.docflg"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000086 : Document Amount -->
<c-col
:span=
"12"
>
<el-form-item
label=
"Document Amount"
prop=
"brdgrp.cbs.max.cur"
>
<c-
selec
t
v-model=
"model.brdgrp.cbs.max.cur"
style=
"width:100%"
placeholder=
""
>
</c-
selec
t>
<c-
inpu
t
v-model=
"model.brdgrp.cbs.max.cur"
style=
"width:100%"
placeholder=
""
>
</c-
inpu
t>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -157,7 +157,7 @@
<!-- S0000006 : 附加金额 -->
<c-col
:span=
"12"
>
<el-form-item
label=
"Drawn Add Amount"
prop=
"brdgrp.cbs.opn2.cur"
>
<c-select
v-model=
"model.brdgrp.cbs.opn2.cur"
style=
"width:100%"
placeholder=
"请输入Drawn Add Amount"
>
<c-select
v-model=
"model.brdgrp.cbs.opn2.cur"
style=
"width:100%"
placeholder=
"请输入Drawn Add Amount"
:code=
"codes.cur"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -192,7 +192,7 @@
<!-- SG000365 : Transaction Type -->
<c-col
:span=
"12"
>
<el-form-item
label=
"Transaction Type"
prop=
"mhtyp"
>
<c-select
v-model=
"model.mhtyp"
style=
"width:100%"
placeholder=
"请输入Transaction Type"
>
<c-select
v-model=
"model.mhtyp"
style=
"width:100%"
placeholder=
"请输入Transaction Type"
:code=
"codes.mhtyp"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -210,11 +210,11 @@
<!-- SF000369 : Applicant Reference -->
<c-col
:span=
"12"
>
<c-form-item
label=
"Applicant Reference"
prop=
"lidgrp.rec.aplref"
>
<c-input
v-model=
"model.lidgrp.rec.aplref"
maxlength=
"16"
:placeholder=
"$t('other.please_enter')+'Applicant Reference'
"
></c-input>
<c-input
v-model=
"model.lidgrp.rec.aplref"
maxlength=
"16"
placeholder=
"请输入Applicant Reference
"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.brdgrp.rec.dscinsflg"
>
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
label=
"Previous Drawings under this L/C"
prop=
"lidgrp.rec.utlnbr"
>
...
...
@@ -225,7 +225,7 @@
</c-col>
<!-- 右边 -->
<c-col
:span=
"1
1"
:offset=
"1
"
>
<c-col
:span=
"1
2
"
>
<!-- S0000192 : 信用证余额 -->
<c-col
:span=
"12"
>
<c-form-item
label=
"Open Amt L/C"
prop=
"lidgrp.cbs.opn1.cur"
>
...
...
@@ -242,9 +242,31 @@
<c-input
v-model=
"model.brdgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{ title: 'Applicant Ref', grp: 'brdgrp', rol: 'apl' }"
>
</c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{ title: 'Beneficiary Ref', grp: 'brdgrp', rol: 'ben' }"
>
</c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{ title: 'Presenting Bank Ref', grp: 'brdgrp', rol: 'prb' }"
>
</c-ptsmsg>
</c-col>
<!-- S0000194 : 申请人 -->
<!-- S0000203 : 编号 -->
<c-col
:span=
"24"
>
<
!-- <
c-col :span="24">
<c-form-item label="Applicant Ref" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref"></c-input>
</c-form-item>
...
...
@@ -253,10 +275,10 @@
<c-form-item label="" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</c-form-item>
</c-col>
</c-col>
-->
<!-- S0000193 : 受益人 -->
<!-- S0000205 : 编号 -->
<c-col
:span=
"24"
>
<
!-- <
c-col :span="24">
<c-form-item label="Beneficiary Ref" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref"></c-input>
</c-form-item>
...
...
@@ -265,10 +287,10 @@
<c-form-item label="" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col>
-->
<!-- S0000204 : 交单行 -->
<!-- S0000208 : 编号 -->
<c-col
:span=
"24"
>
<
!-- <
c-col :span="24">
<c-form-item label="Presenting Bank Ref" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank Ref"></c-input>
</c-form-item>
...
...
@@ -277,16 +299,16 @@
<c-form-item label="" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col>
-->
<!-- S0000078 : Presented by -->
<c-col
:span=
"24"
>
<el-form-item
label=
"Presented by"
prop=
"brdgrp.rec.docprbrol"
>
<c-select
v-model=
"model.brdgrp.rec.docprbrol"
style=
"width:100%"
placeholder=
"请输入 Presented by"
>
<c-select
v-model=
"model.brdgrp.rec.docprbrol"
style=
"width:100%"
placeholder=
"请输入 Presented by"
:code=
"codes.docprbrol"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
<c-ptap
1
:model=
"model"
:argadr=
"{
title: '',
...
...
@@ -295,15 +317,13 @@
}"
:disabled=
"true"
:isAdrblk=
"false"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onBenpDet"
>
</c-ptap>
</c-ptap
1
>
</c-col>
<!-- SF000087 : Payer -->
<c-col
:span=
"24"
>
<el-form-item
label=
"Payer"
prop=
"brdgrp.rec.payrol"
>
<c-select
v-model=
"model.brdgrp.rec.payrol"
style=
"width:100%"
placeholder=
"请输入Payer"
>
<c-select
v-model=
"model.brdgrp.rec.payrol"
style=
"width:100%"
placeholder=
"请输入Payer"
:code=
"codes.payrol"
>
</c-select>
</el-form-item>
</c-col>
...
...
@@ -527,9 +547,15 @@
import
Api
from
"~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Brtdck/Event"
import
Event
from
"~/model/Brtdck/Event"
;
import
Ptap1
from
"~/views/Public/Ptap1"
;
import
Ptsmsg
from
"~/views/Public/Ptsmsg"
;
export
default
{
components
:
{
"c-ptap1"
:
Ptap1
,
"c-ptsmsg"
:
Ptsmsg
,
},
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
...
...
@@ -540,11 +566,18 @@ export default {
},
methods
:{...
Event
,
onSeainf
(){},
onDitpButgetref
(){},
onBenpDet
(){},
},
created
:
function
(){
}
},
computed
:
{
flag
()
{
return
this
.
model
.
brdgrp
.
prb
.
pts
.
extkey
==
""
;
},
},
}
</
script
>
<
style
>
...
...
src/views/Business/Brtdck/index.vue
View file @
0703a81b
...
...
@@ -42,6 +42,8 @@
</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>
</div>
</
template
>
<
script
>
...
...
@@ -93,6 +95,7 @@ export default {
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
}
},
...
...
src/views/Business/BusRouter.js
View file @
0703a81b
...
...
@@ -69,6 +69,8 @@ import Bctcan from "./Bctcan"
import
Inffee
from
"./Inffee"
import
Infbcd
from
"./Infbcd"
import
Bdtcan
from
"./Bdtcan"
import
Fctcan
from
"./Fctcan"
import
Fctopn
from
"./Fctopn"
import
Bttcan
from
"./Bttcan"
import
Bttacc
from
"./Bttacc"
...
...
@@ -252,6 +254,8 @@ const BusRouter = [
{
path
:
'detopn'
,
component
:
Detopn
,
name
:
'Detopn'
,
meta
:
{
title
:
'卖方信用证开立'
}
},
{
path
:
'detame'
,
component
:
Detame
,
name
:
'Detame'
,
meta
:
{
title
:
'卖方信用证修改'
}
},
{
path
:
'detsel'
,
component
:
Detsel
,
name
:
'Detsel'
,
meta
:
{
title
:
'卖方信用证查询'
}
},
{
path
:
'fctcan'
,
component
:
Fctcan
,
name
:
'Fctcan'
,
meta
:
{
title
:
'保证金注销'
}
},
{
path
:
'fctopn'
,
component
:
Fctopn
,
name
:
'Fctopn'
,
meta
:
{
title
:
'保证金收取'
}
},
{
path
:
'bftsnd'
,
component
:
Bftsnd
,
name
:
'Bftsnd'
,
meta
:
{
title
:
'卖方信用证寄单'
}
},
...
...
src/views/Business/Detdrv/Drv.vue
View file @
0703a81b
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<c-col
:span=
"24"
>
<!-- -------------------Left------------------- -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"参考号"
prop=
"dedgrp.rec.ownref"
>
<c-input
v-model=
"model.dedgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- -------------------Left------------------- -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"参考号"
prop=
"dedgrp.rec.ownref"
>
<c-input
v-model=
"model.dedgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入参考号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证金额"
prop=
"dedgrp.cbs.nom1.cur"
>
<c-select
disabled
v-model=
"model.dedgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择Currency"
@
keyup
.
enter
.
native=
"nom1CurEvent"
>
<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=
"11"
>
<el-form-item
style=
"text-align: left"
label-width=
"5px"
prop=
"dedgrp.cbs.nom1.amt"
>
<c-input-currency
v-model=
"model.dedgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证金额"
prop=
"dedgrp.cbs.nom1.cur"
>
<c-select
disabled
v-model=
"model.dedgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择Currency"
@
keyup
.
enter
.
native=
"nom1CurEvent"
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证余额"
prop=
"dedgrp.cbs.opn1.cur"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
<c-select
v-model=
"model.dedgrp.cbs.opn1.cur"
placeholder=
"请选择币种"
:code=
"codes.cur"
style=
"width: 100%"
disabled
>
</el-option>
</c-select>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"dedgrp.cbs.opn1.amt"
>
<c-input-currency
v-model=
"model.dedgrp.cbs.opn1.amt"
placeholder=
"请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"开证日期"
prop=
"dedgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.dedgrp.rec.opndat"
placeholder=
"请选择开证日期"
style=
"width: 100%"
disabled
></c-date-picker>
</el-form-item>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"dedgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.dedgrp.rec.shpdat"
placeholder=
"请选择Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
-->
</c-col>
<c-col
:span=
"11"
>
<el-form-item
style=
"text-align: left"
label-width=
"5px"
prop=
"dedgrp.cbs.nom1.amt"
>
<c-input-currency
v-model=
"model.dedgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"
defaultFunction('dedgrp.cbs.nom1.amt', model.dedgrp.cbs.nom1.amt)
"
></c-input-currency>
<c-col
:span=
"24"
>
<el-form-item
label=
"指定银行"
prop=
"dedgrp.avbnam"
>
<c-input
v-model=
"model.dedgrp.avbnam"
maxlength=
"40"
placeholder=
"请输入指定银行"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证余额"
prop=
"dedgrp.cbs.opn1.cur"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"兑付方式"
prop=
"dedgrp.rec.avbby"
>
<c-select
v-model=
"model.dedgrp.
cbs.opn1.cur
"
placeholder=
"请选择币种
"
:code=
"codes.cur
"
style=
"width:100%"
v-model=
"model.dedgrp.
rec.avbby
"
style=
"width: 100%
"
placeholder=
"请选择兑付方式
"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"
11
"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"dedgrp.cbs.opn1.amt"
label=
"最迟交单日期/交单地"
prop=
"dedgrp.rec.expdat"
>
<c-input-currency
v-model=
"model.dedgrp.cbs.opn1.amt"
placeholder=
"请输入金额"
></c-input-currency>
<c-date-picker
type=
"date"
v-model=
"model.dedgrp.rec.expdat"
style=
"width: 100%"
placeholder=
"请选择最迟交单日期/交单地"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"dedgrp.rec.expplc"
>
<c-input
type=
"textarea"
v-model=
"model.dedgrp.rec.expplc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入最迟交单日期/交单地"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -------------------Right------------------- -->
<c-col
:span=
"24"
>
<el-form-item
label=
"开证日期"
prop=
"dedgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.dedgrp.rec.opndat"
placeholder=
"请选择开证日期"
style=
"width:100%"
></c-date-picker>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"概要"
prop=
"dedgrp.rec.nam"
>
<c-input
v-model=
"model.dedgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入概要"
disabled
></c-input>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"dedgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.dedgrp.rec.shpdat"
placeholder=
"请选择Shipment Date"
></c-date-picker>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"
{
title: '申请人',
grp: 'bfdgrp',
rol: 'apl',
}"
:disabled="true"
>
</c-ptsmsg>
</c-col>
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"开证行"
prop=
"bfdgrp.iss.pts.ref"
>
<c-input
v-model=
"model.bfdgrp.iss.pts.ref"
maxlength=
"16"
placeholder=
"请输入开证行"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bfdgrp.iss.pts.nam"
>
<c-input
v-model=
"model.bfdgrp.iss.pts.nam"
maxlength=
"40"
placeholder=
"请输入开证行"
></c-input>
</el-form-item>
</c-col>
-->
</c-col>
<c-ptsmsg
:model=
"model"
:argadr=
"
{
title: '申请人',
grp: 'bfdgrp',
rol: 'iss',
}"
:disabled="true"
>
</c-ptsmsg>
<c-col
:span=
"24"
>
<el-form-item
label=
"指定银行"
prop=
"dedgrp.avbnam"
>
<c-input
v-model=
"model.dedgrp.avbnam"
maxlength=
"40"
placeholder=
"请输入指定银行"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"
{
title: '交单人',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
>
</c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"兑付方式"
prop=
"dedgrp.rec.avbby"
>
<c-select
v-model=
"model.dedgrp.rec.avbby"
style=
"width: 100%"
placeholder=
"请选择兑付方式"
<c-col
:span=
"24"
>
<el-form-item
label=
"信用证类型"
prop=
"dedgrp.rec.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"最迟交单日期/交单地"
prop=
"dedgrp.rec.expdat"
>
<c-date-picker
type=
"date"
v-model=
"model.dedgrp.rec.expdat"
style=
"width: 100%"
placeholder=
"请选择最迟交单日期/交单地"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"dedgrp.rec.expplc"
>
<c-input
type=
"textarea"
v-model=
"model.dedgrp.rec.expplc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入最迟交单日期/交单地"
></c-input>
</el-form-item>
<c-select
v-model=
"model.dedgrp.rec.lcrtyp"
style=
"width: 100%"
placeholder=
"请选择信用证类型"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- -------------------Left------------------- -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据编号"
prop=
"bfdgrp.rec.ownref"
>
<c-fullbox>
<c-input
<c-input
v-model=
"model.bfdgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入单据编号"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
...
...
@@ -167,20 +261,18 @@
>
获取
</c-button>
</
template
>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据类型"
prop=
"bfdgrp.rec.doctypcod"
>
<el-form-item
label=
"单据类型"
prop=
"bfdgrp.rec.doctypcod"
>
<c-select
v-model=
"model.bfdgrp.rec.doctypcod"
style=
"width: 100%"
placeholder=
"请选择单据类型"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -197,6 +289,7 @@
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.cur"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -229,7 +322,11 @@
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
"寄单日期"
prop=
"bfdgrp.rec.orddat"
label-width=
"100px"
>
<el-form-item
label=
"寄单日期"
prop=
"bfdgrp.rec.orddat"
label-width=
"100px"
>
<c-date-picker
type=
"date"
v-model=
"model.bfdgrp.rec.orddat"
...
...
@@ -239,7 +336,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"到期日"
prop=
"bfdgrp.rec.matdat"
>
...
...
@@ -248,17 +345,23 @@
v-model=
"model.bfdgrp.rec.matdat"
style=
"width: 100%"
placeholder=
"请选择到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
"装运日期"
prop=
"bfdgrp.rec.shpdat"
label-width=
"100px"
>
<el-form-item
label=
"装船日期"
prop=
"bfdgrp.rec.shpdat"
label-width=
"100px"
>
<c-date-picker
type=
"date"
v-model=
"model.bfdgrp.rec.shpdat"
style=
"width: 100%"
placeholder=
"请选择装运日期"
placeholder=
"请选择装船日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -266,7 +369,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"
Maturity Period
"
label=
"
远期单据到期时间
"
prop=
"bfdgrp.blk.matper"
>
<c-input
...
...
@@ -275,137 +378,95 @@
maxlength=
"65"
show-word-limit
placeholder=
"请输入Maturity Period"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Presented by"
prop=
"bfdgrp.rec.docprbrol"
>
<c-select
v-model=
"model.bfdgrp.rec.docprbrol"
style=
"width: 100%"
placeholder=
"请选择交单人"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"发票类型"
prop=
"bfdgrp.rec.invtyp"
>
<c-fullbox>
<c-fullbox>
<el-form-item
label=
"发票类型"
prop=
"bfdgrp.rec.invtyp"
>
<c-select
v-model=
"model.bfdgrp.rec.invtyp"
style=
"width: 100%"
placeholder=
"请选择发票类型"
>
</c-select>
<
template
slot=
"footer"
>
<c-checkbox
v-model=
"model.bfdgrp.rec.dscinsflg"
>
输入单据不符点指示
</c-checkbox
<el-option
v-for=
"item in codes.invtyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</
template
>
</c-fullbox>
</el-form-item>
</el-option>
</c-select>
</el-form-item>
<
template
slot=
"footer"
>
<c-checkbox
v-model=
"dscinsflg_flag"
style=
"margin-left: 10px"
>
输入单据不符点指示
</c-checkbox
>
</
template
>
</c-fullbox>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"已交单次数"
prop=
"dedgrp.rec.utlnbr"
>
<el-form-item
label=
"已交单次数"
prop=
"dedgrp.rec.utlnbr"
>
<c-input
v-model=
"model.dedgrp.rec.utlnbr"
placeholder=
"请输入已交单次数"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -------------------Right------------------- -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"
概要"
prop=
"de
dgrp.rec.nam"
>
<el-form-item
label=
"
摘要"
prop=
"bf
dgrp.rec.nam"
>
<c-input
v-model=
"model.
de
dgrp.rec.nam"
v-model=
"model.
bf
dgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入概要"
placeholder=
"请输入摘要"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '申请人',
grp: 'bfdgrp',
rol: 'apl',
}"
:disabled=
"true"
:isAdrblk=
"false"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onBenpDet"
>
</c-ptap>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"信用证类型"
prop=
"dedgrp.rec.lcrtyp"
>
<el-form-item
label=
"交单人"
prop=
"bfdgrp.rec.docprbrol"
>
<c-select
v-model=
"model.
dedgrp.rec.lcrtyp
"
v-model=
"model.
bfdgrp.rec.docprbrol
"
style=
"width: 100%"
placeholder=
"请选择
信用证类型
"
placeholder=
"请选择
交单人
"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"
开证行"
prop=
"bfdgrp.iss
.pts.ref"
>
<el-form-item
label=
"
单据编号"
prop=
"bfdgrp.prb
.pts.ref"
>
<c-input
v-model=
"model.bfdgrp.
iss
.pts.ref"
v-model=
"model.bfdgrp.
prb
.pts.ref"
maxlength=
"16"
placeholder=
"请输入
开证行
"
placeholder=
"请输入
单据编号
"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"bfdgrp.iss.pts.nam"
>
<c-input
v-model=
"model.bfdgrp.iss.pts.nam"
maxlength=
"40"
placeholder=
"请输入开证行"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '
交单人
',
title: '
联行行号
',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled=
"true"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onPrbpDet"
>
</c-ptap>
</c-col>
</c-col>
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="申请人" prop="bfdgrp.apl.pts.ref">
<c-input
v-model="model.bfdgrp.apl.pts.ref"
...
...
@@ -424,9 +485,7 @@
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="交单人" prop="bfdgrp.prb.pts.ref">
<c-input
v-model="model.bfdgrp.prb.pts.ref"
...
...
@@ -453,16 +512,27 @@ import commonProcess from "~/mixin/commonProcess";
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Detdrv/Event"
;
import
Ptap
from
"~/views/Public/Ptap"
;
import
Ptsmsg
from
"~/views/Public/Ptsmsg"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
components
:
{
"c-ptap"
:
Ptap
},
components
:
{
"c-ptap"
:
Ptap
,
"c-ptsmsg"
:
Ptsmsg
},
data
()
{
return
{};
},
methods
:
{
...
Event
},
methods
:
{
...
Event
,
dscinsflgChange
()
{}
},
computed
:
{
dscinsflg_flag
:
{
get
:
function
()
{
return
this
.
model
.
bfdgrp
.
rec
.
dscinsflg
===
"X"
;
},
set
(
val
)
{
this
.
model
.
bfdgrp
.
rec
.
dscinsflg
=
val
?
"X"
:
""
;
},
},
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Detdrv/Dscins.vue
View file @
0703a81b
<
template
>
<div
class=
"eibs-tab"
>
<div
class=
"eibs-tab"
>
<!-- Left -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"不符点"
prop=
"bfdgrp.blk.docdis"
style=
"width: 100%"
>
<c-fullbox>
<c-input
type=
"textarea"
v-model=
"model.bfdgrp.blk.docdis"
maxlength=
"50"
show-word-limit
placeholder=
"请输入不符点"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 10px"
size=
"small"
type=
"primary"
>
...
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"内部不符点"
prop=
"bfdgrp.blk.intdis"
style=
"width: 100%"
>
<c-fullbox>
<c-input
type=
"textarea"
v-model=
"model.bfdgrp.blk.intdis"
maxlength=
"65"
show-word-limit
placeholder=
"请输入内部不符点"
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 10px"
size=
"small"
type=
"primary"
>
...
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"快递单号"
prop=
"bfdgrp.rec.expmno"
>
<c-input
type=
"textarea"
v-model=
"model.bfdgrp.rec.expmno"
maxlength=
"60"
show-word-limit
placeholder=
"请输入快递单号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"扣减佣金"
prop=
"bfdgrp.rec.lescom"
>
<c-input
v-model=
"model.bfdgrp.rec.lescom"
placeholder=
"请输入扣减佣金"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"参考号"
prop=
"dedgrp.rec.kzref"
>
<c-input
v-model=
"model.dedgrp.rec.kzref"
maxlength=
"35"
placeholder=
"请输入参考号"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<!-- Right -->
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"寄单状态"
prop=
"bftp.folwupopt"
>
<c-fullbox>
<c-select
v-model=
"model.bftp.folwupopt"
style=
"width: 100%"
placeholder=
"请选择寄单状态"
>
</c-select>
<
template
slot=
"footer"
>
<c-checkbox
v-model=
"model.bfdgrp.blk.docdisflg"
style=
"margin-left: 10px"
>
录入不符点
</c-checkbox
>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"付款人"
prop=
"bfdgrp.rec.payrol"
>
<c-select
v-model=
"model.bfdgrp.rec.payrol"
style=
"width: 100%"
placeholder=
"请选择付款人"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '付款人',
grp: 'bfdgrp',
rol: 'oth',
}"
:disabled=
"true"
>
</c-ptap>
</c-col>
</c-col>
<c-col
:span=
"20"
>
<el-form-item
label=
"不符点"
prop=
"bfdgrp.blk.docdis"
>
<c-input
type=
"textarea"
v-model=
"model.bfdgrp.blk.docdis"
maxlength=
"50"
show-word-limit
placeholder=
"请输入不符点"
></c-input>
</el-form-item>
<!-- <c-col :span="24">
<span
v-text="model.bftp.docgrdm.docdsclab"
data-path=".bftp.docgrdm.docdsclab"
>
</span>
</c-col> -->
<c-col
:span=
"24"
style=
"height:24px;margin-top:20px"
>
<el-form-item
:label=
"model.bftp.docgrdm.docdsclab"
class=
"messageLabel"
>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDocdisButtxmsel"
>
...
</c-button>
</c-col>
<c-col
:span=
"20"
>
<el-form-item
label=
"内部不符点"
prop=
"bfdgrp.blk.intdis"
>
<c-input
type=
"textarea"
v-model=
"model.bfdgrp.blk.intdis"
maxlength=
"65"
show-word-limit
placeholder=
"请输入内部不符点"
></c-input>
</el-form-item>
<c-col
:span=
"24"
style=
"height:0px;margin-top:5px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"4"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onIntdisButtxmsel"
>
...
</c-button>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.bftp.docgrdm.docdsclab"
data-path=
".bftp.docgrdm.docdsclab"
>
</span>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.bfdgrp.blk.docdisflg"
>
录入不符点
</c-checkbox>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"寄单状态"
prop=
"bftp.folwupopt"
>
<c-select
v-model=
"model.bftp.folwupopt"
style=
"width:100%"
placeholder=
"请选择寄单状态"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"付款人"
prop=
"bfdgrp.rec.payrol"
>
<c-select
v-model=
"model.bfdgrp.rec.payrol"
style=
"width:100%"
placeholder=
"请选择付款人"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"
{
title: '付款人',
grp: 'bfdgrp',
rol: 'oth',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onOthpDet"
>
</c-ptap>
<c-table
:data=
"model.bftp.docgrdm.docgrd"
style=
"width: 100%"
>
<el-table-column
prop=
"cmail1"
label=
"1st"
>
</el-table-column>
<el-table-column
prop=
"cmail2"
label=
"2st"
>
</el-table-column>
<el-table-column
prop=
"docnam"
label=
"Document"
>
</el-table-column>
</c-table>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"信用证编号"
prop=
"dedgrp.rec.kzref"
>
<c-input
v-model=
"model.dedgrp.rec.kzref"
maxlength=
"35"
placeholder=
"请输入信用证编号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"快递单号"
prop=
"bfdgrp.rec.expmno"
>
<c-input
type=
"textarea"
v-model=
"model.bfdgrp.rec.expmno"
maxlength=
"60"
show-word-limit
placeholder=
"请输入快递单号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"扣减佣金"
prop=
"bfdgrp.rec.lescom"
>
<c-input
v-model=
"model.bfdgrp.rec.lescom"
placeholder=
"请输入扣减佣金"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</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/Detdrv/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Detdrv/Event"
;
import
Ptap
from
"~/views/Public/Ptap"
;
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
}
components
:
{
"c-ptap"
:
Ptap
,
},
methods
:{...
Event
},
created
:
function
(){
}
}
data
()
{
return
{};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
.messageLabel
>>>
.el-form-item__label
{
text-align
:
left
;
font-weight
:
bold
;
font-size
:
12px
;
}
</
style
>
src/views/Business/Detdrv/index.vue
View file @
0703a81b
...
...
@@ -28,14 +28,20 @@
</el-tab-pane>
<!--PD000139 -->
<el-tab-pane
label=
"不符点通知"
name=
"mt750p"
>
<
!--
<
el-tab-pane
label=
"不符点通知"
name=
"mt750p"
>
<m-mt750p
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"或有"
name=
"engp"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane
label=
"Advice of Payment"
name=
"mt754p"
>
<
!--
<
el-tab-pane
label=
"Advice of Payment"
name=
"mt754p"
>
<m-mt754p
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
...
...
@@ -45,24 +51,20 @@
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"
分录"
name=
"glepan
"
>
<m-
glepan
:model=
"model"
:codes=
"codes"
ref=
"glepan
"
/>
<el-tab-pane
label=
"
附言"
name=
"coninfp
"
>
<m-
coninfp
:model=
"model"
:codes=
"codes
"
/>
</el-tab-pane>
<el-tab-pane
label=
"表外"
name=
"engp"
>
<!--PD000027 -->
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
<!--
<el-tab-pane
label=
"分录"
name=
"glepan"
>
<m-glepan
:model=
"model"
:codes=
"codes"
ref=
"glepan"
/>
</el-tab-pane>
<el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<el-tab-pane
label=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--
<el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000529 -->
<el-tab-pane
label=
"面函"
name=
"docpan"
>
<m-docpan
:model=
"model"
:codes=
"codes"
ref=
"docpan"
/>
...
...
@@ -70,7 +72,7 @@
<!--PD000001 -->
<el-tab-pane
label=
"
授信额度
"
name=
"limitbody"
>
<el-tab-pane
label=
"
统一授信
"
name=
"limitbody"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
...
...
@@ -83,6 +85,7 @@ import Api from "~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Detdrv
from
"~/model/Detdrv"
import
commonProcess
from
"~/mixin/commonProcess"
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Detdrv/Check"
import
Default
from
"~/model/Detdrv/Default"
import
Pattern
from
"~/model/Detdrv/Pattern"
...
...
@@ -126,7 +129,7 @@ export default {
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"drv"
,
...
...
src/views/Business/Fctcan/Opnp1.vue
0 → 100644
View file @
0703a81b
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-fullbox>
<el-form-item
label=
"申请人"
prop=
"fcdgrp.apl.pts.extkey"
>
<c-input
v-model=
"model.fcdgrp.apl.pts.extkey"
maxlength=
"16"
placeholder=
"请输入申请人Extkey"
@
keyup
.
enter
.
native=
"showGridPromptDialog('fcdgrp.apl.pts.extkey')"
></c-input>
</el-form-item>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onAplpDet"
>
Details
</c-button>
</
template
>
</c-fullbox>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
>
<c-checkbox
v-model=
"model.errflg"
>
已使用保证金
</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"fcdgrp.apl.pts.nam"
>
<c-input
v-model=
"model.fcdgrp.apl.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"fcdgrp.apl.pta.nam1"
>
<c-input
v-model=
"model.fcdgrp.apl.pta.nam1"
maxlength=
"40"
placeholder=
"请输入Externally Visible Name of Address"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Our Reference"
prop=
"fcdgrp.rec.ownref"
>
<c-input
v-model=
"model.fcdgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Our Reference"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"说明"
prop=
"fcdgrp.rec.reason"
>
<c-input
v-model=
"model.fcdgrp.rec.reason"
maxlength=
"40"
placeholder=
"请输入collect reason"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"保证金金额"
prop=
"fcdgrp.rec.cur"
>
<c-select
v-model=
"model.fcdgrp.rec.cur"
style=
"width: 100%"
placeholder=
"请选择currency"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"20px"
prop=
"fcdgrp.rec.amt"
>
<c-input
v-model=
"model.fcdgrp.rec.amt"
placeholder=
"请输入保证金金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"保证金账户"
prop=
"fcdgrp.rec.extact"
>
<c-input
v-model=
"model.fcdgrp.rec.extact"
maxlength=
"8"
placeholder=
"请输入Extend Account"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-fullbox>
<el-form-item
label=
""
label-width=
"20px"
prop=
"fcdgrp.rec.engact"
>
<c-input
v-model=
"model.fcdgrp.rec.engact"
maxlength=
"16"
placeholder=
"请输入Engagement account"
disabled
></c-input>
</el-form-item>
<
template
slot=
"footer"
>
<el-form-item
label=
""
label-width=
"0"
prop=
"gleflg"
>
<c-checkbox
v-model=
"model.gleflg"
style=
"margin-left: 10px"
>
是否过帐
</c-checkbox
>
</el-form-item>
</
template
>
</c-fullbox>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="" prop="aplp.ptsget.sdamod.seainf">
<c-input
v-model="model.aplp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col> -->
<c-col
:span=
"24"
>
<c-istream-table
:list=
"model.cshstm.rows || []"
:columns=
"columns"
v-on:chooseRowEvent=
"chooseRowEvent"
></c-istream-table>
</c-col>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Fctcan/Event"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
columns
:
[
'0 1 "INR" 100'
,
'1 2 "Own Reference" 150'
,
'2 3 "收取日期" 120 4 7'
,
'3 4 "Cur" 56'
,
'4 5 "Relevant Amount" 150 2 8:1 2 5'
,
'5 6 "" auto'
,
'6 7 "保证金帐号" 120'
,
'7 8 "是否过帐" 120'
,
'8 9 "是否到帐" 120'
,
'9 10 "是否被用" 120'
,
'10 11 "说明 " 200'
,
'11 12 "被用在交易" 120'
,
"P COLORED TRUE"
,
"P VERTLINES TRUE"
,
"P HORZLINES TRUE"
,
"P MULTISELECT FLASE"
,
],
};
},
methods
:
{
...
Event
,
async
chooseRowEvent
(
row
)
{
const
selIds
=
[
row
.
IDX
+
1
];
//rowno选中行
const
selDst
=
"cshstm"
//列表对应后台模型中的stream
let
params
=
{
selDst
:
selDst
,
selIds
:
selIds
};
let
rtnmsg
=
await
this
.
executeRule
(
"cshstm"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
}
}
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Fctcan/index.vue
View file @
0703a81b
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
</c-tabs>
</el-form>
</div>
<c-page
title=
"保证金注销"
>
<div
class=
"eContainer"
>
<div
class=
"bus-button"
>
<c-button
type=
"primary"
v-on:click=
"handleSave"
>
{{
$t
(
"buttons.save"
)
}}
</c-button>
<c-button
type=
"primary"
v-on:click=
"handleCheck"
>
{{
$t
(
"buttons.check"
)
}}
</c-button>
</div>
<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"
>
<!--PD000001 -->
<el-tab-pane
label=
"PD000001"
name=
"opnp1"
>
<c-content>
<m-opnp1
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Fctcan
from
"~/model/Fctcan"
import
commonProcess
from
"~/mixin/commonProcess"
import
commonFuncs
from
"~/mixin/commonFuncs"
import
Check
from
"~/model/Fctcan/Check"
import
Default
from
"~/model/Fctcan/Default"
import
Pattern
from
"~/model/Fctcan/Pattern"
import
Opnp1
from
"./Opnp1"
export
default
{
name
:
"Fctcan"
,
components
:{
"m-opnp1"
:
Opnp1
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
""
,
tabVal
:
"
opnp1
"
,
trnName
:
"fctcan"
,
model
:
new
Fctcan
().
data
,
checkRules
:
Check
,
...
...
@@ -39,7 +62,38 @@ export default {
}
},
methods
:{
tabClick
(){
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
},
async
handleSave
()
{
let
result
=
await
this
.
save
();
if
(
result
.
respCode
==
SUCCESS
&&
Object
.
keys
(
result
.
fieldErrors
).
length
==
0
)
{
this
.
$notify
({
title
:
"成功"
,
message
:
"保存成功"
,
type
:
"success"
,
});
}
else
if
(
result
.
fieldErrors
&&
Object
.
keys
(
result
.
fieldErrors
).
length
>
0
){
const
tab
=
this
.
showBackendErrors
(
result
.
fieldErrors
)
if
(
tab
)
{
// tab切换之后,需出发tab-click的事件
this
.
tabClick
(
tab
);
}
this
.
$notify
({
title
:
"错误"
,
message
:
"检核失败!"
,
type
:
"error"
,
});
}
else
{
this
.
$notify
({
title
:
"失败"
,
message
:
"保存失败"
,
type
:
"error"
,
});
}
}
},
created
:
async
function
(){
...
...
@@ -47,6 +101,7 @@ export default {
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
...
...
src/views/Business/Fctopn/Opnp1.vue
0 → 100644
View file @
0703a81b
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<c-fullbox>
<el-form-item
label=
"申请人"
prop=
"fcdgrp.apl.pts.extkey"
>
<c-input
v-model=
"model.fcdgrp.apl.pts.extkey"
maxlength=
"16"
placeholder=
"请输入申请人Extkey"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('fcdgrp.apl.pts.extkey')
"
></c-input>
</el-form-item>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onAplpDet"
>
Details
</c-button>
</
template
>
</c-fullbox>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"fcdgrp.apl.pts.nam"
>
<c-input
v-model=
"model.fcdgrp.apl.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"fcdgrp.apl.pta.nam1"
>
<c-input
v-model=
"model.fcdgrp.apl.pta.nam1"
maxlength=
"40"
placeholder=
"请输入Externally Visible Name of Address"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="" prop="aplp.ptsget.sdamod.seainf">
<c-input v-model="model.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-col
:span=
"14"
>
<el-form-item
label=
"保证金账号"
prop=
"cashacc"
>
<!-- <c-select
v-model="model.cashacc"
style="width: 100%"
placeholder="请选择account"
>
</c-select> -->
<c-input
v-model=
"model.cashacc"
placeholder=
"请选择account"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"10"
>
<el-form-item
label=
"科目"
label-width=
"60px"
prop=
"trmtyp"
>
<c-select
v-model=
"model.trmtyp"
style=
"width: 100%"
placeholder=
"请选择科目"
>
<el-option
v-for=
"k in codes.trmtyp"
:label=
"k"
:value=
"k.split('\t')[0]"
:key=
"k"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"说明"
prop=
"reason"
>
<c-input
v-model=
"model.reason"
maxlength=
"40"
placeholder=
"请输入collect reason"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-fullbox>
<c-col
:span=
"12"
>
<el-form-item
label=
"金额"
prop=
"cashcur"
>
<c-select
v-model=
"model.cashcur"
style=
"width: 100%"
placeholder=
"请选择currency"
>
<el-option
v-for=
"k in codes.cashcur"
:label=
"k"
:value=
"k"
:key=
"k"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"20px"
prop=
"cashamt"
>
<c-input
v-model=
"model.cashamt"
placeholder=
"请输入金额"
></c-input>
</el-form-item>
</c-col>
<
template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onGet"
disabled
>
Get
</c-button>
</
template
>
</c-fullbox>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"gleflg"
>
<c-checkbox
v-model=
"model.gleflg"
>
是否过帐
</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-istream-table
:list=
"model.cshstm.rows || []"
:columns=
"columns"
></c-istream-table>
</c-col>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Fctopn/Event"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
columns
:
[
"0 1
\"
INR
\"
100"
,
"1 2
\"
Own Reference
\"
150"
,
"2 3
\"
收取日期
\"
auto 4 7"
,
"3 4
\"
Cur
\"
100"
,
"4 5
\"
Relevant Amount
\"
150 2 8:1 2 5"
,
"5 6
\"
机构号
\"
120"
,
"6 7
\"
保证金帐号
\"
120"
,
"7 8
\"
是否过帐
\"
120 1 0 1 FCD:GLEFLG"
,
"8 9
\"
是否到帐
\"
120 1 0 1 FCD:RELFLG"
,
"9 10
\"
是否被用
\"
120 1 0 1 FCD:USEFLG"
,
"10 11
\"
说明
\"
200"
,
"P COLORED TRUE"
,
"P VERTLINES TRUE"
,
"P HORZLINES TRUE"
,
"P MULTISELECT FALSE"
],
};
},
methods
:
{
...
Event
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Fctopn/index.vue
View file @
0703a81b
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
</c-tabs>
</el-form>
</div>
<c-page
title=
"保证金收取"
>
<div
class=
"eContainer"
>
<div
class=
"bus-button"
>
<c-button
type=
"primary"
v-on:click=
"handleSave"
>
{{
$t
(
"buttons.save"
)
}}
</c-button>
<c-button
type=
"primary"
v-on:click=
"handleCheck"
>
{{
$t
(
"buttons.check"
)
}}
</c-button>
</div>
<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"
>
<!--PD000002 -->
<el-tab-pane
label=
"PD000002"
name=
"opnp1"
>
<c-content>
<m-opnp1
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Fctopn
from
"~/model/Fctopn"
import
commonProcess
from
"~/mixin/commonProcess"
import
commonFuncs
from
"~/mixin/commonFuncs"
import
Check
from
"~/model/Fctopn/Check"
import
Default
from
"~/model/Fctopn/Default"
import
Pattern
from
"~/model/Fctopn/Pattern"
import
Opnp1
from
"./Opnp1"
export
default
{
name
:
"Fctopn"
,
components
:{
"m-opnp1"
:
Opnp1
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
""
,
tabVal
:
"
opnp1
"
,
trnName
:
"fctopn"
,
model
:
new
Fctopn
().
data
,
checkRules
:
Check
,
...
...
@@ -35,11 +58,44 @@ export default {
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
cashcur
:
[],
trmtyp
:
[]
},
}
},
methods
:{
tabClick
(){
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
},
async
handleSave
()
{
let
result
=
await
this
.
save
();
if
(
result
.
respCode
==
SUCCESS
&&
Object
.
keys
(
result
.
fieldErrors
).
length
==
0
)
{
this
.
$notify
({
title
:
"成功"
,
message
:
"保存成功"
,
type
:
"success"
,
});
}
else
if
(
result
.
fieldErrors
&&
Object
.
keys
(
result
.
fieldErrors
).
length
>
0
){
const
tab
=
this
.
showBackendErrors
(
result
.
fieldErrors
)
if
(
tab
)
{
// tab切换之后,需出发tab-click的事件
this
.
tabClick
(
tab
);
}
this
.
$notify
({
title
:
"错误"
,
message
:
"检核失败!"
,
type
:
"error"
,
});
}
else
{
this
.
$notify
({
title
:
"失败"
,
message
:
"保存失败"
,
type
:
"error"
,
});
}
}
},
created
:
async
function
(){
...
...
@@ -47,8 +103,10 @@ export default {
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
this
.
codes
.
cashcur
=
rtnmsg
.
codeSet
.
cashcur
this
.
codes
.
trmtyp
=
rtnmsg
.
codeSet
.
trmtyp
}
else
{
...
...
src/views/Public/Ptap1.vue
View file @
0703a81b
<
template
>
<div
class=
"eibs-tab"
>
<div>
<c-col
:span=
"20"
>
<el-form-item
:label=
"`$
{argadr.title}`"
...
...
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