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
"git@ustchcs.com:gujinli1118/JSH_ERP.git" did not exist on "e2aaf4ba6a040c5d98010ceb706c8c3d7940b8b1"
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 @@
...
@@ -8,10 +8,14 @@
:keyboard=
"false"
:keyboard=
"false"
:forceRender=
"true"
:forceRender=
"true"
switchFullscreen
switchFullscreen
@
ok=
"handleOk"
@
cancel=
"handleCancel"
@
cancel=
"handleCancel"
wrapClassName=
"ant-modal-cust-warp"
wrapClassName=
"ant-modal-cust-warp"
style=
"top:5%;height: 100%;overflow-y: hidden"
>
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-spin
:spinning=
"confirmLoading"
>
<a-form
:form=
"form"
>
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -204,6 +208,7 @@
...
@@ -204,6 +208,7 @@
methods
:
{
methods
:
{
//调用完edit()方法之后会自动调用此方法
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
editAfter
()
{
this
.
billStatus
=
'
0
'
if
(
this
.
action
===
'
add
'
)
{
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
"
ZC
"
)
this
.
addInit
(
"
ZC
"
)
this
.
fileList
=
[]
this
.
fileList
=
[]
...
@@ -243,6 +248,7 @@
...
@@ -243,6 +248,7 @@
if
(
this
.
model
.
id
){
if
(
this
.
model
.
id
){
billMain
.
id
=
this
.
model
.
id
billMain
.
id
=
this
.
model
.
id
}
}
billMain
.
status
=
this
.
billStatus
return
{
return
{
info
:
JSON
.
stringify
(
billMain
),
info
:
JSON
.
stringify
(
billMain
),
rows
:
JSON
.
stringify
(
detailArr
),
rows
:
JSON
.
stringify
(
detailArr
),
...
...
jshERP-web/src/views/financial/modules/MoneyInModal.vue
View file @
24ee142f
...
@@ -8,10 +8,14 @@
...
@@ -8,10 +8,14 @@
:keyboard=
"false"
:keyboard=
"false"
:forceRender=
"true"
:forceRender=
"true"
switchFullscreen
switchFullscreen
@
ok=
"handleOk"
@
cancel=
"handleCancel"
@
cancel=
"handleCancel"
wrapClassName=
"ant-modal-cust-warp"
wrapClassName=
"ant-modal-cust-warp"
style=
"top:5%;height: 100%;overflow-y: hidden"
>
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-spin
:spinning=
"confirmLoading"
>
<a-form
:form=
"form"
>
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -226,6 +230,7 @@
...
@@ -226,6 +230,7 @@
methods
:
{
methods
:
{
//调用完edit()方法之后会自动调用此方法
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
editAfter
()
{
this
.
billStatus
=
'
0
'
if
(
this
.
action
===
'
add
'
)
{
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
"
SK
"
)
this
.
addInit
(
"
SK
"
)
this
.
fileList
=
[]
this
.
fileList
=
[]
...
@@ -263,6 +268,7 @@
...
@@ -263,6 +268,7 @@
if
(
this
.
model
.
id
){
if
(
this
.
model
.
id
){
billMain
.
id
=
this
.
model
.
id
billMain
.
id
=
this
.
model
.
id
}
}
billMain
.
status
=
this
.
billStatus
return
{
return
{
info
:
JSON
.
stringify
(
billMain
),
info
:
JSON
.
stringify
(
billMain
),
rows
:
JSON
.
stringify
(
detailArr
),
rows
:
JSON
.
stringify
(
detailArr
),
...
...
jshERP-web/src/views/financial/modules/MoneyOutModal.vue
View file @
24ee142f
...
@@ -8,10 +8,14 @@
...
@@ -8,10 +8,14 @@
:keyboard=
"false"
:keyboard=
"false"
:forceRender=
"true"
:forceRender=
"true"
switchFullscreen
switchFullscreen
@
ok=
"handleOk"
@
cancel=
"handleCancel"
@
cancel=
"handleCancel"
wrapClassName=
"ant-modal-cust-warp"
wrapClassName=
"ant-modal-cust-warp"
style=
"top:5%;height: 100%;overflow-y: hidden"
>
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-spin
:spinning=
"confirmLoading"
>
<a-form
:form=
"form"
>
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -229,6 +233,7 @@
...
@@ -229,6 +233,7 @@
methods
:
{
methods
:
{
//调用完edit()方法之后会自动调用此方法
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
editAfter
()
{
this
.
billStatus
=
'
0
'
if
(
this
.
action
===
'
add
'
)
{
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
"
FK
"
)
this
.
addInit
(
"
FK
"
)
this
.
fileList
=
[]
this
.
fileList
=
[]
...
@@ -267,6 +272,7 @@
...
@@ -267,6 +272,7 @@
if
(
this
.
model
.
id
){
if
(
this
.
model
.
id
){
billMain
.
id
=
this
.
model
.
id
billMain
.
id
=
this
.
model
.
id
}
}
billMain
.
status
=
this
.
billStatus
return
{
return
{
info
:
JSON
.
stringify
(
billMain
),
info
:
JSON
.
stringify
(
billMain
),
rows
:
JSON
.
stringify
(
detailArr
),
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