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
24ee142f
Commit
24ee142f
authored
May 18, 2022
by
季圣华
Browse files
给单据的新增和编辑界面增加审核按钮
parent
fa48c834
Changes
23
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/financial/modules/ItemOutModal.vue
View file @
24ee142f
...
...
@@ -8,10 +8,14 @@
:keyboard=
"false"
:forceRender=
"true"
switchFullscreen
@
ok=
"handleOk"
@
cancel=
"handleCancel"
wrapClassName=
"ant-modal-cust-warp"
style=
"top:5%;height: 100%;overflow-y: hidden"
>
<template
slot=
"footer"
>
<a-button
@
click=
"handleCancel"
>
取消
</a-button>
<a-button
v-if=
"isCanCheck"
@
click=
"handleOkAndCheck"
>
保存并审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleOk"
>
保存
</a-button>
</
template
>
<a-spin
:spinning=
"confirmLoading"
>
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
...
@@ -204,6 +208,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
billStatus
=
'
0
'
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
"
ZC
"
)
this
.
fileList
=
[]
...
...
@@ -243,6 +248,7 @@
if
(
this
.
model
.
id
){
billMain
.
id
=
this
.
model
.
id
}
billMain
.
status
=
this
.
billStatus
return
{
info
:
JSON
.
stringify
(
billMain
),
rows
:
JSON
.
stringify
(
detailArr
),
...
...
jshERP-web/src/views/financial/modules/MoneyInModal.vue
View file @
24ee142f
...
...
@@ -8,10 +8,14 @@
:keyboard=
"false"
:forceRender=
"true"
switchFullscreen
@
ok=
"handleOk"
@
cancel=
"handleCancel"
wrapClassName=
"ant-modal-cust-warp"
style=
"top:5%;height: 100%;overflow-y: hidden"
>
<template
slot=
"footer"
>
<a-button
@
click=
"handleCancel"
>
取消
</a-button>
<a-button
v-if=
"isCanCheck"
@
click=
"handleOkAndCheck"
>
保存并审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleOk"
>
保存
</a-button>
</
template
>
<a-spin
:spinning=
"confirmLoading"
>
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
...
@@ -226,6 +230,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
billStatus
=
'
0
'
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
"
SK
"
)
this
.
fileList
=
[]
...
...
@@ -263,6 +268,7 @@
if
(
this
.
model
.
id
){
billMain
.
id
=
this
.
model
.
id
}
billMain
.
status
=
this
.
billStatus
return
{
info
:
JSON
.
stringify
(
billMain
),
rows
:
JSON
.
stringify
(
detailArr
),
...
...
jshERP-web/src/views/financial/modules/MoneyOutModal.vue
View file @
24ee142f
...
...
@@ -8,10 +8,14 @@
:keyboard=
"false"
:forceRender=
"true"
switchFullscreen
@
ok=
"handleOk"
@
cancel=
"handleCancel"
wrapClassName=
"ant-modal-cust-warp"
style=
"top:5%;height: 100%;overflow-y: hidden"
>
<template
slot=
"footer"
>
<a-button
@
click=
"handleCancel"
>
取消
</a-button>
<a-button
v-if=
"isCanCheck"
@
click=
"handleOkAndCheck"
>
保存并审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleOk"
>
保存
</a-button>
</
template
>
<a-spin
:spinning=
"confirmLoading"
>
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
...
@@ -229,6 +233,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
billStatus
=
'
0
'
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
"
FK
"
)
this
.
fileList
=
[]
...
...
@@ -267,6 +272,7 @@
if
(
this
.
model
.
id
){
billMain
.
id
=
this
.
model
.
id
}
billMain
.
status
=
this
.
billStatus
return
{
info
:
JSON
.
stringify
(
billMain
),
rows
:
JSON
.
stringify
(
detailArr
),
...
...
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