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
f21333f7
Commit
f21333f7
authored
Sep 06, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
f484822f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
53 deletions
+53
-53
index.vue
src/components/productionSolution/index.vue
+0
-5
index.vue
src/views/mes/pro/proQrcodeRule/index.vue
+0
-5
ProogingProcess.vue
...mes/pro/productionSolution/components/ProogingProcess.vue
+1
-1
proofingInfo.vue
src/views/mes/pro/productionSolution/proofingInfo.vue
+44
-35
proofingInfo.vue
src/views/mes/pro/workorder/proofingInfo.vue
+8
-7
No files found.
src/components/productionSolution/index.vue
View file @
f21333f7
...
@@ -9,10 +9,6 @@
...
@@ -9,10 +9,6 @@
<el-input
v-model=
"queryParams.itemName"
clearable
placeholder=
"请输入成品物名称"
@
keyup
.
enter
.
native=
"handleQuery"
>
<el-input
v-model=
"queryParams.itemName"
clearable
placeholder=
"请输入成品物名称"
@
keyup
.
enter
.
native=
"handleQuery"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"组件号"
prop=
"groupCounter"
>
<el-input
v-model=
"queryParams.groupCounter"
clearable
placeholder=
"请输入组件号"
@
keyup
.
enter
.
native=
"handleQuery"
>
</el-input>
</el-form-item>
<el-form-item
label=
"打样订单号"
prop=
"sapPrototypeMakeCode"
>
<el-form-item
label=
"打样订单号"
prop=
"sapPrototypeMakeCode"
>
<el-input
v-model=
"queryParams.sapPrototypeMakeCode"
clearable
placeholder=
"请输入打样订单号"
<el-input
v-model=
"queryParams.sapPrototypeMakeCode"
clearable
placeholder=
"请输入打样订单号"
@
keyup
.
enter
.
native=
"handleQuery"
>
@
keyup
.
enter
.
native=
"handleQuery"
>
...
@@ -33,7 +29,6 @@
...
@@ -33,7 +29,6 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"生产版本编码"
align=
"center"
prop=
"productionSolutionCode"
/>
<el-table-column
label=
"生产版本编码"
align=
"center"
prop=
"productionSolutionCode"
/>
<el-table-column
label=
"组件号"
align=
"center"
prop=
"groupCounter"
/>
<el-table-column
label=
"产品版本名称"
align=
"center"
prop=
"productionSolutionName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"产品版本名称"
align=
"center"
prop=
"productionSolutionName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"成品物料编码"
align=
"center"
prop=
"itemCode"
/>
<el-table-column
label=
"成品物料编码"
align=
"center"
prop=
"itemCode"
/>
<el-table-column
label=
"成品物料名称"
align=
"center"
prop=
"itemName"
/>
<el-table-column
label=
"成品物料名称"
align=
"center"
prop=
"itemName"
/>
...
...
src/views/mes/pro/proQrcodeRule/index.vue
View file @
f21333f7
...
@@ -146,11 +146,6 @@
...
@@ -146,11 +146,6 @@
<el-input
v-model=
"form.serialLen"
placeholder=
"请输入编码流水长度"
/>
<el-input
v-model=
"form.serialLen"
placeholder=
"请输入编码流水长度"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"24"
:xs=
"24"
>
<el-form-item
label=
"当前流水"
prop=
"currentSerial"
>
<el-input
v-model=
"form.currentSerial"
placeholder=
"请输入当前流水"
/>
</el-form-item>
</el-col>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"24"
:xs=
"24"
>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"24"
:xs=
"24"
>
<el-form-item
label=
"客户编码"
prop=
"clientCode"
>
<el-form-item
label=
"客户编码"
prop=
"clientCode"
>
<el-input
v-model=
"form.clientCode"
placeholder=
"请输入客户编码"
/>
<el-input
v-model=
"form.clientCode"
placeholder=
"请输入客户编码"
/>
...
...
src/views/mes/pro/productionSolution/components/ProogingProcess.vue
View file @
f21333f7
...
@@ -696,7 +696,7 @@ export default {
...
@@ -696,7 +696,7 @@ export default {
});
});
},
},
getComData
()
{
getComData
()
{
return
this
.
tableData
.
filter
(
item
=>
Object
.
values
(
item
).
some
(
v
=>
v
)
);
return
this
.
tableData
.
filter
(
item
=>
Object
.
values
(
item
).
some
(
v
=>
v
&&
v
.
length
>
0
)
);
},
},
/**重置表单 */
/**重置表单 */
resetForm
()
{
resetForm
()
{
...
...
src/views/mes/pro/productionSolution/proofingInfo.vue
View file @
f21333f7
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
class=
"page-form"
class=
"page-form"
:model=
"form"
:model=
"form"
ref=
"form"
ref=
"form"
:rules=
"rules"
size=
"small"
size=
"small"
:inline=
"true"
:inline=
"true"
label-width=
"8em"
label-width=
"8em"
...
@@ -181,7 +182,11 @@ export default {
...
@@ -181,7 +182,11 @@ export default {
updateBy
:
""
,
updateBy
:
""
,
updateTime
:
""
,
updateTime
:
""
,
},
},
rules
:
{},
rules
:
{
productionSolutionName
:
[
{
required
:
true
,
message
:
"生产版本名称不能为空"
,
trigger
:
"blur"
},
],
},
};
};
},
},
computed
:
{
computed
:
{
...
@@ -277,40 +282,44 @@ export default {
...
@@ -277,40 +282,44 @@ export default {
processList
,
processList
,
specificationSheet
:
{}
specificationSheet
:
{}
};
};
this
.
loading
=
true
;
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
this
.
mode
==
"apply"
)
{
if
(
valid
)
{
addProductionSolution
(
params
)
this
.
loading
=
true
;
.
then
((
res
)
=>
{
if
(
this
.
mode
==
"apply"
)
{
this
.
loading
=
false
;
addProductionSolution
(
params
)
this
.
$modal
.
msgSuccess
(
"提交成功!"
);
.
then
((
res
)
=>
{
this
.
$nextTick
(()
=>
{
this
.
loading
=
false
;
// 关闭页签
this
.
$modal
.
msgSuccess
(
"提交成功!"
);
tabPlugins
.
closeOpenPage
();
this
.
$nextTick
(()
=>
{
this
.
$router
.
replace
({
// 关闭页签
path
:
"/mes/md/production"
,
tabPlugins
.
closeOpenPage
();
});
this
.
$router
.
replace
({
})
path
:
"/mes/md/production"
,
})
});
.
catch
(()
=>
{
})
this
.
loading
=
false
;
})
});
.
catch
(()
=>
{
}
else
{
this
.
loading
=
false
;
updateProductionSolution
(
params
)
});
.
then
(()
=>
{
}
else
{
this
.
loading
=
false
;
updateProductionSolution
(
params
)
this
.
$modal
.
msgSuccess
(
"提交成功!"
);
.
then
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
loading
=
false
;
// 关闭页签
this
.
$modal
.
msgSuccess
(
"提交成功!"
);
tabPlugins
.
closeOpenPage
();
this
.
$nextTick
(()
=>
{
this
.
$router
.
replace
({
// 关闭页签
path
:
"/mes/md/production"
,
tabPlugins
.
closeOpenPage
();
});
this
.
$router
.
replace
({
})
path
:
"/mes/md/production"
,
})
});
.
catch
(()
=>
{
})
this
.
loading
=
false
;
})
});
.
catch
(()
=>
{
}
this
.
loading
=
false
;
});
}
}
})
},
},
/**重置表单 */
/**重置表单 */
resetForm
()
{
resetForm
()
{
...
...
src/views/mes/pro/workorder/proofingInfo.vue
View file @
f21333f7
...
@@ -266,12 +266,12 @@
...
@@ -266,12 +266,12 @@
<el-tab-pane
label=
"工艺"
>
<el-tab-pane
label=
"工艺"
>
<ProogingProcess
ref=
"ProogingProcessRef"
:bomList=
"bomList"
/>
<ProogingProcess
ref=
"ProogingProcessRef"
:bomList=
"bomList"
/>
</el-tab-pane>
</el-tab-pane>
<
el-tab-pane
label=
"指令"
>
<
!-- <el-tab-pane label="指令" v-if="false"> --
>
<WorkOrderSale
ref=
"WorkOrderSaleRef"
/>
<WorkOrderSale
ref=
"WorkOrderSaleRef"
style=
"display: none"
/>
<
/el-tab-pane
>
<
!-- </el-tab-pane> --
>
<
el-tab-pane
label=
"SIZE"
>
<
!-- <el-tab-pane label="SIZE" v-show="false" > --
>
<WorkOrderSize
ref=
"WorkOrderSizeRef"
/>
<WorkOrderSize
ref=
"WorkOrderSizeRef"
style=
"display: none"
/>
<
/el-tab-pane
>
<
!-- </el-tab-pane> --
>
</el-tabs>
</el-tabs>
</PageWrapper>
</PageWrapper>
<RoutesProcessSelect
<RoutesProcessSelect
...
@@ -639,11 +639,12 @@ export default {
...
@@ -639,11 +639,12 @@ export default {
if
(
row
!=
undefined
&&
row
!=
null
)
{
if
(
row
!=
undefined
&&
row
!=
null
)
{
this
.
form
.
productionSolutionId
=
row
.
productionSolutionId
;
this
.
form
.
productionSolutionId
=
row
.
productionSolutionId
;
this
.
form
.
productionSolutionCode
=
row
.
productionSolutionCode
;
this
.
form
.
productionSolutionCode
=
row
.
productionSolutionCode
;
this
.
form
.
group
=
`
${
row
.
groupKey
?
row
.
groupKey
:
''
}${
row
.
groupCounter
?
row
.
groupCounter
:
''
}
`
this
.
form
.
group
=
row
.
productionSolutionCode
this
.
form
.
productCode
=
row
.
itemCode
;
this
.
form
.
productCode
=
row
.
itemCode
;
this
.
form
.
groupCounter
=
row
.
groupCounter
;
this
.
form
.
groupCounter
=
row
.
groupCounter
;
this
.
form
.
groupKey
=
row
.
groupKey
;
this
.
form
.
groupKey
=
row
.
groupKey
;
this
.
form
.
productName
=
row
.
itemName
;
this
.
form
.
productName
=
row
.
itemName
;
this
.
form
.
productionSolutionName
=
row
.
productionSolutionName
;
const
params
=
{
const
params
=
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
1000
,
pageSize
:
1000
,
...
...
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