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
e0170aa1
Commit
e0170aa1
authored
Jul 17, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增letdrw交易
parent
953458c4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
186 additions
and
280 deletions
+186
-280
buildCommons.js
src/business/letdrw/event/buildCommons.js
+48
-2
check.js
src/business/letdrw/model/check.js
+0
-0
index.js
src/business/letdrw/model/index.js
+39
-40
Aamp.vue
src/business/letdrw/views/Aamp.vue
+0
-2
Addbcb.vue
src/business/letdrw/views/Addbcb.vue
+34
-45
Detp.vue
src/business/letdrw/views/Detp.vue
+0
-9
Drv.vue
src/business/letdrw/views/Drv.vue
+1
-3
Dscins.vue
src/business/letdrw/views/Dscins.vue
+0
-2
Ovwp.vue
src/business/letdrw/views/Ovwp.vue
+0
-2
Ovwp1.vue
src/business/letdrw/views/Ovwp1.vue
+0
-65
Ptyp.vue
src/business/letdrw/views/Ptyp.vue
+2
-20
Rcldetp.vue
src/business/letdrw/views/Rcldetp.vue
+3
-13
Revp.vue
src/business/letdrw/views/Revp.vue
+3
-6
Srmp.vue
src/business/letdrw/views/Srmp.vue
+3
-21
index.vue
src/business/letdrw/views/index.vue
+13
-34
Detp.vue
src/business/letrsv/views/Detp.vue
+16
-11
Ovwp1.vue
src/business/letrsv/views/Ovwp1.vue
+9
-5
Ptyp.vue
src/business/letrsv/views/Ptyp.vue
+15
-0
No files found.
src/business/letdrw/event/buildCommons.js
View file @
e0170aa1
...
...
@@ -19,15 +19,61 @@ export default {
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
[];
if
(
model
.
ledgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
apl
));
if
(
model
.
ledgrp
.
a2b
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
a2b
));
}
if
(
model
.
ledgrp
.
drw
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
drw
));
}
if
(
model
.
ledgrp
.
adv
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
adv
));
}
if
(
model
.
ledgrp
.
apb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
apb
));
}
if
(
model
.
ledgrp
.
rmb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
rmb
));
}
if
(
model
.
bedgrp
.
prb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bedgrp
.
prb
));
}
if
(
model
.
ledgrp
.
con
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
con
));
}
if
(
model
.
ledgrp
.
iss
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
iss
));
}
if
(
model
.
ledgrp
.
ben
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
ben
));
}
if
(
model
.
ledgrp
.
avb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
avb
));
}
if
(
model
.
ledgrp
.
apl
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
apl
));
}
if
(
model
.
ledgrp
.
drw
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
drw
));
}
if
(
model
.
ledgrp
.
adv
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
adv
));
}
if
(
model
.
ledgrp
.
rmb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
ledgrp
.
rmb
));
}
if
(
model
.
rmbclm
.
acwacw
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
rmbclm
.
acwacw
));
}
if
(
model
.
rmbclm
.
rmbrmb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
rmbclm
.
rmbrmb
));
}
if
(
model
.
rmbclm
.
bebbeb
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
rmbclm
.
bebbeb
));
}
if
(
model
.
bedgrp
.
oth
.
pts
.
extkey
)
{
ptsptaList
.
push
(
this
.
buildPtspta
(
model
.
bedgrp
.
oth
));
}
let
dataObj
=
{
rec
:
{
objtyp
:
'LED'
,
...
...
src/business/letdrw/model/check.js
View file @
e0170aa1
This diff is collapsed.
Click to expand it.
src/business/letdrw/model/index.js
View file @
e0170aa1
import
Api
from
"~/service/Api"
import
Pts
from
"../Common/Pts"
import
Pub
from
"../Public"
//引入公共面板
import
Pts
from
'~/components/business/commonModel/Pts'
;
import
Pub
from
'~/components/business/commonModel/index.js'
;
export
default
class
Letdrw
{
constructor
()
{
this
.
data
=
{
betp
:
{
folwupopt
:
''
},
number
:
''
,
oldledgrp
:
{
rec
:
{
expdat
:
''
,
nomton
:
''
,
shpdat
:
''
,
nomtop
:
''
,
prepertxts18
:
''
,
prepers18
:
''
},
cbs
:
{
max
:
{
cur
:
""
,
amt
:
""
,
cur
:
''
,
amt
:
''
},
max2
:
{
cur
:
""
,
amt
:
""
,
},
nom1
:
{
cur
:
""
,
amt
:
""
,
cur
:
''
,
amt
:
''
}
}
},
number
:
''
,
ledgrp
:
{
a2b
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
drw
:
{
pts
:
new
Pts
().
data
},
adv
:
{
pts
:
new
Pts
().
data
},
apb
:
{
pts
:
new
Pts
().
data
},
rmb
:
{
pts
:
new
Pts
().
data
},
blk
:
{
dftat
:
''
,
...
...
@@ -51,7 +48,6 @@ export default class Letdrw {
defdet
:
''
},
rec
:
{
inr
:
''
,
tenmaxday
:
''
,
nomton
:
''
,
expplc
:
''
,
...
...
@@ -99,7 +95,7 @@ export default class Letdrw {
apprultxt
:
''
},
con
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
cbs
:
{
opn1
:
{
...
...
@@ -124,16 +120,16 @@ export default class Letdrw {
}
},
iss
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
ben
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
avb
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
apl
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
avbnam
:
''
},
...
...
@@ -155,14 +151,14 @@ export default class Letdrw {
},
rmbclm
:
{
acwacw
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
valdat
:
''
,
rmbrmb
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
bebbeb
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
rmbrol
:
''
},
...
...
@@ -175,7 +171,6 @@ export default class Letdrw {
intdis
:
''
},
rec
:
{
inr
:
''
,
rcvdat
:
''
,
doctypcod
:
''
,
ownref
:
''
,
...
...
@@ -188,20 +183,23 @@ export default class Letdrw {
docprbrol
:
''
},
oth
:
{
pts
:
new
Pts
().
data
,
pts
:
new
Pts
().
data
},
prb
:
{
pts
:
new
Pts
().
data
},
cbs
:
{
opn2
:
{
cur
:
''
,
amt
:
''
amt
:
''
,
cur
:
''
},
max
:
{
cur
:
''
,
amt
:
''
},
max2
:
{
cur
:
''
,
amt
:
''
amt
:
''
,
cur
:
''
}
},
srm
:
{
...
...
@@ -209,7 +207,7 @@ export default class Letdrw {
djuref
:
''
,
djudat
:
''
,
djutyp
:
''
}
}
,
},
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
...
...
@@ -217,6 +215,6 @@ export default class Letdrw {
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
}
}
;
}
}
\ No newline at end of file
src/business/letdrw/views/Aamp.vue
View file @
e0170aa1
...
...
@@ -60,8 +60,6 @@
</div>
</
template
>
<
script
>
import
Api
from
'~/service/Api'
import
CodeTable
from
'~/config/CodeTable'
import
event
from
"../event"
;
export
default
{
inject
:
[
'root'
],
...
...
src/business/letdrw/views/Addbcb.vue
View file @
e0170aa1
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<!--el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item-->
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"附言"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</el-collapse>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
event
from
"../event"
;
import
Utils
from
"~/utils"
;
//import Addbcb1 from "~/views/Public/Addbcb1";
import
Coninfp
from
"~/views/Public/Coninfp"
;
export
default
{
components
:
{
"m-coninfp"
:
Coninfp
,
//"m-addbcb1": Addbcb1,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{
activeNames
:
[
"coninfp"
],
};
},
methods
:
{
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
\ No newline at end of file
</
template
>
<
script
>
import
event
from
"../event"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
export
default
{
components
:
{
"m-coninfp"
:
Coninfp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
event
],
data
()
{
return
{
activeNames
:
[
"coninfp"
],
};
},
methods
:
{},
created
:
function
()
{
},
};
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/business/letdrw/views/Detp.vue
View file @
e0170aa1
...
...
@@ -347,17 +347,12 @@
</div>
</template>
<
script
>
import
Api
from
'~/service/Api'
import
CodeTable
from
'~/config/CodeTable'
import
event
from
"../event"
;
import
Ptap
from
'~/views/Public/Ptap'
import
Utils
from
'~/utils'
export
default
{
components
:
{
// "c-ptap1": Ptap1,
'c-ptap'
:
Ptap
,
// "c-ptsmsg": Ptsmsg,
},
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
...
...
@@ -381,10 +376,6 @@ export default {
defdetFlag
:
{
get
()
{
return
(
// this.model.ledgrp.rec.avbby == 'A' ||
// this.model.ledgrp.rec.avbby == 'P' ||
// this.model.ledgrp.rec.avbby == 'M' ||
// this.model.ledgrp.rec.avbby == ''
this
.
model
.
ledgrp
.
rec
.
avbby
!=
'D'
&&
this
.
model
.
ledgrp
.
rec
.
avbby
!=
'N'
)
...
...
src/business/letdrw/views/Drv.vue
View file @
e0170aa1
...
...
@@ -468,10 +468,8 @@
</div>
</template>
<
script
>
import
Api
from
'~/service/Api'
import
CodeTable
from
'~/config/CodeTable'
import
event
from
"../event"
;
import
Utils
from
'~/utils'
import
Ptap
from
'~/views/Public/Ptap'
export
default
{
...
...
src/business/letdrw/views/Dscins.vue
View file @
e0170aa1
...
...
@@ -192,8 +192,6 @@
</div>
</
template
>
<
script
>
import
Api
from
'~/service/Api'
import
CodeTable
from
'~/config/CodeTable'
import
event
from
"../event"
;
import
Ptap
from
"~/views/Public/Ptap"
import
Docpre
from
"~/views/Public/Docpre"
...
...
src/business/letdrw/views/Ovwp.vue
View file @
e0170aa1
...
...
@@ -80,9 +80,7 @@
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
event
from
"../event"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Ovwp1
from
"./Ovwp1"
;
import
Aamp
from
"./Aamp"
;
import
Detp
from
"./Detp"
;
...
...
src/business/letdrw/views/Ovwp1.vue
View file @
e0170aa1
...
...
@@ -427,10 +427,7 @@
</div>
</template>
<
script
>
import
Api
from
'~/service/Api'
import
event
from
"../event"
;
import
CodeTable
from
'~/config/CodeTable'
import
Utils
from
'~/utils'
import
Ptap
from
'~/views/Public/Ptap'
export
default
{
...
...
@@ -447,68 +444,6 @@ export default {
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
}
},
openAddAmount
(
val
){
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
cbs
.
max2
.
amt
==
'0.000'
&&
this
.
model
.
ledgrp
.
blk
.
addamtcov
===
''
)
){
this
.
$confirm
(
'是否确定要删除此合同的附加金额?'
,
'提示'
,{
confirmButtonText
:
'是'
,
cancelButtonText
:
'否'
,
type
:
'warning'
,
showClose
:
false
}).
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
'letp.aamp.aammod.addamtflg'
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
letp
.
aamp
.
aammod
.
addamtflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
openRevolvingDetails
(
val
){
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
rec
.
revtyp
===
''
&&
this
.
model
.
ledgrp
.
rec
.
revtimes
==
'0'
&&
this
.
model
.
ledgrp
.
rec
.
revdat
===
''
&&
this
.
model
.
ledgrp
.
rec
.
revcum
===
''
&&
this
.
model
.
ledgrp
.
blk
.
revcls
===
''
&&
this
.
model
.
ledgrp
.
blk
.
revnotes
===
''
)
){
this
.
$confirm
(
'是否确定要删除输入的循环详细信息?'
,
'提示'
,{
confirmButtonText
:
'是'
,
cancelButtonText
:
'否'
,
type
:
'warning'
,
showClose
:
false
}).
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
'ledgrp.rec.revflg'
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
rec
.
revdat
=
''
;
//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
this
.
updateModel
(
res
.
data
)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
ledgrp
.
rec
.
revflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
},
created
:
function
()
{},
}
...
...
src/business/letdrw/views/Ptyp.vue
View file @
e0170aa1
...
...
@@ -11,8 +11,6 @@
grp: 'ledgrp',
rol: 'adv',
}"
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
>
</c-ptap>
</c-col>
...
...
@@ -26,8 +24,6 @@
grp: 'ledgrp',
rol: 'a2b',
}"
@onSeainf="onSeainf"
@onAplpDet="onA2bpDet"
>
</c-ptap>
</c-col>
...
...
@@ -58,8 +54,6 @@
grp: 'ledgrp',
rol: 'apb',
}"
@onSeainf="onSeainf"
@onAplpDet="onApbpDet"
>
</c-ptap>
</c-col>
...
...
@@ -80,8 +74,6 @@
grp: 'ledgrp',
rol: 'rmb',
}"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
>
</c-ptap>
</c-col>
...
...
@@ -96,8 +88,6 @@
rol: 'con',
}"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onConpDet"
>
</c-ptap>
</c-col>
...
...
@@ -119,7 +109,6 @@
<template
slot-scope=
"scope"
>
<el-button
size=
"mini"
@
click=
"handleEdit(scope.$index, scope.row)"
type=
"primary"
>
详情
</el-button
>
...
...
@@ -129,10 +118,8 @@
</div>
</template>
<
script
>
import
Api
from
'~/service/Api'
import
commonProcess
from
'~/mixin/commonProcess'
import
CodeTable
from
'~/config/CodeTable'
import
Event
from
'~/model/Letdrw/Event'
import
Event
from
'../event'
import
Ptap
from
"~/views/Public/Ptap"
;
export
default
{
...
...
@@ -171,12 +158,7 @@ export default {
},
};
},
methods
:
{
...
Event
,
handleEdit
()
{
console
.
log
(
"1111测试"
);
},
},
methods
:
{},
created
:
function
()
{},
};
</
script
>
...
...
src/business/letdrw/views/Rcldetp.vue
View file @
e0170aa1
...
...
@@ -10,7 +10,6 @@
style=
"width: 100%"
placeholder=
"请选择"
:code=
"codes.rolall"
@
change=
"selectOrCheckboxRule('rmbclm.rmbrol')"
>
</c-select>
</el-form-item>
...
...
@@ -35,8 +34,6 @@
rol: 'rmbrmb',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
:disabledExtkey="rmbrolRefFlag"
:disabled="rmbrolAdrblkFlag"
>
...
...
@@ -65,8 +62,6 @@
rol: 'acwacw',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onAcwpDet"
>
</c-ptap>
</c-col>
...
...
@@ -93,8 +88,6 @@
rol: 'bebbeb',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onBebpDet"
>
</c-ptap>
</c-col>
...
...
@@ -116,21 +109,18 @@
</div>
</
template
>
<
script
>
import
Api
from
'~/service/Api'
import
commonProcess
from
'~/mixin/commonProcess'
import
CodeTable
from
'~/config/CodeTable'
import
Event
from
'~/model/Letcan/Event'
import
event
from
'../event'
import
Ptap
from
'~/views/Public/Ptap'
export
default
{
inject
:
[
'root'
],
components
:
{
'c-ptap'
:
Ptap
},
props
:
[
'model'
,
'codes'
],
mixins
:
[
commonProcess
],
mixins
:
[
event
],
data
()
{
return
{}
},
methods
:
{
...
Event
},
methods
:
{},
created
:
function
()
{},
computed
:{
rmbrolRefFlag
:
{
...
...
src/business/letdrw/views/Revp.vue
View file @
e0170aa1
...
...
@@ -96,19 +96,16 @@
</div>
</template>
<
script
>
import
Api
from
'~/service/Api'
import
commonProcess
from
'~/mixin/commonProcess'
import
CodeTable
from
'~/config/CodeTable'
import
Event
from
'~/model/Letdrw/Event'
import
event
from
'../event'
export
default
{
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
mixins
:
[
commonProcess
],
mixins
:
[
event
],
data
()
{
return
{}
},
methods
:
{
...
E
vent
},
methods
:
{
e
vent
},
created
:
function
()
{},
}
</
script
>
...
...
src/business/letdrw/views/Srmp.vue
View file @
e0170aa1
...
...
@@ -9,7 +9,6 @@
style=
"width: 100%"
placeholder=
"请选择单据类型"
:code=
"codes.djutyp"
@
change=
"djutypkeyEvent"
>
</c-select>
</el-form-item>
...
...
@@ -54,33 +53,16 @@
</div>
</
template
>
<
script
>
import
Api
from
'~/service/Api'
import
commonProcess
from
'~/mixin/commonProcess'
import
CodeTable
from
'~/config/CodeTable'
import
Event
from
'~/model/Letdrw/Event'
import
event
from
'../event'
export
default
{
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
mixins
:
[
commonProcess
],
mixins
:
[
event
],
data
()
{
return
{}
},
methods
:
{
...
Event
,
djutypkeyEvent
()
{
if
(
this
.
model
.
bedgrp
.
srm
.
djutyp
==
'D'
||
this
.
model
.
bedgrp
.
srm
.
djutyp
==
''
)
{
this
.
model
.
bedgrp
.
srm
.
djuusr
=
''
//单据出具人置空
this
.
model
.
bedgrp
.
srm
.
djudat
=
''
//日期置空
this
.
model
.
bedgrp
.
srm
.
djuref
=
''
//货权单据编号置空
}
this
.
executeCheck
(
'ledgrp.rec.avbby'
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
}
})
},
},
methods
:
{},
computed
:
{
djutypFlag
:
{
get
()
{
...
...
src/business/letdrw/views/index.vue
View file @
e0170aa1
...
...
@@ -14,7 +14,7 @@
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"
myT
abClick"
@
tab-click=
"
t
abClick"
>
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
...
...
@@ -91,10 +91,8 @@
</
template
>
<
script
>
import
CodeTable
from
'~/config/CodeTable'
import
Letdrw
from
'~/model/Letdrw'
import
Check
from
'~/model/Letdrw/Check'
import
Default
from
'~/model/Letdrw/Default'
import
Pattern
from
'~/model/Letdrw/Pattern'
import
Letdrw
from
'../model'
import
formRules
from
'../model/check'
import
Ovwp
from
'./Ovwp'
import
Aamp
from
'./Aamp'
import
Detp
from
'./Detp'
...
...
@@ -108,13 +106,13 @@ import Addbcb from "./Addbcb";
import
Doxp
from
'~/views/Public/Doxp'
import
Coninfp
from
'~/views/Public/Coninfp'
import
Setmod
from
'~/components/business/setmod/views'
import
Docpan
from
'~/views/Public/Docpan'
import
Doctre
from
'~/views/Public/Doctre'
import
Engp
from
'~/components/business/engp/views'
import
Limitbody
from
'~/views/Public/Limitbody'
import
Docpan
from
"~/components/business/docpan/views"
;
import
Doctre
from
"~/components/business/doctre/views"
;
import
Engp
from
"~/components/business/engp/views"
;
import
Limitbody
from
"~/components/business/limitbody/views"
;
import
Glentry
from
"~/components/business/glentry/views"
;
import
operationFunc
from
"@/mixin/operationFunc"
;
import
event
from
"
@/business/letdrw
/event"
;
import
event
from
"
..
/event"
;
export
default
{
name
:
'Letdrw'
,
...
...
@@ -148,10 +146,7 @@ export default {
tabVal
:
'ovwp'
,
trnName
:
'letdrw'
,
model
:
new
Letdrw
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
rules
:
formRules
,
codes
:
{...
CodeTable
},
activeNames
:
[
"engp"
],
promptData
:
{
...
...
@@ -198,26 +193,10 @@ export default {
}
}
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
},
},
created
:
async
function
()
{
console
.
log
(
'进入letdrw交易'
)
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
()
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
})
}
methods
:
{},
created
:
{},
mounted
()
{
this
.
init
()
},
}
</
script
>
...
...
src/business/letrsv/views/Detp.vue
View file @
e0170aa1
...
...
@@ -19,16 +19,19 @@
<c-col
:span=
"24"
>
<c-ptap
v-if=
"model.ledgrp.rec.avbwth!='O'"
:model=
"model"
:argadr=
"
{
title: '',
grp: 'ledgrp',
rol: 'avb',
}"
:noRef="true"
:onlySearch="true"
:disabledExtkey="!avbFlag"
v-if=
"model.ledgrp.rec.avbwth!='O'"
:model=
"model"
:argadr=
"
{
title: '',
grp: 'ledgrp',
rol: 'avb',
}"
:noRef="true"
:onlySearch="true"
:disabledExtkey="!avbFlag"
@keyup.enter.native="
queryGridEtyPromptDialogData('AVB', 'B')
"
>
</c-ptap>
</c-col>
...
...
@@ -119,6 +122,9 @@
:onlySearch=
"false"
:disabled=
"blkDftatFlag"
:disabledExtkey=
"model.ledgrp.rec.avbby=='D'||model.ledgrp.rec.avbby=='M'||model.ledgrp.rec.avbby==''"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('DRW', '')
"
>
</c-ptap>
</c-col>
...
...
@@ -307,7 +313,6 @@
</div>
</template>
<
script
>
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Ptap
from
"~/views/Public/Ptap"
;
import
event
from
"../event"
...
...
src/business/letrsv/views/Ovwp1.vue
View file @
e0170aa1
...
...
@@ -372,6 +372,9 @@
rol: 'ben',
}"
:disabled=
"true"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('BEN', 'C')
"
>
</c-ptap>
...
...
@@ -383,6 +386,9 @@
rol: 'iss',
}"
:disabled=
"true"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('ISS', 'B')
"
>
</c-ptap>
...
...
@@ -394,6 +400,9 @@
rol: 'apl',
}"
:disabled=
"true"
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData('APL', 'C')
"
>
</c-ptap>
...
...
@@ -422,13 +431,8 @@
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
event
from
"../event"
import
Ptap
from
"~/views/Public/Ptap"
;
import
Utils
from
"~/utils"
;
// import Amtpanl from "~/views/Public/Amtpanl";
export
default
{
components
:
{
"c-ptap"
:
Ptap
},
...
...
src/business/letrsv/views/Ptyp.vue
View file @
e0170aa1
...
...
@@ -12,6 +12,9 @@
rol: 'adv',
}"
disabled
@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>
...
...
@@ -58,6 +64,9 @@
grp: 'ledgrp',
rol: 'apb',
}"
@keyup.enter.native="
queryGridEtyPromptDialogData('APB', 'C')
"
>
</c-ptap>
</c-col>
...
...
@@ -70,6 +79,9 @@
grp: 'ledgrp',
rol: 'rmb',
}"
@keyup.enter.native="
queryGridEtyPromptDialogData('RMB', 'B')
"
>
</c-ptap>
</c-col>
...
...
@@ -83,6 +95,9 @@
rol: 'con',
}"
:onlySearch="true"
@keyup.enter.native="
queryGridEtyPromptDialogData('CON', 'B')
"
>
</c-ptap>
</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