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
8a6b52d2
Commit
8a6b52d2
authored
Jan 18, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库确认编辑库位不刷新界面
parent
725c573d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
11 deletions
+22
-11
warehouseSelect.vue
...ehousingConfirmationConfirm/component/warehouseSelect.vue
+17
-6
index.vue
...orkflow/task-center/myPlanTask/warehouseConfirm/index.vue
+5
-5
No files found.
applications/dee-mes/src/privateComponents/components/WarehousingConfirmationConfirm/component/warehouseSelect.vue
View file @
8a6b52d2
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div
class=
"warehouse-select"
>
<div
class=
"warehouse-select"
>
<el-select
<el-select
v-if=
"basicData||scope.row.storageZoneId"
v-if=
"basicData||scope.row.storageZoneId"
v-model=
"selectVal
"
:value=
"value
"
:loading=
"tableColumnSelect"
:loading=
"tableColumnSelect"
size=
"small"
size=
"small"
placeholder=
"请选择库位"
placeholder=
"请选择库位"
...
@@ -38,6 +38,10 @@ export default {
...
@@ -38,6 +38,10 @@ export default {
scope
:
{
scope
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
null
default
:
()
=>
null
},
value
:
{
type
:
[
String
,
Number
],
default
:
''
}
}
},
},
data
()
{
data
()
{
...
@@ -59,14 +63,20 @@ export default {
...
@@ -59,14 +63,20 @@ export default {
val
&&
(
this
.
storageZoneId
=
val
.
storageZoneId
)
val
&&
(
this
.
storageZoneId
=
val
.
storageZoneId
)
}
}
},
},
value
:
{
immediate
:
true
,
handler
(
val
)
{
this
.
selectVal
=
val
}
},
'scope.row'
:
{
'scope.row'
:
{
immediate
:
true
,
immediate
:
true
,
deep
:
true
,
deep
:
true
,
handler
:
function
(
val
)
{
handler
:
function
(
val
)
{
const
targetInventory
=
this
.
$utils
.
getTargetJobResponses
(
val
,
'JobResponseInEntry'
)
//
const targetInventory = this.$utils.getTargetJobResponses(val, 'JobResponseInEntry')
if
(
targetInventory
&&
targetInventory
.
extWorkUnit
)
{
//
if (targetInventory && targetInventory.extWorkUnit) {
this
.
selectVal
=
targetInventory
.
extWorkUnit
.
extcode
//
this.selectVal = targetInventory.extWorkUnit.extcode
}
//
}
if
(
!
this
.
basicData
&&
val
.
storageZoneId
)
{
if
(
!
this
.
basicData
&&
val
.
storageZoneId
)
{
this
.
storageZoneId
=
val
.
storageZoneId
this
.
storageZoneId
=
val
.
storageZoneId
}
}
...
@@ -129,12 +139,13 @@ export default {
...
@@ -129,12 +139,13 @@ export default {
}
}
},
},
save
(
v
)
{
save
(
v
)
{
this
.
selectVal
=
v
if
(
!
this
.
selectVal
)
this
.
$utils
.
showMessageWarning
(
'请选择库位'
)
if
(
!
this
.
selectVal
)
this
.
$utils
.
showMessageWarning
(
'请选择库位'
)
this
.
$emit
(
'save'
,
this
.
selectVal
)
this
.
$emit
(
'save'
,
this
.
selectVal
)
// 适配验收入库确认批量签审
// 适配验收入库确认批量签审
if
(
this
.
scope
.
row
.
subTypeName
===
'InStorageRecallItem'
||
this
.
scope
.
row
.
subTypeName
===
'InStoragePurchaseItem'
||
this
.
scope
.
row
.
subTypeName
===
'InStorageExpireItem'
)
{
if
(
this
.
scope
.
row
.
subTypeName
===
'InStorageRecallItem'
||
this
.
scope
.
row
.
subTypeName
===
'InStoragePurchaseItem'
||
this
.
scope
.
row
.
subTypeName
===
'InStorageExpireItem'
)
{
const
resValue
=
this
.
selectVal
const
resValue
=
this
.
selectVal
this
.
$emit
(
'input'
,
resValue
)
this
.
$emit
(
'input'
,
resValue
.
split
(
'+'
)[
1
]
)
this
.
setParams
(
resValue
,
this
.
scope
.
row
)
this
.
setParams
(
resValue
,
this
.
scope
.
row
)
}
}
},
},
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseConfirm/index.vue
View file @
8a6b52d2
...
@@ -39,11 +39,11 @@ export default {
...
@@ -39,11 +39,11 @@ export default {
created
()
{
created
()
{
},
},
mounted
()
{
mounted
()
{
this
.
$bus
.
$on
(
'refreshBatchSignDetails'
,
()
=>
{
//
this.$bus.$on('refreshBatchSignDetails', () => {
this
.
$nextTick
(()
=>
{
//
this.$nextTick(() => {
this
.
$refs
.
applyTable
&&
this
.
$refs
.
applyTable
.
$refs
.
asCom
.
getData
()
//
this.$refs.applyTable && this.$refs.applyTable.$refs.asCom.getData()
})
//
})
})
//
})
},
},
// 组件方法
// 组件方法
methods
:
{
methods
:
{
...
...
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