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
8454c5d3
Commit
8454c5d3
authored
Oct 10, 2021
by
季圣华
Browse files
使调取订单的时候能展示批号、序列号等字段
parent
1c6640e4
Changes
5
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/mixins/BillModalMixin.js
View file @
8454c5d3
...
...
@@ -436,6 +436,19 @@ export const BillModalMixin = {
taxLastMoney
:
mInfo
.
billPrice
}
},
//控制sku、序列号、批号输入框的显示和隐藏状态
changeColumnShowOrHide
(
info
)
{
if
(
info
.
sku
)
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
1
)
}
if
(
info
.
enableSerialNumber
===
"
1
"
)
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
snList
'
,
1
)
}
if
(
info
.
enableBatchNumber
===
"
1
"
)
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
batchNumber
'
,
1
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
expirationDate
'
,
1
)
}
},
//删除一行或多行的时候触发
onDeleted
(
ids
,
target
)
{
target
.
recalcAllStatisticsColumns
()
...
...
jshERP-web/src/views/bill/modules/PurchaseBackModal.vue
View file @
8454c5d3
...
...
@@ -348,6 +348,7 @@
info
.
taxMoney
=
0
info
.
taxLastMoney
=
info
.
allPrice
listEx
.
push
(
info
)
this
.
changeColumnShowOrHide
(
info
)
}
tab
.
dataSource
=
listEx
typeof
success
===
'
function
'
?
success
(
res
)
:
''
...
...
jshERP-web/src/views/bill/modules/PurchaseInModal.vue
View file @
8454c5d3
...
...
@@ -363,6 +363,7 @@
info
.
taxMoney
=
0
info
.
taxLastMoney
=
info
.
allPrice
listEx
.
push
(
info
)
this
.
changeColumnShowOrHide
(
info
)
}
tab
.
dataSource
=
listEx
//给优惠后金额重新赋值
...
...
jshERP-web/src/views/bill/modules/SaleBackModal.vue
View file @
8454c5d3
...
...
@@ -359,6 +359,7 @@
info
.
taxMoney
=
0
info
.
taxLastMoney
=
info
.
allPrice
listEx
.
push
(
info
)
this
.
changeColumnShowOrHide
(
info
)
}
tab
.
dataSource
=
listEx
typeof
success
===
'
function
'
?
success
(
res
)
:
''
...
...
jshERP-web/src/views/bill/modules/SaleOutModal.vue
View file @
8454c5d3
...
...
@@ -367,6 +367,7 @@
info
.
taxMoney
=
0
info
.
taxLastMoney
=
info
.
allPrice
listEx
.
push
(
info
)
this
.
changeColumnShowOrHide
(
info
)
}
tab
.
dataSource
=
listEx
//给优惠后金额重新赋值
...
...
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