Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
ximai
mes-ui
Commits
37a66ba7
Commit
37a66ba7
authored
Nov 11, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改成工时单位
parent
494f93ff
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
16 deletions
+22
-16
index.vue
src/components/productionSolution/index.vue
+8
-3
ProogingProcess.vue
...mes/pro/productionSolution/components/ProogingProcess.vue
+2
-2
product.vue
src/views/mes/pro/proroute/product.vue
+2
-2
ProogingProcess.vue
src/views/mes/pro/workorder/components/ProogingProcess.vue
+2
-2
indexApply.vue
src/views/mes/pro/workorder/indexApply.vue
+2
-2
proofingInfo.vue
src/views/mes/pro/workorder/proofingInfo.vue
+6
-5
No files found.
src/components/productionSolution/index.vue
View file @
37a66ba7
...
...
@@ -41,10 +41,14 @@
<el-table-column
:label=
"$t('工序编码')"
width=
"120px"
fixed
align=
"center"
prop=
"processCode"
/>
<el-table-column
:label=
"$t('工序名称')"
width=
"150px"
fixed
align=
"center"
prop=
"processName"
/>
<el-table-column
:label=
"$t('标准工时')"
width=
"150px"
align=
"center"
prop=
"stdWorkingTime"
/>
<el-table-column
:label=
"$t('common.workstation')"
width=
"150px"
align=
"center"
prop=
"workstationName"
/>
<el-table-column
:label=
"$t('
工序总量')"
width=
"100px"
align=
"center"
prop=
"keyFlag
"
/>
<el-table-column
:label=
"$t('common.workstation
_name
')"
width=
"150px"
align=
"center"
prop=
"workstationName"
/>
<el-table-column
:label=
"$t('
common.workstation_code')"
width=
"150px"
align=
"center"
prop=
"workstationCode
"
/>
<el-table-column
:label=
"$t('换型时间')"
prop=
"lineBreakTime"
align=
"center"
/>
<el-table-column
:label=
"$t('工时单位')"
prop=
"stdWorkingTimeUom"
align=
"center"
/>
<el-table-column
:label=
"$t('工时单位')"
prop=
"stdWorkingTimeUom"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.mes_work_time"
:value=
"scope.row.stdWorkingTimeUom"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('工序总数量')"
prop=
"quantity"
align=
"center"
/>
</el-table>
</el-tab-pane>
...
...
@@ -71,6 +75,7 @@ export default {
props
:
{
itemCode
:
null
,
},
dicts
:
[
"mes_work_time"
],
data
()
{
return
{
showFlag
:
false
,
...
...
src/views/mes/pro/productionSolution/components/ProogingProcess.vue
View file @
37a66ba7
...
...
@@ -365,7 +365,7 @@
>
<el-option
v-for=
"dict in dict.type.mes_
time_typ
e"
v-for=
"dict in dict.type.mes_
work_tim
e"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
...
...
@@ -523,7 +523,7 @@ export default {
dicts
:
[
"process_control_code"
,
"sys_yes_no"
,
"mes_
time_typ
e"
,
"mes_
work_tim
e"
,
"mes_work_time"
,
"product_shape"
,
],
...
...
src/views/mes/pro/proroute/product.vue
View file @
37a66ba7
...
...
@@ -156,7 +156,7 @@
<el-form-item label="时间单位" prop="timeUnitType">
<el-select v-model="form.timeUnitType">
<el-option
v-for="dict in dict.type.mes_
time_typ
e"
v-for="dict in dict.type.mes_
work_tim
e"
:key="dict.value"
:label="dict.label"
:value="dict.value"
...
...
@@ -196,7 +196,7 @@ import Routeproductbom from "./routeproductbom.vue"
import
ItemSelect
from
"@/components/itemSelect/single.vue"
;
export
default
{
name
:
"Routeproduct"
,
dicts
:
[
'mes_
time_typ
e'
],
dicts
:
[
'mes_
work_tim
e'
],
components
:
{
ItemSelect
,
Routeproductbom
},
data
()
{
return
{
...
...
src/views/mes/pro/workorder/components/ProogingProcess.vue
View file @
37a66ba7
...
...
@@ -22,7 +22,7 @@
<el-table-column
:label=
"$t('换型时间')"
prop=
"lineBreakTime"
align=
"center"
/>
<el-table-column
:label=
"$t('工时单位')"
prop=
"stdWorkingTimeUom"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.mes_
time_typ
e"
:value=
"scope.row.stdWorkingTimeUom"
/>
<dict-tag
:options=
"dict.type.mes_
work_tim
e"
:value=
"scope.row.stdWorkingTimeUom"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('基本数量')"
prop=
"quantity"
align=
"center"
/>
...
...
@@ -205,7 +205,7 @@ export default {
WorkuintSelect
},
inject
:
[
"mode"
],
dicts
:
[
"process_control_code"
,
"sys_yes_no"
,
"mes_
time_typ
e"
],
dicts
:
[
"process_control_code"
,
"sys_yes_no"
,
"mes_
work_tim
e"
],
props
:
{
bomList
:
{
type
:
Array
,
...
...
src/views/mes/pro/workorder/indexApply.vue
View file @
37a66ba7
...
...
@@ -118,10 +118,10 @@
<el-button
type=
"success"
plain
size=
"mini"
:disabled=
"single"
@
click=
"handleWorkProcess"
>
{{
$t
(
'工艺路线更新'
)
}}
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<
!--
<
el-col
:span=
"1.5"
>
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleMake"
v-hasPermi=
"['mes:pro:workorder:make']"
>
{{
$t
(
'生产补单'
)
}}
</el-button>
</el-col>
</el-col>
-->
<el-col
:span=
"1.2"
>
<el-button
type=
"warning"
plain
size=
"mini"
v-print=
"printContent"
id=
"printbtn"
style=
"display: none"
>
{{
$t
(
'打印工单'
)
}}
</el-button>
...
...
src/views/mes/pro/workorder/proofingInfo.vue
View file @
37a66ba7
...
...
@@ -139,7 +139,7 @@
</el-col>
<el-col
:lg=
"6"
:md=
"8"
:sm=
"12"
:xs=
"12"
>
<el-form-item
:label=
"$t('产品编号')"
prop=
"productCode"
>
<el-input
:disabled=
"mode == 'make'"
v-model=
"form.productCode"
>
<el-input
:disabled=
"mode == 'make'"
readonly
v-model=
"form.productCode"
>
<el-button
slot=
"append"
v-if=
"!(mode === 'make' || mode === 'makeInfo')"
...
...
@@ -685,15 +685,16 @@ export default {
//物料选择弹出框
onRoutesProcessSelect
(
row
)
{
console
.
log
(
'row44'
,
row
)
if
(
row
!=
undefined
&&
row
!=
null
)
{
this
.
form
.
productionSolutionId
=
row
.
productionSolutionId
;
this
.
form
.
productionSolutionCode
=
row
.
productionSolutionCode
;
this
.
form
.
productCode
=
row
.
itemCode
;
this
.
form
.
groupCounter
=
row
.
groupCounter
;
this
.
form
.
groupKey
=
row
.
groupKey
;
this
.
form
.
productName
=
row
.
itemName
;
this
.
form
.
productId
=
row
.
itemId
;
if
(
!
this
.
form
.
productId
)
{
this
.
form
.
productCode
=
row
.
itemCode
;
this
.
form
.
productName
=
row
.
itemName
;
this
.
form
.
productId
=
row
.
itemId
;
}
this
.
form
.
productionSolutionName
=
row
.
productionSolutionName
;
const
params
=
{
pageNum
:
1
,
...
...
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