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
23f46414
Commit
23f46414
authored
Sep 23, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
供外出库bug修改
parent
661f0b5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
23 deletions
+21
-23
addOutStorageOfferDetailDialog.vue
...OfferDetail/components/addOutStorageOfferDetailDialog.vue
+3
-3
index.vue
...vateComponents/components/OutStorageOfferDetail/index.vue
+18
-20
No files found.
applications/dee-mes/src/privateComponents/components/OutStorageOfferDetail/components/addOutStorageOfferDetailDialog.vue
View file @
23f46414
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
componentName
:
'
领用
出库添加明细'
,
componentName
:
'
供外
出库添加明细'
,
name
:
'AddOutStorage
Use
DetailDialog'
,
name
:
'AddOutStorage
Offer
DetailDialog'
,
components
:
{},
components
:
{},
props
:
{
props
:
{
basicData
:
{
basicData
:
{
...
@@ -75,7 +75,7 @@ export default {
...
@@ -75,7 +75,7 @@ export default {
if
(
valid
&&
this
.
selection
)
{
if
(
valid
&&
this
.
selection
)
{
if
(
this
.
applyForm
.
reqAmount
>
this
.
selection
.
unableAmount
)
return
this
.
$utils
.
showMessageWarning
(
'申领数量不能大于当前选中物料的可用数量!'
)
if
(
this
.
applyForm
.
reqAmount
>
this
.
selection
.
unableAmount
)
return
this
.
$utils
.
showMessageWarning
(
'申领数量不能大于当前选中物料的可用数量!'
)
const
data
=
{
const
data
=
{
'subTypeName'
:
'OutStorage
Use
Item'
,
'subTypeName'
:
'OutStorage
Out
Item'
,
'extMaterial'
:
this
.
selection
.
extMaterial
,
'extMaterial'
:
this
.
selection
.
extMaterial
,
'extMaterialId'
:
this
.
selection
.
extMaterialId
,
'extMaterialId'
:
this
.
selection
.
extMaterialId
,
// 'extSupportingItemId': this.selection.id,
// 'extSupportingItemId': this.selection.id,
...
...
applications/dee-mes/src/privateComponents/components/OutStorageOfferDetail/index.vue
View file @
23f46414
...
@@ -53,30 +53,29 @@ export default {
...
@@ -53,30 +53,29 @@ export default {
return
{
return
{
dialogVisible
:
false
,
dialogVisible
:
false
,
tableColumns
:
[
tableColumns
:
[
{
title
:
'操作'
,
key
:
'operate'
,
align
:
'center'
,
width
:
'100'
,
{
title
:
'物料编码'
,
key
:
'extMaterial.resCode'
,
align
:
'center'
},
{
title
:
'物料名称'
,
key
:
'extMaterial.resName'
,
align
:
'center'
},
{
title
:
'牌号/型号/件号'
,
key
:
'extMaterial.modelNo'
,
align
:
'center'
,
minWidth
:
'120'
},
{
title
:
'申领数量'
,
key
:
'reqAmount'
,
align
:
'center'
},
{
title
:
'占用数量'
,
key
:
'allocatedAmount'
,
align
:
'center'
,
component
:
{
component
:
{
show
:
true
,
show
:
true
,
name
:
'EditTableRow'
,
render
:
(
h
,
data
)
=>
{
props
:
{
return
h
(
'div'
,
[
btns
:
[
h
(
'span'
,
{
{
class
:
'link'
,
o
peration
:
'查看占用详情'
,
o
n
:
{
icon
:
'/icons/c-scan.png'
,
click
:
(
e
)
=>
{
handleClick
:
(
row
,
index
)
=>
{
this
.
rowData
=
data
this
.
rowData
=
row
this
.
viewVisible
=
true
this
.
viewVisible
=
true
}
}
}
}
}
,
data
.
allocatedAmount
)
]
]
)
}
}
}
}},
},
{
title
:
'物料编码'
,
key
:
'extMaterial.resCode'
,
align
:
'center'
},
{
title
:
'物料名称'
,
key
:
'extMaterial.resName'
,
align
:
'center'
},
{
title
:
'牌号/型号/件号'
,
key
:
'extMaterial.modelNo'
,
align
:
'center'
,
minWidth
:
'120'
},
{
title
:
'规格'
,
key
:
'extMaterial.spec'
,
align
:
'center'
},
{
title
:
'规格'
,
key
:
'extMaterial.spec'
,
align
:
'center'
},
{
title
:
'单位名称'
,
key
:
'extMaterial.extUnit.unitName'
,
align
:
'center'
},
{
title
:
'单位名称'
,
key
:
'extMaterial.extUnit.unitName'
,
align
:
'center'
},
{
title
:
'申领数量'
,
key
:
'reqAmount'
,
align
:
'center'
},
// {
// {
// title: '申领数量', key: 'reqAmount', align: 'center', minWidth: '160', fixed: 'right',
// title: '申领数量', key: 'reqAmount', align: 'center', minWidth: '160', fixed: 'right',
// component: {
// component: {
...
@@ -96,8 +95,7 @@ export default {
...
@@ -96,8 +95,7 @@ export default {
// },
// },
{
title
:
'技术条件'
,
key
:
'extMaterial.techSpec'
,
align
:
'center'
},
{
title
:
'技术条件'
,
key
:
'extMaterial.techSpec'
,
align
:
'center'
},
{
title
:
'供应状态'
,
key
:
'extMaterial.supplyStatus'
,
align
:
'center'
},
{
title
:
'供应状态'
,
key
:
'extMaterial.supplyStatus'
,
align
:
'center'
},
{
title
:
'物料类型'
,
key
:
'extMaterial.resType2.typeName'
,
align
:
'center'
},
{
title
:
'物料类型'
,
key
:
'extMaterial.resType2.typeName'
,
align
:
'center'
}
{
title
:
'占用数量'
,
key
:
'allocatedAmount'
,
align
:
'center'
}
],
],
tableData
:
[],
tableData
:
[],
rowData
:
null
,
rowData
:
null
,
...
...
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