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
d4fa9cab
Commit
d4fa9cab
authored
Aug 23, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领料申请是否补料按钮
parent
ecd8b05c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
337 deletions
+50
-337
request.js
src/api/mes/pro/request.js
+8
-0
look.vue
src/views/mes/md/product/components/look.vue
+0
-327
index.vue
src/views/mes/md/product/index.vue
+7
-7
index.vue
src/views/mes/pro/request/index.vue
+25
-1
index.vue
src/views/mes/pro/return/index.vue
+10
-2
No files found.
src/api/mes/pro/request.js
View file @
d4fa9cab
...
@@ -51,3 +51,11 @@ export function delMaterialRequest(materialRequestId) {
...
@@ -51,3 +51,11 @@ export function delMaterialRequest(materialRequestId) {
method
:
'delete'
method
:
'delete'
})
})
}
}
// 确认补货按钮
export
function
confirmMaterialRequest
(
materialRequestId
)
{
return
request
({
url
:
'/pro/materialRequest/confirm/'
+
materialRequestId
,
method
:
'get'
})
}
\ No newline at end of file
src/views/mes/md/product/components/look.vue
deleted
100644 → 0
View file @
ecd8b05c
This diff is collapsed.
Click to expand it.
src/views/mes/md/product/index.vue
View file @
d4fa9cab
...
@@ -273,9 +273,9 @@
...
@@ -273,9 +273,9 @@
<!-- <el-tab-pane label="客户信息">
<!-- <el-tab-pane label="客户信息">
<Customer :optType="optType" :itemId="form.itemId"></Customer>
<Customer :optType="optType" :itemId="form.itemId"></Customer>
</el-tab-pane>-->
</el-tab-pane>-->
<el-tab-pane
label=
"产品外观"
name=
"Look"
>
<
!-- <
el-tab-pane label="产品外观" name="Look">
<Look ref="Look" :optType="optType" :itemId="form.itemId"></Look>
<Look ref="Look" :optType="optType" :itemId="form.itemId"></Look>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"生产版本"
name=
"ProductionPlan"
>
<el-tab-pane
label=
"生产版本"
name=
"ProductionPlan"
>
<ProductionPlan
ref=
"ProductionPlan"
:optType=
"optType"
:itemId=
"form.itemId"
></ProductionPlan>
<ProductionPlan
ref=
"ProductionPlan"
:optType=
"optType"
:itemId=
"form.itemId"
></ProductionPlan>
</el-tab-pane>
</el-tab-pane>
...
@@ -360,7 +360,7 @@ import {
...
@@ -360,7 +360,7 @@ import {
}
from
"@/api/mes/md/mdItem"
;
}
from
"@/api/mes/md/mdItem"
;
import
BaseInfo
from
"./components/baseInfo.vue"
;
import
BaseInfo
from
"./components/baseInfo.vue"
;
import
Look
from
"./components/look.vue"
;
//
import Look from "./components/look.vue";
import
ProductionPlan
from
"./components/productionPlan.vue"
;
import
ProductionPlan
from
"./components/productionPlan.vue"
;
import
{
listAllUnitmeasure
}
from
"@/api/mes/md/unitmeasure"
;
import
{
listAllUnitmeasure
}
from
"@/api/mes/md/unitmeasure"
;
import
{
genCode
}
from
"@/api/system/autocode/rule"
;
import
{
genCode
}
from
"@/api/system/autocode/rule"
;
...
@@ -375,7 +375,7 @@ export default {
...
@@ -375,7 +375,7 @@ export default {
components
:
{
components
:
{
Treeselect
,
Treeselect
,
BaseInfo
,
BaseInfo
,
Look
,
//
Look,
ProductionPlan
,
ProductionPlan
,
},
},
...
@@ -610,9 +610,9 @@ export default {
...
@@ -610,9 +610,9 @@ export default {
//基本信息保存
//基本信息保存
const
baseInfoData
=
await
this
.
$refs
[
"BaseInfo"
].
getBaseInfoData
();
const
baseInfoData
=
await
this
.
$refs
[
"BaseInfo"
].
getBaseInfoData
();
baseInfoData
.
itemId
=
this
.
form
.
itemId
;
baseInfoData
.
itemId
=
this
.
form
.
itemId
;
//产品外观保存
//
//
产品外观保存
const
lookData
=
await
this
.
$refs
[
"Look"
].
getLookFormData
();
//
const lookData = await this.$refs["Look"].getLookFormData();
lookData
.
itemId
=
this
.
form
.
itemId
;
//
lookData.itemId = this.form.itemId;
//产品参数配置保存 publishedConf
//产品参数配置保存 publishedConf
const
publishedConfData
=
await
this
.
$refs
[
const
publishedConfData
=
await
this
.
$refs
[
...
...
src/views/mes/pro/request/index.vue
View file @
d4fa9cab
...
@@ -46,6 +46,18 @@
...
@@ -46,6 +46,18 @@
>
打印
>
打印
</el-button>
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"confirmUpdate"
v-hasPermi=
"['pro:materialRequest:edit']"
>
确认补料
</el-button>
</el-col>
<!--
<el-col
:span=
"1.5"
>
<!--
<el-col
:span=
"1.5"
>
<el-button
<el-button
type=
"success"
type=
"success"
...
@@ -333,7 +345,7 @@
...
@@ -333,7 +345,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
listMaterialRequest
,
getMaterialRequest
,
delMaterialRequest
,
addMaterialRequest
,
updateMaterialRequest
,
materialRequestPrintInfo
}
from
"@/api/mes/pro/request"
;
import
{
confirmMaterialRequest
,
listMaterialRequest
,
getMaterialRequest
,
delMaterialRequest
,
addMaterialRequest
,
updateMaterialRequest
,
materialRequestPrintInfo
}
from
"@/api/mes/pro/request"
;
import
{
genCode
}
from
"@/api/system/autocode/rule"
;
import
{
genCode
}
from
"@/api/system/autocode/rule"
;
import
BrandSelect
from
"./components/taskSelect.vue"
;
import
BrandSelect
from
"./components/taskSelect.vue"
;
import
arangeSelect
from
"./components/arangeSelect.vue"
;
import
arangeSelect
from
"./components/arangeSelect.vue"
;
...
@@ -651,6 +663,18 @@ export default {
...
@@ -651,6 +663,18 @@ export default {
this
.
optType
=
"edit"
;
this
.
optType
=
"edit"
;
});
});
},
},
/** 确认补货按钮 */
confirmUpdate
(
row
)
{
this
.
reset
();
const
materialRequestId
=
row
.
materialRequestId
||
this
.
ids
confirmMaterialRequest
(
materialRequestId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
title
=
"确认补料"
;
this
.
optType
=
"edit"
;
});
},
// 查询明细按钮操作
// 查询明细按钮操作
handleView
(
row
)
{
handleView
(
row
)
{
this
.
reset
();
this
.
reset
();
...
...
src/views/mes/pro/return/index.vue
View file @
d4fa9cab
...
@@ -57,6 +57,14 @@
...
@@ -57,6 +57,14 @@
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"申请单编码"
prop=
"applyNo"
>
<el-input
v-model=
"queryParams.applyNo"
placeholder=
"请输入申请单编码"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"创建时间"
>
<el-form-item
label=
"创建时间"
>
<el-date-picker
<el-date-picker
v-model=
"daterangePurchaseDate"
v-model=
"daterangePurchaseDate"
...
@@ -141,14 +149,14 @@
...
@@ -141,14 +149,14 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"创建人"
align=
"center"
prop=
"createBy"
width=
"100"
/>
<el-table-column
label=
"创建人"
align=
"center"
prop=
"createBy"
width=
"100"
/>
<el-table-column
label=
"创建时间"
width=
"170"
align=
"center"
prop=
"createTime"
/>
<el-table-column
label=
"创建时间"
width=
"170"
align=
"center"
prop=
"createTime"
/>
<el-table-column
label=
"是否合格"
align=
"center"
prop=
"isQualified"
width=
"100"
>
<
!-- <
el-table-column label="是否合格" align="center" prop="isQualified" width="100">
<template slot-scope="scope">
<template slot-scope="scope">
<dict-tag
<dict-tag
:options="dict.type.sys_yes_non"
:options="dict.type.sys_yes_non"
:value="scope.row.isQualified"
:value="scope.row.isQualified"
/>
/>
</template>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
fixed=
"right"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
...
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