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
mes
mes-ui
Commits
ef1e5d97
Commit
ef1e5d97
authored
Jan 09, 2025
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.生产版本详情图片去除删除功能; 2.物料产品管理编码条件筛选交互优化
parent
9a719b35
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
13 deletions
+46
-13
index.vue
src/components/ImageUpload/index.vue
+25
-2
ProogingProcess.vue
...mes/pro/productionSolution/components/ProogingProcess.vue
+2
-2
ProogingSpecificationSheet.vue
...ductionSolution/components/ProogingSpecificationSheet.vue
+2
-0
proofingApply.vue
src/views/mes/pro/productionSolution/proofingApply.vue
+17
-9
No files found.
src/components/ImageUpload/index.vue
View file @
ef1e5d97
...
@@ -10,14 +10,33 @@
...
@@ -10,14 +10,33 @@
:on-error=
"handleUploadError"
:on-error=
"handleUploadError"
:on-exceed=
"handleExceed"
:on-exceed=
"handleExceed"
name=
"file"
name=
"file"
:on-remove=
"handleRemove"
:show-file-list=
"true"
:show-file-list=
"true"
:headers=
"headers"
:headers=
"headers"
:file-list=
"fileList"
:file-list=
"fileList"
:on-preview=
"handlePictureCardPreview"
:class=
"
{hide: this.fileList.length >= this.limit}"
:class=
"
{hide: this.fileList.length >= this.limit}"
>
>
<i
class=
"el-icon-plus"
></i>
<i
class=
"el-icon-plus"
></i>
<div
slot=
"file"
slot-scope=
"
{file}">
<img
class=
"el-upload-list__item-thumbnail"
:src=
"file.url"
alt=
""
>
<span
class=
"el-upload-list__item-actions"
>
<span
class=
"el-upload-list__item-preview"
@
click=
"handlePictureCardPreview(file)"
>
<i
class=
"el-icon-zoom-in"
></i>
</span>
<span
v-if=
"isDelShow"
class=
"el-upload-list__item-delete"
@
click=
"handleRemove(file)"
>
<i
class=
"el-icon-delete"
></i>
</span>
</span>
</div>
</el-upload>
</el-upload>
<!-- 上传提示 -->
<!-- 上传提示 -->
...
@@ -67,6 +86,10 @@ export default {
...
@@ -67,6 +86,10 @@ export default {
isShowTip
:
{
isShowTip
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
true
default
:
true
},
isDelShow
:
{
type
:
Boolean
,
default
:
true
}
}
},
},
data
()
{
data
()
{
...
...
src/views/mes/pro/productionSolution/components/ProogingProcess.vue
View file @
ef1e5d97
...
@@ -509,8 +509,8 @@ export default {
...
@@ -509,8 +509,8 @@ export default {
],
],
props
:
{
props
:
{
bomList
:
{
bomList
:
{
type
:
Array
,
type
:
Object
,
default
:
()
=>
[]
,
default
:
()
=>
{}
,
},
},
},
},
data
()
{
data
()
{
...
...
src/views/mes/pro/productionSolution/components/ProogingSpecificationSheet.vue
View file @
ef1e5d97
...
@@ -609,6 +609,7 @@
...
@@ -609,6 +609,7 @@
:value=
"form.frontImg"
:value=
"form.frontImg"
fieldName=
"frontImg"
fieldName=
"frontImg"
:fileSize=
"5"
:fileSize=
"5"
:isDelShow=
"false"
@
onUploaded=
"handleImgUploaded"
@
onUploaded=
"handleImgUploaded"
@
onRemoved=
"handleImgRemoved"
@
onRemoved=
"handleImgRemoved"
></ImageUpload>
></ImageUpload>
...
@@ -621,6 +622,7 @@
...
@@ -621,6 +622,7 @@
:value=
"form.backImg"
:value=
"form.backImg"
fieldName=
"backImg"
fieldName=
"backImg"
:fileSize=
"5"
:fileSize=
"5"
:isDelShow=
"false"
@
onUploaded=
"handleImgUploaded"
@
onUploaded=
"handleImgUploaded"
@
onRemoved=
"handleImgRemoved"
@
onRemoved=
"handleImgRemoved"
></ImageUpload>
></ImageUpload>
...
...
src/views/mes/pro/productionSolution/proofingApply.vue
View file @
ef1e5d97
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
@
submit
.
native
.
prevent
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"100px"
>
<el-form
:model=
"queryParams"
@
submit
.
native
.
prevent
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"100px"
>
<el-form-item
label=
"成品物料号"
prop=
"sapItemCode"
>
<el-form-item
label=
"成品物料号"
prop=
"sapItemCodes"
>
<el-input
v-model=
"queryParams.sapItemCode"
placeholder=
"请输入成品物料号"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.sapItemCodes"
placeholder=
"请输入成品物料号"
type=
"textarea"
:rows=
"2"
resize=
"none"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"成品物名称"
prop=
"itemName"
>
<el-form-item
label=
"成品物名称"
prop=
"itemName"
>
<el-input
v-model=
"queryParams.itemName"
placeholder=
"请输入成品物料号"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.itemName"
placeholder=
"请输入成品物料号"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
...
@@ -14,10 +15,9 @@
...
@@ -14,10 +15,9 @@
<el-input
v-model=
"queryParams.groupCounter"
clearable
placeholder=
"请输入组件号"
@
keyup
.
enter
.
native=
"handleQuery"
>
<el-input
v-model=
"queryParams.groupCounter"
clearable
placeholder=
"请输入组件号"
@
keyup
.
enter
.
native=
"handleQuery"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"打样订单号"
prop=
"sapPrototypeMakeCode"
>
<el-form-item
label=
"打样订单号"
prop=
"sapPrototypeMakeCodes"
>
<el-input
v-model=
"queryParams.sapPrototypeMakeCode"
clearable
placeholder=
"请输入打样订单号"
<el-input
v-model=
"queryParams.sapPrototypeMakeCodes"
placeholder=
"请输入打样订单号"
type=
"textarea"
:rows=
"2"
@
keyup
.
enter
.
native=
"handleQuery"
>
resize=
"none"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
...
@@ -141,7 +141,7 @@ export default {
...
@@ -141,7 +141,7 @@ export default {
productionSolutionId
:
null
,
// 可以查简称与英文名
productionSolutionId
:
null
,
// 可以查简称与英文名
productionSolutionCode
:
null
,
productionSolutionCode
:
null
,
productionSolutionName
:
null
,
productionSolutionName
:
null
,
sapPrototypeMakeCode
:
null
,
sapPrototypeMakeCode
s
:
null
,
statsu
:
"PREPARE"
,
statsu
:
"PREPARE"
,
itemId
:
null
,
itemId
:
null
,
routeId
:
null
,
routeId
:
null
,
...
@@ -151,6 +151,7 @@ export default {
...
@@ -151,6 +151,7 @@ export default {
createTime
:
null
,
createTime
:
null
,
updateBy
:
null
,
updateBy
:
null
,
updateTime
:
null
,
updateTime
:
null
,
sapItemCodes
:
null
},
},
options
:
[
options
:
[
{
value
:
"PREPARE"
,
label
:
"待确认"
},
{
value
:
"PREPARE"
,
label
:
"待确认"
},
...
@@ -171,6 +172,7 @@ export default {
...
@@ -171,6 +172,7 @@ export default {
// { required: true, message: "工单编码不能为空", trigger: "blur" }
// { required: true, message: "工单编码不能为空", trigger: "blur" }
// ],
// ],
},
},
productionSolutionList
:
[]
};
};
},
},
created
()
{
created
()
{
...
@@ -180,7 +182,12 @@ export default {
...
@@ -180,7 +182,12 @@ export default {
/** 查询生产工单列表 */
/** 查询生产工单列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
listProductionSolution
(
this
.
queryParams
).
then
((
response
)
=>
{
const
params
=
{
...
this
.
queryParams
,
sapItemCodes
:
this
.
queryParams
.
sapItemCodes
?
this
.
queryParams
.
sapItemCodes
.
split
(
/
[\n
,;,、;。
]
/
).
filter
(
item
=>
item
)
:
null
,
sapPrototypeMakeCodes
:
this
.
queryParams
.
sapPrototypeMakeCodes
?
this
.
queryParams
.
sapPrototypeMakeCodes
.
split
(
/
[\n
,;,、;。
]
/
).
filter
(
item
=>
item
)
:
null
}
listProductionSolution
(
params
).
then
((
response
)
=>
{
this
.
productionSolutionList
=
response
.
rows
;
this
.
productionSolutionList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
this
.
loading
=
false
;
...
@@ -197,7 +204,7 @@ export default {
...
@@ -197,7 +204,7 @@ export default {
productionSolutionId
:
null
,
productionSolutionId
:
null
,
productionSolutionCode
:
null
,
productionSolutionCode
:
null
,
productionSolutionName
:
null
,
productionSolutionName
:
null
,
sapPrototypeMakeCode
:
null
,
sapPrototypeMakeCode
s
:
null
,
itemId
:
null
,
itemId
:
null
,
routeId
:
null
,
routeId
:
null
,
usageId
:
null
,
usageId
:
null
,
...
@@ -206,6 +213,7 @@ export default {
...
@@ -206,6 +213,7 @@ export default {
createTime
:
null
,
createTime
:
null
,
updateBy
:
null
,
updateBy
:
null
,
updateTime
:
null
,
updateTime
:
null
,
sapItemCodes
:
null
};
};
this
.
resetForm
(
"form"
);
this
.
resetForm
(
"form"
);
},
},
...
...
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