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
e527c700
Commit
e527c700
authored
Jan 06, 2023
by
WuBing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getset缺陷修改
parent
3761e416
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
29 deletions
+46
-29
Pattern.js
src/model/Getset/Pattern.js
+8
-16
Ameps20.vue
src/views/Business/Getame/Ameps20.vue
+2
-3
Ovwp1.vue
src/views/Business/Getame/Ovwp1.vue
+1
-1
Cnyp.vue
src/views/Business/Getset/Cnyp.vue
+27
-1
Incp.vue
src/views/Business/Getset/Incp.vue
+8
-8
No files found.
src/model/Getset/Pattern.js
View file @
e527c700
...
...
@@ -413,9 +413,8 @@ export default {
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"cnybop.cnyinc.fprepayeeamt"
:[
{
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位"
}
],
"cnybop.cnyinc.iaccountperiod"
:[
...
...
@@ -423,43 +422,36 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"cnybop.cnyinc.ftotalamt"
:[
{
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位"
}
],
"cnybop.cnyinc.sorilevyno"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
24
,
message
:
"长度不能超过24"
}
],
"cnybop.cnyinc.fpayeeamt"
:[
{
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位"
}
],
"cnybop.cnyinc.fonshoreamt"
:[
{
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位"
}
],
"cnybop.cnyinc.fcustomsamt"
:[
{
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位"
}
],
"cnybop.cnyinc.foffshoreamt"
:[
{
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位"
}
],
"cnybop.cnyinc.frecordamt"
:[
{
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位"
}
],
"cnybop.cnyinc.fnogoodsamt"
:[
{
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位"
}
],
"cnybop.saddword"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/views/Business/Getame/Ameps20.vue
View file @
e527c700
...
...
@@ -143,7 +143,7 @@
</c-col>
</c-col>
<c-col
:span=
"24"
>
<
!--
<
c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-form-item
v-if=
"model.gitp.swiftflg == 'N'"
...
...
@@ -165,7 +165,6 @@
label-width=
"5px"
prop=
"trnmod.swiadd.addamt"
>
<!-- 不确定能否回显负金额,因此空为disabled,故暂定能显示负金额 -->
<c-input-currency-min
disabled
v-model=
"model.trnmod.swiadd.addamt"
...
...
@@ -174,7 +173,7 @@
></c-input-currency-min>
</c-form-item>
</c-col>
</c-col>
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
...
...
src/views/Business/Getame/Ovwp1.vue
View file @
e527c700
...
...
@@ -307,7 +307,7 @@
v-model=
"model.gidgrp.ghd.segtyp"
style=
"width: 100%"
placeholder=
"请选择特殊保函类型"
:code=
"codes.segtyp"
:code=
"codes.segtyp
pop
"
>
</c-select>
</el-form-item>
...
...
src/views/Business/Getset/Cnyp.vue
View file @
e527c700
...
...
@@ -32,6 +32,11 @@ import Wg from "./Wg";
import
Cnyp1
from
"./Cnyp1"
;
import
Basp
from
"./Basp"
;
import
Incp
from
"./Incp"
;
const
tabNameToRulePathMapping
=
{
"incp"
:
"cnybop.incp"
,
}
export
default
{
inject
:
[
"root"
],
components
:
{
...
...
@@ -49,7 +54,28 @@ export default {
},
methods
:
{
...
Event
,
handleChange
()
{}
handleChange
(
names
){
// console.log(names);//激活的(展开的)面板的name数组集合
if
(
this
.
isInDisplay
)
{
return
}
const
arr
=
[]
for
(
let
i
=
0
;
i
<
names
.
length
;
i
++
)
{
const
n
=
names
[
i
];
const
path
=
tabNameToRulePathMapping
[
n
]
//取出激活/展开面板name对应的rulePath
if
(
path
)
{
arr
.
push
(
path
)
}
}
let
rulePath
=
arr
.
join
(
","
);
//把arr数组加入逗号分割,变成字符串
if
(
!!
rulePath
)
{
//rulePath不为空串
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
);
}
});
}
},
},
created
:
function
()
{},
};
...
...
src/views/Business/Getset/Incp.vue
View file @
e527c700
...
...
@@ -95,25 +95,25 @@
<c-col
:span=
"24"
>
<c-form-item
label=
"原币金额"
prop=
"cnybop.cnyinc.ftotalamt"
>
<c-input
v-model=
"model.cnybop.cnyinc.ftotalamt"
placeholder=
"请输入原币金额"
></c-input
>
<c-input
-currency
v-model=
"model.cnybop.cnyinc.ftotalamt"
class=
"input-currency-left"
placeholder=
"请输入原币金额"
></c-input-currency
>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"货物贸易收款金额"
prop=
"cnybop.cnyinc.fpayeeamt"
>
<c-input
v-model=
"model.cnybop.cnyinc.fpayeeamt"
placeholder=
"请输入货物贸易收款金额"
></c-input
>
<c-input
-currency
v-model=
"model.cnybop.cnyinc.fpayeeamt"
class=
"input-currency-left"
placeholder=
"请输入货物贸易收款金额"
></c-input-currency
>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"已报关收款金额"
prop=
"cnybop.cnyinc.fcustomsamt"
>
<c-input
v-model=
"model.cnybop.cnyinc.fcustomsamt"
placeholder=
"请输入已报关收款金额"
></c-input
>
<c-input
-currency
v-model=
"model.cnybop.cnyinc.fcustomsamt"
class=
"input-currency-left"
placeholder=
"请输入已报关收款金额"
></c-input-currency
>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"已备案收款金额"
prop=
"cnybop.cnyinc.frecordamt"
>
<c-input
v-model=
"model.cnybop.cnyinc.frecordamt"
placeholder=
"请输入已备案收款金额"
></c-input
>
<c-input
-currency
v-model=
"model.cnybop.cnyinc.frecordamt"
class=
"input-currency-left"
placeholder=
"请输入已备案收款金额"
></c-input-currency
>
</c-form-item>
</c-col>
...
...
@@ -197,7 +197,7 @@
<c-col
:span=
"24"
>
<c-form-item
label=
"预收款金额"
prop=
"cnybop.cnyinc.fprepayeeamt"
>
<c-input
v-model=
"model.cnybop.cnyinc.fprepayeeamt"
placeholder=
"请输入预收款金额"
></c-input
>
<c-input
-currency
v-model=
"model.cnybop.cnyinc.fprepayeeamt"
class=
"input-currency-left"
placeholder=
"请输入预收款金额"
></c-input-currency
>
</c-form-item>
</c-col>
...
...
@@ -215,19 +215,19 @@
<c-col
:span=
"24"
>
<c-form-item
label=
"无货物报关进出境物流货物金额"
prop=
"cnybop.cnyinc.fonshoreamt"
>
<c-input
v-model=
"model.cnybop.cnyinc.fonshoreamt"
placeholder=
"请输入无货物报关进出境物流货物金额"
></c-input
>
<c-input
-currency
v-model=
"model.cnybop.cnyinc.fonshoreamt"
class=
"input-currency-left"
placeholder=
"请输入无货物报关进出境物流货物金额"
></c-input-currency
>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"无货物报关离岸转手买卖金额"
prop=
"cnybop.cnyinc.foffshoreamt"
>
<c-input
v-model=
"model.cnybop.cnyinc.foffshoreamt"
placeholder=
"请输入无货物报关离岸转手买卖金额"
></c-input
>
<c-input
-currency
v-model=
"model.cnybop.cnyinc.foffshoreamt"
class=
"input-currency-left"
placeholder=
"请输入无货物报关离岸转手买卖金额"
></c-input-currency
>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-form-item
label=
"无货物报关其他金额"
prop=
"cnybop.cnyinc.fnogoodsamt"
>
<c-input
v-model=
"model.cnybop.cnyinc.fnogoodsamt"
placeholder=
"请输入无货物报关其他金额"
></c-input
>
<c-input
-currency
v-model=
"model.cnybop.cnyinc.fnogoodsamt"
class=
"input-currency-left"
placeholder=
"请输入无货物报关其他金额"
></c-input-currency
>
</c-form-item>
</c-col>
</c-col>
...
...
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