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
00c555df
Commit
00c555df
authored
May 20, 2022
by
季圣华
Browse files
给复制单据的时候开启明细的编辑模式
parent
88613a18
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/mixins/BillListMixin.js
View file @
00c555df
import
Vue
from
'
vue
'
import
{
getAction
}
from
'
@/api/manage
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
findBySelectSup
,
findBySelectCus
,
findBySelectRetail
,
getUserList
,
getAccount
}
from
'
@/api/api
'
export
const
BillListMixin
=
{
...
...
@@ -45,6 +46,9 @@ export const BillListMixin = {
this
.
$refs
.
modalForm
.
edit
(
record
);
this
.
$refs
.
modalForm
.
title
=
"
复制新增
"
;
this
.
$refs
.
modalForm
.
disableSubmit
=
false
;
//开启明细的编辑模式
this
.
$refs
.
modalForm
.
rowCanEdit
=
true
this
.
$refs
.
modalForm
.
materialTable
.
columns
[
1
].
type
=
FormTypes
.
popupJsh
},
myHandleEdit
(
record
)
{
if
(
record
.
status
===
'
0
'
)
{
...
...
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