Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
60b332ca
Commit
60b332ca
authored
Nov 13, 2022
by
季圣华
Browse files
给报表中的单据展示界面去掉反审核按钮
parent
fba84d45
Changes
8
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/report/AllocationDetail.vue
View file @
60b332ca
...
...
@@ -241,7 +241,8 @@
myHandleDetail
(
record
)
{
findBillDetailByNumber
({
number
:
record
.
number
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
handleDetail
(
res
.
data
,
record
.
newType
);
this
.
$refs
.
modalDetail
.
isCanBackCheck
=
false
this
.
handleDetail
(
res
.
data
,
record
.
newType
)
}
})
},
...
...
jshERP-web/src/views/report/CustomerAccount.vue
View file @
60b332ca
...
...
@@ -91,7 +91,7 @@
import
{
JeecgListMixin
}
from
'
@/mixins/JeecgListMixin
'
import
{
getNowFormatYear
,
openDownloadDialog
,
sheet2blob
}
from
"
@/utils/util
"
import
{
getAction
}
from
'
@/api/manage
'
import
{
findBySelectCus
,
findBillDetailByNumber
,
findFinancialDetailByNumber
}
from
'
@/api/api
'
import
{
findBySelectCus
}
from
'
@/api/api
'
import
JEllipsis
from
'
@/components/jeecg/JEllipsis
'
import
moment
from
'
moment
'
export
default
{
...
...
@@ -179,23 +179,6 @@
this
.
queryParam
.
beginTime
=
dateString
[
0
];
this
.
queryParam
.
endTime
=
dateString
[
1
];
},
myHandleDetail
(
record
)
{
if
(
record
.
type
===
'
收入
'
||
record
.
type
===
'
支出
'
||
record
.
type
===
'
收款
'
)
{
findFinancialDetailByNumber
({
billNo
:
record
.
number
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
$refs
.
modalFinancialDetail
.
show
(
res
.
data
,
record
.
type
);
this
.
$refs
.
modalFinancialDetail
.
title
=
"
详情
"
;
}
})
}
else
{
findBillDetailByNumber
({
number
:
record
.
number
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
$refs
.
modalBillDetail
.
show
(
res
.
data
,
record
.
type
);
this
.
$refs
.
modalBillDetail
.
title
=
"
详情
"
;
}
})
}
},
loadData
(
arg
)
{
//加载数据 若传入参数1则加载第一页的内容
if
(
arg
===
1
)
{
...
...
jshERP-web/src/views/report/InDetail.vue
View file @
60b332ca
...
...
@@ -234,7 +234,8 @@
myHandleDetail
(
record
)
{
findBillDetailByNumber
({
number
:
record
.
number
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
handleDetail
(
res
.
data
,
record
.
newType
);
this
.
$refs
.
modalDetail
.
isCanBackCheck
=
false
this
.
handleDetail
(
res
.
data
,
record
.
newType
)
}
})
},
...
...
jshERP-web/src/views/report/OutDetail.vue
View file @
60b332ca
...
...
@@ -234,7 +234,8 @@
myHandleDetail
(
record
)
{
findBillDetailByNumber
({
number
:
record
.
number
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
handleDetail
(
res
.
data
,
record
.
newType
);
this
.
$refs
.
modalDetail
.
isCanBackCheck
=
false
this
.
handleDetail
(
res
.
data
,
record
.
newType
)
}
})
},
...
...
jshERP-web/src/views/report/VendorAccount.vue
View file @
60b332ca
...
...
@@ -91,7 +91,7 @@
import
{
JeecgListMixin
}
from
'
@/mixins/JeecgListMixin
'
import
{
getNowFormatYear
,
openDownloadDialog
,
sheet2blob
}
from
"
@/utils/util
"
import
{
getAction
}
from
'
@/api/manage
'
import
{
findBySelectSup
,
findBillDetailByNumber
,
findFinancialDetailByNumber
}
from
'
@/api/api
'
import
{
findBySelectSup
}
from
'
@/api/api
'
import
JEllipsis
from
'
@/components/jeecg/JEllipsis
'
import
moment
from
'
moment
'
export
default
{
...
...
@@ -179,23 +179,6 @@
this
.
queryParam
.
beginTime
=
dateString
[
0
];
this
.
queryParam
.
endTime
=
dateString
[
1
];
},
myHandleDetail
(
record
)
{
if
(
record
.
type
===
'
收入
'
||
record
.
type
===
'
支出
'
||
record
.
type
===
'
付款
'
)
{
findFinancialDetailByNumber
({
billNo
:
record
.
number
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
$refs
.
modalFinancialDetail
.
show
(
res
.
data
,
record
.
type
);
this
.
$refs
.
modalFinancialDetail
.
title
=
"
详情
"
;
}
})
}
else
{
findBillDetailByNumber
({
number
:
record
.
number
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
$refs
.
modalBillDetail
.
show
(
res
.
data
,
record
.
type
);
this
.
$refs
.
modalBillDetail
.
title
=
"
详情
"
;
}
})
}
},
loadData
(
arg
)
{
//加载数据 若传入参数1则加载第一页的内容
if
(
arg
===
1
)
{
...
...
jshERP-web/src/views/report/modules/AccountInOutList.vue
View file @
60b332ca
...
...
@@ -146,6 +146,7 @@
if
(
record
.
fromType
===
'
bill
'
)
{
findBillDetailByNumber
({
number
:
record
.
number
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
$refs
.
billDetail
.
isCanBackCheck
=
false
that
.
$refs
.
billDetail
.
show
(
res
.
data
,
record
.
type
);
that
.
$refs
.
billDetail
.
title
=
"
详情
"
;
}
...
...
@@ -153,6 +154,7 @@
}
else
if
(
record
.
fromType
===
'
financial
'
)
{
findFinancialDetailByNumber
({
billNo
:
record
.
number
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
$refs
.
financialDetail
.
isCanBackCheck
=
false
that
.
$refs
.
financialDetail
.
show
(
res
.
data
,
record
.
type
);
that
.
$refs
.
financialDetail
.
title
=
"
详情
"
;
}
...
...
jshERP-web/src/views/report/modules/DebtAccountList.vue
View file @
60b332ca
...
...
@@ -158,6 +158,7 @@
if
(
res
&&
res
.
code
===
200
)
{
let
type
=
res
.
data
.
depotHeadType
type
=
type
.
replace
(
'
其它
'
,
''
)
this
.
$refs
.
modalDetail
.
isCanBackCheck
=
false
this
.
handleDetail
(
res
.
data
,
type
)
}
})
...
...
jshERP-web/src/views/report/modules/MaterialInOutList.vue
View file @
60b332ca
...
...
@@ -119,6 +119,7 @@
this
.
toFromType
=
record
.
fromType
findBillDetailByNumber
({
number
:
record
.
number
}).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
===
200
)
{
this
.
$refs
.
billDetail
.
isCanBackCheck
=
false
that
.
$refs
.
billDetail
.
show
(
res
.
data
,
record
.
type
);
that
.
$refs
.
billDetail
.
title
=
"
详情
"
;
}
...
...
Write
Preview
Supports
Markdown
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