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
905f7dc8
Commit
905f7dc8
authored
May 21, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领料申请和客户模版对照表
parent
49ed03ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
index.vue
src/views/mes/pro/ItemTemplateMapping/index.vue
+6
-1
requestIndex.vue
src/views/mes/pro/request/components/requestIndex.vue
+8
-5
No files found.
src/views/mes/pro/ItemTemplateMapping/index.vue
View file @
905f7dc8
...
...
@@ -257,7 +257,7 @@
>
<el-popover
trigger=
"hover"
placement=
"right"
>
<el-image
style=
"width: 100px; height: 100px"
:src=
"item.filePath"
:preview-src-list=
"[item.filePath]"
/>
<div
slot=
"reference"
>
{{item.name}}
</div>
<div
slot=
"reference"
>
{{item.name
+ '(' +(item.remark || '') + ')'
}}
</div>
</el-popover>
</el-option>
</el-select>
...
...
@@ -380,6 +380,11 @@ export default {
reportType
:
'package_label'
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
// if (res.rows && res.rows.length > 0) {
// res.rows.forEach(element => {
// element['name'] = `${element.name}(${element.remark || ''})`
// });
// }
this
.
templateOptions
=
res
.
rows
}
})
...
...
src/views/mes/pro/request/components/requestIndex.vue
View file @
905f7dc8
...
...
@@ -75,10 +75,11 @@
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"申请数量"
prop=
"applyNum"
>
<el-input-number
v-model=
"form.applyNum"
:min=
"0"
/>
</el-form-item>
</el-col>
<el-form-item
label=
"申请数量"
prop=
"applyNum"
>
<el-input-number
v-model=
"form.applyNum"
:min=
"0"
/>
单位:{{form.unitOfMeasure}}
</el-form-item>
</el-col>
</el-row>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -169,6 +170,7 @@ export default {
itemId
:
null
,
sapItemCode
:
null
,
itemName
:
null
,
unitOfMeasure
:
null
,
applyNum
:
null
,
workstationCode
:
null
,
workunitCode
:
null
,
...
...
@@ -217,11 +219,11 @@ export default {
this
.
$refs
[
refName
].
showFlag
=
true
;
},
onItemSelect
(
row
)
{
console
.
log
(
'sdaa'
,
row
)
if
(
row
!=
undefined
&&
row
!=
null
)
{
this
.
$set
(
this
.
form
,
'itemId'
,
row
.
itemId
)
this
.
$set
(
this
.
form
,
'sapItemCode'
,
row
.
sapItemCode
)
this
.
$set
(
this
.
form
,
'itemName'
,
row
.
itemName
)
this
.
$set
(
this
.
form
,
'unitOfMeasure'
,
row
.
unitOfMeasure
)
}
},
onWorkstationSelected
(
row
){
...
...
@@ -310,6 +312,7 @@ export default {
this
.
form
.
sapItemCode
=
null
;
this
.
form
.
itemName
=
null
;
this
.
form
.
applyNum
=
null
;
this
.
form
.
unitOfMeasure
=
null
;
//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