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
d85ccf3c
Commit
d85ccf3c
authored
May 19, 2022
by
季圣华
Browse files
给带关联单号的单据的明细中在编辑的时候限制新增或者移除商品
parent
cff16125
Changes
4
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/dialog/LinkBillList.vue
View file @
d85ccf3c
...
...
@@ -195,14 +195,13 @@
this
.
visible
=
true
;
this
.
loadData
(
1
)
},
purchaseShow
(
type
,
subType
,
organType
,
status
,
purchaseStatus
)
{
purchaseShow
(
type
,
subType
,
organType
,
status
)
{
this
.
selectType
=
'
list
'
this
.
showType
=
'
purchase
'
this
.
queryParam
.
type
=
type
this
.
queryParam
.
subType
=
subType
this
.
queryParam
.
roleType
=
'
全部数据
'
this
.
queryParam
.
status
=
status
this
.
queryParam
.
purchaseStatus
=
purchaseStatus
this
.
columns
[
0
].
title
=
organType
this
.
model
=
Object
.
assign
({},
{});
this
.
visible
=
true
;
...
...
@@ -250,7 +249,8 @@
let
record
=
this
.
selectBillRows
[
0
]
let
param
=
{
headerId
:
record
.
id
,
mpList
:
''
mpList
:
''
,
linkType
:
this
.
showType
}
this
.
loading
=
true
;
getAction
(
'
/depotItem/getDetailList
'
,
param
).
then
((
res
)
=>
{
...
...
jshERP-web/src/views/bill/modules/PurchaseInModal.vue
View file @
d85ccf3c
...
...
@@ -321,6 +321,10 @@
handleIntroJs
(
this
.
prefixNo
,
1
)
})
}
else
{
if
(
this
.
model
.
linkNumber
)
{
this
.
rowCanEdit
=
false
this
.
materialTable
.
columns
[
1
].
type
=
FormTypes
.
normal
}
this
.
model
.
operTime
=
this
.
model
.
operTimeStr
this
.
model
.
debt
=
(
this
.
model
.
discountLastMoney
+
this
.
model
.
otherMoney
-
this
.
model
.
changeAmount
).
toFixed
(
2
)
if
(
this
.
model
.
accountId
==
null
)
{
...
...
jshERP-web/src/views/bill/modules/PurchaseOrderModal.vue
View file @
d85ccf3c
...
...
@@ -242,6 +242,10 @@
handleIntroJs
(
this
.
prefixNo
,
1
)
})
}
else
{
if
(
this
.
model
.
linkNumber
)
{
this
.
rowCanEdit
=
false
this
.
materialTable
.
columns
[
1
].
type
=
FormTypes
.
normal
}
this
.
model
.
operTime
=
this
.
model
.
operTimeStr
this
.
fileList
=
this
.
model
.
fileName
this
.
$nextTick
(()
=>
{
...
...
jshERP-web/src/views/bill/modules/SaleOutModal.vue
View file @
d85ccf3c
...
...
@@ -326,6 +326,10 @@
handleIntroJs
(
this
.
prefixNo
,
1
)
})
}
else
{
if
(
this
.
model
.
linkNumber
)
{
this
.
rowCanEdit
=
false
this
.
materialTable
.
columns
[
1
].
type
=
FormTypes
.
normal
}
this
.
model
.
operTime
=
this
.
model
.
operTimeStr
this
.
model
.
debt
=
(
this
.
model
.
discountLastMoney
+
this
.
model
.
otherMoney
-
this
.
model
.
changeAmount
).
toFixed
(
2
)
if
(
this
.
model
.
accountId
==
null
)
{
...
...
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