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
06f11746
Commit
06f11746
authored
Jul 25, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复letdrw缺陷
parent
e7f3dafb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
7 deletions
+23
-7
check.js
src/business/letdrw/model/check.js
+2
-2
Drv.vue
src/business/letdrw/views/Drv.vue
+21
-5
No files found.
src/business/letdrw/model/check.js
View file @
06f11746
...
...
@@ -260,8 +260,8 @@ let checkObj = {
{
max
:
65
,
message
:
"长度不能超过65"
}
],
"ledgrp.rec.tenmaxday"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
number
"
,
max
:
9999
,
message
:
"长度不能超过4"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
max
:
9999
,
message
:
"长度不能超过4"
}
],
"ledgrp.rec.porloa"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/business/letdrw/views/Drv.vue
View file @
06f11746
...
...
@@ -355,7 +355,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"受益人参考号"
prop=
"ledgrp.ben.pts.ref"
>
<c-input
v-model=
"model
.ledgrp.ben.pts.ref
"
v-model=
"model
ben
"
maxlength=
"16"
placeholder=
"请输入受益人参考号"
disabled
...
...
@@ -402,7 +402,7 @@
<c-col
:span=
"13"
>
<el-form-item
label=
"单据金额"
prop=
"bedgrp.cbs.max.cur"
>
<c-input
v-model=
"m
odel.bedgrp.cbs.max.
cur"
v-model=
"m
ax
cur"
maxlength=
"3"
placeholder=
"请输入币种"
></c-input>
...
...
@@ -411,7 +411,7 @@
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"bedgrp.cbs.max.amt"
>
<c-input
v-model=
"m
odel.bedgrp.cbs.max.
amt"
v-model=
"m
ax
amt"
class=
"m-input-currency"
placeholder=
"请输入金额"
></c-input>
...
...
@@ -446,7 +446,7 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"交单行"
prop=
"bedgrp.rec.docprbrol"
>
<c-select
v-model=
"
model.bedgrp.rec.
docprbrol"
v-model=
"docprbrol"
style=
"width: 100%"
placeholder=
"请选择交单行"
:code=
"codes.rolall"
...
...
@@ -495,12 +495,28 @@ export default {
return
this
.
model
.
ledgrp
.
cbs
.
opn1
.
cur
},
opn1amt
(){
this
.
model
.
ledgrp
.
cbs
.
opn1
.
amt
=
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
*
(
1
+
this
.
model
.
ledgrp
.
rec
.
nomtop
/
100
)
this
.
model
.
ledgrp
.
cbs
.
opn1
.
amt
=
parseFloat
(
this
.
model
.
ledgrp
.
cbs
.
nom1
.
amt
*
(
1
+
this
.
model
.
ledgrp
.
rec
.
nomtop
/
100
)).
toFixed
(
2
)
return
this
.
model
.
ledgrp
.
cbs
.
opn1
.
amt
},
getDoctypcod
(){
this
.
model
.
bedgrp
.
rec
.
doctypcod
=
this
.
model
.
ledgrp
.
rec
.
avbby
return
this
.
model
.
bedgrp
.
rec
.
doctypcod
},
maxcur
(){
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
=
this
.
model
.
ledgrp
.
cbs
.
opn1
.
cur
return
this
.
model
.
ledgrp
.
cbs
.
max
.
cur
},
maxamt
(){
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
=
this
.
model
.
ledgrp
.
cbs
.
opn1
.
amt
return
this
.
model
.
ledgrp
.
cbs
.
max
.
amt
},
docprbrol
(){
this
.
model
.
bedgrp
.
rec
.
docprbrol
=
'BEB'
return
this
.
model
.
bedgrp
.
rec
.
docprbrol
},
modelben
(){
this
.
model
.
bedgrp
.
prb
.
pts
=
this
.
model
.
ledgrp
.
ben
.
pts
return
this
.
model
.
ledgrp
.
ben
.
pts
}
}
}
...
...
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