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
56568070
Commit
56568070
authored
Jul 06, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtdck\brtudp\brteus去”必填项“改pattern.js文件
parent
6f4261f6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
76 deletions
+48
-76
Pattern.js
src/model/Brtdck/Pattern.js
+12
-12
Pattern.js
src/model/Brteus/Pattern.js
+7
-7
Pattern.js
src/model/Brtudp/Pattern.js
+5
-5
Brteus.vue
src/views/Business/Brteus/Brteus.vue
+24
-52
No files found.
src/model/Brtdck/Pattern.js
View file @
56568070
...
...
@@ -19,7 +19,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"lidgrp.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位"
}
],
...
...
@@ -41,7 +41,7 @@ export default {
],
"brdgrp.cbs.max.amt"
:[
{
type
:
"
number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string"
,
required
:
false
,
message
:
"必输项"
},
//原为number类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为string
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -54,7 +54,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"brdgrp.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位"
}
],
...
...
@@ -85,8 +85,8 @@ export default {
],
"brdgrp.rec.tenmaxday"
:[
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
//
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -104,11 +104,11 @@ export default {
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"brdgrp.cbs.max.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
//
"brdgrp.cbs.max.amt":[
//
{type: "number", required: false, message: "必输项"},
//
{max: 18,message:"整数位不能超过14位"},
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
//
],
"brdgrp.prb.pts.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -209,8 +209,8 @@ export default {
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"lidgrp.rec.utlnbr"
:[
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
//
{max: 3,message:"长度不能超过3"}
],
...
...
src/model/Brteus/Pattern.js
View file @
56568070
...
...
@@ -19,7 +19,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"lidgrp.cbs.opn1.amt"
:[
{
type
:
"
number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string"
,
required
:
false
,
message
:
"必输项"
},
//原为number类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为string
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -41,7 +41,7 @@ export default {
],
"brdgrp.cbs.max.amt"
:[
{
type
:
"
number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string"
,
required
:
false
,
message
:
"必输项"
},
//原为number类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为string
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -54,7 +54,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"brdgrp.cbs.opn1.amt"
:[
{
type
:
"
number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string"
,
required
:
false
,
message
:
"必输项"
},
//原为number类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为string
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -85,8 +85,8 @@ export default {
],
"brdgrp.rec.tenmaxday"
:[
{
type
:
"
string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
{
type
:
"
number"
,
required
:
false
,
message
:
"必输项"
},
//原为string类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为number
//
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -98,8 +98,8 @@ export default {
],
"strinf"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
//
{max: 50,message:"长度不能超过50"}
],
"liaall.outamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Brtudp/Pattern.js
View file @
56568070
...
...
@@ -19,7 +19,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"lidgrp.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位"
}
],
...
...
@@ -41,7 +41,7 @@ export default {
],
"brdgrp.cbs.max.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位"
}
],
...
...
@@ -54,7 +54,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"brdgrp.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位"
}
],
...
...
@@ -85,8 +85,8 @@ export default {
],
"brdgrp.rec.tenmaxday"
:[
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
//
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/views/Business/Brteus/Brteus.vue
View file @
56568070
...
...
@@ -7,7 +7,7 @@
<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>
<c-input
v-model=
"model.lidgrp.rec.ownref"
maxlength=
"16"
placeholder=
""
style=
"width: 100%"
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span>
...
...
@@ -22,7 +22,7 @@
<!-- 到期日 -->
<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
type=
"date"
v-model=
"model.lidgrp.rec.expdat"
style=
"width: 100%"
placeholder=
"请输入Expiry"
disabled
>
</c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -31,7 +31,7 @@
<c-col
:span=
"24"
>
<c-form-item
label=
"Bill Set Reference"
prop=
"brdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model=
"model.brdgrp.rec.ownref"
maxlength=
"16"
placeholder=
""
></c-input>
<c-input
v-model=
"model.brdgrp.rec.ownref"
maxlength=
"16"
placeholder=
""
disabled
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin: 0 10px 0 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"font-family: '宋体'; font-weight: bold"
>
i
</span>
...
...
@@ -49,13 +49,13 @@
<c-col
:span=
"13"
>
<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"
:code=
"codes.curtxt1"
>
:code=
"codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<c-form-item
label=
""
label-width=
"5px"
prop=
"brdgrp.cbs.max.amt"
>
<c-input
v-model=
"model.brdgrp.cbs.max.amt"
placeholder=
""
></c-input>
<c-input
v-model=
"model.brdgrp.cbs.max.amt"
placeholder=
""
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
...
...
@@ -64,12 +64,12 @@
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<c-form-item
label=
"Open Amount"
prop=
"brdgrp.cbs.opn1.cur"
>
<c-input
v-model=
"model.brdgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入Open Amount"
></c-input>
<c-input
v-model=
"model.brdgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入Open Amount"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"11"
>
<c-form-item
label=
""
label-width=
"5px"
prop=
"brdgrp.cbs.opn1.amt"
>
<c-input
v-model=
"model.brdgrp.cbs.opn1.amt"
placeholder=
""
></c-input>
<c-input
v-model=
"model.brdgrp.cbs.opn1.amt"
placeholder=
""
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
...
...
@@ -77,7 +77,7 @@
<!-- 到单日期 -->
<c-col
:span=
"12"
>
<el-form-item
label=
"Received on"
prop=
"brdgrp.rec.rcvdat"
>
<c-date-picker
type=
"date"
v-model=
"model.brdgrp.rec.rcvdat"
style=
"width: 100%"
placeholder=
"请选择"
>
<c-date-picker
type=
"date"
v-model=
"model.brdgrp.rec.rcvdat"
style=
"width: 100%"
placeholder=
"请选择"
disabled
>
</c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -85,23 +85,23 @@
<!-- 通知到单日期 -->
<c-col
:span=
"12"
>
<el-form-item
label=
"Advised on"
prop=
"brdgrp.rec.advdat"
>
<c-date-picker
type=
"date"
v-model=
"model.brdgrp.rec.advdat"
style=
"width: 100%"
placeholder=
"请选择"
>
<c-date-picker
type=
"date"
v-model=
"model.brdgrp.rec.advdat"
style=
"width: 100%"
placeholder=
"请选择"
disabled
>
</c-date-picker>
</el-form-item>
</c-col>
<!-- Maturity Date -->
<!-- Maturity Date
到期日
-->
<c-col
:span=
"12"
>
<el-form-item
label=
"Maturity Date"
prop=
"brdgrp.rec.matdat"
>
<c-date-picker
type=
"date"
v-model=
"model.brdgrp.rec.matdat"
style=
"width:100%"
placeholder=
"请选择"
>
<c-date-picker
type=
"date"
v-model=
"model.brdgrp.rec.matdat"
style=
"width:100%"
placeholder=
"请选择"
disabled
>
</c-date-picker>
</el-form-item>
</c-col>
<!-- Start Date
远期单据到期
日-->
<!-- Start Date
开始
日-->
<c-col
:span=
"12"
>
<el-form-item
label=
"Start Date"
prop=
"brdgrp.rec.stadat"
>
<c-date-picker
type=
"date"
v-model=
"model.brdgrp.rec.stadat"
style=
"width:100%"
placeholder=
"请选择"
>
<c-date-picker
type=
"date"
v-model=
"model.brdgrp.rec.stadat"
style=
"width:100%"
placeholder=
"请选择"
disabled
>
</c-date-picker>
</el-form-item>
</c-col>
...
...
@@ -109,35 +109,33 @@
<!-- 单据类型 Document Type-->
<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=
"请选择单据类型"
:code=
"codes.docflg"
>
<c-select
v-model=
"model.brdgrp.rec.docflg"
style=
"width:100%"
placeholder=
"请选择单据类型"
:code=
"codes.docflg"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- Tenor -->
<c-col
:span=
"8"
>
<el-form-item
label=
"Tenor"
label-width=
"100px"
prop=
"brdgrp.rec.tenmaxday"
>
<c-input
v-model=
"model.brdgrp.rec.tenmaxday"
placeholder=
"请输入Tenor day"
></c-input>
<c-input
v-model=
"model.brdgrp.rec.tenmaxday"
placeholder=
"请输入Tenor day"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- 单据状态 Document Set Status-->
<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=
"请选择单据状态"
:code=
"codes.docsta"
>
<c-select
v-model=
"model.brdgrp.rec.docsta"
style=
"width:100%"
placeholder=
"请选择单据状态"
:code=
"codes.docsta"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- Narrative -->
<c-col
:span=
"24"
>
<el-form-item
label=
"Narrative"
prop=
"strinf"
>
<c-input
type=
"textarea"
v-model=
"model.strinf"
maxlength=
"50"
show-word-limit
placeholder=
"请输入Narrative
"
>
<c-input
type=
"textarea"
v-model=
"model.strinf"
show-word-limit
placeholder=
"请输入Narrative"
rows=
"5
"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================== 右边 ======================== -->
<c-col
:span=
"11"
:offset=
"1"
>
...
...
@@ -145,71 +143,45 @@
<c-col
:span=
"12"
>
<c-form-item
label=
"Open Amt L/C"
prop=
"lidgrp.cbs.opn1.cur"
>
<c-input
v-model=
"model.lidgrp.cbs.opn1.cur"
maxlength=
"3"
:placeholder=
"$t('other.please_enter') + 'Currency'"
></c-input>
:placeholder=
"$t('other.please_enter') + 'Currency'"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-form-item
label=
""
label-width=
"10px"
prop=
"lidgrp.cbs.opn1.amt"
>
<c-input
v-model=
"model.lidgrp.cbs.opn1.amt"
placeholder=
""
></c-input>
<c-input
v-model=
"model.lidgrp.cbs.opn1.amt"
placeholder=
""
disabled
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<!--label="Name of Bill Contract" -->
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"brdgrp.rec.nam"
>
<c-input
v-model=
"model.brdgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Name of Bill Contract"
></c-input>
<c-input
v-model=
"model.brdgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Name of Bill Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{ title: 'Applicant Ref', grp: 'brdgrp', rol: 'apl' }"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{ title: 'Applicant Ref', grp: 'brdgrp', rol: 'apl' }"
disabled
>
</c-ptsmsg>
</c-col>
<!-- Name of Party prop="brdgrp.apl.pts.nam"-->
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"brdgrp.apl.pts.nam"
>
<c-input
v-model=
"model.brdgrp.apl.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<!-- eneficiary Ref -->
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{ title: 'Beneficiary Ref', grp: 'brdgrp', rol: 'ben' }"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{ title: 'Beneficiary Ref', grp: 'brdgrp', rol: 'ben' }"
disabled
>
</c-ptsmsg>
</c-col>
<!-- Name of Party prop="brdgrp.ben.pts.nam-->
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"brdgrp.ben.pts.nam"
>
<c-input
v-model=
"model.brdgrp.ben.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<!-- Presenting Bank Ref -->
<c-col
:span=
"24"
>
<c-ptsmsg
:model=
"model"
:argadr=
"{
title: 'Presenting Bank Ref',
grp: 'brdgrp',
rol: 'prb',
}"
>
}"
disabled
>
</c-ptsmsg>
</c-col>
<!--Name of Party prop="brdgrp.prb.pts.nam" -->
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"brdgrp.prb.pts.nam"
>
<c-input
v-model=
"model.brdgrp.prb.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp.lidget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
...
...
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