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
811fd05a
Commit
811fd05a
authored
Oct 12, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料配套分发中的实际重量的修改
parent
5b6d5f26
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
48 deletions
+39
-48
header.vue
...views/taskExecution/components/ConfirmMaterial/header.vue
+36
-45
index.vue
.../views/taskReception/components/taskReceiveCard/index.vue
+2
-2
index.vue
...cations/dee-task-center/src/views/myTaskReceive/index.vue
+1
-1
No files found.
applications/dee-mes/src/views/taskExecution/components/ConfirmMaterial/header.vue
View file @
811fd05a
...
@@ -155,58 +155,59 @@
...
@@ -155,58 +155,59 @@
:width=
"80"
:width=
"80"
/>
/>
<el-table-column
<el-table-column
prop=
"jobResponseOutStorageVOS[0].inventory.extMaterial.modelNo"
align=
"center"
align=
"center"
label=
"型号/件号"
label=
"型号/件号"
:width=
"120"
:width=
"120"
sortable
sortable
show-overflow-tooltip
show-overflow-tooltip
/>
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.jobResponseOutStorageVOS"
>
{{
scope
.
row
.
jobResponseOutStorageVOS
[
0
].
inventory
.
extMaterial
.
modelNo
}}
</span>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
prop=
"jobResponseOutStorageVOS[0].inventory.jobResponse.jobOrder.arrivalVer"
align=
"center"
align=
"center"
label=
"实发版次"
label=
"实发版次"
:width=
"120"
:width=
"120"
sortable
sortable
/>
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.jobResponseOutStorageVOS"
>
{{
scope
.
row
.
jobResponseOutStorageVOS
[
0
].
inventory
.
jobResponse
.
jobOrder
.
arrivalVer
}}
</span>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
prop=
"jobResponseOutStorageVOS[0].inventory.jobResponse.jobOrder.inventoryJobResponses[0].testNo"
align=
"center"
align=
"center"
label=
"验收单号"
label=
"验收单号"
:width=
"120"
:width=
"120"
sortable
sortable
show-overflow-tooltip
show-overflow-tooltip
/>
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.jobResponseOutStorageVOS"
>
{{
scope
.
row
.
jobResponseOutStorageVOS
[
0
].
inventory
.
jobResponse
.
jobOrder
.
inventoryJobResponses
[
0
].
testNo
}}
</span>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
prop=
"jobResponseOutStorageVOS[0].jobOrder.checkoutAmount"
align=
"center"
align=
"center"
label=
"已接收数量"
label=
"已接收数量"
:width=
"130"
:width=
"130"
sortable
sortable
/>
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.jobResponseOutStorageVOS"
>
{{
scope
.
row
.
jobResponseOutStorageVOS
[
0
].
jobOrder
.
checkoutAmount
}}
</span>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
prop=
"jobResponseOutStorageVOS[0].outsideAmount"
align=
"center"
align=
"center"
label=
"实发数量"
label=
"实发数量"
:width=
"120"
:width=
"120"
sortable
sortable
/>
>
<!-- <el-table-column
<
template
slot-scope=
"scope"
>
prop="type"
<span
v-if=
"scope.row.jobResponseOutStorageVOS"
>
{{
scope
.
row
.
jobResponseOutStorageVOS
[
0
].
outsideAmount
}}
</span>
align="center"
</
template
>
label="类型"
</el-table-column>
:width="80"
sortable
/> -->
<!-- <el-table-column
prop="receiptNo"
align="center"
label="单据编号"
:width="120"
sortable
/> -->
<el-table-column
<el-table-column
prop=
"
jobResponseOutStorageVOS[0].
actualWeight"
prop=
"actualWeight"
align=
"center"
align=
"center"
label=
"实称重量"
label=
"实称重量"
:width=
"135"
:width=
"135"
...
@@ -227,16 +228,15 @@
...
@@ -227,16 +228,15 @@
/>
/>
<span
<span
v-else-if=
"
v-else-if=
"
scope.row
[scope.column.property] ||
scope.row
.jobResponseOutStorageVOS &&
scope.row.
resTypeName !
== '外购成品'
scope.row.
extMaterial.resType2.typeName =
== '外购成品'
"
"
>
{{
scope
.
row
[
scope
.
column
.
property
]
}}
</span>
>
{{
scope
.
row
.
jobResponseOutStorageVOS
[
0
].
actualWeight
}}
</span>
<!--
<span
v-else
class=
"tips"
>
必填项
</span>
-->
<i
v-if=
"scope.row.actualWeightLoading"
class=
"el-icon-loading"
/>
<i
v-if=
"scope.row.actualWeightLoading"
class=
"el-icon-loading"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
jobResponseOutStorageVOS[0].
removeWeight"
prop=
"removeWeight"
align=
"center"
align=
"center"
label=
"去除重量"
label=
"去除重量"
:width=
"135"
:width=
"135"
...
@@ -255,7 +255,7 @@
...
@@ -255,7 +255,7 @@
@
focus=
"tableInputFocus"
@
focus=
"tableInputFocus"
@
blur=
"deeTableBlur(scope.row, false)"
@
blur=
"deeTableBlur(scope.row, false)"
/>
/>
<span
v-else
>
{{
scope
.
row
[
scope
.
column
.
property
]
}}
</span>
<span
v-else
-if=
"scope.row.jobResponseOutStorageVOS && scope.row.extMaterial.resType2.typeName === '外购成品'"
>
{{
scope
.
row
.
jobResponseOutStorageVOS
[
0
].
removeWeight
}}
</span>
<i
v-if=
"scope.row.removeWeightLoading"
class=
"el-icon-loading"
/>
<i
v-if=
"scope.row.removeWeightLoading"
class=
"el-icon-loading"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -378,21 +378,11 @@ export default {
...
@@ -378,21 +378,11 @@ export default {
return
'scan-code'
return
'scan-code'
}
}
if
(
if
(
(
column
.
property
===
'
jobResponseOutStorageVOS[0].
actualWeight'
&&
row
.
actualWeightSelect
)
||
(
column
.
property
===
'actualWeight'
&&
row
.
actualWeightSelect
)
||
(
column
.
property
===
'
jobResponseOutStorageVOS[0].
removeWeight'
&&
row
.
removeWeightSelect
)
(
column
.
property
===
'removeWeight'
&&
row
.
removeWeightSelect
)
)
{
)
{
return
'highlight'
return
'highlight'
}
}
// if (column.property === 'receiptNo' && !row.actualWeight) {
// return 'tdbans'
// }
// if (
// row.resTypeName === '外购成品' &&
// ((column.property === 'actualWeight' && !row.actualWeight))
// ) {
// return 'tdtips'
// }
},
},
tableInputFocus
()
{
tableInputFocus
()
{
clearTimeout
(
this
.
timer
)
clearTimeout
(
this
.
timer
)
...
@@ -401,10 +391,10 @@ export default {
...
@@ -401,10 +391,10 @@ export default {
deeTableEdit
(
row
,
column
,
cell
,
event
)
{
deeTableEdit
(
row
,
column
,
cell
,
event
)
{
var
that
=
this
var
that
=
this
if
(
row
.
extMaterial
.
resType2
.
typeName
!==
'外购成品'
||
!
row
.
jobResponseOutStorageVOS
)
return
if
(
row
.
extMaterial
.
resType2
.
typeName
!==
'外购成品'
||
!
row
.
jobResponseOutStorageVOS
)
return
if
(
column
.
property
===
'
jobResponseOutStorageVOS[0].
actualWeight'
)
{
if
(
column
.
property
===
'actualWeight'
)
{
this
.
setRowValue
=
row
.
actualWeight
this
.
setRowValue
=
row
.
actualWeight
row
.
actualWeightSelect
=
true
row
.
actualWeightSelect
=
true
}
else
if
(
column
.
property
===
'
jobResponseOutStorageVOS[0].
removeWeight'
)
{
}
else
if
(
column
.
property
===
'removeWeight'
)
{
this
.
setRowValue
=
row
.
removeWeight
this
.
setRowValue
=
row
.
removeWeight
row
.
removeWeightSelect
=
true
row
.
removeWeightSelect
=
true
}
else
{
}
else
{
...
@@ -471,6 +461,7 @@ export default {
...
@@ -471,6 +461,7 @@ export default {
}
else
{
}
else
{
row
.
removeWeightLoading
=
false
row
.
removeWeightLoading
=
false
}
}
this
.
init
()
})
})
},
},
cellClassName
({
row
,
column
,
rowIndex
,
columnIndex
})
{
cellClassName
({
row
,
column
,
rowIndex
,
columnIndex
})
{
...
...
applications/dee-mes/src/views/taskReception/components/taskReceiveCard/index.vue
View file @
811fd05a
...
@@ -230,11 +230,11 @@ export default {
...
@@ -230,11 +230,11 @@ export default {
this
.
$store
.
dispatch
(
'menu/activeModel'
,
{
this
.
$store
.
dispatch
(
'menu/activeModel'
,
{
appId
:
'myTaskReceive'
,
appId
:
'myTaskReceive'
,
pageInfo
:
{
pageInfo
:
{
title
:
this
.
$route
.
query
.
title
+
'执行'
,
title
:
this
.
$route
.
query
.
title
,
path
:
'/dee-mes/taskExecution'
path
:
'/dee-mes/taskExecution'
}
}
})
})
this
.
$store
.
dispatch
(
'app/
toggleSideBar'
)
this
.
$store
.
dispatch
(
'app/
closeSideBar'
,
false
)
},
},
getTaskAcceptance
()
{
getTaskAcceptance
()
{
const
that
=
this
const
that
=
this
...
...
applications/dee-task-center/src/views/myTaskReceive/index.vue
View file @
811fd05a
...
@@ -91,7 +91,7 @@ export default {
...
@@ -91,7 +91,7 @@ export default {
path
:
'/dee-mes/taskReception'
path
:
'/dee-mes/taskReception'
}
}
})
})
this
.
$store
.
dispatch
(
'app/
toggleSideBar'
)
this
.
$store
.
dispatch
(
'app/
closeSideBar'
,
false
)
}
}
}
}
}
}
...
...
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