Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
f3a1a1f6
Commit
f3a1a1f6
authored
Aug 24, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ditame详细信息页面去除合同金额的‘必填项’
parent
043c6175
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
+16
-12
Pattern.js
src/model/Ditame/Pattern.js
+1
-1
Detp.vue
src/views/Business/Ditame/Detp.vue
+15
-11
No files found.
src/model/Ditame/Pattern.js
View file @
f3a1a1f6
...
...
@@ -338,7 +338,7 @@ export default {
],
"didgrp.rec.conamt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"整数位不能超过13位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2位"
}
],
...
...
src/views/Business/Ditame/Detp.vue
View file @
f3a1a1f6
...
...
@@ -62,17 +62,21 @@
<el-form-item
label=
"合同编号"
prop=
"didgrp.rec.conno"
>
<c-input
v-model=
"model.didgrp.rec.conno"
maxlength=
"35"
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"合同金额"
prop=
"didgrp.rec.conamt"
>
<c-col
:span=
"10"
>
<c-select
v-model=
"model.didgrp.rec.concur"
style=
"width:95%"
placeholder=
"请选择"
>
<el-option
label=
"CNY 人民币"
value=
"CNY"
></el-option>
</c-select>
</c-col>
<c-col
:span=
"14"
>
<c-input
v-model=
"model.didgrp.rec.conamt"
placeholder=
"请输入"
></c-input>
</c-col>
</el-form-item>
<c-col
:span=
"24"
>
<c-col
:span=
"10"
>
<el-form-item
label=
"合同金额"
prop=
"didgrp.rec.concur"
>
<c-select
v-model=
"model.didgrp.rec.concur"
style=
"width:95%"
placeholder=
"请选择"
>
<el-option
label=
"CNY 人民币"
value=
"CNY"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"14"
>
<el-form-item
label=
""
label-width=
"10px"
prop=
"didgrp.rec.conamt"
>
<c-input
v-model=
"model.didgrp.rec.conamt"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ========================= Right ========================= -->
...
...
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