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
5ffed191
Commit
5ffed191
authored
Sep 05, 2021
by
季圣华
Browse files
给所有单据都增加审核功能
parent
56cc93b5
Changes
23
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/financial/mixins/FinancialListMixin.js
View file @
5ffed191
...
...
@@ -31,8 +31,19 @@ export const FinancialListMixin = {
this
.
handleAdd
();
},
myHandleEdit
(
record
)
{
this
.
$refs
.
modalForm
.
action
=
"
edit
"
;
this
.
handleEdit
(
record
);
if
(
record
.
status
===
'
0
'
)
{
this
.
$refs
.
modalForm
.
action
=
"
edit
"
;
this
.
handleEdit
(
record
);
}
else
{
this
.
$message
.
warning
(
"
抱歉,只有未审核的单据才能编辑!
"
)
}
},
myHandleDelete
(
record
)
{
if
(
record
.
status
===
'
0
'
)
{
this
.
handleDelete
(
record
.
id
)
}
else
{
this
.
$message
.
warning
(
"
抱歉,只有未审核的单据才能删除!
"
)
}
},
myHandleDetail
(
record
,
type
)
{
this
.
handleDetail
(
record
,
type
);
...
...
jshERP-web/src/views/system/modules/FunctionModal.vue
View file @
5ffed191
...
...
@@ -66,7 +66,8 @@
jselectMultiple
:
{
options
:
[
{
text
:
'
编辑
'
,
value
:
'
1
'
},
{
text
:
'
审核反审核
'
,
value
:
'
2
'
},
{
text
:
'
审核
'
,
value
:
'
2
'
},
{
text
:
'
反审核
'
,
value
:
'
7
'
},
{
text
:
'
导入导出
'
,
value
:
'
3
'
},
{
text
:
'
启用禁用
'
,
value
:
'
4
'
},
{
text
:
'
打印
'
,
value
:
'
5
'
},
...
...
jshERP-web/src/views/system/modules/RolePushBtnModal.vue
View file @
5ffed191
...
...
@@ -37,7 +37,8 @@
:loading=
"loading"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a-checkbox
v-if=
"record.pushBtn.indexOf(1)>-1"
value=
"1"
:checked=
"record.btnStr?record.btnStr.indexOf(1)>-1:false"
@
change=
"onChange(record,'1')"
>
编辑
</a-checkbox>
<a-checkbox
v-if=
"record.pushBtn.indexOf(2)>-1"
value=
"2"
:checked=
"record.btnStr?record.btnStr.indexOf(2)>-1:false"
@
change=
"onChange(record,'2')"
>
审核反审核
</a-checkbox>
<a-checkbox
v-if=
"record.pushBtn.indexOf(2)>-1"
value=
"2"
:checked=
"record.btnStr?record.btnStr.indexOf(2)>-1:false"
@
change=
"onChange(record,'2')"
>
审核
</a-checkbox>
<a-checkbox
v-if=
"record.pushBtn.indexOf(7)>-1"
value=
"7"
:checked=
"record.btnStr?record.btnStr.indexOf(7)>-1:false"
@
change=
"onChange(record,'7')"
>
反审核
</a-checkbox>
<a-checkbox
v-if=
"record.pushBtn.indexOf(3)>-1"
value=
"3"
:checked=
"record.btnStr?record.btnStr.indexOf(3)>-1:false"
@
change=
"onChange(record,'3')"
>
导入导出
</a-checkbox>
<a-checkbox
v-if=
"record.pushBtn.indexOf(4)>-1"
value=
"4"
:checked=
"record.btnStr?record.btnStr.indexOf(4)>-1:false"
@
change=
"onChange(record,'4')"
>
启用禁用
</a-checkbox>
<a-checkbox
v-if=
"record.pushBtn.indexOf(5)>-1"
value=
"5"
:checked=
"record.btnStr?record.btnStr.indexOf(5)>-1:false"
@
change=
"onChange(record,'5')"
>
打印
</a-checkbox>
...
...
Prev
1
2
Next
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