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
319d10dc
Commit
319d10dc
authored
Oct 02, 2021
by
季圣华
Browse files
优化sku展示
parent
8090b4bc
Changes
14
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/mixins/BillModalMixin.js
View file @
319d10dc
...
...
@@ -69,7 +69,6 @@ export const BillModalMixin = {
this
.
accountIdList
=
[]
this
.
accountMoneyList
=
[]
this
.
manyAccountBtnStatus
=
false
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
},
copyAddInit
(
amountNum
)
{
getAction
(
'
/sequence/buildNumber
'
).
then
((
res
)
=>
{
...
...
@@ -87,8 +86,16 @@ export const BillModalMixin = {
getAction
(
url
,
params
).
then
(
res
=>
{
if
(
res
&&
res
.
code
===
200
){
tab
.
dataSource
=
res
.
data
.
rows
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
for
(
let
i
=
0
;
i
<
tab
.
dataSource
.
length
;
i
++
){
if
(
tab
.
dataSource
[
i
].
snList
)
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
snList
'
,
1
)
}
if
(
tab
.
dataSource
[
i
].
batchNumber
)
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
batchNumber
'
,
1
)
}
if
(
tab
.
dataSource
[
i
].
expirationDate
)
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
expirationDate
'
,
1
)
}
if
(
tab
.
dataSource
[
i
].
sku
)
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
1
)
}
...
...
jshERP-web/src/views/bill/modules/AllocationOutModal.vue
View file @
319d10dc
...
...
@@ -147,6 +147,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
...
...
jshERP-web/src/views/bill/modules/AssembleModal.vue
View file @
319d10dc
...
...
@@ -148,6 +148,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
...
...
jshERP-web/src/views/bill/modules/DisassembleModal.vue
View file @
319d10dc
...
...
@@ -148,6 +148,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
...
...
jshERP-web/src/views/bill/modules/OtherInModal.vue
View file @
319d10dc
...
...
@@ -155,6 +155,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
...
...
jshERP-web/src/views/bill/modules/OtherOutModal.vue
View file @
319d10dc
...
...
@@ -155,6 +155,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
...
...
jshERP-web/src/views/bill/modules/PurchaseBackModal.vue
View file @
319d10dc
...
...
@@ -230,6 +230,7 @@
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
snList
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
batchNumber
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
expirationDate
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
...
...
jshERP-web/src/views/bill/modules/PurchaseInModal.vue
View file @
319d10dc
...
...
@@ -233,6 +233,7 @@
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
snList
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
batchNumber
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
expirationDate
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
preNumber
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
finishNumber
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
...
...
jshERP-web/src/views/bill/modules/PurchaseOrderModal.vue
View file @
319d10dc
...
...
@@ -155,6 +155,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
...
...
jshERP-web/src/views/bill/modules/RetailBackModal.vue
View file @
319d10dc
...
...
@@ -198,6 +198,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
...
...
jshERP-web/src/views/bill/modules/RetailOutModal.vue
View file @
319d10dc
...
...
@@ -201,6 +201,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
...
...
jshERP-web/src/views/bill/modules/SaleBackModal.vue
View file @
319d10dc
...
...
@@ -235,6 +235,7 @@
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
snList
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
batchNumber
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
expirationDate
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
personList
.
value
=
''
...
...
jshERP-web/src/views/bill/modules/SaleOrderModal.vue
View file @
319d10dc
...
...
@@ -158,6 +158,7 @@
methods
:
{
//调用完edit()方法之后会自动调用此方法
editAfter
()
{
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
personList
.
value
=
''
...
...
jshERP-web/src/views/bill/modules/SaleOutModal.vue
View file @
319d10dc
...
...
@@ -237,6 +237,7 @@
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
snList
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
batchNumber
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
expirationDate
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
sku
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
preNumber
'
,
0
)
this
.
changeFormTypes
(
this
.
materialTable
.
columns
,
'
finishNumber
'
,
0
)
if
(
this
.
action
===
'
add
'
)
{
...
...
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