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
adab6469
Commit
adab6469
authored
Sep 05, 2021
by
季圣华
Browse files
给所有单据都增加审核功能
parent
7877d743
Changes
4
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/PurchaseOrderList.vue
View file @
adab6469
...
@@ -206,7 +206,6 @@
...
@@ -206,7 +206,6 @@
this
.
initSupplier
()
this
.
initSupplier
()
this
.
getDepotData
()
this
.
getDepotData
()
this
.
initUser
()
this
.
initUser
()
this
.
removeStatusColumn
()
},
},
computed
:
{
computed
:
{
},
},
...
...
jshERP-web/src/views/bill/SaleOrderList.vue
View file @
adab6469
...
@@ -206,7 +206,6 @@
...
@@ -206,7 +206,6 @@
this
.
initCustomer
()
this
.
initCustomer
()
this
.
getDepotData
()
this
.
getDepotData
()
this
.
initUser
()
this
.
initUser
()
this
.
removeStatusColumn
()
},
},
computed
:
{
computed
:
{
},
},
...
...
jshERP-web/src/views/bill/mixins/BillListMixin.js
View file @
adab6469
...
@@ -25,7 +25,9 @@ export const BillListMixin = {
...
@@ -25,7 +25,9 @@ export const BillListMixin = {
return
true
;
return
true
;
}
}
},
},
created
()
{
this
.
removeStatusColumn
()
},
methods
:
{
methods
:
{
myHandleAdd
()
{
myHandleAdd
()
{
this
.
$refs
.
modalForm
.
action
=
"
add
"
;
this
.
$refs
.
modalForm
.
action
=
"
add
"
;
...
@@ -71,7 +73,14 @@ export const BillListMixin = {
...
@@ -71,7 +73,14 @@ export const BillListMixin = {
removeStatusColumn
()
{
removeStatusColumn
()
{
//没有审核反审核权限的时候直接移除状态列
//没有审核反审核权限的时候直接移除状态列
if
(
this
.
btnEnableList
.
indexOf
(
2
)
===-
1
&&
this
.
btnEnableList
.
indexOf
(
7
)
===-
1
)
{
if
(
this
.
btnEnableList
.
indexOf
(
2
)
===-
1
&&
this
.
btnEnableList
.
indexOf
(
7
)
===-
1
)
{
this
.
columns
.
splice
(
7
,
1
)
let
statusIndex
=
0
for
(
let
i
=
0
;
i
<
this
.
columns
.
length
;
i
++
){
if
(
this
.
columns
[
i
].
dataIndex
===
'
status
'
)
{
statusIndex
=
i
}
}
//移除状态列
this
.
columns
.
splice
(
statusIndex
,
1
)
}
}
},
},
initSupplier
()
{
initSupplier
()
{
...
...
jshERP-web/src/views/financial/mixins/FinancialListMixin.js
View file @
adab6469
...
@@ -24,7 +24,9 @@ export const FinancialListMixin = {
...
@@ -24,7 +24,9 @@ export const FinancialListMixin = {
return
true
;
return
true
;
}
}
},
},
created
()
{
this
.
removeStatusColumn
()
},
methods
:
{
methods
:
{
myHandleAdd
()
{
myHandleAdd
()
{
this
.
$refs
.
modalForm
.
action
=
"
add
"
;
this
.
$refs
.
modalForm
.
action
=
"
add
"
;
...
@@ -104,6 +106,19 @@ export const FinancialListMixin = {
...
@@ -104,6 +106,19 @@ export const FinancialListMixin = {
},
},
onDateOk
(
value
)
{
onDateOk
(
value
)
{
console
.
log
(
value
);
console
.
log
(
value
);
},
removeStatusColumn
()
{
//没有审核反审核权限的时候直接移除状态列
if
(
this
.
btnEnableList
.
indexOf
(
2
)
===-
1
&&
this
.
btnEnableList
.
indexOf
(
7
)
===-
1
)
{
let
statusIndex
=
0
for
(
let
i
=
0
;
i
<
this
.
columns
.
length
;
i
++
){
if
(
this
.
columns
[
i
].
dataIndex
===
'
status
'
)
{
statusIndex
=
i
}
}
//移除状态列
this
.
columns
.
splice
(
statusIndex
,
1
)
}
}
}
}
}
}
}
\ No newline at end of file
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