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
525190e4
Commit
525190e4
authored
Mar 11, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改开始按钮加接口判断
parent
934324cc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
8 deletions
+21
-8
http.api.js
common/http.api.js
+14
-4
index.vue
pages/mes/prodReport/index.vue
+7
-4
No files found.
common/http.api.js
View file @
525190e4
...
...
@@ -50,6 +50,12 @@ const install = (Vue, vm) => {
//修改任务状态
changeStatus
:
(
params
=
{})
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/mobile/pro/protask/change'
,
params
),
//开始任务加提示
changeCheckMachineTool
:
(
params
=
{})
=>
vm
.
$u
.
get
(
config
.
adminPath
+
`/mes/pro/protask/checkMachineTool/
${
params
.
taskWorkunitId
}
`
),
//生产报工
feedback
:
(
params
=
{})
=>
vm
.
$u
.
post
(
config
.
adminPath
+
'/mobile/pro/protask/feedback'
,
params
),
...
...
@@ -64,7 +70,8 @@ const install = (Vue, vm) => {
vm
.
$u
.
get
(
config
.
adminPath
+
'/system/autocode/get/IPQC_CODE'
,
params
),
//查看人员管理
userQuery
:
(
params
=
{})
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mes/md/workstationworker/list'
,
params
),
userQuery
:
(
params
=
{})
=>
vm
.
$u
.
get
(
config
.
adminPath
+
'/mes/md/workstationworker/list'
,
params
),
//增加缺陷记录
addDefectrecord
:
(
params
=
{})
=>
...
...
@@ -354,7 +361,10 @@ const install = (Vue, vm) => {
tmToolMachinesRecord
:
(
params
=
{})
=>
vm
.
$u
.
putJson
(
config
.
adminPath
+
'/tm/tmToolMachines'
,
params
),
tmToolMachinesScancode
:
(
params
=
{})
=>
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/tm/tmToolMachines/scancode'
,
params
),
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/tm/tmToolMachines/scancode'
,
params
),
},
};
...
...
pages/mes/prodReport/index.vue
View file @
525190e4
...
...
@@ -183,7 +183,7 @@
v-model="knifeTempVisible"
width="1600rpx"
>
<u-form
label-width=
"130px"
:model=
"knifeTempSearch"
:rules=
"rules"
>
<
!--
<
u-form
label-width=
"130px"
:model=
"knifeTempSearch"
:rules=
"rules"
>
<u-row>
<u-col
span=
"6"
>
<u-form-item
label=
"扫描刃模版条码"
prop=
"quantity"
>
...
...
@@ -196,7 +196,7 @@
</u-form-item>
</u-col>
</u-row>
</u-form>
</u-form>
-->
<dModelList
:data=
"dModelData"
@
action=
"upDownGetList"
/>
</u-modal>
<!-- //生产报工报工人员 -->
...
...
@@ -1011,6 +1011,9 @@ userTempVisible: false,
if
(
item
.
status
===
'BEGINNING'
)
{
status
=
true
;
}
else
{
this
.
$u
.
api
.
changeCheckMachineTool
({
taskWorkunitId
:
item
.
taskWorkunitId
})
this
.
changeStatus
(
item
.
taskId
,
item
.
taskWorkunitId
,
'BEGINNING'
);
}
});
...
...
@@ -1770,7 +1773,7 @@ userTempVisible: false,
min-height
:
400rpx
;
border
:
1px
solid
rgb
(
232
,
232
,
232
);
/
deep
/
.item-tr.trbg
.item-td
{
background
:
red
!
important
;
background
:
#fb9461
!
important
;
// color:#fff !important;
}
}
...
...
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