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
e5c1e40e
Commit
e5c1e40e
authored
Nov 15, 2023
by
lixinyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
botdav修改
parent
e8cc4de7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
91 additions
and
23 deletions
+91
-23
buildCommons.js
src/business/botdav/event/buildCommons.js
+1
-1
check.js
src/business/botdav/model/check.js
+15
-15
Ovwp1.vue
src/business/botdav/views/Ovwp1.vue
+41
-2
Srmp.vue
src/business/botdav/views/Srmp.vue
+32
-4
index.vue
src/business/botdav/views/index.vue
+2
-1
No files found.
src/business/botdav/event/buildCommons.js
View file @
e5c1e40e
...
...
@@ -66,7 +66,7 @@ export default {
...
this
.
buildCommonData
(
model
,
trnName
),
liaall
:
model
.
liaall
,
liaccv
:
model
.
liaccv
,
doceot
:
model
.
trnmod
.
trndoc
.
doceot
,
doceot
:
model
.
docpan
.
doceot
,
};
return
params
},
...
...
src/business/botdav/model/check.js
View file @
e5c1e40e
...
...
@@ -122,10 +122,10 @@ let checkObj = {
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"bodgrp.rec.matpercnt"
:[
{
required
:
true
,
message
:
"必输项"
},
{
max
:
999
,
message
:
"长度不能超过3"
}
],
//
"bodgrp.rec.matpercnt":[
//
{required: true, message: "必输项"},
//
{max: 999,message:"长度不能超过3"}
//
],
"bodgrp.rec.paydocnum"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -292,17 +292,17 @@ let checkObj = {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"bodgrp.srm.djuusr"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
80
,
message
:
"长度不能超过80"
}
],
"bodgrp.srm.djudat"
:[
//{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.srm.djuref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
//
"bodgrp.srm.djuusr":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 80,message:"长度不能超过80"}
//
],
//
"bodgrp.srm.djudat":[
//
//{type: "date", required: false, message: "输入正确的日期"}
//
],
//
"bodgrp.srm.djuref":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 40,message:"长度不能超过40"}
//
],
"bodgrp.rec.dircolflg"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"???"
}
],
...
...
src/business/botdav/views/Ovwp1.vue
View file @
e5c1e40e
...
...
@@ -60,7 +60,7 @@
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"托收余额"
prop=
"bodgrp.cbs.opn1.cur"
>
<c-select
disabled
v-model=
"
model.bodgrp.cbs.opn1.
cur"
style=
"width: 100%"
placeholder=
"请选择币种"
>
<c-select
disabled
v-model=
"
opn1
cur"
style=
"width: 100%"
placeholder=
"请选择币种"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
...
...
@@ -122,7 +122,11 @@
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"单据期限"
prop=
"bodgrp.rec.matpercnt"
>
<el-form-item
label=
"单据期限"
prop=
"bodgrp.rec.matpercnt"
:rules=
"[
{ required:flag4, message:'必输项'},
{max: 999,message:'长度不能超过999'}
]"
>
<c-input
v-model=
"model.bodgrp.rec.matpercnt"
placeholder=
"请输入单据期限"
onkeyup=
"value=value.replace(/[^\d]/g,' ')"
:disabled=
"model.bodgrp.rec.doctypcod === 'P'"
></c-input>
</el-form-item>
...
...
@@ -209,6 +213,7 @@ import event from "../event"
import
Utils
from
"~/utils"
;
import
Ptap
from
"~/views/Public/Ptap"
;
import
Docpre
from
"~/views/Public/Docpre"
;
import
Api
from
'~/service/Api'
;
export
default
{
components
:
{
...
...
@@ -223,6 +228,7 @@ export default {
flag1
:
false
,
flag2
:
false
,
flag3
:
false
,
flag4
:
true
,
codeTable2
:
[
{
label
:
"金(含金饰品)"
,
value
:
"001"
},
{
label
:
"银(含银饰品)"
,
value
:
"002"
},
...
...
@@ -286,6 +292,35 @@ export default {
}
}
},
"model.bodgrp.rec.doctypcod"
:
{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
//Any Bank
if
(
val
==
"P"
)
{
this
.
flag4
=
false
;
}
else
{
this
.
flag4
=
true
;
}
},
},
"model.bodgrp.cbs.max.amt"
:{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
this
.
model
.
bodgrp
.
cbs
.
opn1
.
amt
=
this
.
model
.
bodgrp
.
cbs
.
max
.
amt
;
}
},
"model.bodgrp.cbs.max.cur"
:
{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
if
(
this
.
model
.
bodgrp
.
cbs
.
max
.
cur
==
'CNY'
)
{
let
params
=
this
.
model
;
let
res
=
Api
.
post
(
'/service/botdav/curChange'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
$set
(
this
.
model
.
bodgrp
.
blk
,
'setinsbo'
,
res
.
data
);
}
}
}
},
},
methods
:
{
addTableValue
(
index
)
{
...
...
@@ -308,6 +343,10 @@ export default {
const
preNam
=
this
.
model
.
bodgrp
.
drr
.
pts
.
nam
+
''
this
.
model
.
bodgrp
.
rec
.
nam
=
(
cur
+
amt
+
preNam
).
substring
(
0
,
40
)
return
this
.
model
.
bodgrp
.
rec
.
nam
},
opn1cur
()
{
this
.
model
.
bodgrp
.
cbs
.
opn1
.
cur
=
this
.
model
.
bodgrp
.
cbs
.
max
.
cur
return
this
.
model
.
bodgrp
.
cbs
.
opn1
.
cur
}
},
...
...
src/business/botdav/views/Srmp.vue
View file @
e5c1e40e
...
...
@@ -11,21 +11,34 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据出具人"
prop=
"bodgrp.srm.djuusr"
>
<el-form-item
label=
"单据出具人"
prop=
"bodgrp.srm.djuusr"
:rules=
"[
{ required:flag1, message:'必输项'},
{max: 80,message:'长度不能超过80'}
]">
<c-input
v-model=
"model.bodgrp.srm.djuusr"
maxlength=
"80"
placeholder=
"请输入单据出具人"
:disabled=
"model.bodgrp.srm.djutyp=='D'"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"单据出具日期"
prop=
"bodgrp.srm.djudat"
>
<el-form-item
label=
"单据出具日期"
prop=
"bodgrp.srm.djudat"
:rules=
"[
{ required:flag1, message:'必输项'}
]"
>
<c-date-picker
type=
"date"
v-model=
"model.bodgrp.srm.djudat"
style=
"width:100%"
placeholder=
"请选择单据出具日期"
:disabled=
"model.bodgrp.srm.djutyp=='D'"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"货权单据编号"
prop=
"bodgrp.srm.djuref"
>
<el-form-item
label=
"货权单据编号"
prop=
"bodgrp.srm.djuref"
:rules=
"[
{ required:flag1, message:'必输项'},
{max: 40,message:'长度不能超过40'}
]"
>
<c-input
v-model=
"model.bodgrp.srm.djuref"
maxlength=
"40"
placeholder=
"请输入货权单据编号"
:disabled=
"model.bodgrp.srm.djutyp=='D'"
></c-input>
</el-form-item>
...
...
@@ -41,9 +54,24 @@ export default {
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{}
return
{
flag1
:
false
,
}
},
methods
:
{},
watch
:
{
"model.bodgrp.srm.djutyp"
:
{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
//Any Bank
if
(
val
==
"D"
||
val
==
""
)
{
this
.
flag1
=
false
;
}
else
{
this
.
flag1
=
true
;
}
},
},
},
created
:
function
()
{
}
...
...
src/business/botdav/views/index.vue
View file @
e5c1e40e
...
...
@@ -97,7 +97,8 @@ import Coninfp from "~/components/business/coninfp/views";
import
Docpan
from
"~/components/business/docpan/views"
;
import
Engp
from
"~/components/business/engp/views"
;
import
Glentry
from
"~/components/business/glentry/views"
;
import
Doctre
from
"~/views/Public/Doctre"
//import Doctre from "~/views/Public/Doctre"
import
Doctre
from
"~/components/business/doctre/views"
import
operationFunc
from
"@/mixin/operationFunc"
;
import
event
from
"../event"
;
...
...
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