Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
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-pad
Commits
5097c590
Commit
5097c590
authored
Sep 21, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
序列号报工(新增)
parent
ade8498f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
666 deletions
+90
-666
http.api.js
common/http.api.js
+3
-27
index.vue
pages/mes/prodReport/index.vue
+87
-639
No files found.
common/http.api.js
View file @
5097c590
...
@@ -35,11 +35,6 @@ const install = (Vue, vm) => {
...
@@ -35,11 +35,6 @@ const install = (Vue, vm) => {
vm
.
$u
.
get
(
vm
.
$u
.
get
(
config
.
adminPath
+
'/md/appconfig/getVersion'
config
.
adminPath
+
'/md/appconfig/getVersion'
),
),
quantitywaitsum
:
(
params
=
{})
=>
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/mes/pro/workorder/quantitywaitsum'
,
params
),
/**
/**
* 系统设置API
* 系统设置API
*/
*/
...
@@ -65,9 +60,6 @@ const install = (Vue, vm) => {
...
@@ -65,9 +60,6 @@ const install = (Vue, vm) => {
//获取当前工作中心的生产任务
//获取当前工作中心的生产任务
getTaskList
:
(
params
=
{})
=>
getTaskList
:
(
params
=
{})
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mobile/pro/protask/getTaskList'
,
params
),
vm
.
$u
.
get
(
config
.
adminPath
+
'/mobile/pro/protask/getTaskList'
,
params
),
//外协列表
getAssistProcesslist
:
(
params
=
{})
=>
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/md/assistprocess/getAssistProcesslist'
,
params
),
//根据任务ID获取任务详情
//根据任务ID获取任务详情
getTaskInfo
:
(
params
=
{})
=>
getTaskInfo
:
(
params
=
{})
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mobile/pro/protask/'
+
params
.
taskId
),
vm
.
$u
.
get
(
config
.
adminPath
+
'/mobile/pro/protask/'
+
params
.
taskId
),
...
@@ -83,6 +75,9 @@ const install = (Vue, vm) => {
...
@@ -83,6 +75,9 @@ const install = (Vue, vm) => {
//生产报工
//生产报工
feedback
:
(
params
=
{})
=>
feedback
:
(
params
=
{})
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/mobile/pro/protask/feedback'
,
params
),
vm
.
$u
.
post
(
config
.
adminPath
+
'/mobile/pro/protask/feedback'
,
params
),
//序列号报工
validateSerialNo
:
(
params
=
{})
=>
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/mobile/pro/protask/validateSerialNo'
,
params
),
//外协报工
//外协报工
assistFeedback
:
(
params
=
{})
=>
assistFeedback
:
(
params
=
{})
=>
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/mobile/pro/protask/assistFeedback'
,
params
),
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/mobile/pro/protask/assistFeedback'
,
params
),
...
@@ -95,9 +90,6 @@ const install = (Vue, vm) => {
...
@@ -95,9 +90,6 @@ const install = (Vue, vm) => {
// 查看修改报工列表
// 查看修改报工列表
getFeedback
:
(
recordId
)
=>
getFeedback
:
(
recordId
)
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mes/pro/feedback/'
+
recordId
),
vm
.
$u
.
get
(
config
.
adminPath
+
'/mes/pro/feedback/'
+
recordId
),
// 作业端试图展示
buttonList
:
(
taskWorkunitIds
)
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mobile/pro/protask/buttonList/'
+
taskWorkunitIds
),
// 删除修改报工列表
// 删除修改报工列表
delFeedback
:
(
recordId
)
=>
delFeedback
:
(
recordId
)
=>
vm
.
$u
.
delete
(
config
.
adminPath
+
'/mes/pro/feedback/deleteOut5Min/'
+
recordId
),
vm
.
$u
.
delete
(
config
.
adminPath
+
'/mes/pro/feedback/deleteOut5Min/'
+
recordId
),
...
@@ -323,14 +315,6 @@ const install = (Vue, vm) => {
...
@@ -323,14 +315,6 @@ const install = (Vue, vm) => {
config
.
adminPath
+
'/pro/materialRequest/recordList'
,
config
.
adminPath
+
'/pro/materialRequest/recordList'
,
params
params
),
),
//退料申请
listMaterialReturn
:
(
params
=
{})
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/mobile/pro/proMaterial/listIssueLineselect'
,
params
),
addMaterialReturn
:
(
params
=
{})
=>
addMaterialReturn
:
(
params
=
{})
=>
vm
.
$u
.
postJson
(
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/mobile/pro/proMaterial/addMaterialReturn'
,
config
.
adminPath
+
'/mobile/pro/proMaterial/addMaterialReturn'
,
...
@@ -373,14 +357,6 @@ const install = (Vue, vm) => {
...
@@ -373,14 +357,6 @@ const install = (Vue, vm) => {
//查看生产工单
//查看生产工单
getWorkorder
:
(
params
=
{})
=>
getWorkorder
:
(
params
=
{})
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mes/pro/workorder/list'
,
params
),
vm
.
$u
.
get
(
config
.
adminPath
+
'/mes/pro/workorder/list'
,
params
),
//查看生产工单
getWorkorderWithSizeAndDirective
:
(
params
=
{})
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mes/pro/workorder/listWithSizeAndDirective'
,
params
),
logout
:
(
params
=
{})
=>
logout
:
(
params
=
{})
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mobile/login/logout'
,
params
),
vm
.
$u
.
get
(
config
.
adminPath
+
'/mobile/login/logout'
,
params
),
authInfo
:
(
params
=
{})
=>
authInfo
:
(
params
=
{})
=>
...
...
pages/mes/prodReport/index.vue
View file @
5097c590
This diff is collapsed.
Click to expand it.
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