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
5a4287dc
Commit
5a4287dc
authored
Oct 15, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init初始化
parent
effd3d01
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
24 deletions
+34
-24
Event.js
src/model/Ditopn/Event.js
+0
-0
Pattern.js
src/model/Ditopn/Pattern.js
+7
-7
index.js
src/model/Ditopn/index.js
+1
-0
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+13
-11
index.vue
src/views/Business/Ditopn/index.vue
+13
-6
No files found.
src/model/Ditopn/Event.js
View file @
5a4287dc
This diff is collapsed.
Click to expand it.
src/model/Ditopn/Pattern.js
View file @
5a4287dc
...
...
@@ -55,7 +55,7 @@ export default {
"lidgrp.cbs.nom1.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -101,10 +101,10 @@ export default {
],
"lidgrp.rec.opndat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"lidgrp.rec.expdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"lidgrp.adv.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -115,7 +115,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"lidgrp.rec.shpdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
...
...
@@ -178,7 +178,7 @@ export default {
{
max
:
2
,
message
:
"长度不能超过2"
}
],
"lidgrp.rec.revdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
...
...
@@ -252,7 +252,7 @@ export default {
],
"lidgrp.rec.autdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"lidgrp.blk.preper"
:[
...
...
@@ -430,7 +430,7 @@ export default {
],
"mtabut.coninf.conexedat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"liaall.liaccv.concur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Ditopn/index.js
View file @
5a4287dc
...
...
@@ -9,6 +9,7 @@ export default class Ditopn{
ownref
:
""
,
// 参考号 .lidgrp.rec.ownref
lcrtyp
:
""
,
// 信用证类型 .lidgrp.rec.lcrtyp
opndat
:
""
,
// 开证日期 .lidgrp.rec.opndat
expdat
:
""
,
// 有效日期
shpdat
:
""
,
// 最迟装运日期/最迟服务提供日 .lidgrp.rec.shpdat
expdat
:
""
,
// Date of Expiry .lidgrp.rec.expdat
expplc
:
""
,
// 有效地点 .lidgrp.rec.expplc
...
...
src/views/Business/Ditopn/Ovwp.vue
View file @
5a4287dc
...
...
@@ -199,6 +199,7 @@
<c-date-picker
type=
"date"
v-model=
"model.lidgrp.rec.opndat"
value-format=
"yyyy-MM-dd"
style=
"width: 100%"
placeholder=
"请选择Date L/C Opened/Issued"
></c-date-picker>
...
...
@@ -443,16 +444,18 @@
</c-button>
</el-form-item>
</c-col>
<el-form-item
label=
""
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.ben.pts.adrblk"
maxlength=
"35"
:rows=
"5"
show-word-limit
placeholder=
"请输入Address Block"
></c-input>
</el-form-item>
<c-col>
<el-form-item
label=
""
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.ben.pts.adrblk"
maxlength=
"35"
:rows=
"5"
show-word-limit
placeholder=
"请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"受益人帐号"
prop=
"lidgrp.ben.pts.extact"
>
<c-input
...
...
@@ -462,7 +465,6 @@
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"受益人开户行"
prop=
"lidgrp.ben.pts.issbchinf"
>
<c-input
...
...
src/views/Business/Ditopn/index.vue
View file @
5a4287dc
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"activeName"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000001 -->
...
...
@@ -97,15 +97,20 @@
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</c-tabs>
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"selectEty"
></c-grid-ety-prompt-dialog>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils/index"
import
CodeTable
from
"~/config/CodeTable"
import
Ditopn
from
"~/model/Ditopn"
import
CommonProcess
from
"~/mixin/CommonProcess"
import
Pattern
from
"~/model/Ditopn/Pattern"
import
Default
from
"~/model/Ditopn/Default"
;
import
Check
from
"~/model/Ditopn/Check"
;
import
Ovwp
from
"./Ovwp"
import
Revp
from
"./Revp"
import
Tk
from
"./Tk"
...
...
@@ -152,10 +157,12 @@ export default {
data
(){
return
{
activeName
:
"ovwp"
,
trnName
:
"ditopn"
,
model
:
new
Ditopn
().
data
,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
rules
:
Pattern
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:{
},
}
...
...
@@ -167,10 +174,10 @@ export default {
created
:
async
function
(){
console
.
log
(
"进入ditopn交易"
);
let
rtnmsg
=
await
Api
.
post
(
"ditopn/init"
,{
params
:{}})
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
)
}
else
{
...
...
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