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
d4f83b31
Commit
d4f83b31
authored
Jun 13, 2023
by
WF1020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letopn修改
parent
229b6dec
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
351 additions
and
205 deletions
+351
-205
index.js
src/business/letopn/event/index.js
+12
-6
check.js
src/business/letopn/model/check.js
+42
-42
index.js
src/business/letopn/model/index.js
+138
-136
Detp.vue
src/business/letopn/views/Detp.vue
+15
-5
Dogp.vue
src/business/letopn/views/Dogp.vue
+52
-0
Dorp.vue
src/business/letopn/views/Dorp.vue
+41
-0
Ovwp.vue
src/business/letopn/views/Ovwp.vue
+12
-7
Ovwp1.vue
src/business/letopn/views/Ovwp1.vue
+24
-9
Ptyp.vue
src/business/letopn/views/Ptyp.vue
+15
-0
No files found.
src/business/letopn/event/index.js
View file @
d4f83b31
...
...
@@ -19,17 +19,23 @@ export default {
...
ccvpan
,
...
limitbody
,
...
doctre
,
async
init
()
{
async
init
()
{
const
params
=
{
// spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
trnmod
:{
trn
:
JSON
.
parse
(
localStorage
.
getItem
(
'review_'
+
this
.
trnName
))
}
}
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
){
params
.
spt
=
null
params
.
trnmod
.
trn
=
null
}
const
loading
=
this
.
loading
();
const
res
=
await
Api
.
post
(
'/service/letopn/init'
,
{
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
});
loading
.
close
();
//
loading.close();
if
(
!
res
.
data
)
{
return
}
...
...
@@ -123,8 +129,8 @@ export default {
async
onLitpButgetref
()
{
let
params
=
{
ptainr
:
this
.
model
.
ledgrp
.
apl
.
pts
.
ptainr
,
businessType
:
'L
G
'
,
tbl
:
'L
G
'
,
businessType
:
'L
C
'
,
tbl
:
'L
C
'
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/letopn/getOwnRef'
,
params
);
...
...
src/business/letopn/model/check.js
View file @
d4f83b31
...
...
@@ -160,12 +160,12 @@ let checkObj = {
],
'ledgrp.rec.nomtop'
:
[
{
type
:
'number'
,
required
:
fals
e
,
message
:
'必输项'
,
trigger
:
'blur'
},
{
type
:
'number'
,
max
:
99
,
message
:
'长度不能超过2'
,
trigger
:
'blur'
},
{
required
:
tru
e
,
message
:
'必输项'
,
trigger
:
'blur'
},
{
max
:
99
,
message
:
'长度不能超过2'
,
trigger
:
'blur'
},
],
'ledgrp.rec.nomton'
:
[
{
type
:
'number'
,
required
:
fals
e
,
message
:
'必输项'
,
trigger
:
'blur'
},
{
type
:
'number'
,
max
:
99
,
message
:
'长度不能超过2'
,
trigger
:
'blur'
},
{
required
:
tru
e
,
message
:
'必输项'
,
trigger
:
'blur'
},
{
max
:
99
,
message
:
'长度不能超过2'
,
trigger
:
'blur'
},
],
'ledgrp.ben.adrelc'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
...
...
@@ -189,10 +189,10 @@ let checkObj = {
{
max
:
16
,
message
:
'长度不能超过16'
},
],
'ledgrp.rec.opndat'
:
[
{
type
:
'
date
'
,
required
:
false
,
message
:
'输入正确的日期'
},
{
type
:
'
string
'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'ledgrp.rec.preadvdt'
:
[
{
type
:
'
date
'
,
required
:
false
,
message
:
'输入正确的日期'
},
{
type
:
'
string
'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'ledgrp.iss.pts.extkey'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
...
...
@@ -208,10 +208,10 @@ let checkObj = {
{
max
:
140
,
message
:
'长度不能超过140'
},
],
'ledgrp.rec.shpdat'
:
[
{
type
:
'
date
'
,
required
:
false
,
message
:
'输入正确的日期'
},
{
type
:
'
string
'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'ledgrp.rec.advdat'
:
[
{
type
:
'
date
'
,
required
:
false
,
message
:
'输入正确的日期'
},
{
type
:
'
string
'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'ledgrp.iss.pts.adrblk'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
...
...
@@ -222,7 +222,7 @@ let checkObj = {
{
max
:
140
,
message
:
'长度不能超过140'
},
],
'ledgrp.rec.expdat'
:
[
{
type
:
'
date
'
,
required
:
false
,
message
:
'输入正确的日期'
},
{
type
:
'
string
'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'ledgrp.iss.adrelc'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
...
...
@@ -319,8 +319,8 @@ let checkObj = {
{
max
:
35
,
message
:
'长度不能超过35'
},
],
'ledgrp.rec.prepers18'
:
[
{
type
:
'
number
'
,
required
:
false
,
message
:
'必输项'
},
{
type
:
'
number
'
,
max
:
999
,
message
:
'长度不能超过3'
},
{
type
:
'
string
'
,
required
:
false
,
message
:
'必输项'
},
{
type
:
'
string
'
,
max
:
999
,
message
:
'长度不能超过3'
},
],
'ledgrp.rec.prepertxts18'
:
[
...
...
@@ -378,8 +378,8 @@ let checkObj = {
{
max
:
65
,
message
:
'长度不能超过65'
},
],
'ledgrp.rec.tenmaxday'
:
[
{
type
:
'number'
,
required
:
fals
e
,
message
:
'必输项'
},
{
type
:
'number'
,
max
:
9999
,
message
:
'长度不能超过4'
},
{
required
:
tru
e
,
message
:
'必输项'
},
{
max
:
9999
,
message
:
'长度不能超过4'
},
],
'ledgrp.rec.porloa'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
...
...
@@ -558,15 +558,15 @@ let checkObj = {
{
max
:
52000
,
message
:
'长度不能超过52000'
},
],
'ledgrp.blk.lcrdoc'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
52000
,
message
:
'长度不能超过52000'
},
],
//
'ledgrp.blk.lcrdoc': [
// {
required: true, message: '必输项' },
//
{ max: 52000, message: '长度不能超过52000' },
//
],
'ledgrp.blk.adlcnd'
:
[
{
type
:
'string'
,
required
:
fals
e
,
message
:
'必输项'
},
{
max
:
52000
,
message
:
'长度不能超过52000'
},
],
//
'ledgrp.blk.adlcnd': [
// { required: tru
e, message: '必输项' },
//
{ max: 52000, message: '长度不能超过52000' },
//
],
'ledgrp.blk.insbnk'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
...
...
@@ -579,7 +579,7 @@ let checkObj = {
],
'setmod.docamt'
:
[
{
type
:
'
number
'
,
required
:
false
,
message
:
'必输项'
},
{
type
:
'
string
'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过14位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
...
...
@@ -592,23 +592,23 @@ let checkObj = {
{
max
:
20
,
message
:
'长度不能超过20'
},
],
'mtabut.coninf.oitinf.oit.inftxt'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
60
,
message
:
'长度不能超过60'
},
],
//
'mtabut.coninf.oitinf.oit.inftxt': [
//
{ type: 'string', required: true, message: '必输项' },
//
{ max: 60, message: '长度不能超过60' },
//
],
'mtabut.coninf.oitset.oit.inftxt'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
{
max
:
60
,
message
:
'长度不能超过60'
},
],
//
'mtabut.coninf.oitset.oit.inftxt': [
//
{ type: 'string', required: true, message: '必输项' },
//
{ max: 60, message: '长度不能超过60' },
//
],
'mtabut.coninf.conexedat'
:
[
{
type
:
'date
'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'mtabut.coninf.usr.extkey'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
8
,
message
:
'长度不能超过8'
},
],
//
'mtabut.coninf.conexedat': [
// { type: 'string
', required: false, message: '输入正确的日期' },
//
],
//
'mtabut.coninf.usr.extkey': [
//
{ type: 'string', required: false, message: '必输项' },
//
{ max: 8, message: '长度不能超过8' },
//
],
'trnmod.trndoc.advnam'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
...
...
@@ -683,15 +683,15 @@ let checkObj = {
],
'ledgrp.rec.revtimes'
:
[
{
type
:
'
number
'
,
required
:
false
,
message
:
'必输项'
},
{
type
:
'
number
'
,
max
:
99
,
message
:
'长度不能超过2'
},
{
type
:
'
string
'
,
required
:
false
,
message
:
'必输项'
},
{
type
:
'
string
'
,
max
:
99
,
message
:
'长度不能超过2'
},
],
'ledgrp.rec.revnbr'
:
[
{
type
:
'
number
'
,
required
:
false
,
message
:
'必输项'
},
{
type
:
'
number
'
,
max
:
99
,
message
:
'长度不能超过2'
},
{
type
:
'
string
'
,
required
:
false
,
message
:
'必输项'
},
{
type
:
'
string
'
,
max
:
99
,
message
:
'长度不能超过2'
},
],
'ledgrp.rec.revdat'
:
[
{
type
:
'
date
'
,
required
:
false
,
message
:
'输入正确的日期'
},
{
type
:
'
string
'
,
required
:
false
,
message
:
'输入正确的日期'
},
],
'ledgrp.blk.revcls'
:
[
{
type
:
'string'
,
required
:
true
,
message
:
'必输项'
},
...
...
src/business/letopn/model/index.js
View file @
d4f83b31
import
Pts
from
'~/components/business/commonModel/Pts'
;
import
Pub
from
'~/components/business/commonModel/index.js'
;
export
default
class
Letopn
{
constructor
()
{
this
.
data
=
{
number
:
''
,
ledgrp
:
{
a2b
:
{
pts
:
new
Pts
().
data
,
},
blk
:
{
dftat
:
''
,
revnotes
:
''
,
feetxt
:
''
,
mixdet
:
''
,
revcls
:
''
,
shpper
:
''
,
addamtcov
:
''
,
avbwthtxt
:
''
,
defdet
:
''
,
preper
:
''
},
rec
:
{
tenmaxday
:
''
,
nomton
:
''
,
expplc
:
''
,
stacty
:
''
,
revtyp
:
''
,
revtimes
:
''
,
opndat
:
''
,
nomtop
:
''
,
avbwth
:
''
,
revflg
:
''
,
spcbenflg
:
''
,
dbtflg
:
''
,
shpdat
:
''
,
revdat
:
''
,
nam
:
''
,
prepertxts18
:
''
,
redclsflg
:
''
,
cnfins
:
''
,
nomspc
:
''
,
shptrss18
:
''
,
spcrcbflg
:
''
,
collflg
:
''
,
inctrf
:
''
,
shpfro
:
''
,
lcrtyp
:
''
,
nonban
:
''
,
ownref
:
''
,
teskeyunc
:
''
,
preadvdt
:
''
,
avbby
:
''
,
pordis
:
''
,
apprul
:
''
,
shppar
:
''
,
prepers18
:
''
,
expdat
:
''
,
shpto
:
''
,
revnbr
:
''
,
chato
:
''
,
cnfdet
:
''
,
revcum
:
''
,
aplbnkdirsnd
:
''
,
advdat
:
''
,
porloa
:
''
,
apprultxt
:
''
},
con
:
{
pts
:
new
Pts
().
data
,
},
cbs
:
{
opn2
:
{
cur
:
''
,
amt
:
''
},
max
:
{
cur
:
''
,
amt
:
''
},
nom1
:
{
cur
:
''
,
amt
:
''
},
max2
:
{
cur
:
''
,
amt
:
''
}
},
drw
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
avb
:
{
pts
:
new
Pts
().
data
,
},
iss
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
},
adv
:
{
pts
:
new
Pts
().
data
,
},
a2b
:
{
pts
:
new
Pts
().
data
,
},
apb
:
{
pts
:
new
Pts
().
data
,
},
rmb
:
{
pts
:
new
Pts
().
data
,
},
con
:
{
pts
:
new
Pts
().
data
,
},
export
default
class
Letopn
{
constructor
()
{
this
.
data
=
{
number
:
''
,
ledgrp
:
{
a2b
:
{
pts
:
new
Pts
().
data
,
},
blk
:
{
spcben
:
''
,
dftat
:
''
,
revnotes
:
''
,
feetxt
:
''
,
mixdet
:
''
,
revcls
:
''
,
shpper
:
''
,
addamtcov
:
''
,
avbwthtxt
:
''
,
defdet
:
''
,
preper
:
''
,
spcrcb
:
''
,
},
rec
:
{
stagod
:
''
,
tenmaxday
:
''
,
nomton
:
''
,
expplc
:
''
,
stacty
:
''
,
revtyp
:
''
,
revtimes
:
''
,
opndat
:
''
,
nomtop
:
''
,
avbwth
:
''
,
revflg
:
''
,
spcbenflg
:
''
,
dbtflg
:
''
,
shpdat
:
''
,
revdat
:
''
,
nam
:
''
,
prepertxts18
:
''
,
redclsflg
:
''
,
cnfins
:
''
,
nomspc
:
''
,
shptrss18
:
''
,
spcrcbflg
:
''
,
collflg
:
''
,
inctrf
:
''
,
shpfro
:
''
,
lcrtyp
:
''
,
nonban
:
''
,
ownref
:
''
,
teskeyunc
:
''
,
preadvdt
:
''
,
avbby
:
''
,
pordis
:
''
,
apprul
:
''
,
shppar
:
''
,
prepers18
:
''
,
expdat
:
''
,
shpto
:
''
,
revnbr
:
''
,
chato
:
''
,
cnfdet
:
''
,
revcum
:
''
,
aplbnkdirsnd
:
''
,
advdat
:
''
,
porloa
:
''
,
apprultxt
:
''
,
},
con
:
{
pts
:
new
Pts
().
data
,
},
cbs
:
{
opn2
:
{
cur
:
''
,
amt
:
''
,
},
letp
:
{
usr
:
{
extkey
:
''
},
aamp
:
{
aammod
:
{
addamtflg
:
''
}
}
max
:
{
cur
:
''
,
amt
:
''
,
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
}
}
}
\ No newline at end of file
nom1
:
{
cur
:
''
,
amt
:
''
,
},
max2
:
{
cur
:
''
,
amt
:
''
,
},
},
drw
:
{
pts
:
new
Pts
().
data
,
},
ben
:
{
pts
:
new
Pts
().
data
,
},
avb
:
{
pts
:
new
Pts
().
data
,
},
iss
:
{
pts
:
new
Pts
().
data
,
},
apl
:
{
pts
:
new
Pts
().
data
,
},
adv
:
{
pts
:
new
Pts
().
data
,
},
a2b
:
{
pts
:
new
Pts
().
data
,
},
apb
:
{
pts
:
new
Pts
().
data
,
},
rmb
:
{
pts
:
new
Pts
().
data
,
},
con
:
{
pts
:
new
Pts
().
data
,
},
},
letp
:
{
usr
:
{
extkey
:
''
,
},
aamp
:
{
aammod
:
{
addamtflg
:
''
,
},
},
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
trnmod
:
new
Pub
().
data
.
Trnmod
,
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
};
}
}
src/business/letopn/views/Detp.vue
View file @
d4f83b31
...
...
@@ -23,6 +23,9 @@
grp: 'ledgrp',
rol: 'avb',
}"
@keyup.enter.native="
queryGridEtyPromptDialogData('AVB', 'B')
"
:noRef="true"
:onlySearch="true"
:disabledExtkey="!avbFlag"
...
...
@@ -444,11 +447,18 @@ export default {
},
immediate
:
true
,
},
"model.ledgrp.rec.tenmaxday"
:
function
(
val
){
this
.
model
.
ledgrp
.
rec
.
tenmaxday
=
val
.
replace
(
/
\D
/g
,
''
);
},
"model.ledgrp.rec.prepers18"
:
function
(
val
){
this
.
model
.
ledgrp
.
rec
.
prepers18
=
val
.
replace
(
/
\D
/g
,
''
);
"model.ledgrp.rec.tenmaxday"
:{
handler
(
val
,
oldVal
){
console
.
log
(
val
);
this
.
model
.
ledgrp
.
rec
.
tenmaxday
=
`
${
val
}
''`
.
replace
(
/
\D
/g
,
''
);
},
immediate
:
true
,
},
"model.ledgrp.rec.prepers18"
:
{
handler
(
val
,
oldVal
){
this
.
model
.
ledgrp
.
rec
.
prepers18
=
`
${
val
}
''`
.
replace
(
/
\D
/g
,
''
);
},
immediate
:
true
,
}
},
}
...
...
src/business/letopn/views/Dogp.vue
0 → 100644
View file @
d4f83b31
<
template
>
<div
class=
"eibs"
>
<c-col
:span=
"22"
>
<el-form-item
label=
"货物/服务描述"
prop=
"lidgrp.blk.lcrgod"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.lcrgod"
maxlength=
"52000"
:rows=
"30"
show-word-limit
placeholder=
"请输入货物或服务描述"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"2"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"queryGridEtyPromptDialogData('BLK', '')"
>
</c-button>
</c-col>
<c-col
:span=
"18"
>
<el-form-item
label=
"货物类型"
prop=
"lidgrp.rec.stagod"
>
<c-select
v-model=
"model.lidgrp.rec.stagod"
style=
"width:100%"
placeholder=
"请选择货物类型"
:code=
"codes.godcod"
>
</c-select>
</el-form-item>
</c-col>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
event
from
"../event"
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
,
event
],
data
(){
return
{
}
},
methods
:{},
created
:
function
(){
}
}
</
script
>
<
style
>
</
style
>
src/business/letopn/views/Dorp.vue
0 → 100644
View file @
d4f83b31
<
template
>
<div
class=
"eibs"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"单据要求"
prop=
"lidgrp.blk.lcrdoc"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.lcrdoc"
maxlength=
"52000"
:rows=
"30"
show-word-limit
placeholder=
"请输入单据要求"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"2"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"queryGridEtyPromptDialogData('BLK', '')"
>
</c-button>
</c-col>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
event
from
"../event"
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
,
event
],
data
(){
return
{
}
},
methods
:{},
created
:
function
(){
}
}
</
script
>
<
style
>
</
style
>
src/business/letopn/views/Ovwp.vue
View file @
d4f83b31
...
...
@@ -18,12 +18,13 @@
<m-ptyp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"货物描述"
name=
"dogp"
>
<m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'dogp'"
:rec=
"'led'"
/>
<el-collapse-item
title=
"货物"
name=
"dogp"
>
<!-- 货物 -->
<m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'dorp'"
:rec=
"'led'"
/>
</el-collapse-item>
<el-collapse-item
title=
"单据要求"
name=
"dorp"
>
<m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'dorp'"
:rec=
"'led'"
/>
<el-collapse-item
title=
"单据"
name=
"dorp"
>
<!-- 单据 --
>
<m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'dorp'"
:rec=
"'led'"
/>
</el-collapse-item>
<el-collapse-item
title=
"附加条款"
name=
"adcp"
>
...
...
@@ -54,7 +55,9 @@ import Detp from './Detp'
import
Ptyp
from
'./Ptyp'
import
Revp
from
'./Revp'
import
Aamp
from
'./Aamp'
import
Doxp
from
'~/views/Public/Doxp'
import
Dogp
from
"./Dogp"
;
import
Dorp
from
"./Dorp"
;
import
Doxp
from
"~/views/Public/Doxp"
;
export
default
{
components
:
{
...
...
@@ -62,8 +65,10 @@ export default {
'm-aamp'
:
Aamp
,
'm-detp'
:
Detp
,
'm-ptyp'
:
Ptyp
,
'm-doxp'
:
Doxp
,
'm-revp'
:
Revp
,
"m-dogp"
:
Dogp
,
"m-dorp"
:
Dorp
,
"m-doxp"
:
Doxp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
...
...
src/business/letopn/views/Ovwp1.vue
View file @
d4f83b31
...
...
@@ -31,11 +31,9 @@
size=
"small"
type=
"primary"
:disabled=
"
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
>
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref? false: true"
@
click=
"onLitpButgetref"
>
获取
</c-button>
</
template
>
...
...
@@ -357,6 +355,9 @@
rol: 'ben',
}"
:disabled=
"true"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('ben', 'C')
"
>
</c-ptap>
</c-col>
...
...
@@ -370,6 +371,9 @@
rol: 'iss',
}"
:disabled=
"true"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('ISS', 'B')
"
>
</c-ptap>
</c-col>
...
...
@@ -382,6 +386,9 @@
grp: 'ledgrp',
rol: 'apl',
}"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('APL', 'C')
"
>
</c-ptap>
</c-col>
...
...
@@ -438,11 +445,19 @@ export default {
return
{};
},
watch
:{
"model.ledgrp.rec.nomtop"
:
function
(
val
){
this
.
model
.
ledgrp
.
rec
.
nomtop
=
val
.
replace
(
/
\D
/g
,
''
);
"model.ledgrp.rec.nomtop"
:{
immediate
:
true
,
handler
(
val
,
old
)
{
console
.
log
(
val
);
this
.
model
.
ledgrp
.
rec
.
nomtop
=
`
${
val
}
''`
.
replace
(
/
\D
/g
,
''
);
}
},
"model.ledgrp.rec.nomton"
:
function
(
val
){
this
.
model
.
ledgrp
.
rec
.
nomton
=
val
.
replace
(
/
\D
/g
,
''
);
"model.ledgrp.rec.nomton"
:{
immediate
:
true
,
handler
(
val
,
old
)
{
console
.
log
(
val
);
this
.
model
.
ledgrp
.
rec
.
nomton
=
`
${
val
}
''`
.
replace
(
/
\D
/g
,
''
);
}
}
},
methods
:
{
...
...
src/business/letopn/views/Ptyp.vue
View file @
d4f83b31
...
...
@@ -11,6 +11,9 @@
grp: 'ledgrp',
rol: 'adv',
}"
@keyup.enter.native="
queryGridEtyPromptDialogData('ADV', 'B')
"
>
</c-ptap>
</c-col>
...
...
@@ -24,6 +27,9 @@
grp: 'ledgrp',
rol: 'a2b',
}"
@keyup.enter.native="
queryGridEtyPromptDialogData('A2B', 'C')
"
>
</c-ptap>
</c-col>
...
...
@@ -54,6 +60,9 @@
grp: 'ledgrp',
rol: 'apb',
}"
@keyup.enter.native="
queryGridEtyPromptDialogData('APB', 'C')
"
>
</c-ptap>
</c-col>
...
...
@@ -74,6 +83,9 @@
grp: 'ledgrp',
rol: 'rmb',
}"
@keyup.enter.native="
queryGridEtyPromptDialogData('RMB', 'B')
"
>
</c-ptap>
</c-col>
...
...
@@ -87,6 +99,9 @@
grp: 'ledgrp',
rol: 'con',
}"
@keyup.enter.native="
queryGridEtyPromptDialogData('CON', 'B')
"
:onlySearch="true"
>
</c-ptap>
...
...
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