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
ee5963cd
Commit
ee5963cd
authored
Oct 31, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
子件这个库位可以默认,但应该也可以做更改
parent
2fb36252
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
warehouseSelect.vue
...singWarehousingProcess_view/component/warehouseSelect.vue
+1
-1
index.vue
...ts/components/PurchasingWarehousingProcess_view/index.vue
+4
-1
warehouseSelect.vue
...ehousingConfirmationConfirm/component/warehouseSelect.vue
+6
-2
No files found.
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess_view/component/warehouseSelect.vue
View file @
ee5963cd
...
@@ -12,13 +12,13 @@
...
@@ -12,13 +12,13 @@
size=
"small"
size=
"small"
placeholder=
"请选择库位"
placeholder=
"请选择库位"
filterable
filterable
:disabled=
"!scope.row.isRoot"
remote
remote
loading-text=
"数据正在加载中..."
loading-text=
"数据正在加载中..."
:remote-method=
"(query) => remoteMethod(query, storageZoneId)"
:remote-method=
"(query) => remoteMethod(query, storageZoneId)"
@
focus=
"locationList = []"
@
focus=
"locationList = []"
@
change=
"save"
@
change=
"save"
>
>
<!-- :disabled="!scope.row.isRoot" -->
<el-option
v-for=
"item in locationList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
<el-option
v-for=
"item in locationList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-select>
</div>
</div>
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess_view/index.vue
View file @
ee5963cd
...
@@ -313,7 +313,10 @@ export default {
...
@@ -313,7 +313,10 @@ export default {
this
.
saveWorkUnit
(
params
)
this
.
saveWorkUnit
(
params
)
if
(
currentRow
.
children
&&
currentRow
.
children
.
length
)
{
if
(
currentRow
.
children
&&
currentRow
.
children
.
length
)
{
currentRow
.
children
.
map
(
child
=>
{
currentRow
.
children
.
map
(
child
=>
{
this
.
setParams
(
extWorkUnitId
,
child
)
const
targetInventory
=
this
.
$utils
.
getTargetJobResponses
(
child
,
'JobResponseInEntry'
)
if
(
targetInventory
&&
!
targetInventory
.
extWorkUnit
)
{
this
.
setParams
(
extWorkUnitId
,
child
)
}
})
})
}
}
}
}
...
...
applications/dee-mes/src/privateComponents/components/WarehousingConfirmationConfirm/component/warehouseSelect.vue
View file @
ee5963cd
...
@@ -12,7 +12,6 @@
...
@@ -12,7 +12,6 @@
:loading=
"tableColumnSelect"
:loading=
"tableColumnSelect"
size=
"small"
size=
"small"
placeholder=
"请选择库位"
placeholder=
"请选择库位"
:disabled=
"!scope.row.isRoot&&(scope.row.subTypeName==='InStoragePurchaseItem'||scope.row.subTypeName==='InStorageRecallItem'||scope.row.subTypeName==='InStorageExpireItem')"
filterable
filterable
remote
remote
loading-text=
"数据正在加载中..."
loading-text=
"数据正在加载中..."
...
@@ -20,6 +19,8 @@
...
@@ -20,6 +19,8 @@
@
focus=
"locationList = []"
@
focus=
"locationList = []"
@
change=
"save"
@
change=
"save"
>
>
<!-- :disabled="!scope.row.isRoot&&(scope.row.subTypeName==='InStoragePurchaseItem'||scope.row.subTypeName==='InStorageRecallItem'||scope.row.subTypeName==='InStorageExpireItem')" -->
<el-option
v-for=
"item in locationList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
<el-option
v-for=
"item in locationList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-select>
</div>
</div>
...
@@ -151,7 +152,10 @@ export default {
...
@@ -151,7 +152,10 @@ export default {
this
.
saveWorkUnit
(
params
)
this
.
saveWorkUnit
(
params
)
if
(
currentRow
.
children
&&
currentRow
.
children
.
length
)
{
if
(
currentRow
.
children
&&
currentRow
.
children
.
length
)
{
currentRow
.
children
.
map
(
child
=>
{
currentRow
.
children
.
map
(
child
=>
{
this
.
setParams
(
extWorkUnitId
,
child
)
const
targetInventory
=
this
.
$utils
.
getTargetJobResponses
(
child
,
'JobResponseInEntry'
)
if
(
targetInventory
&&
!
targetInventory
.
extWorkUnit
)
{
this
.
setParams
(
extWorkUnitId
,
child
)
}
})
})
}
}
}
}
...
...
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