Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TFMOM
TF-MOM-WEB
Commits
17b23523
Commit
17b23523
authored
Dec 27, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购入库bug修改
parent
150d2ebb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
6 deletions
+11
-6
index.vue
...ponents/components/PurchasingWarehousingProcess/index.vue
+1
-1
index.vue
...ts/components/PurchasingWarehousingProcess_view/index.vue
+5
-1
index.vue
.../privateComponents/components/printTagForConfig/index.vue
+2
-2
index.vue
.../workflow/task-center/myPlanTask/warehouseApply/index.vue
+3
-2
No files found.
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess/index.vue
View file @
17b23523
...
@@ -107,7 +107,7 @@ export default {
...
@@ -107,7 +107,7 @@ export default {
{
title
:
'含税单价'
,
key
:
'taxUnitPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税单价'
,
key
:
'taxUnitPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税金额'
,
key
:
'taxPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税金额'
,
key
:
'taxPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'税率'
,
key
:
'taxRate'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'税率'
,
key
:
'taxRate'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'报检人'
,
key
:
'
applyU
serName'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'报检人'
,
key
:
'
creator.u
serName'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
{
title
:
'接受仓库'
,
key
:
'extname'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'接受仓库'
,
key
:
'extname'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
storageZone
&&
typeof
(
row
.
storageZone
)
===
'object'
?
row
.
storageZone
.
extname
:
row
.
storageZoneName
const
value
=
row
.
storageZone
&&
typeof
(
row
.
storageZone
)
===
'object'
?
row
.
storageZone
.
extname
:
row
.
storageZoneName
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess_view/index.vue
View file @
17b23523
...
@@ -218,7 +218,7 @@ export default {
...
@@ -218,7 +218,7 @@ export default {
{
title
:
'含税单价'
,
key
:
'taxUnitPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税单价'
,
key
:
'taxUnitPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税金额'
,
key
:
'taxPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税金额'
,
key
:
'taxPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'税率'
,
key
:
'taxRate'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'税率'
,
key
:
'taxRate'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'报检人'
,
key
:
'
applyU
serName'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'报检人'
,
key
:
'
creator.u
serName'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
{
title
:
'接受仓库'
,
key
:
'extname'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'接受仓库'
,
key
:
'extname'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
const
value
=
row
.
storageZone
&&
typeof
(
row
.
storageZone
)
===
'object'
?
row
.
storageZone
.
extname
:
row
.
storageZoneName
const
value
=
row
.
storageZone
&&
typeof
(
row
.
storageZone
)
===
'object'
?
row
.
storageZone
.
extname
:
row
.
storageZoneName
...
@@ -460,6 +460,7 @@ export default {
...
@@ -460,6 +460,7 @@ export default {
// 获取需要打印的数据
// 获取需要打印的数据
this
.
printConfig
.
prints
=
[]
this
.
printConfig
.
prints
=
[]
let
JobResponseInStorageEntryId
=
''
let
JobResponseInStorageEntryId
=
''
let
testResponse
=
{}
this
.
selections
.
forEach
((
row
)
=>
{
this
.
selections
.
forEach
((
row
)
=>
{
this
.
$message
.
closeAll
()
this
.
$message
.
closeAll
()
if
(
!
row
.
exWorkUnitName
)
{
if
(
!
row
.
exWorkUnitName
)
{
...
@@ -468,6 +469,7 @@ export default {
...
@@ -468,6 +469,7 @@ export default {
}
}
// 打印标签二维码扫描结果展示入库响应的id
// 打印标签二维码扫描结果展示入库响应的id
if
(
row
.
inventoryJobResponses
&&
row
.
inventoryJobResponses
.
length
)
{
if
(
row
.
inventoryJobResponses
&&
row
.
inventoryJobResponses
.
length
)
{
testResponse
=
row
.
inventoryJobResponses
.
find
(
el
=>
el
.
subTypeName
===
'JobResponseInTest'
)
||
{}
const
entryResponse
=
row
.
inventoryJobResponses
.
find
(
el
=>
el
.
subTypeName
===
'JobResponseInEntry'
||
el
.
subTypeName
.
includes
(
'JobResponseOutStorage'
))
const
entryResponse
=
row
.
inventoryJobResponses
.
find
(
el
=>
el
.
subTypeName
===
'JobResponseInEntry'
||
el
.
subTypeName
.
includes
(
'JobResponseOutStorage'
))
entryResponse
&&
(
JobResponseInStorageEntryId
=
entryResponse
.
id
)
entryResponse
&&
(
JobResponseInStorageEntryId
=
entryResponse
.
id
)
}
}
...
@@ -486,6 +488,8 @@ export default {
...
@@ -486,6 +488,8 @@ export default {
{
label
:
'系列号/序列号'
,
value
:
row
.
serialNo
},
{
label
:
'系列号/序列号'
,
value
:
row
.
serialNo
},
{
label
:
'机型'
,
value
:
row
.
airModel
},
{
label
:
'机型'
,
value
:
row
.
airModel
},
{
label
:
'验收单号'
,
value
:
testJobResponse
&&
testJobResponse
.
testNo
||
''
},
{
label
:
'验收单号'
,
value
:
testJobResponse
&&
testJobResponse
.
testNo
||
''
},
{
label
:
'保证保管期'
,
value
:
testResponse
.
guaranteePeriod
&&
testResponse
.
guaranteePeriod
.
replace
(
' 00:00:00'
,
''
)
},
{
label
:
'贮存期'
,
value
:
testResponse
.
qualityPeriod
&&
testResponse
.
qualityPeriod
.
replace
(
' 00:00:00'
,
''
)
},
{
label
:
'库位号'
,
value
:
row
.
exWorkUnitName
||
''
},
{
label
:
'库位号'
,
value
:
row
.
exWorkUnitName
||
''
},
{
label
:
'备注'
,
value
:
row
.
remark
||
''
}
{
label
:
'备注'
,
value
:
row
.
remark
||
''
}
]
]
...
...
applications/dee-mes/src/privateComponents/components/printTagForConfig/index.vue
View file @
17b23523
...
@@ -365,8 +365,8 @@ export default {
...
@@ -365,8 +365,8 @@ export default {
this
.
print
()
this
.
print
()
},
},
printInStorageLabel
(
selection
)
{
printInStorageLabel
(
selection
)
{
if
(
selection
[
0
].
subTypeName
===
'InStorageMatchBackItem'
||
selection
[
0
].
subTypeName
===
'InStorageUseBackItem'
||
selection
[
0
].
subTypeName
===
'InStorageOutBackItem'
)
{
if
(
selection
[
0
].
subTypeName
===
'InStorageMatchBackItem'
||
selection
[
0
].
subTypeName
===
'InStorageUseBackItem'
||
selection
[
0
].
subTypeName
===
'InStorageOutBackItem'
||
selection
[
0
].
subTypeName
===
'InStoragePurchaseItem'
)
{
if
(
selection
.
find
(
item
=>
((
!
item
.
inventory
||
!
item
.
inventory
.
workunit
)
&&
!
item
.
extWorkUnitCod
s
)))
return
this
.
$utils
.
showMessageWarning
(
'请选择库位后打印!'
)
if
(
selection
.
find
(
item
=>
((
!
item
.
inventory
||
!
item
.
inventory
.
workunit
)
&&
!
item
.
extWorkUnitCod
e
)))
return
this
.
$utils
.
showMessageWarning
(
'请选择库位后打印!'
)
}
}
// 获取需要打印的数据
// 获取需要打印的数据
this
.
config
.
prints
=
[]
this
.
config
.
prints
=
[]
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseApply/index.vue
View file @
17b23523
...
@@ -115,9 +115,10 @@ export default {
...
@@ -115,9 +115,10 @@ export default {
<
style
lang=
'scss'
>
<
style
lang=
'scss'
>
.warehouseApply
{
.warehouseApply
{
width
:
100%
;
width
:
100%
;
height
:
calc
(
100%
-
50px
);
// height: calc(100% - 50px);
height
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
4px
;
//
padding:0 4px;
.search-form-box-com
.search-box-col
{
.search-form-box-com
.search-box-col
{
width
:
100%
!
important
;
width
:
100%
!
important
;
}
}
...
...
Write
Preview
Markdown
is supported
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